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. Debugging Programs problems

Debugging Programs problems

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

    Hello, All I am trying to do is run simple programs that I learn from a book every time I "Start without Debugging" it gives me a messageBox with "there were build erors" Now this seems to happen when I rename the ".vb" file and rename the "Module" (I am in the beggining of the book and were are just on simple modules). Also under the build error 'Task List' it says "Sub Main was not found in 'ConsoleApplication1.Module1 Help. I am a rookie and i need help fast :( :confused:

    N 1 Reply Last reply
    0
    • E envoy

      Hello, All I am trying to do is run simple programs that I learn from a book every time I "Start without Debugging" it gives me a messageBox with "there were build erors" Now this seems to happen when I rename the ".vb" file and rename the "Module" (I am in the beggining of the book and were are just on simple modules). Also under the build error 'Task List' it says "Sub Main was not found in 'ConsoleApplication1.Module1 Help. I am a rookie and i need help fast :( :confused:

      N Offline
      N Offline
      Nick Seng
      wrote on last edited by
      #2

      It seems like you need to set the startup object in the project properties. TO access the project properties, you can either: 1. Click Project on the Menu Bar and select Properties, or 2. Right-click on your project in the Solution Explorer and select properties On your project property dialog, you will see a combo box labelled "Startup Object". Navigate your combo box and select a startup object, which is usually a Sub Main method. Notorious SMC


      The difference between the almost-right word & the right word is a really large matter - it's the difference between the lightning bug and the Lightning Mark Twain
      Get your facts first, and then you can distort them as much as you please Mark Twain

      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