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

hexcalcchar

                                                          I have a unique question. I'm trying to load a program on the computer that already exist there. using the following...

View Article


how to disable form1 on a button click event of form2 which loads as a dialog...

Hi,I am a newbie in c# windows forms and I have 2 forms here form 1 and form 2. Form2 loads as a dialog box from form1 and form2 has 2 buttons OK and CANCEL. on clicking cancel button I want the...

View Article


Problem with automatic scale of a form

HiI have a form where i need to remove the controlbox. When I run the application i looks fine until I try running in 125% windows screen mode. Then the form scale is not correct. As soon as I display...

View Article

How to draw / edit / delete lines on the same form?

Hi sir/madame,I want to draw / edit / delete lines on the same form. I have already found some interesting code to draw lines on a grid control. ( Thanks Mr.Thorsten for the help )Link: MSDN Link for...

View Article

Hidden the AutoScaleDimensions

Hi Let me know how to Hidden the ' AutoScaleDimensions' property while drag and drop a user control.Regards,Ragamathullah B.

View Article


Get (Print) the screen below the form

It seems that this problem is likely that i'm making a glass window on windows XP.I've used this code Public Function GetScreen(ByVal frm As Form) As Bitmap Dim hwNd As Long Dim targetDC As Long Dim...

View Article

Maskedtextbox problem

Hi there, I'm working on a school project and i need to have an input in the format MM:SS but not in datetime it has to be able to go beyond 24 so i cant use the HH:MM daytime mask. so far i have...

View Article

unable to add system.windows.forms.controls as a reference

Visual C# Express 2008.  I'm trying to change to size property in code and I'm receiving error refering to this.  It isn't listed in 'Add Reference'.  How can I get this?

View Article


How to convert a .exe file to .jar file that will work in linux, mac and pc?

The answer that is marked now, is the good answer, but i want a better answer.Hello everybody,i have a software that i make in visual basic 2010 and i want to convert it to a executable jar file, so...

View Article


Image may be NSFW.
Clik here to view.

What's wrong with my timer?

Hi.  I don't see any problem here. Can you help me to figure out what's the problem?

View Article

How to convert a .exe file to .iso file

Hello everybody,i want to convert a exe file to iso, not to put a exe file into a iso, i know how to do this, i want to convert the exe into a operating system iso image.Don't ask: "but, how do you...

View Article

VS 2012 Connection With Access Problem

Hello there.I was sent here from the VS Forum.hope you can help me out with this.this is the post i created there: I'm new to Visual Studio so i just hit a wall... I created a database using Access...

View Article

Where is Project Name (as it's used in user types)?

I have a generic list of objects.  I can determine the type of each object in the list using code such as this ...For Each tm As Object In TransMap  MsgBox("type of object is """ &...

View Article


Image on top of transparent form

I use the following image in a PictureBox on a simple Windows Form:http://www.iconarchive.com/show/refresh-cl-icons-by-tpdkdesign.net/Network-Remote-Connexion-icon.htmlI want to give the impression...

View Article

Arrays :(

Hi, I have to create an application that will take the names of 4 friends from a text box (one at a time).How do I make it so the current text gets inserted to the next free space on the array.ThanksQ:...

View Article


how pass value between windows forms without creating new object for form1

hi all.... i am working with windows forms can u help me.....i have form1 , in this i placed text box1 and taken new form2 in this i have textbox2 and buttonafter entering text in form2 textbox2 i will...

View Article

Graphics on ProgressBar shown only a few moment

Hi,I'm trying to show a text on a ProgressBar.I tried 2 ways:progressBar1.CreateGraphics().DrawString(MyText, new Font("Segoe UI", (float)10, FontStyle.Bold), Brushes.Blue, new...

View Article


Microsoft.VisualStudio.Debugger.Runtime.Main.ThrowCrossThreadMessageException

So I have created an Excel Add-In in Visual Studio 2008 for Excel 2003 that (among other things) clears object data from multiple excel sheets based on user selection.  The add-in runs as it should,...

View Article

Invoke or BeginInvoke cannot be called on a control until the window handle...

This is rather an odd one...We have a ClickOnce app that will throw this error when loading between the splash screen and the login screen. It only happens the first time the app is run after windows...

View Article

How to make code loop with delay?

I need to make my code loop BUT with delay.I tried with timer and goto statement but i got error for using it.Can someone make example of simple IF block that loops every 2 seconds?Thanks in advance!!

View Article
Browsing all 12583 articles
Browse latest View live


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