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

C#: Textbox1(Time) + Textbox2(Time) = Textbox3(Time)

Hi,Hoping someone here can help me.Im using c# windows application form and I have 3 textbox named startTimeTextBox, durationTextBox and endTimeTextBox.startTimeTextBox and endTimeTextBox allowed input...

View Article


delete record in datagridview

hi everyone,how do i select and delete a record from a datagridview and update the sql server 2005 databaseThanks

View Article


Urgent help needed: Windows Form not properly updating

Hi there,I'm having a PowerPoint add-in (not really worth mentioning details here) and one button is openening a Windows Forms form. Now I've had to change the fields of said form and something is...

View Article

Ms-Access Search text box C#

I have the following c# code and I want to click on Search and be able to search by lastname                OleDbConnection cnn = new OleDbConnection(@"Provider=Microsoft.ACE.OLEDB.12.0;Data...

View Article

Click event first click visible second click invisible

I have problem with click event, there is a form1 with a button1 and texbox1, what I want the first click on button1 should visible the textbox1 and the second click should invisible the textbox1 from...

View Article


Image may be NSFW.
Clik here to view.

NotifyIcon icon still visible after closing form

Hi,I have an application that's using NotifyIcon control. Everything is fine except when I exit the application, the icon is still in the "system tray" area. I want it to disappear once I exit the...

View Article

Delegate of a progressbar properties C#

Hello,I have a problem in my code, because this lines are run in a thread, but they does a inter-thread invalid exception.progressBar.Minimum = 0; progressBar.Maximum = iNumber; // exception invalid...

View Article

Unable to load DLL 'wmobj32.Dll': The operating system cannot run ....

Customer says this works just fine, thank you, on (several) windows 7 64-bit machines.  It fails on my development system.  (How's that for a switch?)The program(s) are built using 32-bit attributes....

View Article


C# Webbrowser, forward and back history

I created two contextmenustrips, one called backhistorystrip and forwardhistorystrip, the former stores a list of urls the user has navigated to and the latter stores urls that the user has navigated...

View Article


Aerosnap when Form Border Style is set to none?

If I want a custom form how do I get Aero Snap properties?I have a panel that behaves as a title bar and three buttons for minimize, restore and close, but I can only use the panel to drag the window...

View Article

zoom code problem

I have the following code that works well to zoom a picture in a picture box but only on the second and following clicks I know I am missing something to explain why can anyone...

View Article

Mouse down

hi i am making a game but i am stuck on how to disable or stop mouse down. My game involves shooting but once the number of bullets equals 0 i want to disable mouse down left but i don't know how so...

View Article

Creating an Activex with a Windows Forms Control for MS Access

Hi!First I would like to apologize if my english is not perfect but it is not my mothertongue. Moreover I have not a real experience in programming neither in C++/C# nor with Visual Studio 2010. I need...

View Article


Label with Text parameter

HelloI'm encountering the following problem: I got a TextBlock that I programmatically create and I want to use the "template" but with different text content as in the following example:Label test =...

View Article

Image may be NSFW.
Clik here to view.

Using Windows "Copy-Paste" to copy files from C# application

HiI don't know if it's possible but I want to copy-paste files using "windows copy-paste"My meaning: I want to copy amount files but not with the File.Copy funtion. I want to run the "windows dialog,"...

View Article


hexCharCalc

I Need to modify the following code to be able to do floating point numbers Right now all I can handle is whole numbers with this calculator. Could someone please help me and modify my code to handle...

View Article

Paste Directorie(s) from clipboard

Hi im making a file explorer control and I'm having trouble with pasting a directory. My Copy function does however does copy directories. I tested this out by going to desktop and clicking paste.Copy...

View Article


C#: DateTime

Hi,Hope someone can help me here.I have a dateSelected label which produces a date format value (mm-dd-yyyy) and then I need to not allow an entry to be added upon addButton click if the date from...

View Article

Winforms application hangs after opening Internet Explorer

Dear All,I have a strange issue with a Winforms application, I hope somebody have already seen a similar issue and know a solution or the possible reason of it.The application is a Winform application...

View Article

How do i make that the progressBar will start in the exact time with the...

In general its working but in the end the progressBar is waiting just a liitle bit from the end untill the process will finish and then the progressBar finish the little bit that left .This is the code...

View Article
Browsing all 12583 articles
Browse latest View live


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