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. problem in overwriting the previous setup

problem in overwriting the previous setup

Scheduled Pinned Locked Moved Visual Basic
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.
  • P Offline
    P Offline
    Pankaj Garg
    wrote on last edited by
    #1

    Hi, My Front end is VB.net 2008 I was trying to fix the problem of overwriting the previous setup problem. So while surfing the net, i got the following link useful. http://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/aea77734-3517-4301-8525-a40748a7905c/[^] But I have a query, there I found the following code.

    If My.Settings.UpdateRequired Then
    My.Settings.Upgrade()
    My.Settings.UpdateRequired = False
    My.Settings.Save()
    End If

    Can you tell me, In which file I should write this code?

    T 1 Reply Last reply
    0
    • P Pankaj Garg

      Hi, My Front end is VB.net 2008 I was trying to fix the problem of overwriting the previous setup problem. So while surfing the net, i got the following link useful. http://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/aea77734-3517-4301-8525-a40748a7905c/[^] But I have a query, there I found the following code.

      If My.Settings.UpdateRequired Then
      My.Settings.Upgrade()
      My.Settings.UpdateRequired = False
      My.Settings.Save()
      End If

      Can you tell me, In which file I should write this code?

      T Offline
      T Offline
      Tom Deketelaere
      wrote on last edited by
      #2

      Before any off your settings are called so best bet is the application startup event.

      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