The Daily Click ::. Forums ::. Klik Coding Help ::. ODBC object? can we say....WTF
 

Post Reply  Post Oekaki 
 

Posted By Message

Crystal Clear (H.E.S)

Possibly Insane

Registered
  06/10/2002
Points
  2548
5th June, 2004 at 04:55:38 -

just wondering what exactly is the ODBC object? and what can it do?
it just looks like a bunch of Mumbo Jumbo to me and im pretty sure alot of MMF users out there are wondering what the hell it does?

 
HES homepage:
http://www.distinctiv-efair.com/heretic/studios
Crystal Clear Productions: http://www.distinctiv-efair.com/heretic/crystalclear

ChrisB

Crazy?

Registered
  16/08/2002
Points
  5457
5th June, 2004 at 06:26:48 -

You use it to work with databases. (Access etc) There's something on it here:
http://www.clickteam.info/kb/start/index.php?showtopic=172

 
n/a

Crystal Clear (H.E.S)

Possibly Insane

Registered
  06/10/2002
Points
  2548
5th June, 2004 at 06:44:52 -

i tried to download it but it says "Missing 10 bytes from zip file" and it doesnt work? i thought something mustve hapened in the downloading process but same error occured?

 
HES homepage:
http://www.distinctiv-efair.com/heretic/studios
Crystal Clear Productions: http://www.distinctiv-efair.com/heretic/crystalclear

ChrisB

Crazy?

Registered
  16/08/2002
Points
  5457
5th June, 2004 at 07:54:59 -

Ah, the mimetypes are messed up again :| Either that, or Jason still hasn't fixed it

A working link to that example is http://www.castlesoftware.co.uk/downloads/odbc.zip

 
n/a

Klikmaster

Master of all things Klik

Registered
  08/07/2002
Points
  2599

Has Donated, Thank You!You've Been Circy'd!VIP MemberPS3 Owner
5th June, 2004 at 11:45:07 -

can you use it to work with online databases?

 
n/a

ChrisB

Crazy?

Registered
  16/08/2002
Points
  5457
5th June, 2004 at 12:43:34 -

No. Most online databases don't accept remote connections anyway... go use a PHP script

 
n/a

Klikmaster

Master of all things Klik

Registered
  08/07/2002
Points
  2599

Has Donated, Thank You!You've Been Circy'd!VIP MemberPS3 Owner
5th June, 2004 at 12:56:57 -

but with php you cant get data back to the app, can you?

 
n/a

Pete Nattress

Cheesy Bits img src/uploads/sccheesegif

Registered
  23/09/2002
Points
  4811
5th June, 2004 at 13:21:05 -

yeah, for a start you can just use the IE activex and have it display a page with the results on, and i'm sure there's something else you can do as well.

 
www.thenatflap.co.uk

Villy

Shab's love pet

Registered
  27/05/2002
Points
  294
5th June, 2004 at 13:37:35 -

Something i did digg up today for a app i am making:
Sample HTTP Exchange
To retrieve the file at the URL

http://www.somehost.com/path/file.html

first open a socket to the host www.somehost.com, port 80 (use the default port of 80 because none is specified in the URL). Then, send something like the following through the socket:

GET /path/file.html HTTP/1.0
From: someuser@jmarshall.com
User-Agent: HTTPTool/1.0
[blank line here]

The server should respond with something like the following, sent back through the same socket:

HTTP/1.0 200 OK
Date: Fri, 31 Dec 1999 23:59:59 GMT
Content-Type: text/html
Content-Length: 1354

<html>
<body>
<h1>Happy New Millennium!</h1>
(more file contents)
.
.
.
</body>
</html>

After sending the response, the server closes the socket.
To familiarize yourself with requests and responses, manually experiment with HTTP using telnet.


You can use a POST request to send whatever data you want, not just form submissions. Just make sure the sender and the receiving program agree on the format.

The GET method can also be used to submit forms. The form data is URL-encoded and appended to the request URI. Here are more details.

If you're writing HTTP servers that support CGI scripts, you should read the NCSA's CGI definition if you haven't already, especially which environment variables you need to pass to the scripts.



 
n/a

ChrisB

Crazy?

Registered
  16/08/2002
Points
  5457
5th June, 2004 at 14:16:15 -

Yes, use MooSock or WinSock and you don't have to worry about downloading the file properly.

 
n/a
   

Post Reply



 



Advertisement

Worth A Click