Answer Questions
Andrew DeVaughn Get Menu String from owner Draw menu.
hello all, I have tried to get menu string from .Net Owner Draw menu(for third party applications) using "GetMenuString" APi .but I could not get the string. I s there any way to get the string. other wise how to capture the menus te ...Show All
VasudevaKumarAtukuri Guest user
Hey all, I am getting exceptions when using a Guest user about temporary profile. Is it possible to use Guest user with ClickOnce Thanks. Hey, I have written a form application and I am writing to write to a registry key under HKLM\Software. The question is that if I am running in full trust does it give me the privilege to write to HKLM, even if I am running as Guest or Normal user Thanks. ...Show All
Chris Chilvers Inherited Extender Property Defaults
I've created a new extender component which extends a "Participates" property to other controls on a form. If I drop that on a form (form A) along with a toolbar I'm able to set the toolbar's Participates property - no problem. Both& ...Show All
Zharadan How to build dynamic report using crystal report?
Hi, i am a C# developer and i am using crystal report in VS.NET 2003. i have to implement large number of reports, some of these reports are similar in layout. i need to create something like report template and then i want to be able  ...Show All
gssi Basic DataGrid Question Where do I start here?
I manually put a datagrid in on a form. I then added this code to an event to populate it: OdbcConnection conn = new OdbcConnection("DSN=CardBase"); sqlCardHolders = "SELECT * FROM tblcardholders " + "WHERE last_name LIKE '%" + txtLastName.Tex ...Show All
Deep_1 How to pass a keyboard command to a Child Form
Hello, I have a keyboard command that I am trapping in a main form by setting these properties for the form. this .KeyPreview = true; this.KeyDown += new System.Windows.Forms.KeyEventHandler(this .ChildForm_KeyDown); The part I am stuck on is I know have the commands trapped using protected override bool ProcessDialogKey(Keys keyData) { if (keyData.Equals(Keys.Alt |Keys.A) || keyData.Equals(Keys.Alt |Keys.B)) { MessageBox.Show ...Show All
Sourabh ClickOnce and client configuration
I've searched pretty much everywhere on the web and have come up with nothing to this question. We have an application that connects to a webservice, but we want to change the url of the webservice depending on certain conditions. For instance before we move to the production database and web servers we want to test the service in a testing environment. This means deploying a new client when we want to switch the code from development to test, t ...Show All
Ken Lyon Zooming in and out on picture boxes
I have a picture box on a form that is a satellite photo taken from space. Does anyone know of a way that I can take a section of that photo and zoom in on it and resize that section to the whole picture box Any help would be greatly appreciated, smtraber Hi NewbieDude, Drawing an image stretching out to a larger rectangle needs filling-out missing data (this is called interpolation). To apply fix to your problem regarding ...Show All
Zonram Logo in the bottom, left
Hi, I need to have a logo always located at the bottom, left of my screen. I thought that by using Anchor it would do the trick but it doesn't. In http://www.corobori.com/sos/picLogoDef_1.jpg you can see that the logo is slightly off the form in&nbs ...Show All
Sam Heald - MSFT Can't anyone help me with this? - "..timeout period elapsed prior to obtaining a connection from the pool..."
I posted this problem but no one responded. I figured I'd try one last time. I'm having a wierd problem. I've been using Visual Studio.NET 2003, and writing an app that up to now has been working perfectly. All of a sudden an error comes&n ...Show All
Radu Margarint - MSFT Checking if a form is Shown or Hidden
How can I check if a form is hidden or shown through code Also, how could I use variables in between forms, like have formshown as boolean inside form 1, and use the same variable with its value associated with it inside form 2 here is a small sample, I have created a project with 2 forms, one called ParentForm and the other called ChildForm... Here is the code that has a button and a label on it, whn ...Show All
David Owen Dynamically load usercontrol ... file not found exception
Hi, I'm attempting to dynamically load user controls in using reflection. This works just fine in asp.net, but in windows forms, its not working! System.Reflection.Assembly assembly = System.Reflection.Assembly.Load(widget.AssemblyName); and the assembly name's path is correct! How  ...Show All
Bob81 Binding datable to report
Hi, I want a report from a datatable i'm getting from my Business Layer. I've got a class where most of my business logic is, most of my functions return datatables. Now I want to print a list of requests, so I thought a crystal report wou ...Show All
jesal CheckedListBox Only Check One Time
I know this is an easy thing but instead of coding a work around is there an intrinsic method to force the CheckedListBox to only allow one time to be selected Or has anyone already coded a workaround Thanks. I'm go ...Show All
Jackie Pritchard sql statements...
Hi, I have two tables in an access database. How can I create the select command for both I know that for just one table i can do this: "SELECT * FROM Table1", but from two would this work: "SELECT Table1.*, Table2.* FROM Table1,&nbs ...Show All
