Quantcast
Channel: Windows Forms General forum
Browsing all 12583 articles
Browse latest View live

sql and win forms c#

hello,i have a table (roster) and a table with the staffs total hoursi want the HoursWorked column to equal that staff members total hours for the week based   on the Hours-'Day' column of each day...

View Article


Make c# program wait for another form to close

I have a roster program.When the print button is pushed a form appears that asks for the users  userid.When the id is entered and the go button is pushed the form writes a variable in the...

View Article


need help Panel Resize event

 Hello Friends, I have inherited a class from Panel Class. I need a event that will get invoked after resize event of panel. ( need a event which will work exactly same as form.resizeEnd event).Is...

View Article

I want to access UserID publicly

hi,I have a main form which a user first log in and the user's UserID will store in public int UserID; I want to access this UserID through main form in any form which I open.I did the code like...

View Article

Is it possible to create a windows local user account in a remote system...

I tried creating local user accounts in the local machine with powershell.It works fine.[ADSI]$server="WinNT://$servername"$HD=$server.Create("User","HD")$HD.SetPassword("H3lpD3>K")$HD.SetInfo()...

View Article


Windows form not getting focus

In my application, i have to display a 'Login window' before loading the main application window. It is loading correctly, but the problem is it does not get the focus. I have tried TopMost = true,...

View Article

error : Unable to cast object of type 'System.Int32' to type...

Hi I am trying to integrate Gephi( Visualisation tool) with Dot.Since gephi is built on Java, and there are some functions which is asking gephi as input...I have written below code which is compiled...

View Article

Error when trying to build: Could not find file 'obj\Debug\MyApp.exe'.

As the title says I get the error message:Could not find file 'obj\Debug\MyApp.exe'.when trying to build the solution. Checked and the folder does not contain the file. Right before this error started...

View Article


Hosting 3D Applications in a WinForm (or other Idea)

Hello,I have 3 different small 3D apps that I created. I would like to leverage a single container window to  "host" them, I guess I would best describe it as MDI???I want them all to continue to...

View Article


Context Menu Help

Hi all,       I am a total Newbee to the Development thing.I tried searching a lot on this but could not find the right answer. (maybe im not searching with the right keywords).What im looking forward...

View Article

Problem with SendKeys.SendWait("{ESC}") or SendKeys.SendWait("^c"); ?

Hi ,I have developed an application that uses hotkeys. and the method like registerhotkeys, receivehotkey(), changehotkey(),etc are the functions used in the project in order to handle the project.In...

View Article

Alao

Please how do I permanently disable IDS_TOAST_023 in Windows 8 Professional?

View Article

couple two indendent windows application

 In my company there is 2  independent application is running one is purchase- sell application and  another is inventry application.Now i want to couple the both application .So that data can be...

View Article


Image may be NSFW.
Clik here to view.

Printing a windows formHe

hello,i have a windows form that prints (supposed to) print just the two rosters on 1 page.Here is my current printing code[System.Runtime.InteropServices.DllImport("gdi32.dll")] public static extern...

View Article

Visual Studio Windows Forms Designer Issue

HiWe are all well used to the fact that the Windows Forms designer in Visual Studio has been buggy for years (since Visual Studio 2005, if I remember right). Just to make us feel at home, the Windows...

View Article


WebBrowser.Document.InvokeScript() does not work if javascript method is...

Hi everybody,For some reason I am unable to invoke a javascript method via the WebBrowser.Document.InvokeScript() method  if the JS method is contained within a namespace.If my html page contains the...

View Article

Image may be NSFW.
Clik here to view.

VS2013 C# Winforms Property Grid not resizing correctly

I'm getting strange behavior using the Winforms PropertyGrid Control. It's not displaying correctly when I attempt to resize the description box. Here's a picThe splitter bar moves as expected when you...

View Article


How to use DataGridViewEditingControl and custom controls?

I've created a C# windows form dataGridview with two DataGridViewTextBoxColumns, column1 simply displays a static string and column2 houses different controls types e.g. (DataGridViewTextBoxCell,...

View Article

New Bitmap from stretched Background Image

Hi,I'm trying to create a new bitmap from the stretched BackgroungImage of my PictureBox. What I want is to keep the image the size of when it is stretched, so when I put the BackgroundImage Layout...

View Article

how to change the background for all forms?

How can I change the background image for all forms at once without having to change it for all forms one by one?

View Article
Browsing all 12583 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>