473,320 Members | 1,961 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,320 software developers and data experts.

Collection passing between c# and VB 6


Hi all,

I need some advice here regarding passing of collections between visual
basic 6. I've got an application in vb and another in c#.

I need to transfer the information created in the visual basic to update
the application in c# constantly, so that both are synchronized all the
time.

I've searched through the internet, and it seems there're some
bugs/problem in this integration. Do you have any advice of how to do
this without much error ?
Thanks a lot before .

Regards,
Ariani Hadi

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 15 '05 #1
3 1303
Hi,

Check this
http://www.dotnet247.com/247referenc...20/104120.aspx

Regards,
R.Balaji

"Ariani Hadi" <tj********@hotmail.com> wrote in message
news:Op**************@TK2MSFTNGP10.phx.gbl...

Hi all,

I need some advice here regarding passing of collections between visual
basic 6. I've got an application in vb and another in c#.

I need to transfer the information created in the visual basic to update
the application in c# constantly, so that both are synchronized all the
time.

I've searched through the internet, and it seems there're some
bugs/problem in this integration. Do you have any advice of how to do
this without much error ?
Thanks a lot before .

Regards,
Ariani Hadi

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 15 '05 #2
Hi,

Thanks for the link. It helps me to have a better idea of the VB6 and
.Net. But I still have some questions regarding the c# and the VB6.
Where do we need to create the collection interface, is it in VB6 or C#?
And will the c# be able to access all the information in the collection
that's passed from VB6 ?

Thanks for your help

Ariani Hadi

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 15 '05 #3
Create the interface in C#.

Yes. C# be able to access all the information in the collection
that's passed from VB6

Regards,
R.Balaji

"Ariani Hadi" <tj********@hotmail.com> wrote in message
news:ew**************@TK2MSFTNGP10.phx.gbl...
Hi,

Thanks for the link. It helps me to have a better idea of the VB6 and
Net. But I still have some questions regarding the c# and the VB6.
Where do we need to create the collection interface, is it in VB6 or C#?
And will the c# be able to access all the information in the collection
that's passed from VB6 ?

Thanks for your help

Ariani Hadi

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 15 '05 #4

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

Similar topics

3
by: PauloFor | last post by:
Hi have : struct A { public int val; } class OtherClass { private lis = new ArrayList();
9
by: Jeff Mason | last post by:
I'm trying to define a collection which inherits from DictionaryBase. This collection requires a composite key (comprised of two string values) and the value associated with the key is an integer....
2
by: Ian Gore | last post by:
Hi, I'm relatively new to VB.NET so I'd be grateful if someone could point out what I don't understand here... 1) Creating a strongly typed collection by inheriting CollectionBase. This is...
4
by: Andrew | last post by:
I need to have a series of collection classes that inherit (I think) from each other. What is the best way to do this in .NET? In VB6 I had a series of collection classes each passing a reference...
2
by: Jacques Wentworth | last post by:
Hi I'm trying to pass a collection from a .NET DLL to a VB6 app. I get a error 13 (type mismatch) when I do so. I passed back a boolean variable without any problems, but when I try the...
14
by: Rich | last post by:
Yes, I need to store some values in an array type collection object that can hold 3 or more parameters per index. I have looked at the collection object, hashtable object and would prefer not to...
6
by: Arthur Dent | last post by:
How do you sort a generic collection derived from System.Collections.ObjectModel.Collection? Thanks in advance, - Arthur Dent
28
by: Michael Primeaux | last post by:
What is the recommended pattern for implementing a synchronized (thread-safe) class that inherits from Collection<T>? For example, I want to implement a SyncRoot property . I do see where I can...
2
by: Torsten Z | last post by:
Hi, I have tried several things to passing an array of objects or a Object Collection from .NET to VB6 but I can't get it work. Passing one object works fine, but more than one not. Has anybody...
3
by: jacob navia | last post by:
Abstract: Continuing the discussion about abstract data types, in this discussion group, a string collection data type is presented, patterned after the collection in C# and similar languages...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.