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. Input Boxes in VB.Net2003

Input Boxes in VB.Net2003

Scheduled Pinned Locked Moved Visual Basic
csharpvisual-studiohelptutorial
1 Posts 1 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.
  • B Offline
    B Offline
    BooleanOperator
    wrote on last edited by
    #1

    Can anybody tell me how to call an InputBox from a console app in VB.Net2003. I have followed the info I can find on MSDN and various reference books -- several of which don't even mention input boxes. This is not a critical thing, I'm just exploring the Language a bit. When I try calling it like: Dim Name As String Name = InputBox("Name") from a console app VS.Net converts the text and complains that "inputbox" is a namespace? :confused: If I call it from inside a WinForm project it demands I call it like: Dim Name As String = InputBox("Name") If I call it like this: Dim Name As String Name = InputBox("Name") VS.Net says it's missing the declaration for Name -- even though it one line above?:wtf: Anyway, like I said before this is not a critcal issue, just somewhat baffling. Any thoughts or enlightenment would be appreciated. Warm Regards, The Boolean Operator aka Boo

    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