Ramani Ranjan
February 16th, 2000, 07:02 AM
Hi,
Anybody can give suggession how to deploy the MTS enable component using VB-6.0 .
I've following problem :
1. I've created one component for the Weekly Report Application. In the design time I instantiate the MtXAs object but commented. All the methods returns variant(array) in stead of recordset . If any error occurs(between the method), the error messages I'm sending with the variant array.
2. In the client-side I'm checking whther the array is two-dimesion or not .If the array dimension is not 2 then there will be error. I'll inform to the client.
3. So there is no problem in the debugging time and all the functionality works fine.
4. For the deployemnt I made the component as DLL. Before making DLL I just the remove the comments. Then I create a package in the Management Console and assign the properties required for each component.
5. Then I made the client application(standard exe/vbp) as exe.
6. Then I made the Deployemnt package through the Microsoft Deployment Package Wizard and mention the DLL as dependent component and installed the package in the clients machine.
7. Whenever I start to run the application it is generating the Run-time error -"91" with the message object variable with block variable has not set.
If anybody can give suggession , I'll realy greatful to him.
Regards.
Ramani Ranjan Nayak
Anybody can give suggession how to deploy the MTS enable component using VB-6.0 .
I've following problem :
1. I've created one component for the Weekly Report Application. In the design time I instantiate the MtXAs object but commented. All the methods returns variant(array) in stead of recordset . If any error occurs(between the method), the error messages I'm sending with the variant array.
2. In the client-side I'm checking whther the array is two-dimesion or not .If the array dimension is not 2 then there will be error. I'll inform to the client.
3. So there is no problem in the debugging time and all the functionality works fine.
4. For the deployemnt I made the component as DLL. Before making DLL I just the remove the comments. Then I create a package in the Management Console and assign the properties required for each component.
5. Then I made the client application(standard exe/vbp) as exe.
6. Then I made the Deployemnt package through the Microsoft Deployment Package Wizard and mention the DLL as dependent component and installed the package in the clients machine.
7. Whenever I start to run the application it is generating the Run-time error -"91" with the message object variable with block variable has not set.
If anybody can give suggession , I'll realy greatful to him.
Regards.
Ramani Ranjan Nayak