Code Red > VB(A)

VBA and Databases

<< < (3/3)

M-dub:
Thanks Hendie,
   I did all that stuff, but I'm still getting the errors.  It works fine if I run it from the VB environment, but ALWAYS get the error if I just type tblock2000 at the command prompt...
Any other ideas?

hendie:
open the lisp and change

--- Code: ---(setq f (findfile "tblock.dvb"))
--- End code ---


to

--- Code: ---
(setq f (findfile "tblock2000.dvb"))

--- End code ---


***EDITED***

and I still got errors... so try changing

--- Code: ---(vl-vbaload "tblock2000.dvb")
--- End code ---

to

--- Code: ---
(vl-vbaload f)

--- End code ---

and it should run

M-dub:
Hendie, you're bloody brilliant!

Thanks a million!

I can now hack this to bits and see how I can use it for our own application.  Hopefully after our little course is over, I'll become a major player in this particular forum.  I have seen many many uses for VB in my position where I am right now so I'll likely be in here getting (and hopefully GIVING) help far more frequently.

Thanks again, Hendie...Greatly Appreciated!
Mike

Navigation

[0] Message Index

[*] Previous page

Go to full version