Move scrollbar to top in multiline textbox in VBA
Hi I'm using VBA in MS Word and have a form with a multiline textbox with its vertical scroll bar enabled (and word wrap, if that matters). When I place more than a few lines of text into the box of...
View ArticleHelp.ShowHelp() throws "Not Supported" exception in WinCE device
Hi,I developed Winform Application for WinCE device using VS2008 (Smart device application type).I have sample code to launch Help file.But its throwing "NotSupported" Exception.Anybody know the...
View ArticleOpen Tray Icon Application Using .Net
Hi friends, Information: OS : "Windows 7 (Enterprise) 32 Bit"IDE : "Visual Studio 2010 (Vb.Net) Windows Appliation" Problem Details:we want to run an application using .Net command “Process.Start” and...
View Articlechange the icon for the open file dialog that resides in the caption
Hi Everyone,How can i change the default icon in the open file dialog's caption ?Any Suggestions (C# code) ?Thanks & RegardsNatiq
View ArticleUpdating Access DB in C#
I'm using C# to write a windows form application that updates an Access DB using textboxes and a button to save. I can pull in the information from the DB. My problem is when I enter values into the...
View ArticleHow do I reference the excel document which has been navigated in my...
Hi,I have just started visual studio 2010 after predominantly using excel vba. I have a form with a split container, one side has a web browser control and the other has a series of buttons. I want the...
View Article.NET Concepts
Hi,can any one tell me the best any easily understandable links to know the latest information like new concepts, release, etc., about .net technology.and nice links to learn that new concepts thanks...
View ArticleHow To Override The DigitShapes Setting In C# .NET 4.0? (Use Native Digits...
I have a C# form application that needs to override the DigitShapes (Use Native Digits) setting. What I need to achieve is to always display digits using their original shapes. So I need to always...
View ArticleAdding ToolStripItem Dynamically and AutoSize
My application adds ToolStripItems to a ToolStrip dynamically, however the size of the ToolStrip is not always correct. The ToolStrip's width sometimes falls short, creating the "extra" dropdown icon...
View ArticleRe-sizing a DataGridView in C# based on its data contents
I have successfully created and filled in a DataGridView from data within our SQL Server Database.Is there any way I can get the DataGridView itself to auto-size based on the data contents contained...
View ArticleMultiple Forms and Disable Keyboard shortcut
Hi All,1. How I can disable the Alt+Tab using Visual Studio 2010?2. I need to disable the Alt+F4 on all the forms that I have in my project. Following code worked fine on a single Form, it didn't...
View ArticleChange background
Hello everyone!I want to create a simple program wherein there is an image viewer and a button. If I click the button, the background image of the image viewer will change. How I will do this? Help me...
View Articledouble click label and text is copied to clipbrd
Hi, Has anyone seen this? If I place a label on a form and when running I double click the text of the label, the text is copied to the clip board. Any ideas on how to stop this? I am running Vista...
View Articlewin forms picture box
hi everyone im really stuck on this one I am using c# winforms I have a text box in which a user would input his/her id number and click submitwhen the user click submit it opens another form.on this...
View ArticleWPF windows.forms controls content not printing
Hi all,I am trying to modify the open-source code of application, Epi Info, (http://epiinfo.codeplex.com/SourceControl/latest) which by default allows a user to create forms for data collection. The...
View ArticleDeveloping pager for winform application c#
i search google first to get any ready made sample for numeric pager for win form but unfortunately i found none. many exist for web application. so i have decided to develop my own. i have take one...
View ArticleAuto sizing a DataGridView based on contents
My DataGridView width will vary based on a Description field that I am getting from my SQL Server Query and putting into my DataGridView.I did Google this and tried the code below which was supposed to...
View ArticleImageList sometime fail to open in VS2010 designer
Create a winform project, add an imagelist, add some image items into that list.Close VS2010, reopen that project, open that winform in designer, try this several times, it will sometime fail.Close...
View ArticleHOW TO LOOSE FOCCUS ON TEXTBOX
i HAVE IN MY FORM A TEXTBOX1 ON PAGE LOAD I HAVE SET TEXTBOX1.SETFOCUS()IF DATA IN TEXTBOX1 IS TRUE USER CAN FILL ALL OTHER CONTROLSIF NOT IT WILL STAY FOCCUS ON TEXTBOX1HOWEVER I HAVE A BUTTON EXIT ON...
View Article