|
||||||||||||||||||||
Error 91 with GetObjectContext.CreateInstanc
|
Author | Message |
---|---|
![]() I'm creating an instance of a business tier object by using the createInstance method of the getObjectContext object and when I try to instantiate the object I get error 91, "object variable or with variable block not set." However, my code is laid out pretty much like it should be. I have the Here's what my code looks like Dim objCustomer as bo_Customer.boGetCustomer as soon as the de{*filter*} gets to the set statement it crashes. Does anybody have any suggestions? This is the only thing standing between thank you so much, Clifford R. Tillman, Jr. |
|
Sat, 06 Jul 2002 03:00:00 GMT | |
![]() |
|
![]() Several things to check:
If you are using VB6, make sure that you do NOT have the VB5 MTS add-in If using VB6, you can leave the object in MTS. You will notice when you run If you are running the MTS component in in a group with the client app, On your development machine, if you have ever run a MTS remote install "exe" Brian A. Manlove
Quote: > I'm creating an instance of a business tier object by using the > createInstance method of the getObjectContext object and when I try to > instantiate the object I get error 91, "object variable or with variable > block not set." > However, my code is laid out pretty much like it should be. I have the > Here's what my code looks like > Dim objCustomer as bo_Customer.boGetCustomer > as soon as the de{*filter*} gets to the set statement it crashes. > Does anybody have any suggestions? This is the only thing standing > thank you so much, > Clifford R. Tillman, Jr. |
|
Sat, 06 Jul 2002 03:00:00 GMT | |
Page 1 of 1 |
[ 2 post ] |