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

Visual Basic 2013

Hi, I wanted some help in creating a web browser in visual studio 2013 express. I Added the Microsoft web browser (AxWebBrowser) as an item to navigate to web pages inside the form. I am a beginner at...

View Article


Why can't I create GDI object leak!

I am investigating a GDI resource leak in a large application. In order to further my understanding of how these problems occur, I have created a very small application which I have deliberately made...

View Article


Visual Studio 2012 Express: Building a SQL query based on multiple Listbox...

First I want to say Hello to all the great minds and the great thinkers in the world and Thank you in advance for any assistance you can provide. I appreciate being able to see farther standing on the...

View Article

Multiple shortcut keys

I'm using this technique to register global hotkeysI'm using CTRL+T for my application but I also want:CTRL+NCTRL+OCTRL+SCTRL+FCTRL+PCTRL+HCTRL+JF1F12Each for different things, how do I do multiple...

View Article

Accessing Windows.Devices.Bluetooth.GenericAttributeProfile From Desktop App

I am unable to access Windows.Devices.Bluetooth.GenericAttributeProfile from Desktop app.At the same time I can access the same name space from Metro (Windows Store app).How can I access...

View Article


Windows Application closes on exception errors

I have a windows form application. But when an error occurs the applicaiton shuts down. Even when I put a Try ... Catch and a message in the Catch and that is all. THe applicaiton will show the message...

View Article

Image may be NSFW.
Clik here to view.

Drag and drop rows within the same datagridview

HiI have a datagrid with multiselect enabled and I want allow the user to order rows by drag and drop.I found code from anotehr question in the form:...

View Article

Windows Form Apps and images in picture box wont refresh ?

Hi alli have made a Winforms app that is data driven and connectes to an ssms database.i have stored the relative paths in the database and used that in the program to make the images appear when a...

View Article


How to save my imput data

I have created a Windows Form using Visual studio 2012 and c#. I would like to save the numbers I have writen in the program. Just like a notepad for example but a lot more TextBoxes. I would then...

View Article


What to do next? I have finished coding my project

I created my first windows forms project.When we usually want to install a program it is one icon and we double click on it and then follow the installation steps. Can we do that with windows forms?I...

View Article

how to display Main Form and all other related forms in the same screen

Hello:I have a form that has several related forms that go with it.  When I am working with dual monitors and I call my main form, it shows in the main monitor, no problem there.  The problem is that...

View Article

Panel is not marked as serializable.

Hi all!I'm considering creating my custom Tab Strip control. It simply contains a collection of panel, and an active panel where is the top panel to be draw. But the Panel class is not marked as...

View Article

Force Excel Save dialog to remain on top of window in release mode

I have a winform app with an export to Excel function.  The user is prompted to save the worksheet after the export.  This works fine in debug mode.  The Save dialog box goes behind the form in release...

View Article


Retrieve file extension from mime type of url

Is there a way to get a filetype extension from a MIME type (which includes charset as well) without writing long lists of file extensions and mime types?Also a minor issue; how do I breakstrings...

View Article

como extraer de un archivo de openfiledialog de musica la imagen

estoy en un proyecto de un reproductor de musica, usando axwindowsmediaplayer y listboxs. extrayendo los archivos con el openfiledialog pero, quiero extraer de la musica la imagen del album para...

View Article


Boolean in Properties.Settings.Default always returns false.

I have a boolean in properties.settings.default. private void Form1_Load(object sender, EventArgs e) { //Other code MessageBox.Show(Properties.Settings.Default.logoleft.ToString()); }I just did this...

View Article

crystal report error on set datasource

Hello,I am using a custom class, that i have created, and trying to pass it to my report, that i have added this class as the report database. When i try to setDatasource to this class instance i get...

View Article


ImageList in Visual Studio Express 2012 - Where is the Default Imagelist

Hi,I am a total newbie with Visual Studio so this is maybe a stupid question but where is the default ImageList in Visual Studio Express 2012?I have seen on other forums etc that the default location...

View Article

Can I enable Menu when window is inactive?

There are two images, one image is gimp's main window whose menu's text are black, while the other window, quicktime window's menu's text are gray. Both windows are inactive, but their menus look...

View Article

Browsing Crash

When I browse with the Web-Browser Control it keeps crashing with No Source saying Paremeter is not valid

View Article
Browsing all 12583 articles
Browse latest View live


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