Avatar billede faroe Nybegynder
22. oktober 2001 - 15:16 Der er 14 kommentarer

DLL fil og Access

Vorden bruger / åbner man en DLL fil i Access??
Avatar billede terry Ekspert
22. oktober 2001 - 15:20 #1
Hi faroe!
Are you thinking of that AccessToVB dll?
Normally DLL\'s etc have to be registered in the system registry. Once this is done the it should be possible for Access to use it.

Avatar billede terry Ekspert
22. oktober 2001 - 15:21 #2
regsvr32 can be used for this purpose, not quit esure of the parameters though
Avatar billede terry Ekspert
22. oktober 2001 - 15:22 #3
If you enter this in Run dialog you will get a list of paramaters
Avatar billede faroe Nybegynder
22. oktober 2001 - 15:25 #4
Nej, jeg har en dll fil, som er til at til at læse in fra en hånd scanner som, står i comport 1
Avatar billede terry Ekspert
22. oktober 2001 - 15:28 #5
OK, this is an example:

Public Declare Function ShellExecute Lib \"shell32.dll\" Alias \"ShellExecuteA\" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long
Avatar billede terry Ekspert
22. oktober 2001 - 15:29 #6
You should have some documentation as tothe necessary paramaters for calling the functions or whatever the DLL has.

Avatar billede faroe Nybegynder
22. oktober 2001 - 15:43 #7
Vorden bruger man det vis det er en Kommandoknap

Private Sub Kommandoknap_Click()
??
End Sub
Avatar billede terry Ekspert
22. oktober 2001 - 15:48 #8
I cant say for your specific DLL but this is an example for the shellexecute

Private Sub Kommandoknap_Click()
Dim result as integer

        result = ShellExecute(0, \"Open\", \"filepathandName\", \"\", \"path\", SW_SHOW)

End sub
Avatar billede terry Ekspert
25. oktober 2001 - 11:58 #9
faroe>hows it going with this question?
Avatar billede terry Ekspert
04. november 2001 - 20:19 #10
Hi faroe>Did my answer help at all?

Take a look at this link www.GFMinc.com it has AccessToVB version 4.7. I have downloaded a demo and intend taking a look at it when I get time. It also states in the documnetation that it CAN NOT convert 100%. Not cheap though!
Avatar billede terry Ekspert
05. november 2001 - 19:51 #11
faroe>Are you still around?
I have looked at AccessToVB! It gets installed as an add-in to VB and you convert the MDB from VB.
In the demo version it can only convert the northwind.mdb database. It CAN NOT convert 100%!

Because the demo only converts the northwind database it difficult to see just how good it is.
Obviously the more complex the MDB is the more conversion errors will be encountered. If I was to purchase it then I would want to be able to test with my own programs first.
Avatar billede faroe Nybegynder
08. november 2001 - 09:17 #12
jeg har en kode, til accesstovb så man kan konvertere alle databaser, men den er hjemme jeg
skal sende den i aften mår jeg kommer hjem.
P.S.jeg har prøvet at konvertere mine MDB, men den er ikke helt OK, du må sige mej vorden de fungerer hos dej når du har fået koden fra mej.

faroe :)
Avatar billede terry Ekspert
08. november 2001 - 09:21 #13
Hi faroe> I can remember that one of you rquetsions in eksperten was if you should purchase AccessToVB. Well if you have a code to convert ALL databases then it isnt necessary to purchase it is it?

Yes please send me the code. Do you have my email still ?
Avatar billede faroe Nybegynder
08. november 2001 - 09:25 #14
jeg har din email :)
Avatar billede Ny bruger Nybegynder

Din løsning...

Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.

Loading billede Opret Preview
Kategori
Dyk ned i databasernes verden på et af vores praksisnære Access-kurser

Log ind eller opret profil

Hov!

For at kunne deltage på Computerworld Eksperten skal du være logget ind.

Det er heldigvis nemt at oprette en bruger: Det tager to minutter og du kan vælge at bruge enten e-mail, Facebook eller Google som login.

Du kan også logge ind via nedenstående tjenester