PDA

View Full Version : Calling a VB DLL


lascoff
02-10-2005, 10:06 PM
Is it possible to call a DLL created with VB6?

Intrigued
02-10-2005, 10:28 PM
If there ever was a post that begs for user Worm (our resident VB expert and now Plugins created in VB for us AMS 5'sters) then this is it!

I think I see Worm coming as I type this *hand to brow, checking the horizon*

Corey
02-10-2005, 10:29 PM
Hi. Yes it is. Check this out:

http://www.indigorose.com/webhelp/suf70/Program_Reference/Actions/DLL.CallFunction_Examples.htm

Hope that helps. :)

Intrigued
02-10-2005, 10:46 PM
Or, the ever-present and ultra resourceful I.R. member Corey! :p

:yes

Worm
02-11-2005, 07:21 AM
If there ever was a post that begs for user Worm (our resident VB expert and now Plugins created in VB for us AMS 5'sters) then this is it!


Whoa! Put the brakes on there I-Man. I'd never use VB to write a DLL. The only time a VB DLL would be useful would be if your calling it from a VB app that's been installed already. VB requires a runtime library, and without it, the app/dll will fail.

I'm not bashing VB, it's the language I use at my job day-in and day-out and I couldn't be more please with the power and flexibility of VB.

So, to clear the air, the language that I use for the DLLs is PowerBASIC (http://www.powerbasic.com) which is also a wonderful tool. I write DLLs in it, to use in VB to speed up a lot of my string manipulations, and file access. PowerBASIC does not require any runtimes, and is very powerful. I'd recommend it to any VB programmer, or any programmer for that matter.

Also, I'm not sure what's coming down the road with PB, but they are getting ready to make a "Major Announcement", so the website might be one worth checking every so often to find out what the hub-bub is all about.

Corey
02-11-2005, 07:24 AM
Great word, highly underused these days... :yes

http://dictionary.reference.com/search?q=hub-bub

Worm
02-11-2005, 07:26 AM
And shockingly spelled and punctuated properly. It's a landmark day for the Worm'ster

Corey
02-11-2005, 08:11 AM
Hee! :) :yes