ZeroEffect Posted November 10, 2009 Posted November 10, 2009 Or am I doing something that can't be done. I have a module with some structures and functions. In my main application i create the class by using Dim a as new b I have access to the structure but the functions do not show up. I can get by but it would be nice if these showed up. Where should I start? Quote If you can't find it, Build It. There is no place Like 127.0.0.1 also don't forget 1 + 1 = 10
Administrators PlausiblyDamp Posted November 11, 2009 Administrators Posted November 11, 2009 Are the functions declared public? Other than that could you post an example of how they are declared? Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
ZeroEffect Posted November 16, 2009 Author Posted November 16, 2009 They are public subs. Here is an example of a function I am using to clear data from a structure. Public Sub ClearGenExtra(ByVal gen As GENInfo) gen.gen.extra.Cut = "" gen.gen.extra.Group = "" gen.gen.extra.Length = "" gen.gen.extra.Custom1 = "" gen.gen.extra.Custom2 = "" End Sub Unless I am missing something, I believe I am ;O), they should be showing up. Thanks ZeroEffect Quote If you can't find it, Build It. There is no place Like 127.0.0.1 also don't forget 1 + 1 = 10
Administrators PlausiblyDamp Posted November 16, 2009 Administrators Posted November 16, 2009 If you type the function name though does it still work or is the compiler failing to find them as well? What version of visual studio are you running? Out of interest have you considered just making the functionality part of the structure, that way it behaves more Object Orientated and saves you needing to worry about the functions not appearing in the intellisense. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
ZeroEffect Posted November 17, 2009 Author Posted November 17, 2009 The function names still work and there are no compile errors but shouldn't they show up. I am using VS2008. Ok how would I add then as part of a structure? Thansk ZeroEffect Quote If you can't find it, Build It. There is no place Like 127.0.0.1 also don't forget 1 + 1 = 10
Administrators PlausiblyDamp Posted November 17, 2009 Administrators Posted November 17, 2009 http://www.xtremedotnettalk.com/showthread.php?t=87847 should give you the basic ideas. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.