Nah udah saya coba, jadi saya punya group terdiri dari 2 project:
- CRMClass (ActiveX dll)
- CRMInterface (Exe)
CRMClass berisi fungsi2 database dan bisnis rulenya, sedang
CRMInterface adalah interface pada sisi klien.
-------------------------------------------------------
Di CRMInterface saya start dari sub Main berisi:
Private myProject As VBIDE.VBProject
Public Sub Main()
myProject.References.AddFromFile IIf(Right(App.Path, 1) = "\",
App.Path, App.Path & "\") & "CRM.dll"
frmMain.Show
End Sub
-------------------------------------------------------
sedang di frmMain dimulai dengan deklarasi class:
Option Explicit
Dim cnn As New CRMClass.Connect
Nah saya ditahan error di baris deklarasi ini, CRMClass tidak dikenali.
Kalau sebelumnya, class ini saya ikutkan dalam referens melalui menu
(design time), nah saya ingin referens tsb saya hapus, biar dari kode
saja nambahnya saat real time aplikasi mulai dijalankan. Tapi saat
saya hapus lalu mulai jalankan program dengan ctrl-f5, error muncul
seperti di atas.
Bagaimana cara yang bener ?
TIA
aksan kurdin
Pada tanggal 9/15/05, Aksan Kurdin <[EMAIL PROTECTED]> menulis:
> Baru mau takon, dimana nyarinya .... :)
>
> Dari tadi ngubek2 msdn ama google, belum nemu dimana gerangan
> ngambilnya vbide ini ....
>
> thx mas purwedi.
>
> aksan kurdin
>
> Pada tanggal 9/15/05, Purwedi Kurniawan <[EMAIL PROTECTED]> menulis:
> > mau ikut nambahin aja,
> > kalau mau pake VBIDE, coba tambahkan reference ke Microsoft Visual Basic 6.0
> > Extensibility dulu di projectnya.
> >
> > rgds
> > [wwn]
> >
> > On 9/16/05, pieter_edison <[EMAIL PROTECTED]> wrote:
> > >
> > > Deklarasikan project :
> > >
> > > Private myProject As VBIDE.VBProject
> > >
> > > kemudian gunakan method add reference tersebut, langsung tentukan
> > > string nama dll-nya.
> > >
> > > myProject.References.AddFromFile strdllname
> > >
> > > Selanjutnya explore mengenai VBIDE.VBProject kalau ingin mengetahui
> > > lebih lanjut.
> > >
> > > Regards,
> > >
> > >
> >
> >
> > Untuk keluar dari millis ini, kirim email kosong ke:
> > [EMAIL PROTECTED]
> >
> >
> >
> >
> > ________________________________
> > YAHOO! GROUPS LINKS
> >
> > Visit your group "Programmer-VB" on the web.
> >
> > To unsubscribe from this group, send an email to:
> > [EMAIL PROTECTED]
> >
> > Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
> > To unsubscribe from this group, send an email to:
> > [EMAIL PROTECTED]
> >
> > Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
> > Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
> > ________________________________
> >
>
------------------------ Yahoo! Groups Sponsor --------------------~-->
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/k7folB/TM
--------------------------------------------------------------------~->
Untuk keluar dari millis ini, kirim email kosong ke:
[EMAIL PROTECTED]
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/Programmer-VB/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/