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 strongm 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. UdoScheuvens

    Change item text selection in ListView

    Hello, I would like to access some text selection properties of a listview item while editing the item. Background: The item contains a file name. When starting to edit the item text, the whole text is pre-selected. Now I would like to change the pre-selection so that only the file name...
  2. UdoScheuvens

    Exception window is missing

    Hello, I'm facing a strange problem which seems to be caused by some project settings within Visual Studio 2010. If I run into an unhandled exception, I used to get a standard window that shows the exception message plus some details (call chain, ...). For some reason this is missing in one of...
  3. UdoScheuvens

    Contents of "SendTo" menu are gone

    Sorry, probably I wasn't descriptive enough: The shortcuts ARE still within the "SendTo" folder, but they are NOT part of the "SendTo" menu!
  4. UdoScheuvens

    Contents of "SendTo" menu are gone

    Hello, since a while (can't say exactly since when) my "SendTo" menu contains just the standard entries (like "Desktop", "Mail recipient", "Floppy", ...). All additional shortcuts I placed into the "SendTo" folder are gone from the menu. This effect is independent from the user logged on, so it...
  5. UdoScheuvens

    DataGridView: Flip rows and columns

    Hello, I would like to flip the rows and columns of a DataGridView without losing all the possibilities and strategies of this control (regarding the column data types, data binding and so on). I found nothing in this direction, does anybody have an idea how to make it work? Udo
  6. UdoScheuvens

    Scheduled tasks: "Run as" user changes

    Hello, I have 2 users set up, one administrator and one power user. Then I created a task to run at system startup with the administrator account entered in the "Run as" box, because the program started needs administrative rights. After a while the "Run as" user has automatically changed to...
  7. UdoScheuvens

    Focus problem

    Hello, I have the following problem with the window focus: I have 2 applications running, where one starts the other. After a couple of seconds the focus returns the first application, and whenever I set it back to the second manually it will return to the first after a short while. When...
  8. UdoScheuvens

    Use a culture-independent decimal point

    Is that really true? Nobody has a single idea??? Unbelievable...
  9. UdoScheuvens

    Use a culture-independent decimal point

    Hi, I would like to make my application always use the same decimal separator, regardless which localization is configured in the control panel. I have played around with the System.Globalization.CultureInfo-class, but the problem is that I can change it only thread-wise. Is there a way to...
  10. UdoScheuvens

    Run a process/function as administrator

    There's still a problem remaining: I'm trying to reboot using the WMI method "Win32Shutdown". This works pretty fine as administrator, but in combination with the technique described above I get an exception "Class not registered". How to get around this? Udo
  11. UdoScheuvens

    Run a process/function as administrator

    Thanks, that did it! A note for other people trying to work with this function: The user currently logged on needs to have the right "Act as part of the operating system" in the local security settings in order to execute the function "LogonUser".
  12. UdoScheuvens

    Run a process/function as administrator

    Hello, I'm want to have my application run with non-admin users logged on. But sometimes I need administrative rights, e.g. to access write-protected registry areas. Assuming that the software knew about a local administrator's account info, is there a way to execute a process or function "as...
  13. UdoScheuvens

    AppActivate in Remoting

    Hi, I have the following problem: I created a remote server that (beneath lots of other things) raises events to the connected clients. These events should make the client window being activated. Therefore I use the following line: AppActivate(Process.GetCurrentProcess.Id()) But it doesn't...
  14. UdoScheuvens

    VB.Net Windows Service

    Yepp! That did it!
  15. UdoScheuvens

    VB.Net Windows Service

    Hi, I'm facing the exact same problem. Has somebody found a solution meanwhile? Udo
  16. UdoScheuvens

    error message when trying to execute a custom DLL function- any ideas?

    I am facing the exact same problem. Have you come to a final solution?
  17. UdoScheuvens

    Share class variables between different processes

    public shared" doesn't help. The AppDomain class sounds interesting, but I'm absolutely not familiar with it. Could anybody give some more precise instruction how to make App1 share a class variable with App2? (i can make sure that App2 is started by App1) Udo
  18. UdoScheuvens

    Share class variables between different processes

    Hello, I want to create a variable within a class which is shared by all instances created by any process in the system. The declaration Private Shared mySharedVar As Integer creates a variable that is only shared between instances of one and the same process. Is there a way??? Udo
  19. UdoScheuvens

    Export to Excel without MS Office installed

    This article is quite interesting. But honestly - I didn't want to spend the next 2 years in understanding and trying to implement an export function myself. Isn't there any further support available somewhere?
  20. UdoScheuvens

    Export to Excel without MS Office installed

    Hi, I want to create files in Excel format from a VB application. Of course I read all the threads treating this issue, but I need something different. I'm looking for a technique that works without Microsoft Excel being installed on the target system. My application should be able to generate...

Part and Inventory Search

Back
Top