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

how to insert Different line in DataGridView

hii have this database for example:id | name | age ========== 1 | A        | 30 2 | B        | 34 3 | C        | 40 4 | D        | 50and when i show this table in my DataGridView i see it like the...

View Article


Since windows 8.1 usb ports and sound are acting strange

Hello, Since I upgraded to windows 8.1 my sound randomly stutters(very anoying) and my usb ports get turned off, only the ports that have been occupied since boot, new things work, and not reinsterting...

View Article


TableLayoutPanel not resizing

HI Folks,I'm trying to understand form/control resizing behaviour but have run into an anomaly. I have an MDI test app that contains one MDI Child. This MDI Child (call it Child1) contains a...

View Article

dropdown selection

#region TravelHrs public void travelhrs() { if (ddlServicesserv1.SelectedItem.Value == "Travel Time") { DateTime dFrom; DateTime dTo; int val1, val2, val3; string sDateFrom =...

View Article

reading maxconnection element

In a windows application, I have set the maxconnection manually.I need to read this value in C# but I can not find the code to read it.can someone point me in the write directionThis is what I...

View Article


Scroll bar error ArgumentOutOfRangeException

I populate a DataGridView object by this statement in a loop:Me.datagridview1.Rows.Add(x, y, channel)It adds all the rows. But when I use the scroll bar and try to move down the cursor, I have this...

View Article

C# PDF Viewer

HiI am looking for a control for a c# winform application to view a PDF that you can not print or save from. I know there are lots of examples to view (web browser control, Adobe add in etc) but these...

View Article

Windows desktop softwares

 I want to make a Windows desktop software, where can u start?where are the samples? Tutorials.Thank You

View Article


Windows form app comparison

What is the difference between Windows Form apps and Windows  desktop Software ?

View Article


Please dont delete it before 31.01

private void button1_Click(object sender, EventArgs e)        {            double a, c;            int b;            a = Convert.ToDouble(textBox1.Text);            b = Convert.ToInt32(textBox2.Text);...

View Article

a little help

private void button1_Click(object sender, EventArgs e)        {            double a, c;            int b;            a = Convert.ToDouble(textBox1.Text);            b = Convert.ToInt32(textBox2.Text);...

View Article

Itunes gives Microsoft Visual c++ Runtime Library Error r6034

When I try to open iTunes, I get the Microsoft Visual C++ Runtime Library Error R6034.  I tried to repair iTunes, but received the same error.  I uninstalled iTunes and tried to re-install it, but am...

View Article

Open Document inside the window form application in vb.net using treeview click

hello sir/madami want to Open Document inside the window form application in vb.net usong treeview click without dialog box i have all document in my "Z\ document"  foldes please reply me i need...

View Article


hmmm

private void button1_Click(object sender, EventArgs e)        {            int[,] tabINT = new int[3, 3];            tabINT[0, 0] = 1;            tabINT[0, 1] = 0;            tabINT[0, 2] = 0;...

View Article

Windows Forms and SQL Database Issue

When I publish my application, and install it on another computer (which hasn't got SQL server management installed) Will my datasets work?I have a .mdf file ?(which probably wasn't the best choice as...

View Article


Openfiledialog lock my file :/

Hello, i'm new in the programming world and i try to create a small program who can modify a simple ini file with different ligne i need to change with textbox. The problem is i use an openfiledialog....

View Article

BackgroundWorker for OnPaint stuff

I have OnPaint() function that does some rendering custom controls. But unfortunately it lags as i add more and more controls. Is there anyway i can make the OnPaint() as a background worker? For eg i...

View Article


C#, How to lauch a program from windows form and open another upon Exit

Hello, I'm Trying to Run an .exe File from a C# programHere's an Example of the steps I Want to happen in the Program1. C# Program Opens and Wait few seconds Then Launch "example.exe"2. The C# Program...

View Article

Open form

I want to close and open the same form again. My code is             Form2 fm = new Form2();            this.Hide();            fm.ShowDialog(ParentForm);            this.Close();The problem is that...

View Article

What happens herE?

private void btnSkoczek_Click(object sender, EventArgs e)        {            // komentarz asdassssssssda            /*             * asd             * asd             * fdfd             * dfd...

View Article
Browsing all 12583 articles
Browse latest View live


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