Answer Questions
onewebclick Interact with Windows forms (.net 2.0) from Access 2003
I need some direction here. Can someone give me a few pointers in the direction I need to go with this I have a very large Access Project (adp) that we are retaining. I am now in the process of creating a new Windows Forms app (vb.net in vs 2005). These applications must interact. I have been able to control the Access application from my Win Form. Now I need to be able to do the opposite. The access app is a work order system, and the Wi ...Show All
mateenashraf Question about threading Forms
I have two different forms in my app. One is the main form and is the form the user is watching most of the time. The other one is a information window with a datagrid. This datagrid needs to be refresed every 5 secs and I have a Timer for that, but when ever the timer event gets invoked the main form flashes and loses focus. Can I somehow have my other information form running in another thread than the main Form and there for ...Show All
Thuy MSFT RichTextBox and Printing RTF
Hi, I have made a WordPad in Visual C# using RichTextBox control. I also used Color and Font dialogues to make my text look good. I have also implemented Printing/Preview and Page setting controls in my WordPad. It works fine for PLAIN TEXT. But&nbs ...Show All
Jupek Child forms resizing
I have created an mdi application that uses an xp-like navigation system to switch between several child forms by using the hide/show methods. All of the child forms have their dockstyle set to fill and borderstyle to none. If I create a ...Show All
zhaounknown InvalidOperationException
Hi, I create a Windows Form with a datagrid on it. I create a class with at least 2 public properties. I bind the grid to my object. A bindingsource is automatically created (grid->bindingsource->object). (allownew for both grid/binding source) When I run the form, edit the first column of the first (and only) row, press tab and then press escape my app crashes with an invalidoperationexception (operation is not valid due to th ...Show All
prigun How do you intercept the Minimize button?
I want to send my application to the tray icon bar. Mario's code works fine. "Except that no size events are sent when a form is Maximized or Minimized." Not true. Thank you all! that was just what i was looking for. Mario Cossi wrote: Actually there might be a simpler way... when the window gets resized you check its Except that no size events are sent when a form is Maximized or Minim ...Show All
Steveiwonder The ITypeDiscoveryService service provider
Hi I'm having some trouble integrating my new masks with the IDE, i have a new mask (and associated type) as set out below for the MaskedTextBox which its mask picker discovers masks through the ITypeDiscoveryService <system.componentmodel.design.itypediscoveryservice.aspx> service provider, my problem is i cant get it to discover any of my masks, any ideas Descriptor code: Imports System.Windows.Forms.Design Public Class OzPhoneDesc ...Show All
Dale17677 Saving a picture
I have a picture box that i can draw in using mousePath.AddLine This works well but now i need to save the image into a datadase. Can anyone let me know how to do this Microsoft has provided some pretty simple mechanisms for this. Here is a working example and I need to discuss this a bit with you after the code. Private Sub cbGo_Click( ByVal sender As Object , ByVal e As System.EventArgs) Handles cbGo.Click ' Copy the ...Show All
Jon Drake ADO.net and MS Access Errors
I am trying to update/insert/delete data using ADO.net connection to MS Access tables. I have successfully created a connection to a table and can successfully insert data into the table using the update command. But when i try to amend data& ...Show All
Kwen.de.Mike Special Characters
Where can I find a composite list of special characters that I can use when printing out info on a windows form For instance, if I wanted to tab over, what would I use What about a carriage return/single-line break That's ...Show All
Ewino URGENT:System.Resources.ResXResourceWriter
hi all, I am using .NET framework2.0, according to MSDN there is a class ResxResourceWriter in the namespace System.Resources, but i am not getting any such class here, what could be the problem, i am using WINNT operating system. Thanks in Advance -Rahul got the solutiong actually ResXResourceWriter is in System.Windows.Forms MSDN says wrong ...Show All
Pete Nelson How to make a form full-screen in C# 2005?
Hi, I am trying to make one of my application forms full-screen - no borders, no task bar, etc. How can I do this Thanks! -- stockcrack I am wondering that will this solution work on Vista What you are trying to do is a three part thing, first, hiding the taskbar: In order to show and hide the taskbar you can use this: [DllImport("user32.dll")] private static exte ...Show All
bobchauvin Syntax error converting from a character string to uniqueidentifier
i have a object that is capturing a null field and then when trying to insert im getting an error.. Syntax error converting from a character string to uniqueidentifier.. how can i turn the string into a uniqueidentifier can you ...Show All
MMikhail Threads-Bindings and Datasets Oh my
Hello, I have bound gridview, and I whenever I call a backgroundworker to perform an acceptchanges on the dataset I am using, my datagridview stops updating my dataset. I can type stuff into a cell, but as soon as I leave the cell, the data dissapears, like it never existed. Does anyone have an idea why this would be ...Show All
RenderWarrior tab control with Alignment = TabAlignment.Bottom
is not draw itself correctly under Windows XP when I set Alignment = TabAlignment.Bottom tab pages appers below, how it suppose to be. But they (pages) are looking exactly as they been drawn on top, i.e. /--------\ /--------\ /--- ...Show All
