scroll panel to view control in center of the viewed area
Hi,I have a panel which contains some controls, I used the ScrollIntoView() method to view the control but I can't scroll the panel to view the control centered (see image below)help...
View ArticleAuto Fit to any screen resolutions
i have tried all those help. In my apps there are lot of controls. Tell me how to fit my windows application to any screen resolution????
View ArticleHow i can add ENTER keyboard key in cut, copy, paste menu
Hello sir.i want to add "Enter" keyboard key code into clipboard menu(Cut, Copy, Paste). Some time when i paste some data into a textbox next i need to enter it. for this i have to press Enter key from...
View ArticleManage Winforms menus in Visual Studio 2010
I'd like to get ideas on managing the main menu items in a Winforms application (VB.Net in this case). By management, I mean the items' enabled/disabled state depending upon a user's permissions, which...
View ArticleFor build Windows application
Hi to all ,Advance Thanks,I am thinking cover below this before build my application..i need some article with example code,or useful tips from genious like as uMy Requirement is application should...
View ArticleCheckBox Question
I have a checkbox on a windows form, and it is displaying false beside the checkbox if it is not checked. How can I have it not display false (or true) when the checkbox is not checked?How would I set...
View ArticleVC++: value of textBox of form1 have to appear in textBox of form2
Hello,Sorry if this is a duplicate for some people, but after searching I didn't find an answer that works for me. I need to show what is in textBox1 of Form1 (parent) in textBox2 of Form2 (child)....
View ArticleStoring the data in winforms?
I have a form where i have to store user selected Albums and i a have button like continue shopping but how can i store the albums information?? In webforms we use session to store but how can i do...
View ArticleCheck Box Question # 2
How can I set a default value to a checkbox? For example, I am using a windows for to update a SQL Table and here is what is throwing my error:DataRow dRow = ds1.Tables["Master_Data"].NewRow();...
View ArticleWeb Browser control is not working in Windows 7
Hi,I am opening a pdf using web browser control in a win forms application I am using Navigate method.webBrowser1.Navigate("https://serverurl");Server url returns pdf return type is html. Also I am...
View ArticleHow to SETthe height of the Title Bar - dotNet
By default, on my Win7 tablet, windows have a title bar height of 26. On my non tablet Win7 system however it's 21. I need to force my application (Windows Forms, C++ .Net 4) to use the size of 21, as...
View ArticleHOW TO CREATE MULTIPLE MESSAGE BOXES IN WINDOWS?
HAY PEOPLE. :)OPERATING SYSTEM: MS-DOS SIMULATOR (CMD) UNDER WINDOWS XPI WOUNDER, CAN ANYONE RECCOMEND ME SOME UTILITY OR SOME OTHER WAY TO CREATE MESSAGE BOXES IN WINDOWS? ALL WHAT I HAVE NOW IS THAT...
View ArticleMaskedtextbox and SelectAll()
Hi, If have a problem with the maskedtextbox.I want the select all the text when the the maskedtextbox got focused (via "Enter" event).and then using the maskedTextBox.SelectAll () funtion.It works...
View Articleadding close button on tab header in win form extended tab control
I created one extended tab control. In that tab control I want to put close button(as like chrome browser tab). How it will happen? Please give any suggestion. This following code I used for creating...
View ArticleSimple question concerning proper reference of one object within a sub within...
OK, simple problem. What is the proper code to reference a textbox on a form from a subroutine within a module in VB 2012? And can you point to a MSDN reference to explain proper coding...
View ArticleFill combobox2 with data filtered by textbox variable.
Hi - I am a pretty remedial visual studio express user. I recently understood how to do cascading comboboxes using the binding sources of the related tables, eg tbl 1 Make, Table 2 model, so as eg...
View ArticleCreate a windows application to access Unix server files.
I need to create a windows applications to access unix server files. How can I accomplish this task. Any help will be greatly appreciated.
View ArticleDisable mouse wheel scroll on Panel
Hello,I have a PictureBox in a Panel, and I use the mouse wheel to zoom and rotate the PictureBox image. I want to disable the mouse wheel scroll on the panel and scroll it only by clicking the...
View ArticleMemory Leaks in windows media player ActiveX control?
There is a memory leak bug in my winform application. In order to find out the cause, I maked a simple test application to build the bug. The application has only one Form, the Form has a Button and a...
View ArticleShow value of combobox(item)
Hi,I have made a own class called ComboBoxItem public class ComboBoxItem { public string _value; public string _text; public ComboBoxItem(string val, string text) { _value = val; _text = text; } public...
View Article