Click here to Skip to main content
15,886,110 members

Comments by Mark Allan Wright (Top 5 by date)

Mark Allan Wright 27-Mar-23 5:07am View    
I am going to get a good nights sleep and then look at everything again in the morning. I will let you know how it goes. It's 3 in the morning here now
Mark Allan Wright 26-Mar-23 13:48pm View    
Now it's giving me the below error on the e here: RaiseEvent ShapeMouseDown(sender, e)

Error 2 Value of type 'System.Windows.Forms.MouseEventArgs' cannot be converted to 'TestMouseDown.MouseEventArgs'. F:\VB Projects Net Frame\Test Projects\TestMouseDown\UserControl1.vb 37 44 TestMouseDown
Mark Allan Wright 26-Mar-23 12:05pm View    
I don't know why it won't work. I am using VB Win Forms Project. I have never used WPF, don't even know what it is. I am an inventor who uses programming (VB6 in particular) to invent or create Industry Specific Software. I have developed 2 programs one for the Oil & Gas industry in NDT (Non-Destructive Testing), the other program is for Centralized Lubrication for Gas Compressors, lathes and equipment and car assembly lines. As I work on my own it took a lot, then Microsoft came out with Win 7 and my program wouldn't work in it mainly because of certain 3rd party tools. So I am trying to learn a bit of VB.net to see if I can make my programs work. The big thing is Control Arrays, vb.net just does it all different. Anyway I am trying but a simple thing like passing a Shape Mousedown event to the usercontrol MouseDown event is just wasting time as I can't find a solution. Thanks for your help but I have to find a different solution.
Mark Allan Wright 26-Mar-23 6:10am View    
And I thank you Graeme, I am still trying to figure it out though. I think I'll start a new project and use a picture box instead of a Rectangle and see what happens. Oh Please take me back to VB6! LOL!
Mark Allan Wright 26-Mar-23 4:48am View    
I found it but where I put what I had I thought was the place to reply to. Oh Well!