If you read MSDN, when compiling unsafe code, you have 2 options: you can check the “allow unsafe code” checkbox on the projects build tab or you can use the Command Prompt (which is boring and complex). Fore some reason the first option did not work out. Every time I reopened the project, the...
I a'm a vb.net programmer. Unfortionatly if you want to want tu use pointers in an unmanaged environment you have to use C#!!!
There is no other way. My project is 99% in VB.net and 1% in C#, because mr Gates left us no other choise.
Therefore this is a VB.net related problem.
By the way this...
Unsafe code may only appear if compiling with /unsafe. If source code contains the unsafe keyword, then the /unsafe compiler option must also be used.
Problem:
Because my code is complex and uses many references, I can't figure out how to use the Visual Studio Command Prompt to compile the...
I'm trying to create 20 or more different customized usercontrols (each with many customized properties and methods) that inherit from the same customized base class. I have already created 9 controls successfully to use in some larger project. They all work just fine because in this larger...
Adding the attribute doesn't help!
This is what I do:
1) Compile a dll containing the custom controls
2) Open a new project and add a reference to the dll
3) Open a form and add the 'MyTextbox' and 'MyButton' to the form at design time
4) try to change the properties 'Text' and 'BackColor' at...
How to change properties from custom controls that inherit from System.Windows.Forms.Control at design time?
Problem: You can change the properties BackColor and Text only at runtime and not at designtime.
Question: What do I need to change or add to be be able to change properties at design...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.