Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8053637
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T07:54:58+00:00 2026-06-05T07:54:58+00:00

I am trying to associate multiple files with my app i have done associating

  • 0

I am trying to associate multiple files with my app i have done associating files but when i try to open multiple files app open just one file, to open the file iam using this code in form load event

        For Each arg In My.Application.CommandLineArgs
            open_File(return_rtb, arg)
        Next arg

And the second problem is myApp is single instance app how to catch if user double click on a file while myApp is running like form load event for first time. thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T07:55:00+00:00Added an answer on June 5, 2026 at 7:55 am

    This is a built-in capability for VB.NET, provided by the application framework option, turned on by default for a Winforms app. Project + Properties, Application tab, tick the “Make single instance application” option.

    Use the My.Application.StartupNextInstance event. The code snippet in the MSDN library article for this event shows you how to use the e.CommandLine property to discover the path of the file passed to the second instance.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to associate latitude and longitude values to different users (I have multiple
I have a situation where I want to associate multiple values from one table
Im trying to figure out how I can have multiple pagers associated to multiple
I'm trying to achieve the following functionality. Within a form I have multiple fields
I have a few models I'm trying to relate. One model is Item ,
I am trying to retrieve properties which has multiple amenities. But the table structure
I have a model where a Product can have multiple PriceDrops. I'm trying to
I have a query returning multiple values associated with one thing. For example, if
I am trying to create an iOS app which involves one main if statement
This is my first time making a hash table. I'm trying to associate strings

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.