Answer Questions
amanzoor How to set system font to my application
Dear all, I build my application which have font base on system font. So, I need to get system font (OS) to set up my application font. When I change system font, my application's font is update accordingly. Have you done it before, please share with me. Thanks Steven. Hi, the only way I know is to listen for the setting change event that's broadcasted when you change a setting. Something like thi ...Show All
hyffrank Graphic Object
How can I rotate the shape in the form an angle relate to X axis, and how can I save it in a Bitmap file I was going to try to figure this out myself but came across this article on VB Helper: <a href=" ...Show All
Lai F K popup text box?
I have a findows form that has a lot of textboxes, but is short on real estate. I was wondering if there's a way to pop up the text boxes into another window, I guess using the onclick or focus events So that I can m ...Show All
SanatPalia Printer paper size setting
hello all , I got a problem related to printing out the desired size paper , hope someone can help me out here I am going to write a program that able to print out 2 diffirence size of papers on a large scroll dot matrix printer.I found out that if my current printer paper size(from control panel>print and fax) is smaller than my paper size(Printing.PageSettings.PaperSize in runtime) , my document will be printed in the size according ...Show All
xycos Datagridview disposed while hscrollbar being used: error.
I get the following error when our dgv is disposed/recreated in our refresh process and the user is scrolling through the datagrid. Cannot access a disposed object. Object name: 'HScrollBar'. Is there some sort of work around/fix or some way to lock (synclock or other) the dgv on the scroll event What are we missing I'm still stuck on this, the only solution I have come up with is to create a psuedo scro ...Show All
philippel Inheriting from DocumentDesigner
Hello all, I'm creating my own design time environment for a project bascially I'm allowing users to visually layout a printed document by drawing controls on a service which I later translate into gdi printing commands. I'm making use of dot nets& ...Show All
abdm Hosting controls in IE 6
Can anyone tell me what I'm doing wrong I'm running XP SP1, IE6 SP1 and IIS 5.1. I have installed the .NET framework v1.1, the .NET SDK v1.1, and Visual Studio .NET 2003. The quickstart sample for hosting a control in IE works fine. Now,& ...Show All
AK WG99 How to tell if a treenode exists?
Hi everyone, I'm creating dynamic trees based on file-system structures. Here's the code which isn't working: myNodeCollection = oParentNode.Nodes n = New TreeNode(bp(0)) If (Not myNodeCollection.Contains ...Show All
sekhar_16 How to assign a shortcut key to a ToolStrip Button?
Does anyone know how do I set shortcut keys to buttons on a ToolStrip I need that when the user press "Ctrl+S" on the keyboard the "Save" button gets pressed. I expected to be able to asign a shortcut key to the button, but there is no shortcut key property! Does anyone know why is this The best thing I could find is that toolstrip buttons (at least when I copied and pasted the example from .Net 2 SDK Documentation) was that if you ...Show All
SenthilD Debugger doesn´t stop on breakpoint
HI! I´m developing a C# application using windows forms. I made a copy of my solution and saved it on another computer. Now when I try to debug my project on this computer I can set a breakpoint and the debugger stops at this certain& ...Show All
DOTNETFantasy HELP!!!!unable to save data using window form!!!!URGENT!!!
Hi...can someone help me to figure out what's going on to my form Currently, I'm doing an assignment using the window form and I'm using Visual studio 2005 and SQL express edition. I'm trying to save data from the window form but it seems like nothing change to my database. After i run the program, enter the data to form, close the form, then preview the dataset's data and database table data.BOTH remain same, the data unable to save to the d ...Show All
phamdachoang Inside datagridview - filter value of 1 combobox based on 2 combobox selected value
Hi friends, Please note that both the comboboxes are unbound and are inside the datagridview. I have a datagridview with 2 comboboxcolumns - one showing the "category" and other the "sub category". Category and Sub Category are related tables - 1 to many. When I select the value from Category comboxbox, the sub category comboxbox should only display values which are applicable based on the selected category. An ...Show All
Delphi system.runtime.Interopservices.SEhexception in VB.net
Hi, Iam opening a form from another form. The second form is getting opened. But when i close the form iam getting the following error. --------------------------------------------------------------------------------------------------------- "An Unhandled exception of type 'System.Runtime.I ...Show All
vaibhavsaxena17 Hide the "Sorting" arrow in the column header of the DataGrid
I have the sorted DataView as the DataSource for my DataGrid. AllowSorting for DataGridTableStyle is set up to false, so user cannot sort. When the DataGrid is displayed in the header of the column sorted in the DataView I see the arrow (which usual ...Show All
Tx83 Mailmerge and Word for OfficeXP
Ok i've almost got this nailed but for some reason, I keep getting only the template data. When I open the file up in Word and hit "Merge to New Document" all of my data comes in perfectly. Am I saving the wrong file wrdDoc.Mail ...Show All
