Multiple windows opening cascaded automatically
Hi All,I have an application where on an user action multiple windows are opened simultaneously.Currently what I have observed is when the Form's start position is given as CenterParent; the windows...
View ArticleChoosing a VS Express for a simple business (data centric) application
I usually develop small business applications using MS Access and VBA. But VBA seems stuck in the same concept than 15 years ago, so may be it is time to turn into .NET, (the Express, free...
View ArticleStatic Class Question
Hi everyone. I have code that gets the DPI Scaling for the screen and I am trying to move this into a class to make it more useful.My problem is this line here:Graphics g = this.CreateGraphics();I...
View ArticleVS 2012 Applications to run on Tablet
I have created a few small applications for my own use with Visual Studio Express 2012. They were made to run on my laptop with Windows 7, 64bit core. I am wondering if I get a tablet, whether they...
View ArticleNullReferenceException while changing display
Hi,We have a Windows.Forms application.When we change the physical display of the computer while the application is running we get an NullReferenceException.StackTrace...
View Articleis 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 ArticleexecCommand using formatBlock breaks html with embedded divs.
Using the command: return ((IHTMLDocument2)ContributorGlobals.Instance.HtmlDocument).execCommand("formatblock", false, "Normal");If we highlight the 'Feature box' in a browser then change the style...
View ArticleDataGridview for multiple rows with same unique ID
Hie Guys. I have two tables allowances and allowances_trans. Allowances table :ID Description 1 Fuel2 HousingAllowances_transEC Allowance_ID Amount Date 1 1...
View Articlehelp with code, displaying WMI info in a text box on a windows form.
I would love to have some help with my application, I have been trying for multiple hours to get the results of a foreach management object query into a text box but nothing I do seems to work. Thanks,...
View ArticleHide hidden file in treeview nodes
Hello Programmers, I have a program which gets the directories of the flash drive using treeview. However, I have hidden files in my flash drives which can be seen in the treeview. Can someone tell me...
View ArticleHow to get the list of only available printer
How can I get the list of available printers, not the previous installed or the old installed printers in your computer/laptop but only the available printer/s will appear during the will running?I've...
View ArticleLoading X-position of Label from DB
Something is not clear for me, if I have winform and on that form add one label. Label is possible to move, form is scroll able.On every move I'm update position of label in database. When again open...
View Articleform allow to control the time and writing ?
HiI planning to make my own subtitle program //C#// , like "Aegisub" or "Subtitle Workshop", but i faced 2 problems.First: how to make a form like this one, that allow to me to control the time and...
View ArticleHow to draw on the webBrowser using c#?
Hi everyone, I am a beginner of C#. I am currently working on a simple project that requires to create a web browser a do some simple graphics on it. I have finished the web browser part and I cannot...
View ArticleUseWaitCursor not working but Cursor = Cursors.WaitCursor does...
I'm trying to make use of the UseWaitCursor property of a control - in this case the main Form of my app. I just thought I'd try and make it have a little more feedback. All I've done is this:void...
View ArticleDatagridview Column Naming
HaiI am developing a project in Asp.net c#.In one of my form am using two datagridview and these gridviews are filling using a common function which has gridview as one of its parameter...
View Articlehow do you get a 64 bit Scimore based C# program to run on a 32 bit pc
Hello. I have been trying to compile a C# based windows program to install and run on both 64 bit and 32 bit platforms. I have a 64 bit Windows 7 OS where Visual Studio 2010 is installed, and I am...
View ArticleOpenFileDialog issues with windows 7
Hi. I've found that OpenFileDialog.InitialDirectory doesn't seem to do anything at all in windows 7. Whether you set it or not, it simply opens my documents. Someone else I know has also had the issue...
View Articlecopy directory in setup project in windows forms
hello I created a installation project in visual studio 2010 windows forms and I want my installer I copy an entire folder in the machine destination ... how can I do that ..
View ArticlePainting and moving a object
ok, so im making a small game to increase my devolpment skills. its basicly Space invaders. my problem is when i make the triangle(Ship) i cant pass in my x and y values example Pen mypen = new Pen...
View Article