Click here to Skip to main content
15,925,255 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: scroll bars (vertical and horizontal) in listbox Pin
Christian Graus17-Jan-06 15:36
protectorChristian Graus17-Jan-06 15:36 
AnswerRe: scroll bars (vertical and horizontal) in listbox Pin
Joshua Quick17-Jan-06 16:12
Joshua Quick17-Jan-06 16:12 
Questionbetween two forms Pin
militiaware17-Jan-06 14:28
militiaware17-Jan-06 14:28 
AnswerRe: between two forms Pin
Christian Graus17-Jan-06 14:33
protectorChristian Graus17-Jan-06 14:33 
QuestionInstaller selected directory. Pin
bskirkman17-Jan-06 13:04
bskirkman17-Jan-06 13:04 
AnswerRe: Installer selected directory. Pin
bskirkman17-Jan-06 14:46
bskirkman17-Jan-06 14:46 
QuestionVBA - Declare - Finding the Lib File - Windows Registry? Pin
JSadleir17-Jan-06 12:09
JSadleir17-Jan-06 12:09 
AnswerRe: VBA - Declare - Finding the Lib File - Windows Registry? Pin
Dave Kreskowiak17-Jan-06 13:58
mveDave Kreskowiak17-Jan-06 13:58 
Well, VBA is a little limited in this respect. You can't register library .DLL's like you can COM .DLL's. Also, you can't change the location of your reference at runtime in VBA, so putting the path to the .DLL in the Registry isn't going to help much.

If you don't want to put the full path to the .DLL in your declaration, you're limited to putting the .DLL where it can be found without it.

The best place to put the .DLL is in the directory your code is launched from, usually in Program Files\myAppFolder. You could also put it in C:\WINDOWS, or more acurately, %SystemRoot%.

If your .DLL is not in the current directory, the loader then tries to find your .DLL in the each folder listed in the PATH environment variable. If it's not found in the PATH, your function call will fail miserably.


RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

GeneralRe: VBA - Declare - Finding the Lib File - Windows Registry? Pin
JSadleir17-Jan-06 17:00
JSadleir17-Jan-06 17:00 
GeneralRe: VBA - Declare - Finding the Lib File - Windows Registry? Pin
Dave Kreskowiak19-Jan-06 9:30
mveDave Kreskowiak19-Jan-06 9:30 
Questionhelp with arrays Pin
jszpila17-Jan-06 11:45
jszpila17-Jan-06 11:45 
AnswerRe: help with arrays Pin
Joshua Quick17-Jan-06 13:01
Joshua Quick17-Jan-06 13:01 
GeneralRe: help with arrays Pin
jszpila18-Jan-06 3:34
jszpila18-Jan-06 3:34 
QuestionAlignment problem displaying .txt file in window's textbox? Pin
Brightday17-Jan-06 5:40
Brightday17-Jan-06 5:40 
AnswerRe: Alignment problem displaying .txt file in window's textbox? Pin
Dave Kreskowiak17-Jan-06 6:37
mveDave Kreskowiak17-Jan-06 6:37 
GeneralRe: Alignment problem displaying .txt file in window's textbox? Pin
Brightday17-Jan-06 7:53
Brightday17-Jan-06 7:53 
GeneralDave - please send me an email !!! Pin
Christian Graus17-Jan-06 9:59
protectorChristian Graus17-Jan-06 9:59 
GeneralRe: Dave - please send me an email !!! Pin
Dave Kreskowiak17-Jan-06 10:33
mveDave Kreskowiak17-Jan-06 10:33 
Questionopen a form closing the opener Pin
ecentinela17-Jan-06 5:04
ecentinela17-Jan-06 5:04 
QuestionRe: open a form closing the opener Pin
Roy Heil17-Jan-06 7:07
professionalRoy Heil17-Jan-06 7:07 
AnswerRe: open a form closing the opener Pin
vinji17-Jan-06 7:08
vinji17-Jan-06 7:08 
GeneralRe: open a form closing the opener Pin
ecentinela17-Jan-06 8:02
ecentinela17-Jan-06 8:02 
GeneralRe: open a form closing the opener Pin
vinji17-Jan-06 8:09
vinji17-Jan-06 8:09 
GeneralRe: open a form closing the opener Pin
ecentinela17-Jan-06 8:13
ecentinela17-Jan-06 8:13 
QuestionList of NT Users ina Domain Pin
Bob Zagars17-Jan-06 4:26
Bob Zagars17-Jan-06 4:26 

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.