VB4 help wanted : Data Controls don't work 
Author Message
 VB4 help wanted : Data Controls don't work

I have a problem with VB4 :

After I do the setup, everything works fine, except for Add-In manager
complaining about some things not registered right (?).

But the Data Manager, and the data controls work fine. When I exit Windoze,
restart it and VB, running the Data Manager gioves the following error :
Run-time error '429'
OLE Automation server can't create object

And when I create a Data object and try to edit the RecordSource property I get
:
Object server not correctly registered.

Does anyone have any ideas or come across the same problem ?

Tim
          ______________________________________________________
         | Tim Wuyts                                            |
_________| Technical {*filter*} Systems bvba       ____             |_________
\        | +32 3 354 25 25                   _(____)_           |        /

  \      |---------------------------'                          |      /
   \     | "On UNIX systems there are two security classes:     |     /
   /     |  God and peon.  If you're God, you can do absolutely |     \
  /      |  anything.  If you're a peon, you can become God."   |      \
 /       |______________________________________________________|       \
/____________)                                               (___________\



Sun, 05 Oct 1997 03:00:00 GMT  
 VB4 help wanted : Data Controls don't work

Quote:

>I have a problem with VB4 :

>After I do the setup, everything works fine, except for Add-In manager
>complaining about some things not registered right (?).

>But the Data Manager, and the data controls work fine. When I exit Windoze,
>restart it and VB, running the Data Manager gioves the following error :
>Run-time error '429'
>OLE Automation server can't create object

>And when I create a Data object and try to edit the RecordSource property I get
>:
>Object server not correctly registered.

Never heard or seen that problem.  But I am curious, what do you mean
you are trying to set the RecordSource property of a Data Object?  To
my knowledge, Data Objects don't have a RecordSource property.  You should
set the RecordSource of a Data Object like so:

Dim SShot As Snapshot

Set SShot = MyDBase.CreateSnapshot("SELECT * FROM MyTable")

  -or_

Dim QDef As QueryDef
Dim SShot As Snapshot

Set QDef = MyDBase.OpenQueryDef("GetMyTable")
Set SShot = QDef.CreateSnapshot()

J. Kyle Rickett
 ___________________________________________________
*******    ********       ******
**   ***   *********     ********
**   ****  ***   ****   **********
**   ***   ***   ****   *******  **
*******    ***   ****   ******
*** ***    ***   ****   *******
*** ***    ***   ****    *******
***  ***   ***   ***      *******
***  ***   ********        *******
***   ***  *******      **   ******
***   ***  ******        *********
       International Corporation
      Microsoft Solution Provider
        Sybase Solutions Partner



Mon, 06 Oct 1997 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. VB4 help wanted : Data Controls don't work

2. VB4.0 Problem: DB controls don't work from .EXE

3. Help: VB4.0 made 32bit applications don't work

4. ADO Data Controls don't work

5. Help: BorderStyle property don't work for subclassed Edit control

6. Sample Apps don't work in 32-Bit VB4

7. BUG: VB4(16 bit) - Int and Fix functions don't work correctly

8. Problem : my printer (HP660C) don't work with VB4

9. VB4 programs don't work in NT3.50

10. MovePrevious don't work but the MoveNext work's fine

11. I've programmed a game that don't work Help

12. Web Forms Control don't work??

 

 
Powered by phpBB® Forum Software