Jump to content
Sign in to follow this  
Nazirul

Calling Function From Another File

Recommended Posts

Salam...

nak call function kat class lain n file lain..

contoh

CODE
Private sub OnClickSubmit(ByVal e As ... )

Add_Activity() <!---- it is on another file called Activity.ascx.vb

Get_Activity()

End Sub


sape penah try... mcm mana nak buat yee..

aku dah try guna :

CODE
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="../Controller/Mainpage.aspx.vb" Inherits="Mainpage" %>


tapi support 1 file je... aku kalau bole biar support beribu file.. hee biggrin.gif

thanks..

Share this post


Link to post
Share on other sites
apa motif nak panggil function dari file lain? kalau buat function lain as dll xleh ke?

kalau dalam vb6 boleh buat join project kalau xsilap, kat vb.net rasanya bleh gak kot.. try ahh google.. wink.gif

Share this post


Link to post
Share on other sites

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.

Loading...
Sign in to follow this  

×
×
  • Create New...