Problem with Window Resizing code from Dev's site 
Author Message
 Problem with Window Resizing code from Dev's site

I'm using Nicole Calinoiu's WindowResize code called clFormWindows.Bas found
at http://www.*-*-*.com/

I get a 'User Defined-Type Not Defined' error when I try compiling it.  The
problem seems to be in the 'Public Property Get Parent() As clFormWindow'
routine.

Can anyone help me because this code is beyond my comprehension but I could
do with it's capabilities !

TIA.



Fri, 16 Jul 2004 01:18:58 GMT  
 Problem with Window Resizing code from Dev's site

Quote:

> I'm using Nicole Calinoiu's WindowResize code called clFormWindows.Bas found
> at http://www.mvps.org/access/forms/frm0042.htm.

> I get a 'User Defined-Type Not Defined' error when I try compiling it.  The
> problem seems to be in the 'Public Property Get Parent() As clFormWindow'
> routine.

The code from clFormWindow.bas must be copied to a Class Module, not a normal code
module.

See the "Insert Module" icon that has a drop-down arrow next to it. Hit the arrow
and select "Class Module" and copy in the text.

Then, before you compile, save the class module as clFormWindow. Then compile the
module.

--
'-------------------------------
' John Mishefske
'-------------------------------



Fri, 16 Jul 2004 01:33:58 GMT  
 Problem with Window Resizing code from Dev's site
Many thanks - it worked !!  I had put the code in a class module but I
hadn't thought that calling the module by a different name would upset it.
I've learnt something else then !!

Cheers


Quote:

> > I'm using Nicole Calinoiu's WindowResize code called clFormWindows.Bas
found
> > at http://www.mvps.org/access/forms/frm0042.htm.

> > I get a 'User Defined-Type Not Defined' error when I try compiling it.
The
> > problem seems to be in the 'Public Property Get Parent() As
clFormWindow'
> > routine.

> The code from clFormWindow.bas must be copied to a Class Module, not a
normal code
> module.

> See the "Insert Module" icon that has a drop-down arrow next to it. Hit
the arrow
> and select "Class Module" and copy in the text.

> Then, before you compile, save the class module as clFormWindow. Then
compile the
> module.

> --
> '-------------------------------
> ' John Mishefske
> '-------------------------------



Fri, 16 Jul 2004 02:02:16 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Code doesn't work (from Dev's site)

2. Ken Getz's GetOpenFile as Posted on Dev's site

3. IS DEV's SITE DOWN?

4. Rasing an event ...again, now with Dev's code

5. VB6/IIS/WIndows 2000 App Dev Problem

6. Good dev advice web sites

7. Dev Ashish's API, SysTray icon doesn't dissappear as needed

8. Resizing a window with code...

9. Shortcut keys won't work in VB Dev't Environment

10. Moving/Resizing a Shelled Window: Code Provided.

11. RESIZING Code Except it don't do ttabs

 

 
Powered by phpBB® Forum Software