msvisual.com Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Input Box
Goto page 1, 2  Next
 
Post new topic   Reply to topic    msvisual.com Forum Index -> VB General Discussions
Author Message
Christian



Joined: 27 Feb 2008
Posts: 1

PostPosted: Tue Feb 26, 2008 11:51 pm    Post subject: Input Box Reply with quote

Hello,

I'm a newbie to VB6

How do I put an Input box on a form?

Thanks in advance

Archived from group: microsoft>public>vb>general>discussion
Back to top
View user's profile Send private message
vhino



Joined: 27 Feb 2008
Posts: 5

PostPosted: Tue Feb 26, 2008 9:07 pm    Post subject: RE: Input Box Reply with quote

"Christian" wrote:

> Hello,
>
> I'm a newbie to VB6
>
> How do I put an Input box on a form?
>
> Thanks in advance
>
>
>
just click input box icon from vb toolbox then drag into the form or double
click the icon.
Back to top
View user's profile Send private message
MP



Joined: 04 Oct 2007
Posts: 203

PostPosted: Tue Feb 26, 2008 11:06 pm    Post subject: Re: Input Box Reply with quote

assuming you mean a Textbox ...
ensure you see the "toolbox" dialog
menu View|toolbox
drag the textbox icon over onto your form
size and position to taste
Smile
hth
mark


"Christian" wrote in message @TK2MSFTNGP04.phx.gbl...
> Hello,
>
> I'm a newbie to VB6
>
> How do I put an Input box on a form?
>
> Thanks in advance
>
Back to top
View user's profile Send private message
vhino



Joined: 27 Feb 2008
Posts: 5

PostPosted: Tue Feb 26, 2008 9:36 pm    Post subject: Re: Input Box Reply with quote

"MP" wrote:

>
> assuming you mean a Textbox ...
> ensure you see the "toolbox" dialog
> menu View|toolbox
> drag the textbox icon over onto your form
> size and position to taste
> Smile
> hth
> mark
>
>
> "Christian" wrote in message
> @TK2MSFTNGP04.phx.gbl...
> > Hello,
> >
> > I'm a newbie to VB6
> >
> > How do I put an Input box on a form?
> >
> > Thanks in advance
> >
>
> yes a textbox...
>
Back to top
View user's profile Send private message
MikeD



Joined: 04 Oct 2007
Posts: 3348

PostPosted: Wed Feb 27, 2008 12:41 am    Post subject: Re: Input Box Reply with quote

"vhino" wrote in message @microsoft.com...
>
>
> "Christian" wrote:
>
>> Hello,
>>
>> I'm a newbie to VB6
>>
>> How do I put an Input box on a form?
>>
>> Thanks in advance
>>
>>
>>
> just click input box icon from vb toolbox

No such thing in VB's Toolbox. Don't make things worse for Christian by
giving bad information.

--
Mike
Microsoft MVP Visual Basic
Back to top
View user's profile Send private message
vhino



Joined: 27 Feb 2008
Posts: 5

PostPosted: Tue Feb 26, 2008 9:51 pm    Post subject: Re: Input Box Reply with quote

i think your question is Input dialog box? I think you can type it from the
code! apologize...
Back to top
View user's profile Send private message
vhino



Joined: 27 Feb 2008
Posts: 5

PostPosted: Tue Feb 26, 2008 10:03 pm    Post subject: Re: Input Box Reply with quote

"vhino" wrote:

> i think your question is Input dialog box? I think you can type it from the
> code! apologize...
>
here is the sample code! just copy and paste the code and run.

Private Sub Form_Load()

Dim Message, Title, Default, MyValue
Message = "Enter a value between 1 and 3" ' Set prompt.
Title = "InputBox Demo" ' Set title.
Default = "1" ' Set default.
' Display message, title, and default value.
MyValue = InputBox(Message, Title, Default)

' Use Helpfile and context. The Help button is added automatically.
MyValue = InputBox(Message, Title, , , , "DEMO.HLP", 10)

' Display dialog box at position 100, 100.
MyValue = InputBox(Message, Title, Default, 100, 100)

End Sub

Hope that can help you!
Back to top
View user's profile Send private message
Twayne



Joined: 27 Feb 2008
Posts: 2

PostPosted: Wed Feb 27, 2008 6:10 am    Post subject: Re: Input Box Reply with quote

> Hello,
>
> I'm a newbie to VB6
>
> How do I put an Input box on a form?
>
> Thanks in advance

I think you might need to be a little more specific as to what you mean
and how it's supposed to be used if the responses so far haven't
answered your question. An "input box" could be a few differen things,
and then there is the case where you put up a dialog of sorts, asking
the user to type information into the box just presented, or it could be
a TextBox ... etc..
Don't be shy with words, but do be as specific/concise with your
question as you can. And lurk a LOT in this group; you'll learn more
than you ever imagined you could about VB6 .
--
Regards,

Twayne

Open Office isn't just for wimps anymore;
OOo is a GREAT MS Office replacement
www.openoffice.org
Back to top
View user's profile Send private message
MikeD



Joined: 04 Oct 2007
Posts: 3348

PostPosted: Wed Feb 27, 2008 1:20 am    Post subject: Re: Input Box Reply with quote

"vhino" wrote in message @microsoft.com...
>
>
> "vhino" wrote:
>
>> i think your question is Input dialog box? I think you can type it from
>> the
>> code! apologize...
>>
> here is the sample code! just copy and paste the code and run.
>
> Private Sub Form_Load()
>
> Dim Message, Title, Default, MyValue
> Message = "Enter a value between 1 and 3" ' Set prompt.
> Title = "InputBox Demo" ' Set title.
> Default = "1" ' Set default.
> ' Display message, title, and default value.
> MyValue = InputBox(Message, Title, Default)
>
> ' Use Helpfile and context. The Help button is added automatically.
> MyValue = InputBox(Message, Title, , , , "DEMO.HLP", 10)
>
> ' Display dialog box at position 100, 100.
> MyValue = InputBox(Message, Title, Default, 100, 100)
>
> End Sub
>
> Hope that can help you!
>

InputBox = evil

Sorry to keep ragging on you. I know you're just trying to help. But
InputBox is still bad advice.

--
Mike
Microsoft MVP Visual Basic
Back to top
View user's profile Send private message
vhino



Joined: 27 Feb 2008
Posts: 5

PostPosted: Tue Feb 26, 2008 11:08 pm    Post subject: Re: Input Box Reply with quote

its ok! hope you can correct me for my mistaken and urgently reply for
christian help! i know me and christian were all new to vb6, i'm waiting for
an hour christian post, but nobody can reply. i tried help chrsitian a
little, but did not. Hoping that someday both we can be a programmer too!
Back to top
View user's profile Send private message
Ken Halter



Joined: 04 Oct 2007
Posts: 4150

PostPosted: Wed Feb 27, 2008 1:18 pm    Post subject: Re: Input Box Reply with quote

"vhino" wrote in message @microsoft.com...
> its ok! hope you can correct me for my mistaken and urgently reply for
> christian help! i know me and christian were all new to vb6, i'm waiting
> for
> an hour christian post, but nobody can reply. i tried help chrsitian a
> little, but did not. Hoping that someday both we can be a programmer
> too!

Gotta be patient around here An hour isn't long to wait, at all. This
isn't a chat forum.... and, everyone's problems are urgent. That's why these
groups exist.... but, even people paying to use these groups have to wait...
iirc, MS "guarantees" an answer within 3 days.

--
Ken Halter - MS-MVP-VB - Please keep all discussions in the groups..
In Loving Memory - http://www.vbsight.com/Remembrance.htm
Back to top
View user's profile Send private message
Dave O.



Joined: 04 Oct 2007
Posts: 580

PostPosted: Wed Feb 27, 2008 9:38 pm    Post subject: Re: Input Box Reply with quote

"Ken Halter" wrote in message @TK2MSFTNGP02.phx.gbl...

> even people paying to use these groups have to wait... iirc, MS
> "guarantees" an answer within 3 days.

People pay for this!?

Where's my cut?

Dave O.
Back to top
View user's profile Send private message
MikeD



Joined: 04 Oct 2007
Posts: 3348

PostPosted: Wed Feb 27, 2008 8:44 pm    Post subject: Re: Input Box Reply with quote

"Dave O." wrote in message @TK2MSFTNGP03.phx.gbl...
>
> "Ken Halter" wrote in message
> @TK2MSFTNGP02.phx.gbl...
>
>> even people paying to use these groups have to wait... iirc, MS
>> "guarantees" an answer within 3 days.
>
> People pay for this!?
>
> Where's my cut?


He means (I presume) the private newsgroups.

--
Mike
Microsoft MVP Visual Basic
Back to top
View user's profile Send private message
Karl E. Peterson



Joined: 04 Oct 2007
Posts: 4836

PostPosted: Wed Feb 27, 2008 7:34 pm    Post subject: Re: Input Box Reply with quote

MikeD wrote:
> "Dave O." wrote in message
> @TK2MSFTNGP03.phx.gbl...
>>
>> "Ken Halter" wrote in message
>> @TK2MSFTNGP02.phx.gbl...
>>
>>> even people paying to use these groups have to wait... iirc, MS
>>> "guarantees" an answer within 3 days.
>>
>> People pay for this!?
>>
>> Where's my cut?
>
> He means (I presume) the private newsgroups.

Au contraire. MSDN subscribers who register (and post with) a phoney email address
are indeed promised a MSFT response here.
--
..NET: It's About Trust!
http://vfred.mvps.org
Back to top
View user's profile Send private message
Ken Halter



Joined: 04 Oct 2007
Posts: 4150

PostPosted: Wed Feb 27, 2008 7:49 pm    Post subject: Re: Input Box Reply with quote

"MikeD" wrote in message @TK2MSFTNGP03.phx.gbl...
>
>>> even people paying to use these groups have to wait... iirc, MS
>>> "guarantees" an answer within 3 days.
>>
>> People pay for this!?
>>
>> Where's my cut?
>
> He means (I presume) the private newsgroups.
>

The "MSDN Managed Newsgroups"... this is one of them... and MSDN subscribers
pay dearly. Not directly, but since it's included in the subscription price,
it has to be included in as part of the cost.

http://msdn2.microsoft.com/en-us/subscriptions/aa974230.aspx#VB

Here are the others in the "VB world"

microsoft.public.vb.addins
microsoft.public.vb.bugs
microsoft.public.vb.com
microsoft.public.vb.controls
microsoft.public.vb.controls.creation
microsoft.public.vb.controls.databound
microsoft.public.vb.controls.internet
microsoft.public.vb.database
microsoft.public.vb.database.dao
microsoft.public.vb.database.odbc
microsoft.public.vb.dataenvreport
microsoft.public.vb.deployment
microsoft.public.vb.enterprise
microsoft.public.vb.general.discussion
microsoft.public.vb.installation
microsoft.public.vb.ole.automation
microsoft.public.vb.syntax
microsoft.public.vb.visual_modeler
microsoft.public.vb.winapi
microsoft.public.vb.winapi.graphics
microsoft.public.vb.winapi.networks

--
Ken Halter - MS-MVP-VB - Please keep all discussions in the groups..
In Loving Memory - http://www.vbsight.com/Remembrance.htm

Back to top
View user's profile Send private message
Display posts from previous:   
Related Topics:
MSCOMM input I am having troubles with the mscomm control. How do I know that the input is complete? SK

Microphone Input What is the easiest way to capture Microphone Data in Visual Basic6? Thanks for any help. Frank.

Input Past End Of File I'm a grade 11 student trying to finish my final project but not matter what me and my teacher do, we can't seem to get the error "Input past end of file". My program is an an events planner I guess. It is on the refresh j

Office IME changing input Does anyone know how I can change the input method of the IME tool when a control gets focus?? Thanks

Read an Input File Hi, I'm using the code below to read a CSV file (a copy of Excel file) into an Array Open For Input As 1 Count = 0 Do Until EOF(1) Line Input #1, recorddata = recorddata Count = Count + 1 Loop Close #1 But the problem is tha
Post new topic   Reply to topic    msvisual.com Forum Index -> VB General Discussions All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group