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. UpGrade issue problem with App

UpGrade issue problem with App

Scheduled Pinned Locked Moved Visual Basic
helpcsharpquestion
4 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.
  • S Offline
    S Offline
    sarat
    wrote on last edited by
    #1

    I am upgrading VB6 to VB.Net If App.PrevInstance Then MsgBox(gmsgString46, MsgBoxStyle.Critical, gmsgString34) In that line of code it complains Name 'App' is not declared how can i resolve the issue

    C 1 Reply Last reply
    0
    • S sarat

      I am upgrading VB6 to VB.Net If App.PrevInstance Then MsgBox(gmsgString46, MsgBoxStyle.Critical, gmsgString34) In that line of code it complains Name 'App' is not declared how can i resolve the issue

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      I googled App.PrevInstance and this was the second hit: http://www.thescripts.com/forum/thread389464.html[^] I am going to bed soon, so you need to start looking up this stuff for yourself....

      Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

      S 1 Reply Last reply
      0
      • C Christian Graus

        I googled App.PrevInstance and this was the second hit: http://www.thescripts.com/forum/thread389464.html[^] I am going to bed soon, so you need to start looking up this stuff for yourself....

        Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

        S Offline
        S Offline
        sarat
        wrote on last edited by
        #3

        Thanks Graus I am looking in to the link gud night

        S 1 Reply Last reply
        0
        • S sarat

          Thanks Graus I am looking in to the link gud night

          S Offline
          S Offline
          sarat
          wrote on last edited by
          #4

          Graus It got resolved with the link u have given replaced with UBound(Diagnostics.Process.GetProcessesByName( Diagnostics.Process.GetCurrentProcess.ProcessName)) > 0 thank u

          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