By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,239 Members | 1,493 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,239 IT Pros & Developers. It's quick & easy.

Creating a Sub/Function routine

P: n/a
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
Nov 9 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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 <Taband 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.comwrote in message
news:BF**********************************@microsof t.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

Nov 9 '06 #2

P: n/a
Thanks alot for the info!! Yup, Yup... Those are cool...!
--
Thanks!
Soddy
"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 <Taband 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.comwrote in message
news:BF**********************************@microsof t.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


Nov 9 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.