Having install problem 
Author Message
 Having install problem

I have been working on this problem off and on for well over a week.  I have
some .wav files in a subdirectory of the directory that my vb. program is
in. (c:\The Math School\Wave).  When coding the program I used the c:\The
Math School\Wave\file.wav path to play the wave files.  When using the VB6
P&DW I have yet to get it to create a subdirectory under The Math School
when installing it to another pc?  I am able to get the setup to create this
subdirectory when I use InstallMaker.  However after installing the program
on another pc the path is c:\Program files\The Math School\Wave.  As you can
see this is not the path in my code c:\The Math School\Wave.  I guess I
could go back and recode the path to where the file will be after installing
it on another computer (c:\Program Files\The Math School\Wav)  instead of
where it is on my computer while coding (c:\The Math School\Wave)?  But I
don't want to do this every time I make a program unless I don't have enough
sense to do it another way.  As some of you know I asked questions about
this a week or so ago.  I got several great replies but have not gotten any
to work yet.  Please give it another try at explaining how to do this.

Thank You

Larry



Wed, 18 Jun 1902 08:00:00 GMT  
 Having install problem
sWaveDir = App.Path & "\Wave\" & filename.wav
- or -
sWaveDir = App.Path & "\" & filename.wav

I don't like "program files" 'directory' (folder) and as
a USER would install a program in a more appropriate
directory... graphics\adobe etc.   -i like DOS-
MAKE IT RELATIVE to where your program resides.
One can never predict where a user might setup their
application.  And, if ya do... you'll be left w/ a
restricted environment.  Creating more headaches for
the average user.

http://www.cartoonexpress.com/glynn

ps.  use the following code to create a directory (or
subdir):
MkDir App.Path & "\Wave"

Quote:

>I have been working on this problem off and on for well over a week.  I have
>some .wav files in a subdirectory of the directory that my vb. program is
>in. (c:\The Math School\Wave).  When coding the program I used the c:\The
>Math School\Wave\file.wav path to play the wave files.  When using the VB6
>P&DW I have yet to get it to create a subdirectory under The Math School
>when installing it to another pc?  I am able to get the setup to create this
>subdirectory when I use InstallMaker.  However after installing the program
>on another pc the path is c:\Program files\The Math School\Wave.  As you can
>see this is not the path in my code c:\The Math School\Wave.  I guess I
>could go back and recode the path to where the file will be after installing
>it on another computer (c:\Program Files\The Math School\Wav)  instead of
>where it is on my computer while coding (c:\The Math School\Wave)?  But I
>don't want to do this every time I make a program unless I don't have enough
>sense to do it another way.  As some of you know I asked questions about
>this a week or so ago.  I got several great replies but have not gotten any
>to work yet.  Please give it another try at explaining how to do this.

>Thank You

>Larry



Sat, 01 Feb 2003 13:08:37 GMT  
 Having install problem
oops, Filename s/b enclosed in quotes!
sWaveDir = App.Path & "\Wave\filename.wav"

hence, a string -> my fault!  pat

Quote:

>I have been working on this problem off and on for well over a week.  I have
...
>Thank You

>Larry



Sat, 01 Feb 2003 13:17:35 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Install .net framwork WITHOUT having IE installed?

2. Install mdac 2.5 when having 2.6 installed

3. A question about installing SP2 for Visual Studio, after having installed it for VB.

4. VB.NET app does not run on OS having .NET redistributable files installed

5. Having trouble with installing DAO 32 Bit

6. Using an Excel file without having Microsoft Excel installed

7. Having trouble installing DX9

8. VB6 Learning Edition Install Problems when searching for installed components

9. Having some problems with ObjectNames(newbie)

10. Problem starting Acces 97 after having started Outlook 2000

11. Having problems with VBA332.dll

12. Having problems with sorting character or text fields

 

 
Powered by phpBB® Forum Software