Send Files Directly to Printer instead of using ShellExecute
Ok, environment info: Windows 7 x64, Visual Studio 2010 Ultimate, Winforms Application, VB.Net., Windows Account is in Administrators group.My application prints multiple files that are in lstView...
View ArticleCalling a form through macro substitution
Hi!I have created a form that generates a string FormToCall with value that is decided at runtime (for eg "ABCD" or "EFGH") , and I then want to call the form whose name is in FormToCall.As in FoxPro...
View ArticleData grid view ComboBox
HelloI am a bit new to desktop app and i am bulding one ,my quastion is prerrt simple but could not find a simple answer for it in google yet..How to get index of selected value in combobox that is in...
View ArticleForm 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 ArticleVB.NET: how to make the Form property "Localizable" visual inheritance?
We try to ensure all forms in our application supports "Localizable".reference the following link:...
View ArticleVB.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 ArticleRubber Band free hand line drawing in zoom mode using C#
Hi, I am working on a free hand drawing programme and as of now it is going very good. I need to add a tool through which user should draw line with rubber band effect. While drawing I am zooming the...
View ArticleAuto Size for each component
Hi allI was wondering, is it possible to auto size every single thing on a WindowsForm, according to the size of the screen or the Screen Resolution... Like similar to making your browser's window...
View Articleform load vs form activate
hello what is the difference between load method and activate a windows form
View Articlehow 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> <A...
View ArticleCalling a form whose name is not known at compile time from another form
I have been trying to get a way of calling a form whose name is not known at compile time, from another form.i.e., Form HO_MAIN presents a list of options to the user.The selected option calls form...
View ArticleHow to get windows form object of a MMC snapin node using MMC automation...
Hello , I am new to MMC and its automation object model . I am using automation object model for an existing mmc file and just trying to traverse all nodes of it. And i am able to do so. My query is :...
View Articlehow to outline text based on a givent Font?
I need to outline text based on a given Font. Here is code snippet:private void DrawText(String text, Graphics graphic) { String _text = text; SizeF size = new SizeF(); Font f2 =...
View ArticleCreating and calling windows form in dll file
Can we create and then call windows form for ex From1 in the class library dll project? I am creating a windows form in the dll, but after execution through the other Application, it displays windows...
View Articlemodifying TrackBar.Height has no effect?
Hello all,I'm adding a trackbar control to my WinForm programmatically. I'm manually sizing and positioning it using the "Location" and "Height/Width" properties of the control. The Trackbar control is...
View ArticleCan MDAC 6.0 Be installed on Server 2003
A requirement to insert BLOB data to oracle can not be satisfied by MDAC 2.8 but it is available with MDAC 6.X using the OLEDB.Oracle provider. Is it possible to install MDAC 6.x on server 2003
View ArticleHow to create a datagridview with child elements?
I have a c# Winforms application with an unbound DataGridView whose rows contain column data that will be used to update a table in an Access database. My plan is to first validate the data before...
View Articlegot error when i try to insert datetime to MySQL
hii try to insert datetime val to MySql and got errorTdate is datetime in MySQLin C# WinForm i insert like this:insert into MyTable (id,Tdate) value ('2','" + Convert.ToDateTime(_AllDate) + "')";how...
View ArticleCertain letters being cut off in CheckedListBox
Hello, My CheckedListBox seems to cut off any part of a letter that hangs too low -- mostly the bottom of g's and j's. CheckedListBox doesn't appear to have a property that allows modifying line...
View ArticleDynamic data entry ASP.NET C#
Please can anyone tell me why im gettin this error : Incorrect syntax near 'ListBus' . Its refering to sda.Fill(ds,"ListBus") in the code belowprivate void bindGrid() { string lidhja =...
View Article