-
Oct 4th, 2010, 06:25 AM
#1
Thread Starter
New Member
VB 6.0 Program path
how can i find the path of existing vb 6.0 program to place it for running that program. now i have errors on it as "Error during load "Form1.form"
-
Oct 4th, 2010, 06:27 AM
#2
-
Oct 4th, 2010, 06:37 AM
#3
Re: VB 6.0 Program path
Hi Manikandan... Welcome to the forums...
Could you please provide more details of what you are looking for ?
App.Path will give you the application's path. (Baja already stated that)
Are you from Kerala ?
If my post was helpful to you, then express your gratitude using Rate this Post.
And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet
Social Group: VBForums - Developers from India
Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...
-
Oct 4th, 2010, 06:48 AM
#4
Re: VB 6.0 Program path
I think he added Form1 when the project was in one folder, but now the project has moved to a different folder and VB is still looking form Form1 in the old folder.
That has happened to me before.
-
Oct 4th, 2010, 06:56 AM
#5
Re: VB 6.0 Program path
Originally Posted by Hack
I think he added Form1 when the project was in one folder, but now the project has moved to a different folder and VB is still looking form Form1 in the old folder.
That has happened to me before.
Nice thought Hack
I think, the old form can be added to the existing project by,
Code:
Project menu --> Add Form --> Existing tab --> Browse and select the old form
....
If my post was helpful to you, then express your gratitude using Rate this Post.
And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet
Social Group: VBForums - Developers from India
Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...
-
Oct 4th, 2010, 10:59 AM
#6
Re: VB 6.0 Program path
Exactly, but you want to Remove it (which destroys the old path), then Add it through the Existing tab, which will put it back with the correct path.
-
Oct 4th, 2010, 01:30 PM
#7
Re: VB 6.0 Program path
Well... the easy way for me would be to edit the VBP file
-
Oct 4th, 2010, 01:42 PM
#8
Re: VB 6.0 Program path
I was actually waiting for someone to mention the vbp file.
My vbp file tells me what the names of the forms are, not where they are stored.
Originally Posted by Sample Project1.vbp
Type=Exe
Form=Form1.frm
Form=Form2.frm
Form=Form3.frm
Form=Form4.frm
IconForm="Form1"
Startup="Form1"
Reference=*\G{00020430-0000-0000-C000-000000000046}#2.0#0#C:\WINDOWS\System32\stdole2.tlb#OLE Automation
Command32=""
Name="Project1"
HelpContextID="0"
CompatibleMode="0"
MajorVer=1
MinorVer=0
RevisionVer=0
AutoIncrementVer=0
ServerSupportFiles=0
VersionCompanyName="Name Removed To Protect The Guilty"
CompilationType=0
OptimizationType=0
FavorPentiumPro(tm)=0
CodeViewDebugInfo=0
NoAliasing=0
BoundsCheck=0
OverflowCheck=0
FlPointCheck=0
FDIVCheck=0
UnroundedFP=0
StartMode=0
Unattended=0
Retained=0
ThreadPerObject=0
MaxNumberOfThreads=1
[MS Transaction Server]
AutoRefresh=1
-
Oct 4th, 2010, 01:47 PM
#9
Re: VB 6.0 Program path
Originally Posted by ManikandanM
how can i find the path of existing vb 6.0 program to place it for running that program. now i have errors on it as "Error during load "Form1.form"
Your question is a bit vague - please provide more information.
-
Oct 4th, 2010, 07:27 PM
#10
PowerPoster
Re: VB 6.0 Program path
This is very interesting. I never thought that the VBP wasn't encripted or in some way compiled!!
-- That's amazing!!
I have a huge free products range, of computer software in which you can download using any kind of 64-Bit Web Browser. Also there is coming a Social Networking section that I am making on my Website...
|Ambra Productions Inc. | The Black Sun Society | The Black Shield | Ambra College | Church of the Black Sun | Ambra Productions Inc's Homepage | Boomtick Event's Venues: Ambar Nightclub, Jack Rabbit Slim's, Villa Nightclub and Lucy's Bar | Pasta Ambra | Fish Feast Company | Wallet Wizard | Ambrose Liquor | Ambar Tavern | Ambra University |
Do you wish to do unpaid work for me??? If so, the PM me on this Forum, and then we can get to work, programming for the future of computers go by the name of ThEiMp. This is my ghost writers name. Also my nickname, means that I am: The Imperial of the Technology Industry, so then to make it really short, I just then wrote: The Imp, which is where I get the nickname from...
-
Oct 4th, 2010, 07:36 PM
#11
Re: VB 6.0 Program path
Ever tried opening FRM file in Notepad?
-
Oct 4th, 2010, 07:46 PM
#12
PowerPoster
I have a huge free products range, of computer software in which you can download using any kind of 64-Bit Web Browser. Also there is coming a Social Networking section that I am making on my Website...
|Ambra Productions Inc. | The Black Sun Society | The Black Shield | Ambra College | Church of the Black Sun | Ambra Productions Inc's Homepage | Boomtick Event's Venues: Ambar Nightclub, Jack Rabbit Slim's, Villa Nightclub and Lucy's Bar | Pasta Ambra | Fish Feast Company | Wallet Wizard | Ambrose Liquor | Ambar Tavern | Ambra University |
Do you wish to do unpaid work for me??? If so, the PM me on this Forum, and then we can get to work, programming for the future of computers go by the name of ThEiMp. This is my ghost writers name. Also my nickname, means that I am: The Imperial of the Technology Industry, so then to make it really short, I just then wrote: The Imp, which is where I get the nickname from...
-
Oct 4th, 2010, 07:57 PM
#13
Re: VB 6.0 Program path
Nope. They're plain text.
-
Oct 4th, 2010, 08:09 PM
#14
Re: VB 6.0 Program path
Originally Posted by ThEiMp
!?Really?!
Really (if you are not kidding of course)...
Last edited by RhinoBull; Oct 5th, 2010 at 06:54 AM.
-
Oct 4th, 2010, 09:46 PM
#15
Re: VB 6.0 Program path
Originally Posted by Hack
I was actually waiting for someone to mention the vbp file.
My vbp file tells me what the names of the forms are, not where they are stored.
Me too...
Then how does VB able to find the location ?
If my post was helpful to you, then express your gratitude using Rate this Post.
And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet
Social Group: VBForums - Developers from India
Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...
-
Oct 4th, 2010, 11:49 PM
#16
PowerPoster
Re: VB 6.0 Program path
When you change something in the folder, like my Projects, I have a separate folder for Forms, and Form Data placed in the same folder together. Then Modules, etc. When you change something, like the name of the folder. The VBP doesn't recognise the files. Then you have to patch them into the VBP again, as per the norm. This only doesn't apply when you add or delete a file, from the folder. But when you rename the folders, etc. Then yes, it will...
eg:
Add Form and Add Module, until they are all there again.
-- That is what, I had and did just today on my systems at home, at work and at College!!
I have a huge free products range, of computer software in which you can download using any kind of 64-Bit Web Browser. Also there is coming a Social Networking section that I am making on my Website...
|Ambra Productions Inc. | The Black Sun Society | The Black Shield | Ambra College | Church of the Black Sun | Ambra Productions Inc's Homepage | Boomtick Event's Venues: Ambar Nightclub, Jack Rabbit Slim's, Villa Nightclub and Lucy's Bar | Pasta Ambra | Fish Feast Company | Wallet Wizard | Ambrose Liquor | Ambar Tavern | Ambra University |
Do you wish to do unpaid work for me??? If so, the PM me on this Forum, and then we can get to work, programming for the future of computers go by the name of ThEiMp. This is my ghost writers name. Also my nickname, means that I am: The Imperial of the Technology Industry, so then to make it really short, I just then wrote: The Imp, which is where I get the nickname from...
-
Oct 5th, 2010, 03:06 AM
#17
Re: VB 6.0 Program path
Originally Posted by akhileshbc
Me too...
Then how does VB able to find the location ?
If no location is specified then they are in the same folder as the .vbp file.
For files in the same drive you only get a relative path, eg:
Form= D:\code\frmEngine.frm
Form= ..\frmMsgBox.frm
Class=clsTest; subfolder\clsTest.cls
-
Oct 5th, 2010, 07:13 AM
#18
Re: VB 6.0 Program path
Thanks...
If my post was helpful to you, then express your gratitude using Rate this Post.
And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet
Social Group: VBForums - Developers from India
Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...
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
|