Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.basic.visual.misc > #1617
| From | "Ivar" <ivar.ekstromer000@ntlworld.com> |
|---|---|
| Newsgroups | comp.lang.basic.visual.misc |
| References | <e%Als.206617$9W6.163405@fx08.am4> |
| Subject | Re: Where To Write My File |
| Message-ID | <wwNls.264609$Rc7.75012@fx04.am4> (permalink) |
| Organization | virginmedia.com |
| Date | 2012-11-05 11:35 +0000 |
Thanks to Jim and Dave for the replies so far. I found the following lines of wisdom in MSDN: If you do not specify a path for libname, Visual Basic will search for the file in the following order: Directory containing the .exe file Current directory Windows system directory (often but not necessarily \Windows\System) Windows directory (not necessarily \Windows) Path environment variable So: Extract file from resource file and write it to Drive\Users\UserName\Appdata\ProgName Change the Current Drive to The Drive of Users\UserName\Appdata\ProgName) Change the current directory to Drive\Users\UserName\Appdata\ProgName VB then finds dll in the second place it looks. Seems to work OK. In exe and VB IDE. I don't use any antivirus software, Being so file has .dll extension will this cause any problems? May be someone with VB6 and antivirus software can test this for me? Thanks for reading Ivar
Back to comp.lang.basic.visual.misc | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Where To Write My File "Ivar" <ivar.ekstromer000@ntlworld.com> - 2012-11-04 21:21 +0000
Re: Where To Write My File Jim Mack <no-uce-ube@mdxi.com> - 2012-11-04 16:51 -0500
Re: Where To Write My File "DaveO" <djo@dial.pipex.com> - 2012-11-05 09:54 +0000
Re: Where To Write My File Deanna Earley <dee.earley@icode.co.uk> - 2012-11-05 10:12 +0000
Re: Where To Write My File "Ivar" <ivar.ekstromer000@ntlworld.com> - 2012-11-05 11:35 +0000
Re: Where To Write My File "DaveO" <djo@dial.pipex.com> - 2012-11-05 11:59 +0000
Re: Where To Write My File "Ivar" <ivar.ekstromer000@ntlworld.com> - 2012-11-05 12:17 +0000
Re: Where To Write My File Deanna Earley <dee.earley@icode.co.uk> - 2012-11-05 13:43 +0000
Re: Where To Write My File GS <gs@somewhere.net> - 2012-11-12 10:00 -0500
Re: Where To Write My File "Ivar" <ivar.ekstromer000@ntlworld.com> - 2012-11-12 19:10 +0000
Re: Where To Write My File GS <gs@somewhere.net> - 2012-11-12 17:08 -0500
Re: Where To Write My File "Thorsten Albers" <gudea@gmx.de> - 2012-11-12 23:29 +0000
Re: Where To Write My File "Ivar" <ivar.ekstromer000@ntlworld.com> - 2012-11-13 11:43 +0000
Re: Where To Write My File Schmidt <sss@online.de> - 2012-11-13 14:43 +0100
Re: Where To Write My File "Mike Williams" <Mike@WhiskyAndCoke.com> - 2012-11-13 17:07 +0000
Re: Where To Write My File Schmidt <sss@online.de> - 2012-11-13 19:00 +0100
Re: Where To Write My File "Ivar" <ivar.ekstromer000@ntlworld.com> - 2012-11-13 19:10 +0000
Re: Where To Write My File "Mayayana" <mayayana@invalid.nospam> - 2012-11-13 09:08 -0500
Re: Where To Write My File "Ivar" <ivar.ekstromer000@ntlworld.com> - 2012-11-13 19:16 +0000
Re: Where To Write My File ralph <nt_consulting64@yahoo.com> - 2012-11-13 09:18 -0600
Re: Where To Write My File "DaveO" <djo@dial.pipex.com> - 2012-11-13 16:41 +0000
Re: Where To Write My File "CoderX" <coder@x.com> - 2012-11-15 13:38 -0500
Re: Where To Write My File Deanna Earley <dee.earley@icode.co.uk> - 2012-11-13 10:19 +0000
csiph-web