Answer Questions
Smurfy requested operation cant be performed on file with user-mapped section open
hiya, I get the above error in my winforms app. The complete error is: <error> The file 'uipMyApp.Launcher.exe' cannot be copied to the run directory. The requested operation cannot be performed on a file with a user-mapped section open. <\error> I have&nb ...Show All
NewBieDJ Datagridview events
I need an event that when the user clicks on a cell or row I can get the value of it. I want to be able to use the column headers to sort the data. The CellClick event is what you need: private void dataGridView1_CellClick( object sender, DataGridViewCellEventArgs e) { if (e.ColumnIndex < 0) return ; if (e.RowIndex < 0) return ; DataGridViewCell cell = dataGridView1 ...Show All
hmcheung Convert string to DateTime
Hi, I have a string in hh:mm:ss format. How can I convert it to DateTime Thanks, bilalso wrote: Hi, I have a string in hh:mm:ss format. How can I convert it to DateTime Thanks, Use DateTime.Parse ...Show All
/\gurra\/ Read Data From Windows Form?
Hi, I have a fairly basic or possibly complex question. I am using a piece of windows software which displays a table of constantly changing numbers. What I would like to do is write a little program which reads these numbers and presents me with a warning if any of them drops below a certain level! My question is how could I do this and, is there a way to do this without reverse engineering the program ...Show All
ganeshramiyer How to: part of the form is opaque, and the rest may have a 50% opacity
Dear All, After I saw a screen shot of Longhorn, I started wondering current .net framework offered feature for us to implement that style of forms. Really thx for your info, I have got the article. Yes, the UpdateLayeredWindow API offers that. You can see some articles on codeproject: search for "per pixel alpha blending." We will be adding some features in VG.net to make this easier to use as well. Regards, Frank Hileman w ...Show All
Carl Berger DataBinding Problems...
Hello, I have a form that loads a custom collection "_collection" (derived from CollectionBase). The navigation of the collection is thru a listbox on the left of the form that is databound like: collectionListBox.DataSource = _collection ; collectionList ...Show All
matrushka vb.net 2.0 DataGridView - force vertical scrollbar to always show..
Hello, Is there a way to force the vertical scrollbar to always show up on the screeen of a windows application within the datagridview whether or not you have enough rows to actually need it Thanks! Jim My scrollbars will not show up when I fetch data using a background thread. This happens whether I bind before or after fetching the data. I cannot force the scrollbars 'on' either. I am not doing GUI work on ...Show All
hehemouse Invoke freezes and BeginInvoke queues up too many messages.
We are using a combination of C# and Managed C++ in .NET 2.0 Our program has a couple of threads. The main thread is controlling the GUI primarily. A second thread runs a very fast running loop that obtains data and controls a piece of hardware (or simulates such). When the second thread gets an update, we have it use Invoke to update the GUI. However, under particularly system intensive conditions, or when the user does something like draggi ...Show All
Dennis_K Skins
Does anyone knows where could I get some cool examples about using skins inside Windows app and Web app Web site, articles, etc. Thanks, Doria Thanks very much Peter, that’s a good start point. Doria Hi Based on my research, it seems that there is no such a centralized resource. But in .NET 2.0 we introduce many new UI elements. You may take a look at the websites below. http://www.windowsforms.net/ Also here are ...Show All
rdw Printing Multiple Pages in C#
Hi Gang! I am working with the code posted below to print the text from a textBox. The amount of text in the textBox varies, and can be multiple pages. When I click OK in the printDialog, the page count window begins climbing up&nbs ...Show All
Ziad Adada How to create custom ToolStripDropDown ?
Hi, I want to extend ToolStripDropDown class to provide my own layout logic of child ToolStripItem, i.e. instead of layouting the menu items vertically or horiztonally, I want to arrange them in a 3x3 grid for example. So, which methods should I override to perform my layout logic Thanks in advance. ...Show All
Railmonkey Possible solution...
I have a problem with a printer, a Zebra S4M label printer . The thing about this printer is that it can print labels from all windows applications, and this is the reason why I bought this printer. But it doesn’t print from my C# program, it’s like it doesn’t recognise the data being sent to it. I thought, that if it could print from any windows application it would be easy to do a printDocument.Print(). All the printer does is queue the prin ...Show All
Ashish.Net Position
How can i determine the position in the screen e.g. : we got a form (somewhere) with a panel and on that panel there's a groupbox. on that groupbox there is a button. When you click on the button , a new form wil show right below the button to show the new form i need the coordinates of the button on the screen I could dril up in the hirachie until there is no parent anymore and sum al the top and left values But i suspect there ...Show All
Jonsan PocketVision Errors
Just tried to install and run PocketVision sample and got following errors: C:\Programme\.NET Compact Framework Samples\Pocket TaskVision Sample\Source\CS\PocketClient\Web References\DataAccess\Reference.cs(172): The type or namespace name 'ToolboxItem' does not exist in the class or namespace  ...Show All
FeaturesfromFlash Sql Server 2000 Notification Services
Does anyone have an example of setting up a notification service using the SQL 2k Notification Services namespace I have only found one article on this topic (besides MSN). Any help provided will be appreciated. Thanks, Jason Ken, Thanks for t ...Show All
