Hi,

i am just starting to try to automate some stuff in frontpage. VBA help
talks about a CommandButton - frontpage help doesn't know what that is - how
do i add a CommandButton to a form? VBA help talks about a ComboBox -
frontpage help doesn't know what that is - how do i add a ComboBox to a
form?

Thanks,
Mark

Re: newby stupid questions by Stefan

Stefan
Wed Nov 17 03:03:15 CST 2004

You can not use VBA forms / form buttons in a web page

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp
_____________________________________________


"mark oliver" <mark_oliverr@adelphia.net> wrote in message news:zIKdnRE94p9ZTAfcRVn-3Q@adelphia.com...
| Hi,
|
| i am just starting to try to automate some stuff in frontpage. VBA help
| talks about a CommandButton - frontpage help doesn't know what that is - how
| do i add a CommandButton to a form? VBA help talks about a ComboBox -
| frontpage help doesn't know what that is - how do i add a ComboBox to a
| form?
|
| Thanks,
| Mark
|
|



Re: newby stupid questions by meg

meg
Wed Nov 17 17:09:54 CST 2004

Take a look at MSDN library.
http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/objects/input.asp



"mark oliver" <mark_oliverr@adelphia.net> wrote in message news:zIKdnRE94p9ZTAfcRVn-3Q@adelphia.com...
Hi,

i am just starting to try to automate some stuff in frontpage. VBA help
talks about a CommandButton - frontpage help doesn't know what that is - how
do i add a CommandButton to a form? VBA help talks about a ComboBox -
frontpage help doesn't know what that is - how do i add a ComboBox to a
form?

Thanks,
Mark




Re: newby stupid questions by mark

mark
Wed Nov 17 18:55:55 CST 2004

Hi,

i don't know what a VBA form is. i am trying to use VBA to wite HTML
through FrontPage. On my FrontPage form i have a drop-down box. i also
have a long list of items i want to put into the drop-down box. i want to
write VBA code to do it.

This is from FrontPage VBA help:

Private Sub CommandButton1_Click()
ComboBox1.DropDown
End Sub

Private Sub UserForm_Initialize()
ComboBox1.AddItem "Turkey"
ComboBox1.AddItem "Chicken"
ComboBox1.AddItem "Duck"
ComboBox1.AddItem "Goose"
ComboBox1.AddItem "Grouse"
End Sub

It looks like what i am trying to do. What is the VBA code to add items
to a drop-down box?

Thanks,
Mark

"Stefan B Rusynko" <sbr_enjoy@hotmail.com> wrote in message
news:uCDXIRIzEHA.2692@TK2MSFTNGP10.phx.gbl...
> You can not use VBA forms / form buttons in a web page
>
> --
>
> _____________________________________________
> SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
> "Warning - Using the F1 Key will not break anything!" (-;
> To find the best Newsgroup for FrontPage support see:
> http://www.net-sites.com/sitebuilder/newsgroups.asp
> _____________________________________________
>
>
> "mark oliver" <mark_oliverr@adelphia.net> wrote in message
> news:zIKdnRE94p9ZTAfcRVn-3Q@adelphia.com...
> | Hi,
> |
> | i am just starting to try to automate some stuff in frontpage. VBA
> help
> | talks about a CommandButton - frontpage help doesn't know what that is -
> how
> | do i add a CommandButton to a form? VBA help talks about a ComboBox -
> | frontpage help doesn't know what that is - how do i add a ComboBox to a
> | form?
> |
> | Thanks,
> | Mark
> |
> |
>
>



Re: newby stupid questions by Kevin

Kevin
Thu Nov 18 07:42:26 CST 2004

It may LOOK like what you're trying to do, but it's not. A Windows Form
ComboBox Control and an HTML dropdown list box are not only different in
functionality, but completely different types of UI elements. One is part of
an executable program. The other is HTML text in an HTML document. One is
painted on the screen by a graphics device. The other is drawn by a browser
reading an HTML document. HTML is created by writing text into an HTML
document. All FrontPage does is write the HTML. VBA stands for "Visual Basic
for Applications." An HTML document is not an application. You can write
macros for Word documents, but that is because a Word document is a
proprietary file type developed by Microsoft. HTML is an international
standard that Microsoft didn't invent.

--
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
Neither a follower
nor a lender be.


"mark oliver" <mark_oliverr@adelphia.net> wrote in message
news:RI2dnWhUL-6GbgbcRVn-vw@adelphia.com...
> Hi,
>
> i don't know what a VBA form is. i am trying to use VBA to wite HTML
> through FrontPage. On my FrontPage form i have a drop-down box. i also
> have a long list of items i want to put into the drop-down box. i want
to
> write VBA code to do it.
>
> This is from FrontPage VBA help:
>
> Private Sub CommandButton1_Click()
> ComboBox1.DropDown
> End Sub
>
> Private Sub UserForm_Initialize()
> ComboBox1.AddItem "Turkey"
> ComboBox1.AddItem "Chicken"
> ComboBox1.AddItem "Duck"
> ComboBox1.AddItem "Goose"
> ComboBox1.AddItem "Grouse"
> End Sub
>
> It looks like what i am trying to do. What is the VBA code to add
items
> to a drop-down box?
>
> Thanks,
> Mark
>
> "Stefan B Rusynko" <sbr_enjoy@hotmail.com> wrote in message
> news:uCDXIRIzEHA.2692@TK2MSFTNGP10.phx.gbl...
> > You can not use VBA forms / form buttons in a web page
> >
> > --
> >
> > _____________________________________________
> > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
> > "Warning - Using the F1 Key will not break anything!" (-;
> > To find the best Newsgroup for FrontPage support see:
> > http://www.net-sites.com/sitebuilder/newsgroups.asp
> > _____________________________________________
> >
> >
> > "mark oliver" <mark_oliverr@adelphia.net> wrote in message
> > news:zIKdnRE94p9ZTAfcRVn-3Q@adelphia.com...
> > | Hi,
> > |
> > | i am just starting to try to automate some stuff in frontpage.
VBA
> > help
> > | talks about a CommandButton - frontpage help doesn't know what that
is -
> > how
> > | do i add a CommandButton to a form? VBA help talks about a
ComboBox -
> > | frontpage help doesn't know what that is - how do i add a ComboBox to
a
> > | form?
> > |
> > | Thanks,
> > | Mark
> > |
> > |
> >
> >
>
>



Re: newby stupid questions by meg

meg
Thu Nov 18 10:37:14 CST 2004

This is just rudimentary, but an example, there's a lot more to know. (You can see this if you ever go to a
website that has a drop down box and click on View in the browswer menu and select 'Source.') Check out MSDN
Library for help, and there's lots of free tutorials online.

<FORM name="frmName" action="PageName" method="get">
<SELECT id="Birds" name="Birds">
<option>Turkey</option>
<option>Chicken</option>
<option>Duck</option>
<option>Goose</option>
<option>Grouse</option>
</SELECT>
</FORM>

"mark oliver" <mark_oliverr@adelphia.net> wrote in message news:RI2dnWhUL-6GbgbcRVn-vw@adelphia.com...
Hi,

i don't know what a VBA form is. i am trying to use VBA to wite HTML
through FrontPage. On my FrontPage form i have a drop-down box. i also
have a long list of items i want to put into the drop-down box. i want to
write VBA code to do it.

This is from FrontPage VBA help:

Private Sub CommandButton1_Click()
ComboBox1.DropDown
End Sub

Private Sub UserForm_Initialize()
ComboBox1.AddItem "Turkey"
ComboBox1.AddItem "Chicken"
ComboBox1.AddItem "Duck"
ComboBox1.AddItem "Goose"
ComboBox1.AddItem "Grouse"
End Sub

It looks like what i am trying to do. What is the VBA code to add items
to a drop-down box?

Thanks,
Mark

"Stefan B Rusynko" <sbr_enjoy@hotmail.com> wrote in message
news:uCDXIRIzEHA.2692@TK2MSFTNGP10.phx.gbl...
> You can not use VBA forms / form buttons in a web page
>
> --
>
> _____________________________________________
> SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
> "Warning - Using the F1 Key will not break anything!" (-;
> To find the best Newsgroup for FrontPage support see:
> http://www.net-sites.com/sitebuilder/newsgroups.asp
> _____________________________________________
>
>
> "mark oliver" <mark_oliverr@adelphia.net> wrote in message
> news:zIKdnRE94p9ZTAfcRVn-3Q@adelphia.com...
> | Hi,
> |
> | i am just starting to try to automate some stuff in frontpage. VBA
> help
> | talks about a CommandButton - frontpage help doesn't know what that is -
> how
> | do i add a CommandButton to a form? VBA help talks about a ComboBox -
> | frontpage help doesn't know what that is - how do i add a ComboBox to a
> | form?
> |
> | Thanks,
> | Mark
> |
> |
>
>