Quick Search for:  in language:    
ADO,Heres,another,good,example,using,winsock,
   Code/Articles » |  Newest/Best » |  Community » |  Jobs » |  Other » |  Goto » | 
CategoriesSearch Newest CodeCoding ContestCode of the DayAsk A ProJobsUpload
Visual Basic Stats

 Code: 3,149,602. lines
 Jobs: 144. postings

 How to support the site

 
Sponsored by:

 

You are in:

 
 
PDC 2003: Make the connection
Login



Latest Code Ticker for Visual Basic.
Click here to see a screenshot of this code!HistoryWriter Add-In V.1
By Zvonko Kostovski on 9/3

(Screen Shot)

Click here to see a screenshot of this code!Control Winamp
By Dennis Wollentin on 9/3

(Screen Shot)

Fake Virus Version 1.0
By C.J. Laing on 9/3


][String Encoder
By Andron Smth on 9/3


Font Catalog
By Bill Adams on 9/3


professional search
By Ziad Said on 9/3


Click here to see a screenshot of this code!Drew's Meta Tag Generator
By Drew Phillips on 9/3

(Screen Shot)

Fast BruteForce Class
By §e7eN on 9/3


Click here to see a screenshot of this code!Lotus Domino Exploit Scanner
By §e7eN on 9/3

(Screen Shot)

Click here to put this ticker on your site!


Add this ticker to your desktop!


Daily Code Email
To join the 'Code of the Day' Mailing List click here!





Affiliate Sites



 
 
   

Access ADO/DAO Database via Winsock Control

Print
Email
 
winzip icon
Submitted on: 6/4/2001 8:40:11 AM
By: Chris Hatton  
Level: Advanced
User Rating: By 79 Users
Compatibility:VB 4.0 (16-bit), VB 4.0 (32-bit), VB 5.0, VB 6.0, VBA MS Access

Users have accessed this code 42525 times.
 

(About the author)
 
     Heres another good example of using a winsock control to access a ADO database over a network/dialup connection. This project shows how to Add/Delete, Read/Write access with ease. Also I have inbedded authentication against the database via the winsock control. This project gives you the functionally to store and retrieve data remotely and keep track off multi-users online with up to date online and offline status's, into a treeview control. you can create personal folders and use drag drop features to move messages around (remotely). Also allows users to compress the database to keep hundreds of message clean and tidy. also this code shows how to export messages and send internal messages to the server to be export by email, by a internet dialup connection. Now works with Windows NT / Windows 2000. email me if it doesnt work. chris@hatton.com Please Vote....

 

Windows API/Global Declarations:

Can't Copy and Paste this?
Click here for a copy-and-paste friendly version of this code!

'**************************************
'Windows API/Global Declarations for :Ac
'     cess ADO/DAO Database via Winsock Contro
'     l
'**************************************
heaps
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzipto decompress it.

Virus note:All files are scanned once-a-day by Planet Source Code for viruses,but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:
1)Re-scan downloaded files using your personal virus checker before using it.
2)NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
3)Scan the source code with Minnow's Project Scanner

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
1) You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.   
2) You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
3) You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
4) You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 5 submission(s) by this author

 

 
Report Bad Submission
Use this form to notify us if this entry should be deleted (i.e contains no code, is a virus, etc.).
Reason:
 
Your Vote!

What do you think of this code(in the Advanced category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor See Voting Log
 
Other User Comments
6/5/2001 9:45:24 AM:Travell Davis
Excellent Job Chris, Very well done 
neat, and professional looking. All 
programmers on the BBS need to 
definatly check this project out!!!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/6/2001 12:27:24 AM:JaWoLtZe
I voted 5/5 for your excellent code!!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/14/2001 10:46:42 PM:Doctor Evil
This is one of the nicest GUIs I have 
seen on PSC for a while.  Good job!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/24/2001 7:32:29 PM:Ultimatum
Don't get me wrong, I like your code. 
It's great for people not running web 
servers. but wouldn't it be a little 
more efficient to use ASP for those of 
us who run IIS?
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/25/2001 8:30:26 AM:Chris Hatton
Ultimatum, I dont know ASP well enough 
to do like this. maybe i'll work on 
something like this in the future.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/25/2001 4:05:08 PM:Ultimatum
Fair enough. =) 0x005 globes.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
7/13/2001 11:46:36 AM:Kevin Pirkl
I get some errors trying to run the 
server.  Im running VS 6.0 VB full 
install and get. Line 27: Class 
MSComctlLib.ImageList of control 
ImageList1 was not a loaded control 
class.
Line 53: Class 
RichTextLib.RichTextBox of control 
RichTextBox1 was not a loaded control 
class.
Line 75: Class 
MSComctlLib.ListView of control LVMsgs 
was not a loaded control class.
Can 
someone help?
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
7/13/2001 9:07:38 PM:Chris Hatton
Kevin,
You may need to install the SP3 
or higher, the controls are 6.0 (SP3).
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
7/15/2001 5:14:12 PM:Dan
Must say ONE OF THE BEST projects on 
psc ive seen. Keep it up. 
I voted 
5/5. 
And will e-mail this link to 
all
programmers I know.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
7/16/2001 3:07:26 AM:Tariq Bin Shams
I get some errors while running the 
server 
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
7/16/2001 3:09:38 AM:Tariq
I am having getting an error while 
running the server which says "cn As 
ADODB.Connection" cant find project or 
library.
Can some one help me.
thanks 
in advance
redards
tariq
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
7/16/2001 3:38:36 AM:Chris Hatton
Hi Tariq
You need to download 
microsoft data access components 2.5 
from www.microsoft.com/data or try 
referencing it with 2.0 / 2.1 that may 
work.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
7/22/2001 2:34:14 PM:Prashant
Hey Chris, u r genious !!!!!
Keep up 
the good work !!!!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
7/22/2001 8:05:10 PM:Peter Verburgh
Hello, This is just great !
I've never 
seen such a complete full working 
progessional prog here ! 
I've posted 
aslo some code on PSC , but you're code 
& GUI is very very nice!
You deserve 
more than 5 GLOBES 
!!
Greetings,
If you are 
interrested to view data between 
sockets.. for looking , knowing new 
protocols by own written applications, 
i've posted here !
called TCP-IP 
Datalook V1.3
Greetings,
Hopely i 
can see some more stuff of you in the 
future !
Peter Verburgh.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/5/2001 9:24:33 AM:Troy
Great job.  One thing missing is 
encryption of the password field.  But 
all in all it is very neat and works 
great!!!!!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
10/10/2001 1:01:20 PM:JaWoLtZe
Chris, i was just wondering if you can 
add some features in this project like 
sending a file attachement to your 
messenger buddy...nevertheless this 
code really rocks! Excellent job man!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
10/24/2001 1:50:11 PM:Rajesh Lal (HL & GC)
Great work
respect - rajesh
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
12/22/2001 9:54:17 AM:Danizan
is+it+possible+to+have+more+than+10+conc
urrent+users+at+one+time%3F
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
2/20/2002 3:52:52 AM:Tuk
I can't get my eyes out of this GUI, 
excelent my man, just excelent.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
3/29/2002 12:23:22 PM:Jason
Oh Man !@!! This is AWESOME !!!! Hei 
Buddy you are brilliant and you have 
done it again .... Another 5 from me
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
5/29/2002 12:48:53 AM:roger
my OS only win98 ... can it work 
??
Need modification ?? please help 
me..
i need it to run at 
win98....Thanks.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/23/2002 6:25:45 PM:
Now that is a well interesting 
project...just a couple of "On Error 
Resume Next" thrown in and this code 
runs on Win2k without probs. A five and 
thumbs up from me for a great idea & a 
smart way of getting there!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
11/3/2002 6:11:56 PM:
Nice Work. 5 Globes! Great UI...
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
11/18/2002 2:41:37 AM:
I don't understand some places very 
much.How it dealt with incident of 
erupting simultaneously? 
Suppose 
that two clients, C1 and C2, have 
already made a connection with server 
succeefuly.
How about under following 
situationses
1. C1 and C2 send 
different request at the same time. How 
does it deal with?
2. When it's 
sending data to C1, C2 sends a new 
request. How does it deal with? 
Can 
help?
Thanks a lot!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
12/19/2002 2:06:16 AM:
Very nice.... excellent
I like your 
code very much even though your 
approach is quite complecated,  but 
anyway its working well.
I have a 
few questions to your sir.
1. Is 
your code no problem in more than user 
log-in at the same time?
2.  If 
Pictures are store in database, can 
access them via winsock?
Sorry for 
if it bothers you... I'm just 
interested coz i'm currently developing 
a program that i want that this feature 
will be available.
Thank 
you...
God bless...
Cris
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/31/2003 9:14:39 AM:
Nice piece of work dude !!!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
5/7/2003 1:01:09 PM:
superb man!! neatest program i hav 
seen
in recent times..cool!! keep ur 
good work & do provide us with more 
jewels like this.
thank u!!!.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/24/2003 5:15:24 AM:Masino Sinaga
Chris Hatton, I can't say anything... 
just...: GREAT, GREAT, and, GREAT CODE! 
I want to give you 10 globes if any, 
alas... there are only 5 globes here, 
so I give you all of them. Keep up good 
work!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/24/2003 5:25:30 AM:Chris Hatton
Hi Guys,
I'm Currenty working on a 
second version of this software so keep 
your eyes peeled round 
September/October, it will be twice as 
good! or visit 
http://www.chris.hatton.com/opensource/o
fmii/  for a status update.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
Add Your Feedback!
Note:Not only will your feedback be posted, but an email will be sent to the code's author in your name.

NOTICE: The author of this code has been kind enough to share it with you.  If you have a criticism, please state it politely or it will be deleted.

For feedback not related to this particular code, please click here.
 
Name:
Comment:

 

Categories | Articles and Tutorials | Advanced Search | Recommended Reading | Upload | Newest Code | Code of the Month | Code of the Day | All Time Hall of Fame | Coding Contest | Search for a job | Post a Job | Ask a Pro Discussion Forum | Live Chat | Feedback | Customize | Visual Basic Home | Site Home | Other Sites | About the Site | Feedback | Link to the Site | Awards | Advertising | Privacy

Copyright© 1997 by Exhedra Solutions, Inc. All Rights Reserved.  By using this site you agree to its Terms and Conditions.  Planet Source Code (tm) and the phrase "Dream It. Code It" (tm) are trademarks of Exhedra Solutions, Inc.