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

AutoSize height of the label with fixed width

I have C++ form and label in it. Usually I didAutoSize: TrueMaximumSize: 100, 0to make the label grows vertically. In this way, it has fixed width and label grows vertically when I changed the text...

View Article


WebBrowser Google Maps displays but is not enabled

Windows 7 Professional version 6.1 (Build 7601: Service Pack 1)IE version 10.0.9200.16686Visual Studio Professional 2012 version 11.0.61030.00 Update 4MS .NET Framework version 4.5.50938Visual Basic...

View Article


How to have a previous next option to fetch data from dataset .for example i...

How to have a previous next option to fetch data from dataset .for example i have 10 rows in dataset i want to show only one record ina textbox and in subsequent clicks i want to show other records one...

View Article

DataGridview adds columns when form designer repaints

I have a datagridview with some predefined columns.  If the form repaints it adds columns to the datagridview so I end up with twice as many columns as desired.  How do I prevent this?

View Article

after converting Bitmap back to MemoryStream not saving proper image

I have a data grid view,in update button i wrote code like this:Dim cid As Integer        Dim dtid As Integer        Dim cmpname As String        Dim dtname As String        Dim dtPhone As String...

View Article


Is there a way to make a scheduled task in WebService ?

hiIs there a way to make a scheduled task in WebService ?i need Something to do every five minutes(working with C#)thanks

View Article

Image may be NSFW.
Clik here to view.

what is the typical way to save mutiple records?

I have this small project that I'm working on, it there is form called categories (of a POS system) the image showscategory by check/uncheck the checkboxes. So a user can save a whole new category...

View Article

how do I programmatically exceute a javascript or click a button in .net 3.5...

how do I programatically click the button described below in a webpage on .net 3.5 webbrowser<TD id=cellGoButton bgColor=#ffffff>&nbsp;&nbsp;<A...

View Article


C# & Reqex expert?

Hi guys, Are there any regex expert here? I have a process where the user typing: Audi A4 #date=010101 #type=pdf #from=test@test.dk I like to work with the separate values "Audi A4" <- becuase this...

View Article


Vertical Label

Does someone know how i can make a vertical label like this : HELLO???? Thanks

View Article

How to Draw a Table

I want to display a table on my c# windows form. TableLayoutPanel is not a good control. Is there any alternative for this control?

View Article

How to force ResXResourceWriter to use the 2.0 assembly

My application in running under 4.0 but I am trying to force the ResXResourceWriter to generate a resource for version 2.0.0.0 instead of 4.0.0.0: <assembly alias="System.Drawing"...

View Article

VB.NET/C#: how do we ensure all forms set "Localizable" property to "true"?

Our application needs to ensure all forms support localization by requesting to set form's "Localizable" property to true.There are some developers may forget to set some form's "localizable" property...

View Article


inherited form problem with access to ancestor object

I have a form A:Formbform A has a custom control myUC which has internal properties and members Ican access from form A public virtual void setDisplay(){ } internal Dictionary<string,int>...

View Article

How a image byte array is represented?

Hi,I just want to know how an image byte array is represented. for example say the first byte of the array will form the 0,0 pixel and second byte will it form the 0,1 or 1,0 i.e the second byte will...

View Article


Network connectivity

Hi All :I am not a networking guy nor a windows admin.I want to know something, probably its simple but I don't know..I have my desktop in my domain (DomainA), My Client Server is in DomainB, I want to...

View Article

CodeDom compile error 'Forms' is not a member of 'Windows' in Windows 8.1

I am using CodeDom to create InMemory exe. This works great for Windows 8 and below. The compiled code works in Windows 8.1 if I remove the Forms Declaration, but i dont want to do that. Any ideas?...

View Article


is the possible to renew app.config when i modify application settings

hi  i'd like to ask is the possible to renew app.config when i modify application settings in "propeties->settings.settings".   i mean i'd like to let application settings decide app.config(that is...

View Article

Image may be NSFW.
Clik here to view.

Form dimensions change - Textbox position move

I am new to Visual Studio. I am using VS 2012 with SQL Server 2012. I created the following form, a DGV with textboxes on top. When I move the application to another pc the form dimensions get changed...

View Article

How to delete an image file assigned to a PictureBox xontrol ?

In a Windows form application, some image files are assigned to PictureBox controls. I am trying to delete those image files. The first approach [1] with "Image.FromFile" gives an error message of...

View Article
Browsing all 12583 articles
Browse latest View live


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