Visual studio 2010 program doesn't work on windows 7 64 bit...but works fine on xp.

Discussion Visual studio 2010 program doesn't work on windows 7 64 bit...but works fine on xp.

All Replies

  • Monday, May 14, 2012 10:22 AM
    Moderator
     
     

    Hi gops,

    Thank you for posting in the MSDN forum.

    Just-In-Time debugging launches Visual Studio automatically when an exception or crash occurs in an application running outside Visual Studio. This enables you to test your application when Visual Studio is not running and begin debugging with Visual Studio when a problem occurs.

    Based on your description, it works well on the XP, but it doesn’t work on window 7, I’m afraid that it is related to your window like this thread:

    http://answers.microsoft.com/en-us/windows/forum/windows_vista-system/i-get-just-in-time-jit-debugging-message-each-time/85953b27-57f4-4bde-95bc-7eb022d8733a?auth=1.

    If possible, I suggest you post this issue http://answers.microsoft.com/en-us/windows/forum/windows_7 for better support. Thanks for your understanding.

    Best Regards,


    Jack Zhai [MSFT]
    MSDN Community Support | Feedback to us

  • Monday, May 14, 2012 9:37 PM
     
     

    Hello Jack,

    Thank you for replying my post question but it seems like it's a visual studio problem not windows 7. actually today i did a small test on windows 7 pc, i tried to call my dll file from the commad prompt instead of UI side. on that way i didn't see that error happening any time, i can see that my task get complete at the end without any errors. So there is something from the UI side which is written in VB.

    Also i am getting the error on the screen that do not have enough memory to run this. I still think something needs to be change in visual studio 2010.

    can you please try to take a look further? Really appreciate your help.

  • Tuesday, May 15, 2012 5:28 AM
    Moderator
     
     

    Hi gops,

    Glad to receive your reply.

    There is something from the UI side which is written in VB.

    Do you mean that it generated this issue when you run the VB app, if so, we could make sure that  it is related to this specific VB app, if possible, you could post this issue in the development forum Visual Basic General for better support.

    Not enough storage is available to process this command

    Based on this article. And do one of the following: (1) reduce the number of running programs; (2) remove unwanted files from the disk the paging file is on and restart the system; (3) check the paging file disk for an I/O error; or (4) install additional memory in your system.

    Best Regards,


    Jack Zhai [MSFT]
    MSDN Community Support | Feedback to us

  • Tuesday, May 15, 2012 6:55 PM
     
     

    Hi Jack,

    Thank you for your suggestion to put this to the VB support form. i will definitely put that over there. but the error which i am getting is nothing to relate the memory on windows 7 pc since i have approx 200 GB of free space in my hard drive and have 4 GB of RAM so i think it should be ok with the memory.  i still believe that i am missing any microsoft dll to my build which is compatible for window7 even though i am building it on windows xp.

    gops

  • Wednesday, May 16, 2012 5:30 AM
    Moderator
     
     

    HI gops,

    Glad to receive your reply.

    Maybe you could try to create a new similar app in the window 7 64bit and check it. In addition, you could try to change the Plarform target “Any CPU”, and then clean and rebuild your app to check it.

    Thank you for your suggestion to put this to the VB support form. i will definitely put that over there.

    If still no help, I’m afraid that I didn’t have the good idea. Since this issue is not the VS debugger tool issue, and you also post this issue in the VB development forum. I will change this issue to “General Discussion”. Maybe other community members could help. Thanks for your understanding.

    Have a nice day,


    Jack Zhai [MSFT]
    MSDN Community Support | Feedback to us

  • Wednesday, November 28, 2012 11:23 PM
     
     

    Hi Jack, 

    Sorry to re-initiated this post after long time but i was stuck with some other work for quiate a few months.. 

    So since last few days i started looking at this issue one more time. when i was debugging, i found out that in VB, it enters into the DrawImage Function and then it's stop working from there. 

    So let me be more specific about my problem. I loading around 20 images which are usually 8MP large, so i am loading this large images by this function to rescale it to 640x480 so that it can fit on my app window. so it runs good for 12 images or sometimes few more than that but after that it crashes with the above error. Is this something to do with the nested images which i am loading? for your info i am copying little bit of my code. 

     tempBitmap = New Bitmap(640, 480, System.Drawing.Imaging.PixelFormat.Format24bppRgb)

            tempBitmap.SetResolution(myfrmMain.myfrm4_Image.imgWidth, myfrmMain.myfrm4_Image.imgHeight)
            bmGraphics = Graphics.FromImage(tempBitmap)
            bmGraphics.InterpolationMode = InterpolationMode.HighQualityBicubic
            bmGraphics.DrawImage(myfrmMain.myfrm4_Image.Picture1.Image, New Rectangle(0, 0, 640, 480), New Rectangle(0, 0, myfrmMain.myfrm4_Image.imgWidth, myfrmMain.myfrm4_Image.imgHeight), GraphicsUnit.Pixel)
            myfrmMain.myfrm3_IATOptions.txtWidth.Text = myfrmMain.myfrm4_Image.imgWidth
            myfrmMain.myfrm3_IATOptions.txtHeight.Text = myfrmMain.myfrm4_Image.imgHeight
            myfrmMain.myfrm4_Image.Picture1.Image = tempBitmap
           
            bmGraphics.Dispose()

    Do you think anything obviously wrong with this? 

    Any help will be highly appreciated... 

    Thanks

    gops