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

  • SEARCH
  • Home
  • 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 8590823
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T23:22:58+00:00 2026-06-11T23:22:58+00:00

I have a winform application which has 21 video files and they’e path is

  • 0

I have a winform application which has 21 video files and they’e path is set as applicaton.startupPath like this …

vpath[0] = Application.StartupPath + @"\v00.m4v";
        vpath[1] = Application.StartupPath + @"\v01.m4v";
        vpath[2] = Application.StartupPath + @"\v02.m4v";
        vpath[3] = Application.StartupPath + @"\v03.m4v";
        vpath[4] = Application.StartupPath + @"\v04.m4v";
        vpath[5] = Application.StartupPath + @"\v05.m4v";
        vpath[6] = Application.StartupPath + @"\v06.m4v";
        vpath[7] = Application.StartupPath + @"\v07.m4v";
        vpath[8] = Application.StartupPath + @"\v08.m4v";
        vpath[9] = Application.StartupPath + @"\v09.m4v";
        vpath[10] = Application.StartupPath + @"\v10.m4v";
        vpath[11] = Application.StartupPath + @"\v11.m4v";
        vpath[12] = Application.StartupPath + @"\v12.m4v";
        vpath[13] = Application.StartupPath + @"\v13.m4v";
        vpath[14] = Application.StartupPath + @"\v14.m4v";
        vpath[15] = Application.StartupPath + @"\v15.m4v";
        vpath[16] = Application.StartupPath + @"\v16.m4v";
        vpath[17] = Application.StartupPath + @"\v17.m4v";
        vpath[18] = Application.StartupPath + @"\v18.m4v";
        vpath[19] = Application.StartupPath + @"\v19.m4v";
        vpath[20] = Application.StartupPath + @"\v20.m4v";

now if a user wants to change those videos then he have to name it as v00 to v20. now if a user add video with different format then how can i change the path?? is it possible to change it on run time? if yes then how??

  • 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-11T23:22:59+00:00Added an answer on June 11, 2026 at 11:22 pm

    StartupPath is not a regular variable. In fact, it is not variable at all and also it cannot be “written”, it is a get-only property.

    Actually, you can change that property result value by copying the main executable file into required directory and re-runing it from there, but what’s th point?

    Navigate to Path, Directory and File classes to learn how to play with the file system.

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

Sidebar

Related Questions

I have a WinForm application which is generating CSV files. I give the user
I have inherited a frankenstein VB6 Converted to VB.NET winform application. This application has
I have a winform application which has a dynamic number (based on a database
I have a winform application which contains a window resizable but one requirement is
I have a problem with winform application which uses threads to update the UI.
I have put together a .net winform application which consumes a wcf service exposed
I have a console application which can also open winform under certain conditions.Processing(its a
I have an application (winform exe) that I run several times. Does this mean
I have a WinForms gui application which has a number of areas to it
I have developed a Winform MDI application, in which client specifically requires a context

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.