Answer Questions
tfrazier Fatal Error in Windows Forms
In my Windows Forms application, a fatal error occurs with an error message "Fail to load resources from resource file. Please check setup." then closes down the my application immediately. All other forms work fine, except one. The error occurs when/after I called SaveData() method in my data access layer. I stepped through each line in the SaveData() method, no line causes any exception. The error happens as soon as the SaveDa ...Show All
Talwalkar Getting the DocumentInfo from a file
I need to find out what tags there are in the document info pane of a file. In XP, you can set some properties to a file, like title, description and such. How can you access this though code Thanks in advance. There are many different kinds of files, each with their own way data is stored. Unfortunately this means you need to have code that extracts this information for each file type you want to di ...Show All
billarocks Get Value From CheckedListBox
Hi , I'm need to get values for all the checked Items. regretfully, I'm getting every time the value of the last cheked Item. // Populate Data Into myClb strQuery = "SELECT code,title FROM tbl1" orclDa = new OracleDataAdapter (strQuery, strOrclConn); orclDa.Fill(orclDs, "tbl1"); myClb.DataSource = orclDs.Tables["tbl1"]; myClb.DisplayMember = "title"; myCld.ValueMember = "code"; myClb.SelectedIndex = -1; // Start Checking forea ...Show All
FHJJr VS 2005 Winform designer Issue
I am getting the following error whenever i tried to open forms in VS 2005 solution in design mode. I tried rebuilding the solution several times, but still the issue persists. I referred couple of messages in the forum and applied the resolution provided in those, but still the issue persists. I am stuck and not able to do any modification to the controls and their properties. Is there is any fix available for this issue One or more e ...Show All
djm0412 MSN Messenger type toast, or alert
How about a control that displays the so called MSN Messenger toast, or alert, as also shown in Outlook 2003, and Nortan Anti Virus. And please there are many developers giving this kind of controls for a fee, or the developer evaluation contro ...Show All
Deepakc <ToolBoxBitmap> attribute problem please help. Thanks
Hi I have created a component. I now want to add it to my toolbox with an icon. I am using the <ToolBoxBitmap> attribute. But I am getting an error message. Attribute 'ToolboxBitmapAttribute' cannot be applied to 'Generate' because the attribute ...Show All
Beetle54 An exception related to TreeView
In Whidbey Beta2, If I uses TreeView in my program, a exception will thrown when the program exits : A SafeHandle or CriticalHandle of type 'IconHandle' failed to properly release the handle with value 0x00010005. This usually indicates that the handle was released incorrectly via another means (such as extracting the handle using DangerousGetHandle and closing it directly or building another SafeHandle around it.) See c:\WINDOWS\Microsoft.NET\ ...Show All
Jdjr2 ZOrder of dropped control incorrect?
I'm using VS 2005 Beta 2, and I've built a usercontrol that consists of 2 other user controls as the 'default base'. The problem is when a user drops a control in my container control, it goes BEHIND the background image control! I can manually correct this by doing a "Bring to Front" to the newly placed control, but I need it to automatically be on top, and not allow the user to move it behind the main graphic control. Any ideas or ...Show All
cosmopoet event associated to pressing enter (on the keyboard) while I m selecting a row in datagrid
I wonder about 2 things: 1/ How do I force in the code the cursor (to select or give focus) to the first row in my datagrid. when I do the method: datagrid1.focus() it doesn t select my datagrid it doesn t do anything. 2/ I want to trap the event of selecting the datagrid in my form. the code bellow doesn t doesn t work: Datagrid1_KeyUp( ByVal sender As Object , ByVal e As System.Windows.Forms.KeyEventArgs) Handles DataGrid1.KeyUp ...Show All
mikkeX Install Prerequisites On Demand Using ClickOnce
Hi, I have a question regarding how to on-demand install additional prerequisites using ClickOnce. (I think this can be done by using the default publish.htm page from web browser). For example, my version 1.0 application do not need reporting feature. So, in this version, I do not configue it download the reporting runtime as prerequisite. But when come version 2.0, my application comes with the reporting feature which require th ...Show All
Nitronic using applicationsettings/propertybinding to save form size etc.
I want to be able to save the following: The last position and size of the form when not maximized and the last windowstate. ie if the user closed the app maximized, next time I want it to open maximized, but if the user sets it back to a normal window, I want it to display using the save size and location (as Microsoft Word does). I have created three user settings with the appropriate type. If I bind these to the form properties, it seems to r ...Show All
Katta Control Overlap (weird!)
Hi, (I can upload a file to demonstrate this if necessary.) I'm having a pretty simple problem, but very odd. I have a label describing the contents of a listbox. (This label is at 12,9 with a width and height of 57,13) Now, when I have a listbox that starts at 15,25, you should see no overlap. (9+13=22, which is three pixels away from the listbox.) These were created the default way in visual studio (dragging, so they definitely alig ...Show All
frankllllll Thread question
Hi, I have a winform application that fire a thread that verifies a database, if the database has some new entry, the thread needs to communicate the main thread.. How can I do this via message via event via fire balls =P Thanx! Are you using .NET 2.0 If so, use the new BackgroundWorker class. If not, Google "BackgroundWorker" for a .NET 1.1 implementation. To see an example o ...Show All
Yento programmatically select a cell in the datagrid
Does anybody know how to select a particular cell except for the CurrentCell I know that the CellFormatting method gives us a variable that contains the address of the current cell where we can access the CellStyle method to format the backco ...Show All
Sales-menager Updating Listbox Items
Short and Simple: How do I do this ;) You say you checked to see that you had an integer. Did you check to see WHAT integer Have you verified that myPlace has a reasonable value both before and after calling Up ...Show All
