Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Where to put Sub functions?
Message
From
23/10/2003 17:39:20
 
 
To
23/10/2003 17:37:15
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00841315
Message ID:
00841864
Views:
29
>>Thanks<

No problem.

~~Bonnie

>>Are you trying to make your function static or whatever it's called in VB ... and if so, you haven't done that, so you need to instantiate your class first. Plus, you've mad the AddSpeaker() method private, so there's no way you're gonna be able to access it. It needs to be public.
>
>I changed it to Public, add this at the top:
>
>
>      Dim loSpeaker As MFUG._Function
>
>
>and change the line to:
>
>
>            ' Speaker 1
>            lcHtml = lcHtml + loSpeaker.AddSpeaker(lnSpeaker1, _
>             loData.Tables("Temp").Rows(lnCompteur)("SpeakerPicture1"), _
>             loData.Tables("Temp").Rows(lnCompteur)("Speaker1"), _
>             loData.Tables("Temp").Rows(lnCompteur)("SpeakerBio1"))
>
>
>and that works great.
>
>Thanks
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform