Vs 2008 + Opennetcf 2.2, Design mode creades bad code?

Last post 03-06-2008 16:38 by zeeomar. 5 replies.
Page 1 of 1 (6 items)
Sort Posts: Previous Next
  • 03-06-2008 14:02

    Vs 2008 + Opennetcf 2.2, Design mode creades bad code?

    Locked Reply Contact

    Create a Form

    Add a picturebox,

    Go to code mode on the partial class (windows gen code)

    change system.windows.forms.picturebox to opennetcf.forms.picturebox2

    double click on the form to get back to design mode.,

    execute., you get an unknown error, for unable to cast.. or something :)., go back to the code you see

    in the windows gen code 

    CType(Me.PictureBox1, System.ComponentModel.ISupportInitialize).BeginInit()

     

    CType(Me.PictureBox1, System.ComponentModel.ISupportInitialize).BeginInit()

     

    removing it will make it work again

     

     

  • 03-06-2008 14:20 In reply to

    • ctacke
    • OpenNETCF Staff
    • Top 10 Contributor
    • Joined on 07-27-2007
    • Indiana
    • Posts 2,255

    Re: Vs 2008 + Opennetcf 2.2, Design mode creades bad code?

     We specifically state that the SDF is untested and unsupported with Visual Studio 2008, so bad behavior is not unexpected with the designer.

  • 03-06-2008 14:23 In reply to

    Re: Vs 2008 + Opennetcf 2.2, Design mode creades bad code?

    sorry, i should have specified that i wasnt complaining, i was putting out a FYI, incase someone was using it., and was having issues with it., it was a bandaid fix... :)

  • 03-06-2008 14:26 In reply to

    Re: Vs 2008 + Opennetcf 2.2, Design mode creades bad code?

    right now im strugling with picturebox2 and button2 :( i finally figured out how to create the PNG correctly and that semi transparent images will not give the desired effect... right now, i cant get the picturebox2.text prop to work...

  • 03-06-2008 16:35 In reply to

    • neil
    • OpenNETCF Staff
    • Top 10 Contributor
    • Joined on 07-30-2007
    • North Wales
    • Posts 1,349

    Re: Vs 2008 + Opennetcf 2.2, Design mode creades bad code?

    We're not going to support Visual Studio 2008 until we release a version for it. This thread is giving the impression that we do, so I'm going to close it off. Please do not post anything more about getting SDF 2.2 working with Visual Studio 2008.

    Neil Cowburn
    OpenNETCF Consulting

      
  • 03-06-2008 16:38 In reply to

    Re: Vs 2008 + Opennetcf 2.2, Design mode creades bad code?

    Locked Reply Contact

    i will be waiting.... by then i hope to have my apps completed., and sold.... i will actually buy your commercial version once i have the $

Page 1 of 1 (6 items)