473,399 Members | 3,302 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

Calling an ActiveX objct (written by vb6) from VB.NET



I am trying to Call an ActiveX objct (written by vb6) from VB.NET which uses
an arry of string but I get an unspecified error

Unspecified error (-2147467259)
.. Interesting point is that that AxtiveX is working fine in my VB programme
,is there a difference between arry of string in vb 6 and vb.net??

thnaks for your help
Nov 21 '05 #1
1 982
"ALI-R" <al*@microsoft.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...


I am trying to Call an ActiveX objct (written by vb6) from VB.NET which
uses
an arry of string but I get an unspecified error

Unspecified error (-2147467259)
. Interesting point is that that AxtiveX is working fine in my VB
programme
,is there a difference between arry of string in vb 6 and vb.net??

thnaks for your help

The array in VB.Net and VB6 are different creatures. We got around the
problem by converting the VB array into a delimited string using the Join
function and changing the export type to string rather than string array.
You can reassemble into a VB.Net array at the VB.Net end.
Nov 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Egghead | last post by:
Hi all, I am trying to put a Vb6.0 activeX control into a VB.net project. The Vb6.0 activeX control works fine in a VB6.0 app. But the problem comes when I close down the Vb.net app. I get...
8
by: Bill Ehrreich | last post by:
I'm faced with a situation where I will need to calculate a column for a resultset by calling a component written as a VB6 DLL, passing parameters from the resultset to the component and setting...
0
by: Craig | last post by:
I am having problems getting an ActiveX DLL written in VB6 to call a method in a C# class library component. My C# DLL is called CSharpProject.dll and contains a public class called CSharpClass....
5
by: David | last post by:
Hi everyone, I have a ActiveX EXE component written in VB6. This ActiveX EXE exposes various public methods that can be called by several other independent Windows EXE applications (also written...
0
by: Ike | last post by:
I have an Activex Control created in VB6, which, displays no problem on any machine I have, but, on some machines of others, it does not. All machines are running either XP or Windows 2000, and all...
1
by: Rocio | last post by:
I have a windows app. written in VB6, now we need to expose some of its classes through a web service. I am only able to expose the classes using late binding becasue that's the way the original...
4
by: Michael | last post by:
Hi I know it sounds grazy to create an ActiveX Usercontrol with VB.NET, where a native tool for this already exists, VB6. The existing ActiveX Control Containers should be able to load...
1
by: Lucy Ludmiller | last post by:
Sorry about the cross posts, not sure which group is the most relevant, since I am using C++, MFC/COM and VB6 I have written an MFC ActiveX control in C++. I want to use the control in VB6. The...
7
by: Rico | last post by:
Hello, I have a VB6 ActiveX DLL project that I use to connect to an SQL Server database. The front end that uses this DLL is written in Access XP / 2002. When I modify the ActiveX code, compile...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.