Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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?

If you can't find it, Build It.

 

There is no place Like 127.0.0.1 also don't forget 1 + 1 = 10

Posted

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

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
Posted

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.

Posting Guidelines FAQ Post Formatting

 

Intellectuals solve problems; geniuses prevent them.

-- Albert Einstein

Posted

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

If you can't find it, Build It.

 

There is no place Like 127.0.0.1 also don't forget 1 + 1 = 10

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...