Results 1 to 1 of 1

Thread: Open File With Specific Program/Game Pad

Threaded View

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2012
    Posts
    3

    Open File With Specific Program/Game Pad

    Hello, I had a question about a list box a while ago and people here were very helpful despite it being a bit of a silly question. This next one should be a bit more straight forward. I am using Visual Basic 2008 Express and I would like to know the code to open a file within a specific (not it's default) program. For example. Let's say I wanted to open specific .jpg file within photoshop inside of windows picture viewer. I should also mention the program I am trying to open is not in the windows default programs so I would need to type in the the full path of the program AND the file.

    I have tryed process.start and shell but don't seem to be getting anywhere. I have a feeling this could be an easy fix.

    Edit: Here is my line of code

    Process.Start("C:\Super Nintendo\SNES EMULATOR\ZSNESW.exe", "C:\Super Nintendo\SNES ROMS\Super Mario RPG - Legend of the Seven Stars\Super Mario RPG - Legend of the Seven Stars.smc")

    It doesn't give me an error, just does nothing.

    My other question may be a bit more complicated but I thought I would throw it out there, I am trying to use a gamepad (a microsoft xbox360 controller) to move through and select form a list box. Any ideas if that is possible? Again thank you for your time and consideration
    Last edited by DracoKhan; Apr 26th, 2012 at 08:21 AM.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width