I guess if you want to know where exactly the text is painted within the label, you'll have to get the control's graphics object, determine the text size with its MeasureString methhod, and calculate the position with a lot of if statements according to alignment and things. But that's kind of like reinventing the label.
If you go to the top of this page you will see a textbox labeled SEARCH. Try that, there are loads of articles and code samples. If that doesn't help, try Google, again there are lots of very good examples.
When remote debugging a release version binary on a remote machine using Visual Studio 2008, there is error message from local host machine in Visual Studio when I try to see some local variable values.
The error message is (1st message is displayed when my mouse stops at the variable in Locals, the 2nd message is what is displayed when I pressed refresh button for the specific local variable),
The value for this item is stale dues to a problem that occured while evaluating it. Hover your cursor over the refresh button for details.
newNumbers Cannot obtain value of local or argument 'newNumbers' as it is not available at this instruction pointer, possibly because it has been optimized away. int
Such issue only happens with release version, debug version is fine. Any ideas how to solve this? I need to debug release version.
I am with a InventoryManagement C# windows application, how can I make a setup package for my application which prompts a serial number while installing the setup and also how can I add my icon to the setup project
Thanks in advance
Thanks & Regards
Last Visit: 31-Dec-99 18:00 Last Update: 20-Apr-21 21:06