Search:

Type: Posts; User: StianR

Search: Search took 0.02 seconds.

  1. Re: Conversion code from C# to VB.NET of fixed construct

    Try using the C# to VB converter below.

    http://www.developerfusion.com/tools/convert/csharp-to-vb/
  2. VS 2010 Re: Check if a process is running on a remote computer.

    Thank you Chris. That worked perfectly. I can see the changes you made makes sense. I guess i was getting blind while tring to get it to work. Once again Big thanks :)
  3. VS 2010 Re: Check if a process is running on a remote computer.

    Hi.
    Yes i log off the RDP session. I have managed to get together some code which invokes the "GetOwner" method of the Win32_Process. but i now get the following exception :
    ...
  4. VS 2010 Re: Check if a process is running on a remote computer.

    Hi Again.
    This code did not work i'm affraid :(. It reports back my username as logged in even if i log out the RDP session i'm using to test the code. I am creating an application that checks which...
  5. VS 2010 Re: Check if a process is running on a remote computer.

    Hi Chris, and thank you for your reply. I found some examples online, but i guess i do not have the required knowledge to get it to work. Thank again for your effort, i will try it first thing on...
  6. VS 2010 [RESOLVED] Check if a process is running on a remote computer.

    Hi.
    I need to check if the explorer.exe process is running on a remote computer to verify that there is a user logged on the computer. I Also want to get the Process Owner of the explorer.exe...
  7. VS 2010 Re: [RESOLVED] Get installed software from remote host. Win Vista/7.

    I finally figured it out. By setting the RegistryKeyPermissionCheck to ReadWriteSubTree and the RegistryRights to FullControl in my existing code. I was able to get installed software from computers...
  8. VS 2010 [RESOLVED] Get installed software from remote host. Win Vista/7.

    Hi.
    I have created a Windows service that runs on one of our servers. The service lisens to incoming connections on a set socket port, runs a series of WMI queries on the requested computer in a...
  9. Replies
    3
    Views
    784

    VS 2008 Re: UnauthorizedAccessException

    Hi formlesstree4, and thank you for your reply.

    No, that will not work. As i explain in my post, to be able to continue the loop (Continue For), the try-catch needs to be inside the for loop. But...
  10. Replies
    3
    Views
    784

    VS 2008 UnauthorizedAccessException

    Hi.

    I have a function that returns a value of the numbers of files, folders and subfolders in a directory. But i can't seem to handle the "UnauthorizedAccessException" which i get from certain...
  11. Replies
    1
    Views
    2,380

    VS 2008 Running a new form as a backgroundworker.

    Hi. (VS 2008)

    I have created a application that creates a windows schedule task that connects to a FTP server and uploads/synchronize selected files and folders from your computer. After the user...
  12. Replies
    1
    Views
    2,590

    get/set a Mapped network drive label.

    Hi.
    I am working on a win application that maps/unmaps network drives. And i have a couple of problems getting and setting a mapped network drive's label /name.
    The driveinfo volumelabel property...
  13. Replies
    6
    Views
    5,640

    VS 2008 Re: FolderBrowserDialog

    Thanks guys.

    This is exactly what i was looking for :)

    I also found this :
    http://www.codeproject.com/KB/dotnet/Browse_Network_Folders.aspx
  14. Replies
    6
    Views
    5,640

    VS 2008 [RESOLVED] FolderBrowserDialog

    Hi.
    Do anyone know if its possible to set the rootfolder of a FolderBrowserDialog box to only show my network places (xp) / Network (Vista). It's not available as a Environment.SpecialFolder in...
  15. Replies
    3
    Views
    1,417

    Re: TreeView with Files and Folders.

    Thanks guys. I finally figured it out :)

    node.tag = Drive, Folder or file
    node.name = Full path
    node.text = Drive, Folder or file name


    I also created the ItemDrag, DragEnter, Dragover and...
  16. Replies
    3
    Views
    1,417

    TreeView with Files and Folders.

    I have a treeview in my form which should be populated with all dirves, folders and files on your computer. i found a couple of examples here on vbforums and other sites on the internet and put it...
  17. Replies
    0
    Views
    2,866

    [2008] My FTP Backup Project (Tree/List View)

    Hi.
    I have been programming in VB for a about a year. I started out with a couple of simple console applications and then slowly moved on to more complicated Windows Forms applications. I am far...
  18. Replies
    11
    Views
    53,755

    Re: Show folders/files in TreeView

    Hi.

    I get a System.IO.IOException "The device is not ready."Are there any way to ignore this node and go to the next one ?

    by using something like this :

    Catch ex As...
  19. Replies
    2
    Views
    1,256

    Re: Get and set Enviroment Variables in vb.net

    yes, its of course a method of the Environment class :)

    I am sorry, i should have search the forum before i posted this. Found some good solutions in a couple of old posts here.
  20. Replies
    2
    Views
    1,256

    Get and set Enviroment Variables in vb.net

    Hi.

    We have a couple of applications at work that need a reference to the license server set in the User Variables under the Enviroment Variables on the windows xp client machines(system...
  21. Replies
    7
    Views
    776

    Re: how to get the name property of a control.

    Thank you.

    Now i can get the DoubleClick and the "Enter" key event to run the "strAddText" function :).

    Public Class Form1

    Private Sub Textbox_KeyDown(ByVal sender As Object, ByVal e As...
  22. Replies
    7
    Views
    776

    Re: how to get the name property of a control.

    Hi, and thank you once more :).

    So i guess there is no way for the application to sense that a textbox has been double clicked and then trigger the strAddText() function.

    i.e. i have a form...
  23. Replies
    7
    Views
    776

    Re: how to get the name property of a control.

    Thank you for your reply Atheist, that sure helped.

    Here is my code so far...


    The main Form code which triggers the "strAddText" function procedure located in the Module1.vb

    Public Class...
  24. Replies
    7
    Views
    776

    how to get the name property of a control.

    Hi,

    I am new to the programming world and have a pretty basic newbie question i guess, but any help would be appreciated :)

    I have multiple textboxes in my form and i need to get the Name...
Results 1 to 24 of 24



Click Here to Expand Forum to Full Width