VB6 migration from win7 to win10, project does not show forms but I can add existing
I have copied VB6 project from win7 to win10, Can open project by clicking on 'vbp' and ide loads but does not display the project forms (all 150 of them).
They can be loaded using add form/existing but there must be a better way. Does anyone have experience of this?WIn7, win10, pr
Re: VB6 migration from win7 to win10, project does not show forms but I can add exist
I don't really understand what you mean by 'I have copied vb6 project from win7 to win10'.
There shouldn't be any difference between windows 7 or windows 10 in behaviour of the project.
Are you sure you copied all the code over from your windows 7 PC to you Windows 10 PC?
Are you sure you open the correct vbp (or did you open a vbg (group) prior)?
Did you get any errors during loading of the vbp?
I never had any problems going from Windows 95 up to Windows 10 with any of our VB6 projects (as long as did make sure to first have all components installed/registered on the new PC's)
Re: VB6 migration from win7 to win10, project does not show forms but I can add exist
Quote:
Originally Posted by
SuperDre
I don't really understand what you mean by 'I have copied vb6 project from win7 to win10'.
There shouldn't be any difference between windows 7 or windows 10 in behaviour of the project.
Are you sure you copied all the code over from your windows 7 PC to you Windows 10 PC?
Are you sure you open the correct vbp (or did you open a vbg (group) prior)?
Did you get any errors during loading of the vbp?
I never had any problems going from Windows 95 up to Windows 10 with any of our VB6 projects (as long as did make sure to first have all components installed/registered on the new PC's)
The project in Win7 was in a single folder. I copied the complete folder (which included all forms, modules etc) into a new folder on my Win10 computer.
I had already confirmed that the win7-generated executable would work in the win10 environment, albeit after after adding and registering a number of .ocx etc files.
I then installed VB6 on the win10 machine and after a few tweaks, got the development screen to work, but the side panel displaying all the screen names does not appear. I opened the vbp within the folder of the complete project.
Re: VB6 migration from win7 to win10, project does not show forms but I can add exist
It's hard to understand what you really mean with 'side panel displaying all the screen names', are you refering to then 'Project browser'?
Funny enough, I'm so used to using [Ctrl][R] to open it, I have no idea how to open it through the menu's.
Do you have the IDE in MDI or SDI mode (default after installing a clean version it is MDI mode, but I always set it to SDI)?
Do you also have a .vbw file? Close the IDE and locate it, and delete it (it contains the current window positions for the project).
Re: VB6 migration from win7 to win10, project does not show forms but I can add exist
Quote:
Originally Posted by
SuperDre
It's hard to understand what you really mean with 'side panel displaying all the screen names', are you refering to then 'Project browser'?
Funny enough, I'm so used to using [Ctrl][R] to open it, I have no idea how to open it through the menu's.
Do you have the IDE in MDI or SDI mode (default after installing a clean version it is MDI mode, but I always set it to SDI)?
Do you also have a .vbw file? Close the IDE and locate it, and delete it (it contains the current window positions for the project).
The panel I am referring to is 'Project Explorer', which on my Win7 machine allows me to select forms or modules. This is empty.
Deleted .vbw file but it made no difference. How do you set IDE to SDI ?
Thanks for your patience
Re: VB6 migration from win7 to win10, project does not show forms but I can add exist
At sounds as if you have failed to copy all the frm files or the VBP is damaged, edit the VBp using notepad or similar and post it here.
Re: VB6 migration from win7 to win10, project does not show forms but I can add exist
Have you already tested the VB6 installation to see if it can open, compile and run a simple program?
Re: VB6 migration from win7 to win10, project does not show forms but I can add exist
Quote:
Originally Posted by
yereverluvinuncleber
Have you already tested the VB6 installation to see if it can open, compile and run a simple program?
Not yet. Will try in the morning.Currently on galley duty!
Re: VB6 migration from win7 to win10, project does not show forms but I can add exist
Quote:
Originally Posted by
loanhead01
The panel I am referring to is 'Project Explorer', which on my Win7 machine allows me to select forms or modules. This is empty.
Deleted .vbw file but it made no difference.
How do you set IDE to SDI ?
As yereverluvinuncleber says, it seems like the VBP is damaged if it did work on the original win7 machine (compare content on both), or maybe in the VBP there was some hardcoded folders set which isn't the same as your current structure (to be honest, this is one I can hardly believe, but who knows).
Setting the IDE into SDI mode: Menu 'Tools' - 'Options' - tab 'Advanced'
(Personally I really hate the IDE in MDI mode, I want all my panels as separate windows and move them around freely and not being restricted by the main window.
Re: VB6 migration from win7 to win10, project does not show forms but I can add exist
Open the vbp with notepad a look to see if there are paths on the form names and/or modules. If there are then that is likely your issue.