Home All Groups Group Topic Archive Search About

Creating a Sub/Function routine

Author
9 Nov 2006 5:28 PM
Soddy
Hello!

Say, in VB.NET, is there a 'point & click' feature for creating
subs/functions/etc like in VB 6.0? If not, is there a 3rd party one that can
be used? If so, how do I go about installing it?

--
Thanks!
Soddy

Author
9 Nov 2006 11:01 PM
RobinS
Yes, use Code Snippets.

In the code editor, type in ? and hit <Tab>. This will bring up a list of
snippets you can insert.

Look under Common Code Patterns / Properties and Procedures
for the ones to create functions and subroutines.

If you look at the code snippet in the dropdown, and highlight
the one you want, in the tooltip text it will give you a shortcut word.
You can type the shortcut word in the editor and hit <Tab> and it
will insert the code snippet.

For example, the one to create functions is Function<Tab>.

Code Snippets are the best thing since sliced bread. You
can write your own, too.

This is in VS2005. I don't know if it's in earlier versions.

Robin S.


Show quoteHide quote
"Soddy" <So***@discussions.microsoft.com> wrote in message
news:BFE04774-8374-4466-8196-09786FDBC6A7@microsoft.com...
> Hello!
>
> Say, in VB.NET, is there a 'point & click' feature for creating
> subs/functions/etc like in VB 6.0? If not, is there a 3rd party one that
> can
> be used? If so, how do I go about installing it?
>
> --
> Thanks!
> Soddy
Author
9 Nov 2006 11:42 PM
Soddy
Thanks alot for the info!!  Yup, Yup...  Those are cool...!
--
Thanks!
Soddy


Show quoteHide quote
"RobinS" wrote:

> Yes, use Code Snippets.
>
> In the code editor, type in ? and hit <Tab>. This will bring up a list of
> snippets you can insert.
>
> Look under Common Code Patterns / Properties and Procedures
> for the ones to create functions and subroutines.
>
> If you look at the code snippet in the dropdown, and highlight
> the one you want, in the tooltip text it will give you a shortcut word.
> You can type the shortcut word in the editor and hit <Tab> and it
> will insert the code snippet.
>
> For example, the one to create functions is Function<Tab>.
>
> Code Snippets are the best thing since sliced bread. You
> can write your own, too.
>
> This is in VS2005. I don't know if it's in earlier versions.
>
> Robin S.
>
>
> "Soddy" <So***@discussions.microsoft.com> wrote in message
> news:BFE04774-8374-4466-8196-09786FDBC6A7@microsoft.com...
> > Hello!
> >
> > Say, in VB.NET, is there a 'point & click' feature for creating
> > subs/functions/etc like in VB 6.0? If not, is there a 3rd party one that
> > can
> > be used? If so, how do I go about installing it?
> >
> > --
> > Thanks!
> > Soddy
>
>
>