CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2001
    Location
    USA
    Posts
    298

    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?

  2. #2
    Join Date
    Jul 2001
    Location
    Sunny South Africa
    Posts
    11,283

    Re: Xp thinks VB6 app is DOS

    Does this program of your perhaps do any file processing?

  3. #3
    Join Date
    Jun 2005
    Location
    JHB South Africa
    Posts
    3,772

    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.

  4. #4
    Join Date
    Jul 2008
    Location
    WV
    Posts
    5,362

    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
  •  





Click Here to Expand Forum to Full Width

Featured