-
- Monitoring BeginEdit
by Chardiot
- 4 Replies
- Last post
by Chardiot
- How can I monitor for a row of a table going into edit mode. There does not seem to be an event for this
-
- DataGridView
by pupin
- 3 Replies
- Last post
by Fábio
- I have a DataGridView on a window form. The DataGridView is bound to a DataSet.
When I click on a row I call another window form. How do I pass the row info to my calling form
Sergio
-
- Change table orientation in DataGridView
by CarlosSantamaria
- 1 Replies
- Last post
by Ken Tucker
- Hello,
I understand the concept of columns and rows, and DataGridView shows them well. The problem I have is that my GUI doesn't care about this, and I just have a reduced space to place a DataGridView. That space is narrow but tall, so if I could put the column names in a vertical way instead of the usual horizontal, I could manage to use the available space in my GUI.
I haven't been able t
-
- checkbox.text databinding?
by rae_mel84
- 5 Replies
- Last post
by rae_mel84
-
- copyFromScreen - no alpha window captured
by Gallo_Teo
- 7 Replies
- Last post
by nobugz
- Hi to all i have a problem capturing screen with Graphic.copyFromScreen function. My problem is that if a form has no full opacity the function can't capture it i used this code
Code Snippet
Bitmap bmp = new Bitmap(Screen.PrimaryScreen.Bounds.X, Screen.PrimaryScreen.Bounds.Y); Graphics g = Graphics.FromImage(bmp); g.CopyFromScreen(0, 0, 0, 0, Screen.PrimaryScreen.Bounds, C
-
- about starting IIS in
by GAYATHRI SRIDARAN
- 2 Replies
- Last post
by Gavin Jin - MSFT
- HI, I HAVE A problem while i am trying to start the IIS in windows vista home edition. i got following exception -the process can't access the file because it is being used by another process[exception from HRESULT:0x80070020]
what i have to do
-
- MSI with custom action(created vai vs2003) insatll hang on vista
by masue
- 3 Replies
- Last post
by PhilWilson
- Hi,
I created a window service and msi install file vai vs 2003.
I try to install it on vista, it "hang"...
If I remove custom action, it will install well.
I try to modify custom action type from 1025 to 3073. The insatll progress run failed , too.
Does anyone have solution
-
- Refresh System Tray
by cablehead
- 6 Replies
- Last post
by rnbguy
- I have a couple of tray icons that refuse to dispose/disapper reliably. I can find the tray handle using: public static extern int FindWindow( string lpClassName, // class name string lpWindowName // window name ); [ DllImport ( "user32" , EntryPoint = "FindWindowEx" )] public static extern int FindWindowExA( int hWnd1, int hWnd2, string lpsz1, string lpsz2);
-
- Is there an alternative way to use large datagridviews?
by Sean Connolly
- 5 Replies
- Last post
by Sean Connolly
- Hi.
I was wondering if there's a way to utilize the DataGridView and to display a large dataset on screen.
The problem is that my program has to work with a transposed dataset, so the datarows are vertical. I got a nice function from The CodeProject which takes a DataSet and returns a new Dataset where the rows/columns swap roles. It is great, but I have a little bit of a dilemma.
The Dat
-
- DateTimePicker - month calendar event
by kicaj
- 2 Replies
- Last post
by Suprotim Agarwal
- Wich event is rised when user expand the month calendar
-
- Adding images to subitems in a listview control
by Please help with my query.
- 3 Replies
- Last post
by ReneeC
- Is it possible to add images to subitems in a listview control I have looked at using the stateimagelist, but this only applies to the item, and has only 2 states, checked or unchecked.
I need to have different images for three subitems.
Thanks,
-
- Timer not disposed
by RossL321
- 4 Replies
- Last post
by nobugz
- I have a problem with a timer continuing to fire it's tick event after my form has closed. Not only that, but everytime I reopen the form, I get a new timer instance, with a new event, which eventually results in the application becoming unuseable.
I have tried disabling the timer in the FormClosing event, and even disposing the timer object, as well as removing its event handle, but still
-
- DataGridViewTrackBarColumn
by Sandro Peixoto
- 1 Replies
- Last post
by Ken Tucker
- Hello all,
I want to put a trackbar in a datagridcell of datagridview. The trackbar must be visible in both editing and nonediting mode.
Is possible
Best Regards Sandro Peixoto
-
- Binding a collection of textboxes in a FlowLayoutPanel to a table row(s)
by Doug DeBug
- 6 Replies
- Last post
by Doug DeBug
- I have a VB.NET Windows Form with FlowLayoutPanel that will contain one or more text boxes. I would like to bind the collection of textboxes to a row(s) from a table in a SQL 2005 database using a dataset. As an example, I have a OrdersTable and an OrderItems table in the Parent-Child relationship. When adding new order items to a new order, I would like to add a new textbox control as the user ad
-
- Error Code: 0x80070643
by The WB
- 14 Replies
- Last post
by rossmac1
- I have tried to install Windows and Office updates utilizing the Automatic installation tool; but, the initialization takes place and none of the updates are intalled.
I ran WinDoctor and I am told that I am missing file "ORUN32.exe" and it cannot access "learn32.dll" and "pctree32.dll". I have searched my computer and found the orun32 and pctree32 files but not th
-
- Drawing gradients
by David_N
- 3 Replies
- Last post
by Figo Fei - MSFT
- Hi, I am wondering if it is possible to fill a polygon with a gradient. I have tied using the PathGradientBrush but I cant make it preform the way I would like it to. Bitmap bmTest = new Bitmap(200,200); Graphics g = Graphics.FromImage(bmTest); Point[] points = new Point[] { new Point(10, 10), new Point(10, 100), new Point(100, 100), new Point(100, 90), new Point(20, 90), new Point(20, 20), ne
-
- Global data & wizards.
by rnby
- 2 Replies
- Last post
by rnby
- Hi, I have 2 questions regarding windows forms. 1) I use WCF and when a user logs in to the server it passes a username and pasword. I want the user to put in the username and password at the begin of the program, and then no mather what form we are in it will pass these username and password, or even the object with the first connection to that form. 2) I need to make a wizard that will dynamicly
-
- How do I get and set the value of the selected item in a combobox?
by JohnTX
- 3 Replies
- Last post
by JohnTX
- I have a combobox on my form that I populate using a datatable. The datatable contains two columns, ProfileID (an integer that is also the primary key of the table in the database) and ProfileName. Here's the code that populates the combobox: cboProfileName.DataSource = dtProfiles; cboProfileName.DisplayMember = "ProfileName"; cboProfileName.ValueMember = "ProfileID&q
-
- Navigating With DataGridView - What Is The Current Record?
by kdwms
- 2 Replies
- Last post
by kdwms
- Can anybody help a VFP Developer trying to understand how a VB.NET DataGridView (VS2005) works
What I want to do is to have a grid on a form with a list of records, and a button which (for now) displays the PK of the currently highlighted record.
In my form Load() I have (cusBO.GetAllRecords() is a Business Object method which returns a DataTable - this is returning the correct data)
-
- Guidance on Service installations
by bpeikes
- 1 Replies
- Last post
by Yu Guo ¨C MSFT
- It doesn't look like ClickOnce is the proper installation solution for server based applications and services. Does MS have any recommendations on how to package services I'm using VS Setup projects to create an msi.
Are there any tools to help with deployment and version management on our servers We have applications which we will be installing on many computers. We would rather not try to
-
- Bind form location to external process
by yamaryder
- 1 Replies
- Last post
by Zhi-Xin Ye - MSFT
- I have a situation where I need the form of the program I've written to move around with an external process (Excel). I currently use
Declare Function GetWindowRect Lib "user32.dll" ( ByVal hwnd As Integer , ByRef lpRect As RECT) As Integer
Private Sub Timer1_Tick( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.T
-
- BackgroundWorker cancel button doesn't work
by andriscs
- 12 Replies
- Last post
by andriscs
- Hi, My form has a Start and a Stop button and it uses BackgroundWorker. When I press the start, the DoWork event triggers and my program starts to work. The Cancel button becomes available to cancel the work. However I can't click the button (the UI is not responsive at the moment), the bgw.CancelAsync can be called after the DoWork is finished. I have 3 foreach in the DoWork, I check each of them
-
- Loading VB.NET Code Into A Designer
by Anonymous5400
- 14 Replies
- Last post
by Malacki
- Does anybody know how to load VB.NET/C# code into a designer I've been trying to do so for weeks with no success. I know that Visual Studio and SharpDevelop do it, but I can't seem to replicate the functionality in my own app. Thanks very much for all your help!
-
- Conditionally Deploy Merge Modules
by McShah
- 1 Replies
- Last post
by PhilWilson
- I have a package deployment that has Crystal Reports merge modules. This MM is pretty big (75 Mb) and some of the target pcs do not require crystal reports. Can I conditionally install merge modules
-
- Clickonce not updating all clients
by Loki70
- 9 Replies
- Last post
by Itzik Katzav
- I have a fairly simple application that is being used by about 50 users which I deployed using ClickOnce. The internal users clicked on the "publish" page to install the application and are now starting it by clicking on the icon under Start, All Programs.
I have been regularly publishing updates to this application using VS 2005. I wanted to "force" every update on the user