Visual Basic

Moderators: None (Apply to moderate this forum)
Number of threads: 17974
Number of posts: 55343

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Please Help - How To Sharing Database In LAN Posted by TJ-Ariff on 14 Mar 2007 at 8:52 PM
Hi,
i need to know what coding for run my program (VB6) with access database between 2 or 4 computers in LAN.
-------------------------------
Private Sub Form_Load()
CustData.databasename = App.Path & ("\CIS Database.mdb")
CustData.RecordSource = "CISData"



--------------------

when i run this program in another computer the error come out :

"Class not registered. Looking for object with CLSID:{0000000010-...}"


so how can i solve this problem

i already map a networking folder as a G drive. But still cannot.
___________________________________
Set DB = OpenDatabase("G:\CIS.mdb")

__________________________

Please Help....


Report
Re: Please Help - How To Sharing Database In LAN Posted by WEBMASTER on 15 Mar 2007 at 6:58 AM
Perhaps one idea.

Make sure the appropriate access database drivers (ADODB...?)? are installed on the client machines.


/WEBMASTER

Report
Re: Please Help - How To Sharing Database In LAN Posted by TJ-Ariff on 16 Mar 2007 at 12:11 AM
: Perhaps one idea.
:
: Make sure the appropriate access database drivers (ADODB...?)? are installed on the client machines.
:
:
: /WEBMASTER
:
:
_______________________

Were can i get the files.... or u mean i must install VB6 to another computer ?


Report
Re: Please Help - How To Sharing Database In LAN Posted by dokken2 on 15 Mar 2007 at 7:24 AM
: Hi,
: i need to know what coding for run my program (VB6) with access database between 2 or 4 computers in LAN.
: -------------------------------
: Private Sub Form_Load()
: CustData.databasename = App.Path & ("\CIS Database.mdb")
: CustData.RecordSource = "CISData"
:
:
:
: --------------------
:
: when i run this program in another computer the error come out :
:
: "Class not registered. Looking for object with CLSID:{0000000010-...}"
:
:
: so how can i solve this problem
:
: i already map a networking folder as a G drive. But still cannot.
: ___________________________________
: Set DB = OpenDatabase("G:\CIS.mdb")
:
: __________________________
:
: Please Help....
:
:
:

how are you running the vb6 exe on the other computer? i assume you created an installation with the package & deployment wizard and are not just copying the exe file itself.
Report
Re: Please Help - How To Sharing Database In LAN Posted by TJ-Ariff on 16 Mar 2007 at 12:09 AM
: :
:
: how are you running the vb6 exe on the other computer? i assume you created an installation with the package & deployment wizard and are not just copying the exe file itself.
: _____________________________________


No, I run from Mapping drive (G:).
also i try just copy the files, but still error.

u mean, must create the installations programs ?

Report
I really need this too Posted by honest_dude on 20 Mar 2007 at 12:44 AM
I really need this too because the vb program i created cannot be used on LAN and some of them would be very useful if it is possible to use on LAN.

Let me know how to make them usable on LAN system, if anyone knows

my mail - sz_khiangte@yahoo.com


Thank you.

Zela

Report
Re: Please Help - How To Sharing Database In LAN Posted by WEBMASTER on 20 Mar 2007 at 2:26 AM
Report
Re: Please Help - How To Sharing Database In LAN Posted by sudipta0183 on 11 May 2007 at 3:20 AM
If you want to share your access database then first copy the database file in shared document,then create a dsn and select the database file,after that from the client computer from where you want 2 access the database create a dsn and select the database from network and run your application it will cork properly.




 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.