-
Sep 2nd, 2011, 08:04 AM
#1
Last edited by dilettante; Sep 3rd, 2011 at 05:40 AM.
Reason: reposted archive, small code changes to add Documents property, updated documentation
-
Sep 3rd, 2011, 03:08 AM
#2
Re: VB6 - ProgData.Path to fix the App.Path problem
There is an error in ProgDFix.
App.path "Dummy" does not exist.
Code:
Err.Raise &H8004B100, TypeName(Me), "AppPath """ & RHS & """ doesn't exist"
when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
https://get.cryptobrowser.site/30/4111672
-
Sep 3rd, 2011, 04:11 AM
#3
Re: VB6 - ProgData.Path to fix the App.Path problem
I can't find any errors. I just tried it again and it works fine. If you read the ProgData.rtf guidance document, under Testing ProgDFix.exe the very first step is:
- Copy the included folder Dummy under Program Files/Programs manually. This will be a simulated installed program, but without any EXE (just some folders and files).
That puts the folder in place for testing.
As the third step there says:
- Note that the Project has a command line set up already for Dummy and some files and folders under that folder:
Msg|Dummy|EmptyFolder|FolderToGetMoved|FileToGetMoved.txt So to test with a different installed program (or simulation folder) provide appropriate command line parameters.
If you clear the command line in the IDE (Project|ProgDFix Properties... Make tab) the program will just terminate with "nothing to do."
Last edited by dilettante; Sep 3rd, 2011 at 05:42 AM.
Reason: typos, added highlight
-
Sep 3rd, 2011, 05:56 AM
#4
Re: VB6 - ProgData.Path to fix the App.Path problem
Note:
The example DummyApp PDW setup was tested on Vista SP2, Win7 RC, and XP SP3. No issues. Should also work fine with Win2K SP 2 or later. Should even work for Win9x (including Win95 with the Desktop Update).
I need to build a Win7 SP1 VM yet but I expect no problems.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|