Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. deploying the files

deploying the files

Scheduled Pinned Locked Moved Visual Basic
sysadminwindows-adminhelpworkspace
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    taherjaorawala
    wrote on last edited by
    #1

    dear friends I have made setup n deployment project. I want is that when the location is selected for the application the location must be saved to the registry eg. "C:\Program File\new software". so how should i achive this. please help me out. thanxs in advance Taher

    D 1 Reply Last reply
    0
    • T taherjaorawala

      dear friends I have made setup n deployment project. I want is that when the location is selected for the application the location must be saved to the registry eg. "C:\Program File\new software". so how should i achive this. please help me out. thanxs in advance Taher

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      Do you need this value in your code somewhere? If so, it's easy enough to get at runtime without going to the registry to get it. This path is returned by Application.StartupPath.

      Dim myAppPath As String = Application.StartupPath
      

      If you wanted to write this value to the registry during the installation, you'd have to create a custom action to do it. You can find out more about custom actions here[^].

      Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
           2006, 2007

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups