Click here to Skip to main content
15,914,444 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Vb 6 and access 2000 in LAN Pin
Dave Kreskowiak14-Apr-06 6:43
mveDave Kreskowiak14-Apr-06 6:43 
GeneralRe: Vb 6 and access 2000 in LAN Pin
arunendra14-Apr-06 7:10
arunendra14-Apr-06 7:10 
GeneralRe: Vb 6 and access 2000 in LAN Pin
Dave Kreskowiak14-Apr-06 7:14
mveDave Kreskowiak14-Apr-06 7:14 
GeneralRe: Vb 6 and access 2000 in LAN Pin
arunendra14-Apr-06 23:35
arunendra14-Apr-06 23:35 
GeneralRe: Vb 6 and access 2000 in LAN Pin
Dave Kreskowiak15-Apr-06 3:37
mveDave Kreskowiak15-Apr-06 3:37 
GeneralRe: Vb 6 and access 2000 in LAN Pin
arunendra15-Apr-06 5:18
arunendra15-Apr-06 5:18 
GeneralRe: Vb 6 and access 2000 in LAN Pin
Dave Kreskowiak15-Apr-06 6:47
mveDave Kreskowiak15-Apr-06 6:47 
GeneralRe: Vb 6 and access 2000 in LAN Pin
arunendra16-Apr-06 2:26
arunendra16-Apr-06 2:26 
Thanks Dave for your continuous support!
1.for the first part (comapcting), the string (source) now looks like the following when it is passed to the function:
Provider=Microsoft.Jet.OLEDB.4.0;Data Source=;User Id=Admin;password= ;Jet OLEDB:Database Password=bill1234
is the formation right?

2. the part : oJet.CompactDatabase(srcConn, dstConn), gives a compiler error
"expected:="; if i remove the brackets, there is no error, will it work?

3. if i try like that (with out bracket and with the string formed above, and when run,when the compactdatabase part comes, the error msg occures :
"object variable or with block variable not set"
what shall i do?

for the second part, can you build a complete connect string, for eg if the machine where the database is present is called "machine one", and the database mdb file is in the d drive of that machine (d:\datafolder\data.mdb), and if that folder is shared as "datafolder_shared", with the permission of "modify/read/execute and write" for a group of users and full control for the administrators, then what should be the string to connect from another machine :
should it be something like the following :

Connect_String = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\\machine one\datafolder_shared\data.mdb;Persist Security Info=False;Jet OLEDB:Database Password=bill1234"

or

Connect_String = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\\machine one\datafolder_shared:\data.mdb;Persist Security Info=False;Jet OLEDB:Database Password=bill1234"

or something else?
you want me to map a drive, but how to do and in which machine i have to do? i have so, given the full situation, plz tell me a bit more. I am sorry as i dont know much of computer administration, so i give you some trouble, i hope you will pull me out of this.
Regards
Arunendra

GeneralRe: Vb 6 and access 2000 in LAN Pin
Dave Kreskowiak16-Apr-06 10:24
mveDave Kreskowiak16-Apr-06 10:24 
GeneralRe: Vb 6 and access 2000 in LAN Pin
arunendra17-Apr-06 0:02
arunendra17-Apr-06 0:02 
GeneralRe: Vb 6 and access 2000 in LAN Pin
Dave Kreskowiak17-Apr-06 2:56
mveDave Kreskowiak17-Apr-06 2:56 
Questionhotmail account Pin
TAREQ F ABUZUHRI14-Apr-06 2:06
TAREQ F ABUZUHRI14-Apr-06 2:06 
GeneralRe: hotmail account Pin
Guffa14-Apr-06 2:42
Guffa14-Apr-06 2:42 
AnswerRe: hotmail account Pin
Dave Kreskowiak14-Apr-06 4:32
mveDave Kreskowiak14-Apr-06 4:32 
Questionerror in executing site from server(its urgent) Pin
Amit Agarrwal13-Apr-06 23:35
Amit Agarrwal13-Apr-06 23:35 
AnswerRe: error in executing site from server(its urgent) Pin
CWIZO14-Apr-06 2:35
CWIZO14-Apr-06 2:35 
Questionsetup and deployment Pin
naeeemkhan13-Apr-06 20:44
naeeemkhan13-Apr-06 20:44 
AnswerRe: setup and deployment Pin
Mekong River13-Apr-06 23:21
Mekong River13-Apr-06 23:21 
GeneralRe: setup and deployment Pin
arunendra14-Apr-06 2:13
arunendra14-Apr-06 2:13 
GeneralRe: setup and deployment Pin
Mekong River14-Apr-06 16:40
Mekong River14-Apr-06 16:40 
AnswerRe: setup and deployment Pin
Dave Kreskowiak14-Apr-06 4:33
mveDave Kreskowiak14-Apr-06 4:33 
Questioni want the logic of three dimension array with vb Pin
saqibaba13-Apr-06 19:59
saqibaba13-Apr-06 19:59 
AnswerRe: i want the logic of three dimension array with vb Pin
Dave Kreskowiak14-Apr-06 4:36
mveDave Kreskowiak14-Apr-06 4:36 
Questionmy mBookSale is not declared But Why ?? Pin
MickYL13-Apr-06 17:54
MickYL13-Apr-06 17:54 
AnswerRe: my mBookSale is not declared But Why ?? Pin
Steve Pullan13-Apr-06 19:56
Steve Pullan13-Apr-06 19:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.