Results 1 to 7 of 7

Thread: Extremly new to dOt net ... Input box q

  1. #1

    Thread Starter
    Junior Member
    Join Date
    May 2004
    Location
    Berlin, Connecticut
    Posts
    17

    Unhappy Extremly new to dOt net ... Input box q

    Ok i am a VB6er just got dOt net... i got a input box

    VB Code:
    1. inputbox("Please Enter your Name")
    i want to be able to take the information typed from the inputbox and put it in a msgbox.... how do i do this ?????

  2. #2
    Frenzied Member
    Join Date
    Feb 2003
    Location
    Argentina
    Posts
    1,950
    Like vb6, an input box returns a value. You don't have anything on the left side of the inputbox to assign a value to. In your example:

    strName = InputBox("Please.......)

  3. #3
    l33t! MrPolite's Avatar
    Join Date
    Sep 2001
    Posts
    4,428
    Originally posted by salvelinus
    Like vb6, an input box returns a value. You don't have anything on the left side of the inputbox to assign a value to. In your example:

    strName = InputBox("Please.......)
    hmm is that available in the .net framework classes? (I only see it in the VB compatibility classes)
    rate my posts if they help ya!
    Extract thumbnail without reading the whole image file: (C# - VB)
    Apply texture to bitmaps: (C# - VB)
    Extended console library: (VB)
    Save JPEG with a certain quality (image compression): (C# - VB )
    VB.NET to C# conversion tips!!

  4. #4
    Frenzied Member dynamic_sysop's Avatar
    Join Date
    Jun 2003
    Location
    Ashby, Leicestershire.
    Posts
    1,142
    you should steer away from using InputBoxes in vb.net , they will work but depend on the microsoft visual basic runtime
    the best thing is to create your own custom inputboxes.
    ~
    if a post is resolved, please mark it as [Resolved]
    protected string get_Signature(){return Censored;}
    [vbcode][php] please use code tags when posting any code [/php][/vbcode]

  5. #5

    Thread Starter
    Junior Member
    Join Date
    May 2004
    Location
    Berlin, Connecticut
    Posts
    17
    ok ill make custom Input boxes but how would i be able to make one :P Do u mean just take like a Form and add text box and a label.... make it small and call it a inputbox ?

    Cuz what i was looking for overall in this project is for me to make a Program that Would ask the persons name then search this Database...(Doesnt exists yet) and see if they are a member... then proceed to main page.... unless there name isnot in there... then i wish for them to be able to create a name and store it in this Database.... what kinda Database should i use..... (Confuseing i know... couldnt figure out a way for me to better state it) remember im Noob

  6. #6
    Lively Member ayan's Avatar
    Join Date
    Jan 2004
    Posts
    112
    like this? if not, sorry...

    wid da great help from dynamic_sysop
    Attached Files Attached Files

  7. #7
    Member
    Join Date
    Aug 2003
    Posts
    51
    Dim thevar As String = InputBox("Enter the var", "Hello", )
    MsgBox(thevar)
    Last edited by vutle; May 25th, 2004 at 05:03 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width