How can I double-click a file to open it in default app in my Visual Studio project without creating an installer?

I have an app with code to open a file by double-clicking on it. The app in my Visual Studio project file should start automatically and then open the file automatically. I double-click on the file, then look for the app in my solution folder (I choose the
.exe in the Debug folder). Am I choosing the correct .exe file?
What I'm trying to do is test some code I wrote that will open the associated file type when I double click on it, as opposed to creating an installer, installing the app and then double-clicking on the file to see if it will open in the associated app automatically.

Hi dudefromthebronx,
Yes, I think you could doubt click the .exe file in your local machine.
Of course, maybe you could get it in Bin\Debug or Bin\Release folder, it is related to the current project settings.
But we would know some differences between them:
http://stackoverflow.com/questions/11600162/difference-between-bin-debug-and-bin-release
https://social.msdn.microsoft.com/Forums/en-US/0cde96e6-8dd8-4aa9-adcf-d7f45da13b66/debug-bin-release-folders?forum=vbide
Best Regards,
Jack
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • I updated my iPad to ios 7.1, and now I can't double click on the home button to switch between apps, or to close them. What happened? How can I fix this?

    I can't double click on the home button to switch between apps, or to close them. This happened after I updated to ios 7.1

    Swiping up from the bottom of the screen with four fingers did not bring up the app preview. A single press on the home button still brings me back to the home screen, but a double press of the home button does nothing following updating to 7.1   Given that, when I added a software home button as suggested by DIAVONEX, I found that all of the apps WERE still open! So thank you DIAVONEX, and you should be careful, bobseufert, as your information was inaccurate.( I did try turning it off and that didn't change anything. ) I don't really want a software home button on my screen, but I guess I will use it until either there is another update to resolve this glitch or someone else identifies a quirky setting that I inadvertently activated...

  • My business partner signed up for the acrobat xl pro, and added me to the account.  it send me an email to download and install, but after it downloads, nothing happens, can't double click on it to open, it just does nothing on the double click.  I tried

    my business partner signed up for the acrobat xl pro, and added me to the account.  it send me an email to download and install, but after it downloads, nothing happens, can't double click on it to open, it just does nothing on the double click.  I tried to download again, and still same thing.  I am on a mac with latest OS.  Does anyone know what I am doing wrong?

    he is on a pc, we bought a subscription to the license and was told it's 180 a year or 14.99 monthly per user, on the business plan.  So the sales rep on the phone walked us through adding the people who will be added to account who will need a license to use.  the sales rep said that we just need to go to that section and add users and it will email the user a link to download the file and install

  • Good afternoon ladies and gentlemen!   My question concerns the impossibility to open RAW-files directly from the program Adobe Bridge. At the moment when you open a RAW-file from Adobe Bridge by double-clicking, RAW-file is opened only in Photoshop. In t

    Good afternoon ladies and gentlemen!
    My question concerns the impossibility to open RAW-files directly from the program Adobe Bridge. At the moment when you open a RAW-file from Adobe Bridge by double-clicking, RAW-file is opened only in Photoshop. In the settings Adobe Bridge - in "open RAW-files by double-clicking in Adobe Camera Raw» box is checked. When you try any changes in the settings Adobe Bridge system displays a message:
    Bridge's parent application is not active. Bridge requires that a qualifying product has been launched at least once to enable this feature.
    The entire line of Adobe products on my computer updated to the latest updates. Previously, a family of products Adobe Photoshop on your computer is not set. Computer - PC, Windows 7 Enterprises.

    <moved from Adobe Creative Cloud to Bridge General Discussion>

  • How Can I Simulate Double-Clicking A File To Open It In The Default App Without Installing Default App?

    I have an app written with Visual Studio 2013. The app has code for opening a file using the standard OpenFileDialog and also has code (AutoOpenFile()) for opening a file when a user double-clicks on a file that is handled by the app. I have not yet created
    an installer for the app, so I won't be able to test it's AutoOpenFile() code...unless there is a way to simulate the process of auto-opening the double-clicked file without actually installing the app on my PC. Anyone?

    Thanks for your reply, Wyck. I already have the necessary code in my app for opening a file when I double-click on it. The problem is that the app is not currently installed on my PC. Until I do install it, is there a way I can test-run that code
    by double-clicking on an associated file?
    You lost me at: you want to test-run code that is not on your PC.
    O_o
    You want to double-click a file, and then...what do you want to have happen?  You want to run...something...that is not on your PC??
    The "simulation" is to launch your app from the command line and pass in the name of the file you wanted to simulate a "double-click" of.
    Regardless, you cannot get the shell to have a double-click of a file cause your application to launch unless you modify the registry to do so.  (This is tantamount to "install" to me.)
    In the spirit of continuing to be helpful, though, I'll assume that this is what you want to do and I'll show you how to get it done with the least amount of tampering with your registry.
    Here are minimally invasive registry modifications you need to make to get it to launch a program when you double-click your file.  It's pretty small.
    EXAMPLE ONLY:
    Windows Registry Editor Version 5.00
    [HKEY_CLASSES_ROOT\.wyck]
    @="Wyck.Document"
    [HKEY_CLASSES_ROOT\Wyck.Document\shell\open\command]
    @="c:\\windows\\system32\\notepad.exe \"%1\""
    [You have to save the above with your appropriate modifications to a file with the
    .reg extension (e.g.: test.reg) and then you'll have to double-click the test.reg file to "merge" these settings into your registry.]
    The example above registers a file extension called .wyck and assigns a completely arbitrary class name to it called
    Wyck.Document.
    Then it associates a shell open command with the Wyck.Document class that causes
    notepad.exe to be passed the filename of the file you double-clicked (that's what the
    %1 does).  You are welcome to replace all the specific names with your own extensions and class names and replace notepad.exe with the path to your (test) executable.
    This executable will be launched, but not with a debugger attached.  To facilitate debugging it, you'll want to temporarily add some code to your program to pause when the program launches, possibly by showing a message box right at the very beginning
    of your main function that says "attach debugger now" so that you can attach a debugger to the process that was started by the shell, and then dismiss the message box and continue debugging.
    When you are done with your testing, you can simply manually delete those two registry keys using
    regedit.

  • Can't double click include files within page to open them in CS3

    In Dreamweaver 8, if I had a page that had an include file
    in, and I wanted to edit the include file, all I had to do was
    double click the include within the page I was working on, and the
    include file would open up. This doesn't work in CS3 for me
    although I think I have all the same preferences set. Can anyone
    tell me how to bring back this very convenient feature?

    elhz wrote:
    > I had been right clicking it in design view which does
    not give me the open
    > file choice but when I right click it in code view it
    does. Not as convenient
    > as double clicking the file in design view the way it
    works in Dreamweaver 8
    > but still much more convenient than looking for it in
    the site. Thanks for
    > your help.
    >
    Ahh, I did not realize you were trying in Design View. I
    spend most
    time in Code View, so that's where my focus was. Glad you
    were able to
    parse my explanation and get this to work, albeit not as you
    had hoped.
    E. Michael Brandt
    www.divahtml.com
    www.divahtml.com/products/scripts_dreamweaver_extensions.php
    Standards-compliant scripts and Dreamweaver Extensions
    www.valleywebdesigns.com/vwd_Vdw.asp
    JustSo PictureWindow
    JustSo PhotoAlbum, et alia

  • Ai and eps will not open in Ai when you double click the file icon or drag onto to app icon

    I get the following error messages when I double click the files icon or drag the file to the Ai app icon in the dock. The only way to open the files is via File > Open with in the app.
    Photoshop and InDesign files open fine, it's just Illustrator.
    The document “xyz.ai” could not be opened. Illustrator cannot open files in the “Adobe Illustrator Document” format.
    The document “xyz.eps” could not be opened. Illustrator cannot open files in the “EPS File” format.
    Running CS5.5 on Mavericks then Yosemite.

    th1nk,
    I believe the right order/way is to update the OS, then reinstall the applications. Was that how you did it?

  • How to install "Microsoft Office Developer Tools for Visual Studio 2012" without "Web Platform Installer"?

    I have visual studio 2012 ultimate for practice , now I want to do SharePoint 2013 development through that. Generally I should download "Microsoft Office Developer Tools for Visual Studio 2012" through
    Web Platform Installer, but for some reason I want to avoid installing "Web Platform Installer".
    Is there any way where I can download and install "Microsoft Office Developer Tools for Visual Studio 2012" without downloading "Web Platform Installer"?
    Waiting to be guided by you.

    Hi
    Use these links to use WEBPI to download files for offline installation
    http://chakkaradeep.com/index.php/downloading-office-developer-tools-for-offline-install-2/
    http://www.iis.net/learn/install/web-platform-installer/web-platform-installer-v4-command-line-webpicmdexe-rtw-release
    Please mark it as answer if it helps you solving your problem
    Amit Kotha

  • I can't double click in order to open file or folder

    Dear apple support team,
    I have the problem with open file or folder when using Mountain Lion, I can't open file or folder by double click in it. With Lion i can do it.
    Please advice for me, i feel use Mountain Lion is difficult.

    Are you tapping to click, or pressing down the trackpad until it clicks? If you're tapping, try pressing.

  • How can i double click a box in GUI and simply open a text editor?

    My case is that in my GUI frame, i have several boxes and if i double click on them, i want to open a text editor for these boxes and write the description for them then save them, and next time when i double click again, i can reopen this editor and see the description i did.
    How can i do this? I'm stuck. If somebody can help me, i appreciate it very much!
    Thanks a lot!

    If the JOptionPane.showInputDialog is not enough then you would have to come up with your own JDialog and customize it to suit your needs.
    For the saving aspect, if the items are online strings or short items, then consider using java.util.Properties for a name=value pair saving machinism. If your strings will be multiline, then consider using a textfile for each individual string set or use XML. The java.util.Properties class in JDK 1.5 provides and very simple XML storage and load feature for storing its name=value pairs.
    Look into these and add dbulai's advice for a grand finish
    ICE

  • Can't double-click on icons to open Photoshop CS4

    When I double-click various Photoshop files (.jpg, .tif, etc...) I get the "Could not complete your request because Photoshop does not recognize this type of file".  But they open fine when I go to File>Open.  I've changed the extensions to default open with Photoshop but that didn't help.  Any easy solutions?  THANKS!

    I'm also having the same issue with InDesign.
    Ahhh…  well your issue is not related to Photoshop directly then. I suggest you run disk permissions, on your main hard drive  - don't worry its a fairly safe activity.
    Also try this free application…
    http://www.apple.com/downloads/macosx/system_disk_utilities/onyx.html
    This will do Permissions repair as well as other important maintenance tasks. Good idea to back up first, but these kind of activities on mac are really 99% safe and recommended.
    To reset Photoshops preferences hold down Command > alt > shift while starting Photoshop. Sounds like your issue is not going to be sorted by this though

  • How can I check if a file is opened?

    Hello,
    I have a problem:
    I want to check if a file is existing or not, and if it exists, I want to check if it is opened.
    The following actions should be taken:
    1. File exists => no error message, everything's ok
    2. File does not exist => NO error message, create the file later 
    3. File exists but it is opened => notify user (Ok message)
    4. path does not exist => notify user (Ok message)
    How can I do that? I have problems to check if the file is opened.
    This is what I have done until now:
    Johannes
    LabVIEW 7.1 (!)
    Greetings Johannes
    Using LabVIEW 7.1 and 2009 recently

    The error checking method is probably the best, most efficient, and cleanest way to do this (only one case structure needed). But here is a somewhat more "rube goldberg" way that does do the job thinking somewhat linearly. If the directory doesn't exist, then the file won't exist. If the file doesn't exist, then it can't be open. So first you check if the directory exists, if it does, check if the file exists, if it does check if it's open. Not a fan of these nested case structures really, but it is a way to do it.
    Message Edited by for(imstuck) on 10-29-2009 07:56 AM
    CLA, LabVIEW Versions 2010-2013
    Attachments:
    file_stuff.PNG ‏10 KB

  • When I open a new window (App etc) the windows already open disappear. How can I fix this ?, When I open a new window (App etc) the windows already open disappear. How can I fix this ?

    When I open a new window (App etc) the windows already open disappear. How can I fix this ?

    Back up all data.
    Please triple-click anywhere in the line below on this page to select it:
    defaults delete com.apple.dock single-app && killall Dock
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window by pressing the key combination command-V. I've tested these instructions only with the Safari web browser. If you use another browser, you may have to press the return key after pasting.
    Wait for a new line ending in a dollar sign ($) to appear below what you entered. You can then quit Terminal. Test.

  • How can I get an RTF file to open properly in MS Word?

    I'm using Coldfusion 8 and trying get it to export to Microsoft Word an RTF file  that was also created in Word, and is stored on the server. The problem is that when Word opens from the browser, it displays the RTF code for the document as if I'd opened the file in a text editor. The extension is ".rtf", and I've tried using ".doc" and ".docx" but nothing works. And even though Word opens it with an rtf extension, if I do a "Save As", it wants to save the file as an .htm file. I've also tried changing the content-type to "application/msword" but this didn't work. Also if I use OpenOffice instead of MS Word it still doesn't work. My code is below, if anyone could tell me what I'm doing wrong it would be very appreciated.
    <cfset formFile = "test.rtf">
    <cfset pathToRTF =  GetDirectoryFromPath(GetCurrentTemplatePath()) & formFile />
        <!---<cfset rtfForm = FileRead(pathToRTF) />--->
        <cffile
                action="read"
                file="#pathToRTF#"
                variable="rtfForm"
                >
    <cfcontent type="application/rtf">
    <cfheader name="Content-Type" value="application/rtf">
    <CFHEADER NAME="Content-Disposition" VALUE="filename=test.rtf">
    <cfoutput>
        #rtfForm#
    </cfoutput>

    What kind of local files are you trying to open and what kind of content is on the pages?
    Are that files that you've saved from the internet?

  • I can't get my .ase files to open in any CS2 app

    I am trying to import the swatches saved on my desktop loaded
    into both PhotoshopCS2 and InDesign, I am trying to load them from
    the swatches pallette (seems logical) and they are always greyed
    out. HELP!!

    Hello,
    Hmm.. try these tips... if that doesn't work, please let us
    know and give us your OS.
    Sami
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=72&catid=622&threadid =1219281&highlight_key=y&keyword1=illustrator

Maybe you are looking for

  • Problems customizing the user template

    Hi, I'm trying to customize the user template on 2 laptops. I've done this before with no problems, but this time it doesn't appear to be working correctly. I'm using the following command cp -R /Users/TEMPLATE/* /System/Library/User\ Template/Englis

  • TS4425 Photo Stream Won't Work!

    I have updated the software to 5.2 and I am still getting the same error message! does Anyone know what I need to do?

  • How to get the ports on a computer?

    Hello! Do anyone know how to list which ports that are not locked/blocked on a comuter?

  • Safari 6 in Mountain Lion

    Having upgraded to Mountain Lion, I am having  problems using Safari 6.  I'm unable to load up quite a few pages (including the apple discussion forum), I'm getting the 'can't establish a secure connection'. I have no parental settings turned on, I'v

  • Sum of each datagrid row

    Hi all, I have a datagrid and I want to sum each row values and display it to the last column. How can I do that? Thanks in advance