Wrox Programmer Forums
|
VS.NET 2002/2003 Discussions about the Visual Studio.NET programming environment, the 2002 (1.0) and 2003 (1.1). ** Please don't post code questions here ** For issues specific to a particular language in .NET, please see the other forum categories.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VS.NET 2002/2003 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 23rd, 2005, 01:36 PM
Friend of Wrox
 
Join Date: Oct 2004
Posts: 224
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to ashu_from_india Send a message via Yahoo to ashu_from_india
Default Inline functions in VB.NET

hi all

how can i create Inline Functions in VB.NET (windows apps) ?


 
Old February 24th, 2005, 08:42 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default

You mean a function in the same class as a windows form that you are creating, or something like that? If in the same class, just call it by name. If in a different class and not defined as shared, instantiate object and call the method. If defined as shared, you only have to call it by classname.methodname().

Brian
 
Old February 24th, 2005, 09:54 AM
Friend of Wrox
 
Join Date: Jul 2004
Posts: 623
Thanks: 0
Thanked 1 Time in 1 Post
Default

we don't have Inline Functions in .NET ...oh compiler knows more than us...check out this http://weblogs.asp.net/ericgu/archiv.../29/64644.aspx

_____________
Mehdi.
software student.





Similar Threads
Thread Thread Starter Forum Replies Last Post
How do you use Functions in VB? loli Beginning VB 6 2 March 4th, 2008 05:12 PM
acessing DLL functions in VB Scripting seeekvb VBScript 5 January 15th, 2007 06:58 PM
Discussion: Code-Behind vs. Inline in ASP.Net planoie ASP.NET 1.x and 2.0 Application Design 3 September 20th, 2004 02:25 PM
AS Clause on Functions VB.Net Duncan VS.NET 2002/2003 1 May 1st, 2004 08:38 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.