Hi guys,
First, I should admit that I am dealing with VB code for the first time, and using a module that is WAY more complicated than I should be allowed to touch.
I just downloaded Kevin S's sample db (A97 version) from here in order to encorperate it into the system I'm building. When I try to run it, I get "Compile Error: Can't find project or library". I understand that this is telling me that I'm using a function (??) or something that it doesn't recognize because it doesn't have the right libraries installed/referenced, but I don't know where to start to fix it. I've found the References dialog, and looked through the Help file, and even just played around to see what happens, but I can't figure out how to make it work. I think that what it's getting stuck on is:
but i'm not sure how to fix it.
If anyone can help me, or if you can direct me towards a better place to find such basic VB help, that would be really awesome.
Thanks,
~ Nuke ~
First, I should admit that I am dealing with VB code for the first time, and using a module that is WAY more complicated than I should be allowed to touch.

I just downloaded Kevin S's sample db (A97 version) from here in order to encorperate it into the system I'm building. When I try to run it, I get "Compile Error: Can't find project or library". I understand that this is telling me that I'm using a function (??) or something that it doesn't recognize because it doesn't have the right libraries installed/referenced, but I don't know where to start to fix it. I've found the References dialog, and looked through the Help file, and even just played around to see what happens, but I can't figure out how to make it work. I think that what it's getting stuck on is:
Code:
'If fDoes_DSN_Exists(JDS_DSN_name) = True Then
syscmdresult = SysCmd(acSysCmdSetStatus, "Creating System DSN " & strDSN & "...")
lngResult = SQLConfigDataSource(0, _
ODBC_ADD_SYS_DSN, _
"SQL Server", _
"DSN=" & strDSN & Chr(0) & _
"Server=" & strServer & Chr(0) & _
"Database=" & strdb & Chr(0) & _
"UseProcForPrepare=Yes" & Chr(0) & _
"Trusted_Connection=Yes" & Chr(0) & _
"Description=Database" & Chr(0) & Chr(0))
but i'm not sure how to fix it.
If anyone can help me, or if you can direct me towards a better place to find such basic VB help, that would be really awesome.
Thanks,
~ Nuke ~