Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.basic.visual.misc > #1616

Re: Where To Write My File

From Deanna Earley <dee.earley@icode.co.uk>
Newsgroups comp.lang.basic.visual.misc
Subject Re: Where To Write My File
Date 2012-11-05 10:12 +0000
Organization Aioe.org NNTP Server
Message-ID <k783ev$n0i$1@speranza.aioe.org> (permalink)
References <e%Als.206617$9W6.163405@fx08.am4>

Show all headers | View raw


On 04/11/2012 21:21, Ivar wrote:
> Hi All
>
> Been very quite here recently, hopefully a few VB6 gurus are still
> monitoring?
>
> I have an app that writes compressed files to users chosen location.
> This compression was done internally by the app itself but it was a bit
> slow.
> So I downloaded a dll file that does just as good a job but sooo much
> faster.
> What I would like to be able to do is have this dll stored in the
> resource file of the exe and create it as and when needed.
> Every end user (and they are all idiots! Example via phone call: Me
> 'Click the start button' User 'Where's that?', Me 'Bottom left', User
> 'You mean the button with ctrl on it?) has the exe file in the Programs
> folder or Programs x86 folder.
> The dll file needs to go to the System folder or the App.Path folder in
> order to work.
> Both of which the exe file cannot write to

Does it NEED to be in that path or is it just that the Declare Function 
in VB only looks in those paths?

If you extract to the temporary folder, you can call LoadLibrary() on 
the new path and that will then be used by the VB Declare calls.

Alternative, just install it as normal. I can't think of any reason why 
not to do this.

> Really, end users can just about replace the exe file with an updated
> one via 30 mins of phone call.

Not if it's in Program Files, as they can't write to it without doing 
silly things like agreeing to delete system executables :)

> There is no way I could survive the stress of sending each end user a
> dll file to put on their hard drive.
> P.S. I only ever distribute the exe file, The App never needs installing.

A setup will make this MUCH easier on them and you and it comes down to 
"Run this, click "Next" then "Install".

-- 
Deanna Earley (dee.earley@icode.co.uk)
i-Catcher Development Team
http://www.icode.co.uk/icatcher/

iCode Systems

(Replies direct to my email address will be ignored. Please reply to the 
group.)

Back to comp.lang.basic.visual.misc | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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