| From: | frank_lupo <frank_lupo(at)email(dot)it> | 
|---|---|
| To: | dpage <dpage(at)vale-housing(dot)co(dot)uk> | 
| Cc: | pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org> | 
| Subject: | RE: add scroll frmtable | 
| Date: | 2003-03-24 12:42:00 | 
| Message-ID: | HC97A0$2D6B0DF53A46C7B22F7EE2669518EF9D@email.it | 
| Views: | Whole Thread | Raw Message | Download mbox | Resend email | 
| Thread: | |
| Lists: | pgadmin-hackers | 
> 
> 
> > -----Original Message-----
> > From: frank_lupo [mailto:frank_lupo(at)email(dot)it] 
> > Sent: 24 March 2003 09:11
> > To: Dave Page
> > Cc: pgadmin-hackers
> > Subject: Re: [pgadmin-hackers] add scroll frmtable
> > 
> > 
> > > 
> > > 
> > > > -----Original Message-----
> > > > From: frank_lupo [mailto:frank_lupo(at)email(dot)it]
> > > > Sent: 24 March 2003 08:05
> > > > To: Dave Page
> > > > Cc: pgadmin-hackers
> > > > Subject: Re: [pgadmin-hackers] add scroll frmtable
> > > > 
> > > > 
> > > > 
> > > > The problem is when compile VB, Initialize usercontrol which
> > > > is present in frmdummy. When Initialize form the frmmain.svr 
> > > > object is not Initialize.
> > > 
> > > Hi Frank,
> > > 
> > > That still doesn't work. I get error 91 on the first 
> > occurance of the 
> > > ctx object.
> > > 
> > > Regards, Dave.
>
  > > 
0A> > > 
> > 
> > I have compiled without errors.
> > What wants to say the first occurance of the ctx object?
> 
> Hmm, odd. Attached is the error I get. It gets to about 75% of 'Writing
> EXE...' and then gives error 91, and drops to the debugger. As I said,
> this is odd as it happens when I build pgadmin.exe, not when I run the
> code. 
> 
> I think it is because you are referencing objects in the main
> application from the UserControl.Initialize sub, which are not created
> when the IDE builds the exe. Is it possible to move this code so it is
> not called from or below the Initialize sub?
> 
> Regards, Dave.
> 
You have not replaced completely the code that I have passed to you.
In Sub UserControl_Initialize() change the code :
-------
  frmMain.svr.LogEvent "Entering " & App.Title & ":ScrollObjDb.UserControl_Initialize()", etFullDebug
-------
in : 0D
---
-
---
If Not frmMain.svr Is Nothing Then
  frmMain.svr.LogEvent "Entering " & App.Title & ":ScrollObjDb.UserControl_Initialize()", etFullDebug
End If
-------
This code verify if svr object is setting. This problem is present why the 
UserControl is present in frmdummy.
Bye !!
Frank Lupo (Wolf) !!
    /\_ _/\
    \ o o /
--ooo-----ooo---
--
Prendi GRATIS l'email universale che... risparmia: http://www.email.it/f
Sponsor:
Stai cercando una casella di posta professionale senza pubblicità e senza scadenza? Quello che fa per te è Email.it Pro15 o Pro50, ordinala subito, è proprio forte!
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=1045&d=24-3
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Dave Page | 2003-03-24 12:56:25 | Re: add scroll frmtable | 
| Previous Message | frank_lupo | 2003-03-24 09:11:14 | Re: add scroll frmtable |