Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. RexHeadlong

    Processing Registered Windows Messages

    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...
  2. RexHeadlong

    Controlling a service from an assembly

    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.
  3. RexHeadlong

    Controlling a service from an assembly

    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...
  4. RexHeadlong

    Security/Privileges for App spawned from Service

    Yah, but I thought you might have the answer already ;-) Thanks anyway.
  5. RexHeadlong

    Security/Privileges for App spawned from Service

    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...
  6. RexHeadlong

    How to unselect the CurrentCell in a DataGrid

    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...
  7. RexHeadlong

    How to unselect the CurrentCell in a DataGrid

    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...
  8. RexHeadlong

    DataGrid CurrentRowIndex unwanted behavior

    Thanks for the post. But what if my entire grid is read only and I don't want the current cell set at all? Thanks.
  9. RexHeadlong

    DataGrid CurrentRowIndex unwanted behavior

    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...
  10. RexHeadlong

    ComboBox.Text not working properly

    And it works. One cigar for you. Thanks for the help!
  11. RexHeadlong

    ComboBox.Text not working properly

    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.
  12. RexHeadlong

    ComboBox.Text not working properly

    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...
  13. RexHeadlong

    Multiple desktop icons for the same project?

    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...
  14. RexHeadlong

    Multiple Application Icons?

    It works beautifully. Thanks for the gumball :-)
  15. RexHeadlong

    Multiple Application Icons?

    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...
  16. RexHeadlong

    Creating an editable column in a DataGrid

    Duh. I just realized that the DataGrid itself has a ReadOnly property. Never mind.
  17. RexHeadlong

    Creating an editable column in a DataGrid

    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...
  18. RexHeadlong

    .NET Remoting problem

    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...
  19. RexHeadlong

    C#: How to control the behavior of the TAB Key ???

    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.
  20. RexHeadlong

    C#: How to control the behavior of 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...

Part and Inventory Search

Back
Top