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

How to know if the text of a TextBox is larger that the TextBox?

1. I have a TextBox (e.g. textbox1)2. I write something inside the textbox13. I also enter some new lines4. After a while the text exceeds textbox1 borders and the cannot be seen anymore. The question:...

View Article


There was an error parsing the query. [ Token line number = 1,Token line...

hi everyone..can anyone please tell me why I am getting this error:There was an error parsing the query. [ Token line number = 1,Token line offset = 27,Token in error = int ]Here is my code:private...

View Article


TextChaged event executed before button click event

Hi, i have a textbox control with TextChaged event the problem is this event executed even when the user click the save button and text property of the textbox don't keep of input text ... i hope to...

View Article

Global Variables in VB.NET

Hello,Is there any way in VB.NET to declare a global variable in one form and be able to access it through other forms??Thank you.

View Article

My Project

Hello,I am developing a jewllery managemnet software using c# .net.The back end is SQL SERVER 2005.I want to print a bill for a customer.He can purchase any no.of items.The details of his purchase will...

View Article


Textbox search and highlighting

Hello everybody .Well , I want to make an app to search , highlight and write the number of results, consists of :richtextbox :  the text i will search on it and highlight the results.textbox      : to...

View Article

Make C# winform visible in a game

Hi..If u have used the software "Fraps", it shows an overlay while the user playing a game in yellow.. I want to make my program to show my winform is visible inside the game. How can I do that ? By...

View Article

Image may be NSFW.
Clik here to view.

Remove a row from a csv file using a SelectedIndexChanged listbox.

I have a local CSV file that is appended by the user entering a 'Destination name into a 'listbox1, and 'Round trip miles' into listbox2 and then the file is saved using:...

View Article


System.Windows.Forms.ListView in .NET Framework version 2.0.50727 SP2

I work with .NET Framework version 2.0.50727 SP2, Visual Studio 2005.  I have two Windows.Forms.ListView controls on a windows form (Popup Window). Both ListViews are set to View="Details",...

View Article


Changing currency from $ to Euro symbol and how to format - VB.NET winforms

I have an application in which I would like to change the format of the currency when changing my environment to a new culture, ie: Euro. I have found many links and incorporated the code change in the...

View Article

VB6 SOURCE CONVERT INTO VB.NET

Dear All,I would like to inquire that any tool or software availabe which will convert vb6 to   vb.net .thank you.regards,asadasad

View Article

Freezing column in 2 different datagridviews

So I tried asking this on another forum with no luck. I can provide only so much code as it is proprietary software. Basically I have a tab control on my form, it has 2 tabs, each tab has it's own...

View Article

InstallShield Limited Edition Project for Visual Studio 2012

With InstallShield Limited Edition Project for Visual Studio 2012, How I can configure my application installer to get updates in silent mode? Thanks in advance

View Article


Embeding ms word within c# windows application in .Net Framework 4.5

I am developing an application in c#.net with frame work 4.5. In my application I need to embed ms word control within my application interface. I searched and found controls like winwordcontrol or DOS...

View Article

How to delete a object in c#?

I create two combobox. The first combobox's item from database is fixed. The second combobox's item is also from database.But the item is accordimg to the first combobox item selected. I use "new" to...

View Article


[SOLVED] GetPrivateProfileString problems C++ I can't get it to work or I am...

TCHAR szKeyValue[32]; GetPrivateProfileString(("SECTION"), ("key1"), (""), szKeyValue, 32, ("\\Cluster.ini")); cout << szKeyValue;I have the file "Cluster.ini" in the same directory. The contents...

View Article

generating pulses with c#

Can u help me ? I want to generate a signal contains 2 pulses , one of 427 ms and the other is of 150 ms , seperated by a duration X , with C# , thank you

View Article


SplitContainer - DoubleBuffering does not prevent child panels from flickering

 On and off MSDN forums, there have been questions and comments raised about flickering due to SplitContainer. The repeated official answer from MSDN is the same - setStyle for DoubleBuffer, UserPaint...

View Article

Flickering on ScrollableControl placed on a SplitContainer Panel

Hi,We have placed ScrollableControl within one of the SplitterContainer panel. AutoScrolling is enabled on the ScrollableControl as well as DoubleBuffering.We have some static drawing to be drawn in a...

View Article

An unhandled exception of type 'System.Data.SqlClient.SqlException' occurred...

frnds plz ans fast....I have only one day to my project submission.Imports System.Data Imports System.Data.SqlClient Public Class LoginForm1 Dim da As SqlDataAdapter Dim ds As DataSet Dim query As...

View Article
Browsing all 12583 articles
Browse latest View live


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