-
June 17th, 2011, 10:57 AM
#1
Xp thinks VB6 app is DOS
Something odd happened to one of my VB6 projects.
Win XP thinks it's an MSDOS program (or a win32 console). No program icon, a different properties window, and when I run the application a black console window appears then disappears without running. If I run under the command window it says "program too big to fit in memory".
I don't think I've changed anything in the project. This program has built and run fine in the past. It will still run OK in the VB6 IDE in debug mode.
How can a VB form based program be interpreted by Windows as something else?
-
June 18th, 2011, 02:46 AM
#2
Re: Xp thinks VB6 app is DOS
Does this program of your perhaps do any file processing?
-
June 18th, 2011, 07:28 AM
#3
Re: Xp thinks VB6 app is DOS
Dbl Check your compile options and optimizations... remove all the optimizations, and switch between native and P-code ..
Articles VB6 : Break the 2G limit - Animation 1, 2 VB.NET : 2005/8 : Moving Images , Animation 1 , 2 , 3 , User Controls
WPF Articles : 3D Animation 1 , 2 , 3
Code snips: VB6 Hex Edit, IP Chat, Copy Prot., Crop, Zoom : .NET IP Chat (V4), Adv. ContextMenus, click Hotspot, Scroll Controls
Find me in ASP.NET., VB6., VB.NET , Writing Articles, My Genealogy, Forum
All VS.NET: posts refer to VS.NET 2008 (Pro) unless otherwise stated.
-
June 18th, 2011, 01:03 PM
#4
Re: Xp thinks VB6 app is DOS
Never saw such a thing happen, Is this the only app that does this or have you saw this happen on that pc from others windows apps?
If only this one then I would do as GremlinSA suggests and double check all the settings for your compile. If still no go I would try to build a new test app and see if the same thing happens. If it does then I would consider re-installing VB.
Always use [code][/code] tags when posting code.
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
|