|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Bug with VS.NET inheriting from a controlHi there,
I'm experiencing 2 bugs when attempting to inherit from a PictureBox and I'm sure it does it to other controls too, 1) Make a new user control class 2) Change the class so it inherits from "PictureBox" 3) Compile and now try to draw it onto a form I am getting the attached error every time without fail. Nick. [attached file: error.JPG] Not having any issues here.
Show quoteHide quote "NickP" <a@a.com> wrote in message news:OzKPUsrRGHA.3972@TK2MSFTNGP10.phx.gbl... > Hi there, > > I'm experiencing 2 bugs when attempting to inherit from a PictureBox > and I'm sure it does it to other controls too, > > 1) Make a new user control class > 2) Change the class so it inherits from "PictureBox" > 3) Compile and now try to draw it onto a form > > I am getting the attached error every time without fail. > > Nick. > > > > > Hmm, then why should I? That's a strange one, I've noticed my icons have
got a bit funny in the toolbox, I've attached a screenshot. Is there some kind of option in the menu as to whether or not you want to experience bugs or not? or am I just extremely unlucky as I appear to come across pretty much anything that could go wrong... :-\ Nick.Show quoteHide quote "Rick Mogstad" <Rick.Mogstad@GMail.NOSPAM.com> wrote in message [attached file: toolbox.JPG]news:eGblazrRGHA.1204@TK2MSFTNGP12.phx.gbl... > Not having any issues here. > > > "NickP" <a@a.com> wrote in message > news:OzKPUsrRGHA.3972@TK2MSFTNGP10.phx.gbl... >> Hi there, >> >> I'm experiencing 2 bugs when attempting to inherit from a PictureBox >> and I'm sure it does it to other controls too, >> >> 1) Make a new user control class >> 2) Change the class so it inherits from "PictureBox" >> 3) Compile and now try to draw it onto a form >> >> I am getting the attached error every time without fail. >> >> Nick. >> >> >> >> >> > > Hurrah I eventually got it working. I created another new project but this
time just made a class and not a usercontrol, then inherited PictureBox from that. I'm not quite sure what file that error was referring to but it seems to be a designer issue, there appears to be allot of those in 2005, roll on Q3! Nick. Show quoteHide quote "NickP" <a@a.com> wrote in message news:OUS%23x8rRGHA.4952@TK2MSFTNGP09.phx.gbl... > Hmm, then why should I? That's a strange one, I've noticed my icons have > got a bit funny in the toolbox, I've attached a screenshot. > > Is there some kind of option in the menu as to whether or not you want to > experience bugs or not? or am I just extremely unlucky as I appear to come > across pretty much anything that could go wrong... > > :-\ > > Nick. > > "Rick Mogstad" <Rick.Mogstad@GMail.NOSPAM.com> wrote in message > news:eGblazrRGHA.1204@TK2MSFTNGP12.phx.gbl... >> Not having any issues here. >> >> >> "NickP" <a@a.com> wrote in message >> news:OzKPUsrRGHA.3972@TK2MSFTNGP10.phx.gbl... >>> Hi there, >>> >>> I'm experiencing 2 bugs when attempting to inherit from a PictureBox >>> and I'm sure it does it to other controls too, >>> >>> 1) Make a new user control class >>> 2) Change the class so it inherits from "PictureBox" >>> 3) Compile and now try to draw it onto a form >>> >>> I am getting the attached error every time without fail. >>> >>> Nick. >>> >>> >>> >>> >>> >> >> > > > I'll retract my previous statement, well the "Hurrah" bit anyway! It just
stopped working again with the same error, I had the form opened, compiled with the new inherited control sitting on the form happily and then the designer crashes with that same error message. All I have done is add a simple property to the control with a check of the property in the OnPaint method. Nothing intense, not quite sure why it's doing this at all. Nick. Show quoteHide quote "NickP" <a@a.com> wrote in message news:unhz7w0RGHA.1236@TK2MSFTNGP11.phx.gbl... > Hurrah I eventually got it working. I created another new project but > this time just made a class and not a usercontrol, then inherited > PictureBox from that. I'm not quite sure what file that error was > referring to but it seems to be a designer issue, there appears to be > allot of those in 2005, roll on Q3! > > Nick. > > "NickP" <a@a.com> wrote in message > news:OUS%23x8rRGHA.4952@TK2MSFTNGP09.phx.gbl... >> Hmm, then why should I? That's a strange one, I've noticed my icons have >> got a bit funny in the toolbox, I've attached a screenshot. >> >> Is there some kind of option in the menu as to whether or not you want to >> experience bugs or not? or am I just extremely unlucky as I appear to >> come across pretty much anything that could go wrong... >> >> :-\ >> >> Nick. >> >> "Rick Mogstad" <Rick.Mogstad@GMail.NOSPAM.com> wrote in message >> news:eGblazrRGHA.1204@TK2MSFTNGP12.phx.gbl... >>> Not having any issues here. >>> >>> >>> "NickP" <a@a.com> wrote in message >>> news:OzKPUsrRGHA.3972@TK2MSFTNGP10.phx.gbl... >>>> Hi there, >>>> >>>> I'm experiencing 2 bugs when attempting to inherit from a PictureBox >>>> and I'm sure it does it to other controls too, >>>> >>>> 1) Make a new user control class >>>> 2) Change the class so it inherits from "PictureBox" >>>> 3) Compile and now try to draw it onto a form >>>> >>>> I am getting the attached error every time without fail. >>>> >>>> Nick. >>>> >>>> >>>> >>>> >>>> >>> >>> >> >> >> > > Hi again,
I've attached a project that no longer works for me. I can't see anything blatantly obvious with my code, nor do I have any idea where the error is referring to. This is actually as far as I have got before this error rears it's ugly head. Forgive the name of the project, it's just frustrating. I've added a few comments to the code, one thing I'm curious about is why VS.NET doesn't make a part file for the component but it does for a form? For some bizaar reason it just dumped the object declarations and initializecomponent code into my code, it also didnt create a constructor so the method never even got called! This seems really strange to me. Anyone got any ideas on how I'm going to get around this? Nick. Show quoteHide quote "NickP" <a@a.com> wrote in message [attached file: vssucks2.zip]news:uoVX710RGHA.1236@TK2MSFTNGP11.phx.gbl... > I'll retract my previous statement, well the "Hurrah" bit anyway! It just > stopped working again with the same error, I had the form opened, compiled > with the new inherited control sitting on the form happily and then the > designer crashes with that same error message. > > All I have done is add a simple property to the control with a check of > the > property in the OnPaint method. Nothing intense, not quite sure why it's > doing this at all. > > Nick. > > "NickP" <a@a.com> wrote in message > news:unhz7w0RGHA.1236@TK2MSFTNGP11.phx.gbl... >> Hurrah I eventually got it working. I created another new project but >> this time just made a class and not a usercontrol, then inherited >> PictureBox from that. I'm not quite sure what file that error was >> referring to but it seems to be a designer issue, there appears to be >> allot of those in 2005, roll on Q3! >> >> Nick. >> >> "NickP" <a@a.com> wrote in message >> news:OUS%23x8rRGHA.4952@TK2MSFTNGP09.phx.gbl... >>> Hmm, then why should I? That's a strange one, I've noticed my icons >>> have >>> got a bit funny in the toolbox, I've attached a screenshot. >>> >>> Is there some kind of option in the menu as to whether or not you want >>> to >>> experience bugs or not? or am I just extremely unlucky as I appear to >>> come across pretty much anything that could go wrong... >>> >>> :-\ >>> >>> Nick. >>> >>> "Rick Mogstad" <Rick.Mogstad@GMail.NOSPAM.com> wrote in message >>> news:eGblazrRGHA.1204@TK2MSFTNGP12.phx.gbl... >>>> Not having any issues here. >>>> >>>> >>>> "NickP" <a@a.com> wrote in message >>>> news:OzKPUsrRGHA.3972@TK2MSFTNGP10.phx.gbl... >>>>> Hi there, >>>>> >>>>> I'm experiencing 2 bugs when attempting to inherit from a >>>>> PictureBox >>>>> and I'm sure it does it to other controls too, >>>>> >>>>> 1) Make a new user control class >>>>> 2) Change the class so it inherits from "PictureBox" >>>>> 3) Compile and now try to draw it onto a form >>>>> >>>>> I am getting the attached error every time without fail. >>>>> >>>>> Nick. >>>>> >>>>> >>>>> >>>>> >>>>> >>>> >>>> >>> >>> >>> >> >> > > AARRRRGHHH!!!!
Ive just attempted exactly the same thing but this time via abstraction, i.e. I have a usercontrol with a picturebox inside of it and the other controls necessary for my desired end result. I get quite far this time under the beliefe that it might work! But nope, it just stopped working while the form designer with the control placed on for testing was opened the second I rebuilt the project. Surely I'm not the only one that has experienced this? Nick. Show quoteHide quote "NickP" <a@a.com> wrote in message news:erq$$F1RGHA.5808@TK2MSFTNGP12.phx.gbl... > Hi again, > > I've attached a project that no longer works for me. I can't see > anything blatantly obvious with my code, nor do I have any idea where the > error is referring to. > > This is actually as far as I have got before this error rears it's ugly > head. Forgive the name of the project, it's just frustrating. > > I've added a few comments to the code, one thing I'm curious about is > why VS.NET doesn't make a part file for the component but it does for a > form? For some bizaar reason it just dumped the object declarations and > initializecomponent code into my code, it also didnt create a constructor > so the method never even got called! This seems really strange to me. > > Anyone got any ideas on how I'm going to get around this? > > Nick. > > "NickP" <a@a.com> wrote in message > news:uoVX710RGHA.1236@TK2MSFTNGP11.phx.gbl... >> I'll retract my previous statement, well the "Hurrah" bit anyway! It >> just >> stopped working again with the same error, I had the form opened, >> compiled >> with the new inherited control sitting on the form happily and then the >> designer crashes with that same error message. >> >> All I have done is add a simple property to the control with a check of >> the >> property in the OnPaint method. Nothing intense, not quite sure why it's >> doing this at all. >> >> Nick. >> >> "NickP" <a@a.com> wrote in message >> news:unhz7w0RGHA.1236@TK2MSFTNGP11.phx.gbl... >>> Hurrah I eventually got it working. I created another new project but >>> this time just made a class and not a usercontrol, then inherited >>> PictureBox from that. I'm not quite sure what file that error was >>> referring to but it seems to be a designer issue, there appears to be >>> allot of those in 2005, roll on Q3! >>> >>> Nick. >>> >>> "NickP" <a@a.com> wrote in message >>> news:OUS%23x8rRGHA.4952@TK2MSFTNGP09.phx.gbl... >>>> Hmm, then why should I? That's a strange one, I've noticed my icons >>>> have >>>> got a bit funny in the toolbox, I've attached a screenshot. >>>> >>>> Is there some kind of option in the menu as to whether or not you want >>>> to >>>> experience bugs or not? or am I just extremely unlucky as I appear to >>>> come across pretty much anything that could go wrong... >>>> >>>> :-\ >>>> >>>> Nick. >>>> >>>> "Rick Mogstad" <Rick.Mogstad@GMail.NOSPAM.com> wrote in message >>>> news:eGblazrRGHA.1204@TK2MSFTNGP12.phx.gbl... >>>>> Not having any issues here. >>>>> >>>>> >>>>> "NickP" <a@a.com> wrote in message >>>>> news:OzKPUsrRGHA.3972@TK2MSFTNGP10.phx.gbl... >>>>>> Hi there, >>>>>> >>>>>> I'm experiencing 2 bugs when attempting to inherit from a >>>>>> PictureBox >>>>>> and I'm sure it does it to other controls too, >>>>>> >>>>>> 1) Make a new user control class >>>>>> 2) Change the class so it inherits from "PictureBox" >>>>>> 3) Compile and now try to draw it onto a form >>>>>> >>>>>> I am getting the attached error every time without fail. >>>>>> >>>>>> Nick. >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>> >>>> >>>> >>> >>> >> >> > > > Just to add to this too, the program still runs, its just the designer that
is borked and wont let me edit the form containing the control. Show quoteHide quote "NickP" <a@a.com> wrote in message news:%23oS9in1RGHA.4608@tk2msftngp13.phx.gbl... > AARRRRGHHH!!!! > > Ive just attempted exactly the same thing but this time via abstraction, > i.e. I have a usercontrol with a picturebox inside of it and the other > controls necessary for my desired end result. > > I get quite far this time under the beliefe that it might work! But nope, > it just stopped working while the form designer with the control placed on > for testing was opened the second I rebuilt the project. > > Surely I'm not the only one that has experienced this? > > Nick. > > "NickP" <a@a.com> wrote in message > news:erq$$F1RGHA.5808@TK2MSFTNGP12.phx.gbl... >> Hi again, >> >> I've attached a project that no longer works for me. I can't see >> anything blatantly obvious with my code, nor do I have any idea where the >> error is referring to. >> >> This is actually as far as I have got before this error rears it's >> ugly head. Forgive the name of the project, it's just frustrating. >> >> I've added a few comments to the code, one thing I'm curious about is >> why VS.NET doesn't make a part file for the component but it does for a >> form? For some bizaar reason it just dumped the object declarations and >> initializecomponent code into my code, it also didnt create a constructor >> so the method never even got called! This seems really strange to me. >> >> Anyone got any ideas on how I'm going to get around this? >> >> Nick. >> >> "NickP" <a@a.com> wrote in message >> news:uoVX710RGHA.1236@TK2MSFTNGP11.phx.gbl... >>> I'll retract my previous statement, well the "Hurrah" bit anyway! It >>> just >>> stopped working again with the same error, I had the form opened, >>> compiled >>> with the new inherited control sitting on the form happily and then the >>> designer crashes with that same error message. >>> >>> All I have done is add a simple property to the control with a check of >>> the >>> property in the OnPaint method. Nothing intense, not quite sure why >>> it's >>> doing this at all. >>> >>> Nick. >>> >>> "NickP" <a@a.com> wrote in message >>> news:unhz7w0RGHA.1236@TK2MSFTNGP11.phx.gbl... >>>> Hurrah I eventually got it working. I created another new project but >>>> this time just made a class and not a usercontrol, then inherited >>>> PictureBox from that. I'm not quite sure what file that error was >>>> referring to but it seems to be a designer issue, there appears to be >>>> allot of those in 2005, roll on Q3! >>>> >>>> Nick. >>>> >>>> "NickP" <a@a.com> wrote in message >>>> news:OUS%23x8rRGHA.4952@TK2MSFTNGP09.phx.gbl... >>>>> Hmm, then why should I? That's a strange one, I've noticed my icons >>>>> have >>>>> got a bit funny in the toolbox, I've attached a screenshot. >>>>> >>>>> Is there some kind of option in the menu as to whether or not you want >>>>> to >>>>> experience bugs or not? or am I just extremely unlucky as I appear to >>>>> come across pretty much anything that could go wrong... >>>>> >>>>> :-\ >>>>> >>>>> Nick. >>>>> >>>>> "Rick Mogstad" <Rick.Mogstad@GMail.NOSPAM.com> wrote in message >>>>> news:eGblazrRGHA.1204@TK2MSFTNGP12.phx.gbl... >>>>>> Not having any issues here. >>>>>> >>>>>> >>>>>> "NickP" <a@a.com> wrote in message >>>>>> news:OzKPUsrRGHA.3972@TK2MSFTNGP10.phx.gbl... >>>>>>> Hi there, >>>>>>> >>>>>>> I'm experiencing 2 bugs when attempting to inherit from a >>>>>>> PictureBox >>>>>>> and I'm sure it does it to other controls too, >>>>>>> >>>>>>> 1) Make a new user control class >>>>>>> 2) Change the class so it inherits from "PictureBox" >>>>>>> 3) Compile and now try to draw it onto a form >>>>>>> >>>>>>> I am getting the attached error every time without fail. >>>>>>> >>>>>>> Nick. >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> >>>> >>>> >>> >>> >> >> >> > > Hi again,
Someone will get fed up with me in a minute... If I delete the form and create a new one, I cannot add the control as I recieve said error previously "screenshotted" in this thread. So presumably the error is in one of the usercontrols files If I open the .Designer file, line 2 doesn't even have 111 chars in it... 2. Partial Class AbPictureBoxEx If I open the .resx file, line 2 in there doesn't even have 111 chars either, although I'm not sure if it's including the XML declaration as line 1... 1. <?xml version="1.0" encoding="utf-8"?> 2. <root> 3. <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> If I close the project and delete the Obj and Bin folders then restart the error is still there. So I can only presume the error is in one of the "My Project" files. Although which one and how to fix it I have no idea! Although I'm going to continue looking... Nick. Show quoteHide quote "NickP" <a@a.com> wrote in message news:u0tIKq1RGHA.5924@TK2MSFTNGP09.phx.gbl... > Just to add to this too, the program still runs, its just the designer > that is borked and wont let me edit the form containing the control. > > "NickP" <a@a.com> wrote in message > news:%23oS9in1RGHA.4608@tk2msftngp13.phx.gbl... >> AARRRRGHHH!!!! >> >> Ive just attempted exactly the same thing but this time via abstraction, >> i.e. I have a usercontrol with a picturebox inside of it and the other >> controls necessary for my desired end result. >> >> I get quite far this time under the beliefe that it might work! But >> nope, it just stopped working while the form designer with the control >> placed on for testing was opened the second I rebuilt the project. >> >> Surely I'm not the only one that has experienced this? >> >> Nick. >> >> "NickP" <a@a.com> wrote in message >> news:erq$$F1RGHA.5808@TK2MSFTNGP12.phx.gbl... >>> Hi again, >>> >>> I've attached a project that no longer works for me. I can't see >>> anything blatantly obvious with my code, nor do I have any idea where >>> the error is referring to. >>> >>> This is actually as far as I have got before this error rears it's >>> ugly head. Forgive the name of the project, it's just frustrating. >>> >>> I've added a few comments to the code, one thing I'm curious about is >>> why VS.NET doesn't make a part file for the component but it does for a >>> form? For some bizaar reason it just dumped the object declarations and >>> initializecomponent code into my code, it also didnt create a >>> constructor so the method never even got called! This seems really >>> strange to me. >>> >>> Anyone got any ideas on how I'm going to get around this? >>> >>> Nick. >>> >>> "NickP" <a@a.com> wrote in message >>> news:uoVX710RGHA.1236@TK2MSFTNGP11.phx.gbl... >>>> I'll retract my previous statement, well the "Hurrah" bit anyway! It >>>> just >>>> stopped working again with the same error, I had the form opened, >>>> compiled >>>> with the new inherited control sitting on the form happily and then the >>>> designer crashes with that same error message. >>>> >>>> All I have done is add a simple property to the control with a check of >>>> the >>>> property in the OnPaint method. Nothing intense, not quite sure why >>>> it's >>>> doing this at all. >>>> >>>> Nick. >>>> >>>> "NickP" <a@a.com> wrote in message >>>> news:unhz7w0RGHA.1236@TK2MSFTNGP11.phx.gbl... >>>>> Hurrah I eventually got it working. I created another new project but >>>>> this time just made a class and not a usercontrol, then inherited >>>>> PictureBox from that. I'm not quite sure what file that error was >>>>> referring to but it seems to be a designer issue, there appears to be >>>>> allot of those in 2005, roll on Q3! >>>>> >>>>> Nick. >>>>> >>>>> "NickP" <a@a.com> wrote in message >>>>> news:OUS%23x8rRGHA.4952@TK2MSFTNGP09.phx.gbl... >>>>>> Hmm, then why should I? That's a strange one, I've noticed my icons >>>>>> have >>>>>> got a bit funny in the toolbox, I've attached a screenshot. >>>>>> >>>>>> Is there some kind of option in the menu as to whether or not you >>>>>> want to >>>>>> experience bugs or not? or am I just extremely unlucky as I appear to >>>>>> come across pretty much anything that could go wrong... >>>>>> >>>>>> :-\ >>>>>> >>>>>> Nick. >>>>>> >>>>>> "Rick Mogstad" <Rick.Mogstad@GMail.NOSPAM.com> wrote in message >>>>>> news:eGblazrRGHA.1204@TK2MSFTNGP12.phx.gbl... >>>>>>> Not having any issues here. >>>>>>> >>>>>>> >>>>>>> "NickP" <a@a.com> wrote in message >>>>>>> news:OzKPUsrRGHA.3972@TK2MSFTNGP10.phx.gbl... >>>>>>>> Hi there, >>>>>>>> >>>>>>>> I'm experiencing 2 bugs when attempting to inherit from a >>>>>>>> PictureBox >>>>>>>> and I'm sure it does it to other controls too, >>>>>>>> >>>>>>>> 1) Make a new user control class >>>>>>>> 2) Change the class so it inherits from "PictureBox" >>>>>>>> 3) Compile and now try to draw it onto a form >>>>>>>> >>>>>>>> I am getting the attached error every time without fail. >>>>>>>> >>>>>>>> Nick. >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>> >>>> >>> >>> >>> >> >> > > Nick,
I was already looking at your problem, however do not get what is the problem. Now I have done this. I have taken your sample. I deleted from the form.designer.vb all (designer created)code (it did not work before that) I draged from the toolbox that class1 on the form I have imported to that an image using the propertis from the picturebox And than I run. What those two scrollboxes should do, is something I did not look for, however it shows the pic. I don't understand the way you described your problem. Therefore can you do it step by step. Cor Show quoteHide quote "NickP" <a@a.com> schreef in bericht news:eLdwB51RGHA.5656@TK2MSFTNGP11.phx.gbl... > Hi again, > > Someone will get fed up with me in a minute... > > If I delete the form and create a new one, I cannot add the control as > I recieve said error previously "screenshotted" in this thread. So > presumably the error is in one of the usercontrols files > > If I open the .Designer file, line 2 doesn't even have 111 chars in > it... > > 2. Partial Class AbPictureBoxEx > > If I open the .resx file, line 2 in there doesn't even have 111 chars > either, although I'm not sure if it's including the XML declaration as > line 1... > > 1. <?xml version="1.0" encoding="utf-8"?> > 2. <root> > 3. <xsd:schema id="root" xmlns="" > xmlns:xsd="http://www.w3.org/2001/XMLSchema" > xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> > > If I close the project and delete the Obj and Bin folders then restart > the error is still there. So I can only presume the error is in one of > the "My Project" files. Although which one and how to fix it I have no > idea! Although I'm going to continue looking... > > Nick. > > "NickP" <a@a.com> wrote in message > news:u0tIKq1RGHA.5924@TK2MSFTNGP09.phx.gbl... >> Just to add to this too, the program still runs, its just the designer >> that is borked and wont let me edit the form containing the control. >> >> "NickP" <a@a.com> wrote in message >> news:%23oS9in1RGHA.4608@tk2msftngp13.phx.gbl... >>> AARRRRGHHH!!!! >>> >>> Ive just attempted exactly the same thing but this time via abstraction, >>> i.e. I have a usercontrol with a picturebox inside of it and the other >>> controls necessary for my desired end result. >>> >>> I get quite far this time under the beliefe that it might work! But >>> nope, it just stopped working while the form designer with the control >>> placed on for testing was opened the second I rebuilt the project. >>> >>> Surely I'm not the only one that has experienced this? >>> >>> Nick. >>> >>> "NickP" <a@a.com> wrote in message >>> news:erq$$F1RGHA.5808@TK2MSFTNGP12.phx.gbl... >>>> Hi again, >>>> >>>> I've attached a project that no longer works for me. I can't see >>>> anything blatantly obvious with my code, nor do I have any idea where >>>> the error is referring to. >>>> >>>> This is actually as far as I have got before this error rears it's >>>> ugly head. Forgive the name of the project, it's just frustrating. >>>> >>>> I've added a few comments to the code, one thing I'm curious about >>>> is why VS.NET doesn't make a part file for the component but it does >>>> for a form? For some bizaar reason it just dumped the object >>>> declarations and initializecomponent code into my code, it also didnt >>>> create a constructor so the method never even got called! This seems >>>> really strange to me. >>>> >>>> Anyone got any ideas on how I'm going to get around this? >>>> >>>> Nick. >>>> >>>> "NickP" <a@a.com> wrote in message >>>> news:uoVX710RGHA.1236@TK2MSFTNGP11.phx.gbl... >>>>> I'll retract my previous statement, well the "Hurrah" bit anyway! It >>>>> just >>>>> stopped working again with the same error, I had the form opened, >>>>> compiled >>>>> with the new inherited control sitting on the form happily and then >>>>> the >>>>> designer crashes with that same error message. >>>>> >>>>> All I have done is add a simple property to the control with a check >>>>> of the >>>>> property in the OnPaint method. Nothing intense, not quite sure why >>>>> it's >>>>> doing this at all. >>>>> >>>>> Nick. >>>>> >>>>> "NickP" <a@a.com> wrote in message >>>>> news:unhz7w0RGHA.1236@TK2MSFTNGP11.phx.gbl... >>>>>> Hurrah I eventually got it working. I created another new project >>>>>> but >>>>>> this time just made a class and not a usercontrol, then inherited >>>>>> PictureBox from that. I'm not quite sure what file that error was >>>>>> referring to but it seems to be a designer issue, there appears to be >>>>>> allot of those in 2005, roll on Q3! >>>>>> >>>>>> Nick. >>>>>> >>>>>> "NickP" <a@a.com> wrote in message >>>>>> news:OUS%23x8rRGHA.4952@TK2MSFTNGP09.phx.gbl... >>>>>>> Hmm, then why should I? That's a strange one, I've noticed my icons >>>>>>> have >>>>>>> got a bit funny in the toolbox, I've attached a screenshot. >>>>>>> >>>>>>> Is there some kind of option in the menu as to whether or not you >>>>>>> want to >>>>>>> experience bugs or not? or am I just extremely unlucky as I appear >>>>>>> to >>>>>>> come across pretty much anything that could go wrong... >>>>>>> >>>>>>> :-\ >>>>>>> >>>>>>> Nick. >>>>>>> >>>>>>> "Rick Mogstad" <Rick.Mogstad@GMail.NOSPAM.com> wrote in message >>>>>>> news:eGblazrRGHA.1204@TK2MSFTNGP12.phx.gbl... >>>>>>>> Not having any issues here. >>>>>>>> >>>>>>>> >>>>>>>> "NickP" <a@a.com> wrote in message >>>>>>>> news:OzKPUsrRGHA.3972@TK2MSFTNGP10.phx.gbl... >>>>>>>>> Hi there, >>>>>>>>> >>>>>>>>> I'm experiencing 2 bugs when attempting to inherit from a >>>>>>>>> PictureBox >>>>>>>>> and I'm sure it does it to other controls too, >>>>>>>>> >>>>>>>>> 1) Make a new user control class >>>>>>>>> 2) Change the class so it inherits from "PictureBox" >>>>>>>>> 3) Compile and now try to draw it onto a form >>>>>>>>> >>>>>>>>> I am getting the attached error every time without fail. >>>>>>>>> >>>>>>>>> Nick. >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>> >>>> >>>> >>> >>> >> >> > > Hi Cor,
> I have taken your sample. Aah, I am not able to get that far, I have just managed to get to test > I deleted from the form.designer.vb all (designer created)code (it did not > work before that) > I draged from the toolbox that class1 on the form > I have imported to that an image using the propertis from the picturebox > And than I run. it on another system and it works. That must mean my entire installation of VS.NET is borked in some way or another. Which is not really helpful but at least I know now. Thanks for confirming that for me Cor. I hope noone thinks I was rushing for an answer, I always use the group in this way, I post a question then reply with my own findings as I slowly work it out, I know it helps others too. Thanks again, I best get on with re-installaion or repairing if there is such a feature... Nick. Hi again,
Well repair installation didn't work for me I'm afraid so I am going to try an uninstall and reinstall, just incase anyone else is going through this too I'll update as to what happens... *fingers crossed* Nick. Show quoteHide quote "NickP" <a@a.com> wrote in message news:uVrSHs2RGHA.252@TK2MSFTNGP10.phx.gbl... > Hi Cor, > >> I have taken your sample. >> I deleted from the form.designer.vb all (designer created)code (it did >> not work before that) >> I draged from the toolbox that class1 on the form >> I have imported to that an image using the propertis from the picturebox >> And than I run. > > Aah, I am not able to get that far, I have just managed to get to test > it on another system and it works. > > That must mean my entire installation of VS.NET is borked in some way > or another. Which is not really helpful but at least I know now. Thanks > for confirming that for me Cor. > > I hope noone thinks I was rushing for an answer, I always use the group > in this way, I post a question then reply with my own findings as I slowly > work it out, I know it helps others too. > > Thanks again, I best get on with re-installaion or repairing if there > is such a feature... > > Nick. > Hi,
No luck! Even if I delete the form and redraw the control onto it I still get the same error message appear. That's after a complete uninstall and re-install of VS.NET. If any MS guys are out there, what is this error message referring too? I can literally copy the exact project to another computer and it just works, yet on this computer it doesn't. Nick. Show quoteHide quote "NickP" <a@a.com> wrote in message news:u%23IL3d3RGHA.5908@TK2MSFTNGP14.phx.gbl... > Hi again, > > Well repair installation didn't work for me I'm afraid so I am going to > try an uninstall and reinstall, just incase anyone else is going through > this too I'll update as to what happens... *fingers crossed* > > Nick. > > "NickP" <a@a.com> wrote in message > news:uVrSHs2RGHA.252@TK2MSFTNGP10.phx.gbl... >> Hi Cor, >> >>> I have taken your sample. >>> I deleted from the form.designer.vb all (designer created)code (it did >>> not work before that) >>> I draged from the toolbox that class1 on the form >>> I have imported to that an image using the propertis from the picturebox >>> And than I run. >> >> Aah, I am not able to get that far, I have just managed to get to >> test it on another system and it works. >> >> That must mean my entire installation of VS.NET is borked in some way >> or another. Which is not really helpful but at least I know now. Thanks >> for confirming that for me Cor. >> >> I hope noone thinks I was rushing for an answer, I always use the >> group in this way, I post a question then reply with my own findings as I >> slowly work it out, I know it helps others too. >> >> Thanks again, I best get on with re-installaion or repairing if there >> is such a feature... >> >> Nick. >> > > Did you notice that this a newsgroup and not an FTP server? Not only you are
writing and reading here and not all people are interested in only your threads, so please upload a file to a web/ftp server and post the link here only. Those people that are interested in it can simply download it by clicking the link. What you are doing is inconsiderate. Thank you in advance! Armin Hi Armin,
"What you are doing is inconsiderate" What you are doing is being outright rude! Good mannors come for free you know! Sure I can upload to an ftp site from now on, and FYI I have been using this newsgroup for over 4 years now so I wouldn't mind just a tiny modocom of respect from someone else that I know is a regular user! If you have problems with me attaching files then I suggest you get your newsreader to only download the headers that way you wouldn't have had any need to get on your high horse! If you don't agree with the thread then don't participate in it, but personally I feel it is quite important that I share this information with te group as this problem hasn't been covered anywhere else before. Thanks! Nick. Show quoteHide quote "Armin Zingler" <az.nospam@freenet.de> wrote in message news:OjkYqx1RGHA.2276@tk2msftngp13.phx.gbl... > Did you notice that this a newsgroup and not an FTP server? Not only you > are writing and reading here and not all people are interested in only > your threads, so please upload a file to a web/ftp server and post the > link here only. Those people that are interested in it can simply download > it by clicking the link. What you are doing is inconsiderate. Thank you in > advance! > > > Armin "NickP" <a@a.com> schrieb What you are doing is inacceptable!> Hi Armin, > > "What you are doing is inconsiderate" > > What you are doing is being outright rude! > Good mannors come for Obviously you didn't learn them. You seem to mix up cause and reaction.> free you know! > Sure I can upload to an ftp site from now on, and FYI I have been using It was not me who uploaded the files. As the regular user that you are, I> this newsgroup for over 4 years now so I wouldn't mind just a tiny modocom > of respect from someone else that I know is a regular user! can expect some knowledge of respect towards the readers of this group. > If you have problems with me attaching files then I suggest you get You are telling me how to set up my newsreader? Who do you think you are?> your newsreader to only download the headers that way you wouldn't have > had any need to get on your high horse! Which horse are you riding that makes you think you can spam this group with you files? If you wouldn't upload files, I wasn't forced to change my settings. Look around and you will notice what others are doing. This is a community, so behave like others do. Unmount from your horse. > If you don't agree with the thread then don't participate in it, but I participate in this group. If you like it or not. I didn't say anything> personally I feel it is quite important that I share this information with > te group as this problem hasn't been covered anywhere else before. the first time, but if you ignore some basics repeatedly, don't be surprised about the reaction. > Thanks! TIAArmin Hi Armin,
> What you are doing is inacceptable! Oh right okay if you say so.> Obviously you didn't learn them. You seem to mix up cause and reaction. Well, strangeley enough I wasn't the one who merely posted a message just to troll. > You are telling me how to set up my newsreader? Who do you think you are? Yes, I am informing you of a way you can set up your newsreader in order > Which horse are you riding that makes you think you can spam this group > with > you files? If you wouldn't upload files, I wasn't forced to change my > settings. Look around and you will notice what others are doing. This is a > community, so behave like others do. Unmount from your horse. to avoid future b1tching, get a grip for christ sake. And for your information again I have seen many attachments in posts in Microsoft newsgroups, so don't tell me how I should use the group and I won't tell you how you should use your newsreader. > I participate in this group. If you like it or not. I didn't say anything Easy tiger, no need to roar. I didn't say that I didn't like you > the first time, but if you ignore some basics repeatedly, don't be > surprised > about the reaction. participating in this group, I said that I know you are a regular user and upto now I have respected you for that, don't expect me to bother reading your replies if your going to be like that. This is the last reply you personally will get from me, I haven't got time for an argument about posting etiquette. Nick. "NickP" <a@a.com> schrieb Look around.> Hi Armin, > > > What you are doing is inacceptable! > > Oh right okay if you say so. > > Obviously you didn't learn them. You seem to mix up cause and I didn't troll. I tried to point you to some basic rules you should obey.> > reaction. > > Well, strangeley enough I wasn't the one who merely posted a > message just to troll. > > You are telling me how to set up my newsreader? Who do you think It is up to me how to set up my newsreader, but it is not up to you how you> > you are? Which horse are you riding that makes you think you can > > spam this group with > > you files? If you wouldn't upload files, I wasn't forced to change > > my settings. Look around and you will notice what others are > > doing. This is a community, so behave like others do. Unmount from > > your horse. > > Yes, I am informing you of a way you can set up your newsreader > in order to avoid future b1tching, get a grip for christ sake. spam this group. That's the difference. > And "Why not smoke? Others smoke, too!"> for your information again I have seen many attachments in posts in > Microsoft newsgroups, so don't tell me how I should use the group You are saying "it's your problem if you are running into my bullet". Don't> and I won't tell you how you should use your newsreader. shoot instead of telling people to get out of the way. I really wonder who you think you are. > > I participate in this group. If you like it or not. I didn't say What am I "like that"? Pointing you to a thing you shouldn't do? Things> > anything the first time, but if you ignore some basics repeatedly, > > don't be surprised > > about the reaction. > > Easy tiger, no need to roar. I didn't say that I didn't like you > participating in this group, I said that I know you are a regular > user and upto now I have respected you for that, don't expect me to > bother reading your replies if your going to be like that. don't get better if you close your eyes. > This is the last reply you personally will get from me, I haven't If you are that ignorant in every community, you won't have much fun in real> got time for an argument about posting etiquette. life in the long run, too. Think about it. Armin Armin,
NickP is that nice fellow that in past has told us often in his nicely (I thought) South/East English way how we should behave ourselves and who was always thinking that he was attacked. (For you and Herfried together with Fergus). You know him as Nak. You see that he has changed his style. Nak would not have sent in a way polite answer as he did now to you. :-)) (You know that I agree that a shorten sample as Nick did, should be possible, none of his messages exceeds 100Kb, something what you cannot say some webbuilders do). Cor Hi Cor,
> (You know that I agree that a shorten sample as Nick did, should be ACK, this is why I posted it as I have done many times before.> possible, none of his messages exceeds 100Kb, something what you cannot > say some webbuilders do). Nick. Haha :-)
My real name is Nick Pateman, but I have had to setup the newsreader so many times that I end up just putting something small anyway. I don't think anyone cares who I am, regardless of what Mr Zingler would like to believe, nor do I want anyone to care as it happens. Nice to see your still on here Cor, I hope you are well. Nick. Show quoteHide quote "Cor Ligthert [MVP]" <notmyfirstn***@planet.nl> wrote in message news:%23LCe4H3RGHA.252@TK2MSFTNGP10.phx.gbl... > Nick, > >> >> ACK >> > Sorry I thought it was Nak > > :-))) > > Cor > > "Cor Ligthert [MVP]" <notmyfirstn***@planet.nl> schrieb Nick Nak Nok Nuk - who knows? As names don't matter in here, I don't care. > Armin, > > NickP is that nice fellow that in past has told us often in his > nicely (I thought) South/East English way how we should behave > ourselves and who was always thinking that he was attacked. > > (For you and Herfried together with Fergus). > > You know him as Nak. In other groups he would not even get a reply at all. Do I complain? No. > You see that he has changed his style. Nak would not have sent in a The avg posting size is ~4 KB. He must be very important posting multiple > way polite answer as he did now to you. > > :-)) > > (You know that I agree that a shorten sample as Nick did, should be > possible, none of his messages exceeds 100Kb, something what you > cannot say some webbuilders do). times larger files here. I don't like it if somebody does this in a community. And I will point him to it forever again. Armin Armin,
> Nick Nak Nok Nuk - who knows? As names don't matter in here, I don't care. Yes you complain. I know that it is a convention in German newsgroups to use > In other groups he would not even get a reply at all. Do I complain? No. > your full name. That is not a convention here. Therefore telling this is complaining. Which does not matter for me to respect you and means that I will ask you to stop with that. I have forever liked the fights Nak versus Armin it gives me forever a lot of fun. As long as you guys answer each other after that time, than it means in my eyes that you both respect each other. (What I do as well of course). :-) Cor"Cor Ligthert [MVP]" <notmyfirstn***@planet.nl> schrieb No, I do not complain about the name. See above. I do *not* care (anymore).> Armin, > > > > Nick Nak Nok Nuk - who knows? As names don't matter in here, I > > don't care. In other groups he would not even get a reply at all. > > Do I complain? No. > > > > Yes you complain. Where in the recent past did you ever see a single posting from me where I complained about not using real names? You will not find one. Armin Armin,
From my point of view, you are free to do what you want. I have never seen doing you things with a wrong intention. Cor Show quoteHide quote "Armin Zingler" <az.nospam@freenet.de> schreef in bericht news:On$dnb4RGHA.2276@tk2msftngp13.phx.gbl... > "Cor Ligthert [MVP]" <notmyfirstn***@planet.nl> schrieb >> Armin, >> >> >> > Nick Nak Nok Nuk - who knows? As names don't matter in here, I >> > don't care. In other groups he would not even get a reply at all. >> > Do I complain? No. >> > >> >> Yes you complain. > > No, I do not complain about the name. See above. I do *not* care > (anymore). > Where in the recent past did you ever see a single posting from me where I > complained about not using real names? You will not find one. > > > Armin >
Export Data to Excel
VB.NET Automatic code typing features "ambiguous" problem with VB.NET 2005 ComboBox ReadOnly ListView.SelectedItems.Clear if result = system.dbnull How to provide trial version of software ? Learning 2.0 DataGridView : selected-record changes after sorting ??? DataGridView : active-row versus Selected-row ??? |
|||||||||||||||||||||||