Please bear with me, this posting is long. I hope somebody has some good ideas here.
My company has a C++ application (call it MyApp) that is allowed to be spawned by a number of 2nd applications. The 2nd application runs MyApp, then registers a special message type and sends the message. I...
The first link shows promise. I am really looking for a programmatic solution that wouldn't require any manual set-up on behalf of the user. But, if the "run as" works, I could change all short-cuts during the installation process.
Thanks.
Hi,
I've seen similar posts, but as yet no viable solution, so here goes:
I am using C#/.NET V1.1, etc. I have a client.exe which, when started, connects to a service on the same or different machine. For now, let's assume the client and service apps are on the same machine.
I would like to...
I don't know if anyone will read this since the original thread was so long ago...
I have a related question for tgreer:
I am trying to accomplish the same thing, but without using UNC paths. If the original share is read/write for everybody, and I map a drive letter to the share, will this...
Thanks for the help.
I haven't tried your code, but what I found in the meantime was that a derived control can call its InvokeLostFocus method on a child control. So, I grab the text box associated with the DataGridTextBoxColumn, and then call myDataGrid.InvokeLostFocus(textBox).
This seems...
I've got a derived DataGrid class and I need to be able to set the CurrentCell property to nothing.
I've used code I found on another website that sends a mousedown/mouseup message to the 0,0 pixel of the grid. This works in un-setting the CurrentCell, but the side-effect is that my mousedown...
I seem to be going crazy on this one.
I've got a derived DataGrid class, with standard row headers. When I set the CurrentRowIndex property, I get the little black chevron sitting on the desired row header, which is fine. But, at the same time, my grid is scrolled all the way to the left...
If you are referring to MSDN article 327555, then I think that is what's happening. But, their suggested workaround
(setting .SelectedIndex = -1 before setting .Text) isn't working for me.
I'll give your suggestion a try. Thanks.
Does anybody have an idea why, when I assign a ComboBox.Text property, it does not appear to take?
I have a ComboBox with DropDownStyle = DropDown.
During the Load event handler of my form, I bind it to an ArrayList of strings.
But, I want the initial text in the ComboBox to be a string that is...
Has anybody had experience with making a project contain one of several possible icons for the desktop?
I have a project that I want to make have a different desktop icon for a different build configuration.
I already have my icon set to "myicon.ico" in the .csproj file. I already have a...
This question might be more of a VS .NET question than straight C#, but here goes.
I'm trying to set up a method by which my application can be compiled using one of two different application icons. So, when I build it one way, I get my .exe with one icon associated with it. But, if I build...
I'm trying to create a read/write column in a DataGrid.
I bound my DataGrid.DataSource to my DataTable.DefaultView. I created my DataGridColumnStyles and added them to a DataGridTableStyle, which I then added to my DataGrid's TableStyles collection.
After all is said and done, I've verified...
Hi,
This is the closest forum I can find relating to .NET Remoting. Besides, I am using C# for it. If someone knows of a better forum to post this, I'm all ears.
I'm pretty new to Remoting, read various articles, tutorials, and chapters of other books. I've only read Chap 2 of Ingo...
Sorry, I forgot to mention that handling keystrokes at the form level also requires setting the form's KeyPreview property to true so that it gets first shot at key-handling.
But, like I said before, it doesn't work for the tab key.
I have a similar problem. I need to handle a tab keypress within a TreeView control only, but make it operate as usual outside of the control.
I have tried several things without success. Namely, I created a class that inherits from TreeView. I tried overriding the KeyDown event of the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.