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

use .net remoting?

I want a Visual Basic 6.0 web or desk top application to communicate with a
Visual Basic.NET web or desktop application. I also want a Visual Basic.NET
web or windows
application to communicate with Visual Basic 6.0 web or desktop applications.

Can you tell me what is the best communication method that should be used
and why?

Should .NET remoting, using COM objects, or should some other method be used?

Would you show me a URL that I can use for a reference?

Thanks!
Nov 19 '05 #1
5 1138
You are asking "what's best" given some rather vague requirements. Help us
help you. Tell us more.

Where are these applications in relation to each other? Is there a firewall
between them? Are all nodes within a private intranet. What operating
systems are involved? What is the nature of the communication? How frequent
is the data to be exchanged? What is the data?

BTW: What's a VB6 Web application?

"Wendy Elizabeth" <We************@discussions.microsoft.com> wrote in
message news:7A**********************************@microsof t.com...
I want a Visual Basic 6.0 web or desk top application to communicate with a
Visual Basic.NET web or desktop application. I also want a Visual
Basic.NET
web or windows
application to communicate with Visual Basic 6.0 web or desktop
applications.

Can you tell me what is the best communication method that should be used
and why?

Should .NET remoting, using COM objects, or should some other method be
used?

Would you show me a URL that I can use for a reference?

Thanks!

Nov 19 '05 #2
Jeremy:

This exchange of information is within a company's intranet. There is no
firewall to worry about.All the servers are either win2000 or win2003
servers. The data is about updating information on a sql server 2000
database. This communication is necessary since the "main part" of the
application is written in Visual Basic 6.0. I just want the newfunctionality
to be written in Visual Basic.net. I do not want new functionality to be
written in Visual Basic 6.0.

Thank you for your information!

"Jeremy S." wrote:
You are asking "what's best" given some rather vague requirements. Help us
help you. Tell us more.

Where are these applications in relation to each other? Is there a firewall
between them? Are all nodes within a private intranet. What operating
systems are involved? What is the nature of the communication? How frequent
is the data to be exchanged? What is the data?

BTW: What's a VB6 Web application?

"Wendy Elizabeth" <We************@discussions.microsoft.com> wrote in
message news:7A**********************************@microsof t.com...
I want a Visual Basic 6.0 web or desk top application to communicate with a
Visual Basic.NET web or desktop application. I also want a Visual
Basic.NET
web or windows
application to communicate with Visual Basic 6.0 web or desktop
applications.

Can you tell me what is the best communication method that should be used
and why?

Should .NET remoting, using COM objects, or should some other method be
used?

Would you show me a URL that I can use for a reference?

Thanks!


Nov 19 '05 #3
Okay - for clarification purposes, is it true that you currently have one
VB6 application, and that it is a Windows Client application? Is it also
true that this one VB6 application talks directly to a SQL Server? If not,
then please clarify exactly what you currently have. Are there any VB6
"middleware" components sitting between the client application and the SQL
Server?

Is it true that you want to add new functionality to your single VB6 desktop
application - AND that you want all new functionality to be in a separate
VB.NET desktop application? If not, what do you want to go to?

What do you mean by the "main part"? Do you have some vb6/COM DLL sitting
on a server somewhere that is acting as the data access layer?

We're just trying to get a better assessment of (1) what you currently
have - all application components; and (2) what you want to be different.
Also, why do you think your VB6 and VB.NET applications might need to
exchange data with each other. It sounds like they both just need to talk
with the SQL Server.

I hope you aren't planning on running two desktop applications - the "old
vb6 application" next to a new VB.NET application with the user needing both
in order to do his/her job.


"Wendy Elizabeth" <We************@discussions.microsoft.com> wrote in
message news:12**********************************@microsof t.com...
Jeremy:

This exchange of information is within a company's intranet. There is no
firewall to worry about.All the servers are either win2000 or win2003
servers. The data is about updating information on a sql server 2000
database. This communication is necessary since the "main part" of the
application is written in Visual Basic 6.0. I just want the
newfunctionality
to be written in Visual Basic.net. I do not want new functionality to be
written in Visual Basic 6.0.

Thank you for your information!

"Jeremy S." wrote:
You are asking "what's best" given some rather vague requirements. Help
us
help you. Tell us more.

Where are these applications in relation to each other? Is there a
firewall
between them? Are all nodes within a private intranet. What operating
systems are involved? What is the nature of the communication? How
frequent
is the data to be exchanged? What is the data?

BTW: What's a VB6 Web application?

"Wendy Elizabeth" <We************@discussions.microsoft.com> wrote in
message news:7A**********************************@microsof t.com...
>I want a Visual Basic 6.0 web or desk top application to communicate
>with a
> Visual Basic.NET web or desktop application. I also want a Visual
> Basic.NET
> web or windows
> application to communicate with Visual Basic 6.0 web or desktop
> applications.
>
> Can you tell me what is the best communication method that should be
> used
> and why?
>
> Should .NET remoting, using COM objects, or should some other method be
> used?
>
> Would you show me a URL that I can use for a reference?
>
> Thanks!


Nov 19 '05 #4
Jeremy:

One application is a vb 6.0 desktop application. I need the new component
to pull data from a Tandem database and load it onto a SQL server database
for the VB 6.0 desktop. Basically I want the old vb 6.0 desktop application
to call a vb.net component to access the Tandem database. The VB.net
component will obtain the data from the Tandem database by using soap and
xml. The VB.net component will also pass data back to the tandem database via
soap and xml so that the Tandem
table can be updated.

I am thinking that if the desktop vb 6.0 application is every rewritten, I
will have at least the portion that connects to the Tandem database written
in VB.NET.

Let me know your option.

Thanks

"Jeremy S." wrote:
Okay - for clarification purposes, is it true that you currently have one
VB6 application, and that it is a Windows Client application? Is it also
true that this one VB6 application talks directly to a SQL Server? If not,
then please clarify exactly what you currently have. Are there any VB6
"middleware" components sitting between the client application and the SQL
Server?

Is it true that you want to add new functionality to your single VB6 desktop
application - AND that you want all new functionality to be in a separate
VB.NET desktop application? If not, what do you want to go to?

What do you mean by the "main part"? Do you have some vb6/COM DLL sitting
on a server somewhere that is acting as the data access layer?

We're just trying to get a better assessment of (1) what you currently
have - all application components; and (2) what you want to be different.
Also, why do you think your VB6 and VB.NET applications might need to
exchange data with each other. It sounds like they both just need to talk
with the SQL Server.

I hope you aren't planning on running two desktop applications - the "old
vb6 application" next to a new VB.NET application with the user needing both
in order to do his/her job.


"Wendy Elizabeth" <We************@discussions.microsoft.com> wrote in
message news:12**********************************@microsof t.com...
Jeremy:

This exchange of information is within a company's intranet. There is no
firewall to worry about.All the servers are either win2000 or win2003
servers. The data is about updating information on a sql server 2000
database. This communication is necessary since the "main part" of the
application is written in Visual Basic 6.0. I just want the
newfunctionality
to be written in Visual Basic.net. I do not want new functionality to be
written in Visual Basic 6.0.

Thank you for your information!

"Jeremy S." wrote:
You are asking "what's best" given some rather vague requirements. Help
us
help you. Tell us more.

Where are these applications in relation to each other? Is there a
firewall
between them? Are all nodes within a private intranet. What operating
systems are involved? What is the nature of the communication? How
frequent
is the data to be exchanged? What is the data?

BTW: What's a VB6 Web application?

"Wendy Elizabeth" <We************@discussions.microsoft.com> wrote in
message news:7A**********************************@microsof t.com...
>I want a Visual Basic 6.0 web or desk top application to communicate
>with a
> Visual Basic.NET web or desktop application. I also want a Visual
> Basic.NET
> web or windows
> application to communicate with Visual Basic 6.0 web or desktop
> applications.
>
> Can you tell me what is the best communication method that should be
> used
> and why?
>
> Should .NET remoting, using COM objects, or should some other method be
> used?
>
> Would you show me a URL that I can use for a reference?
>
> Thanks!


Nov 19 '05 #5
Okay, we have a better idea of what it is you are doing.

While I'll give you some things to think about, we unfortunately still
cannot answer your initial question: ("Can you tell me what is the best
communication method that should be used and why?") because we are missing
so much relevant information about what you are doing.

"Best" is always relative to some context and specific limitations of your
environment. What I can tell you is that you have not provided any reason to
use XML and SOAP in your environment. Is that a requriement of the Tandem
database? I doubt it. So, given the performance hit you'd incur in the
XML/SOAP communications - why would you use SOAP and XML at all? Given your
environment as you described - it's all in one intranet running Windows OS -
so no need to exchange to different platforms. That's what XML/SOAP is
useful for - it solves the "different platforms" problem and possibly
firewall issues as well - but you don't have any of those issues. You might
want to find the Tandem data provider for ADO.NET and/or OLE-DB and/or ODBC
and use that (if one exists, and I'm sure one does). Your performance would
be much better than translating XML/SOAP.

Now - about the VB.NET component that is to "connect to the Tandem
database": Is that all it's doing? If so, then there is no need to create
this component at all. If you are just connecting then just go with your VB6
desktop app's current capabilities - and just point it to whatever database
is necessary (just swapping out connection strings and providers).

From what you have described so far, there is no real justification for:
1. The use of XML/SOAP (you could use some native providers for both Tandem
and SQL Server instead)
2. Remoting (that, too, incurs a performance hit all by itself)
3. The architectural decision to have any new physically isolated/separated
data access layer (which is apparently what the VB.NET component would
function as). You just say it is to transfer data between Tandem and SQL
Server. If that's all it's doing, then perhaps don't create the VB.NET
utility and instead create a DTS package and schedule it if it needs to
transfer data on a regular basis. Also, from the client application side,
you apparently already have an investment in a VB6 desktop app that already
communicates with Tandem; why not just point it to SQL Server and be done in
under an hour? I do strongly advocate having a separate data access layer -
but given your existing investment, you just might want to work with the
existing architecture until you get to do a wholesale rewrite.

Good Luck.


"Wendy Elizabeth" <We************@discussions.microsoft.com> wrote in
message news:07**********************************@microsof t.com...
Jeremy:

One application is a vb 6.0 desktop application. I need the new component
to pull data from a Tandem database and load it onto a SQL server database
for the VB 6.0 desktop. Basically I want the old vb 6.0 desktop
application
to call a vb.net component to access the Tandem database. The VB.net
component will obtain the data from the Tandem database by using soap and
xml. The VB.net component will also pass data back to the tandem database
via
soap and xml so that the Tandem
table can be updated.

I am thinking that if the desktop vb 6.0 application is every rewritten, I
will have at least the portion that connects to the Tandem database
written
in VB.NET.

Let me know your option.

Thanks

"Jeremy S." wrote:
Okay - for clarification purposes, is it true that you currently have one
VB6 application, and that it is a Windows Client application? Is it also
true that this one VB6 application talks directly to a SQL Server? If
not,
then please clarify exactly what you currently have. Are there any VB6
"middleware" components sitting between the client application and the
SQL
Server?

Is it true that you want to add new functionality to your single VB6
desktop
application - AND that you want all new functionality to be in a separate
VB.NET desktop application? If not, what do you want to go to?

What do you mean by the "main part"? Do you have some vb6/COM DLL
sitting
on a server somewhere that is acting as the data access layer?

We're just trying to get a better assessment of (1) what you currently
have - all application components; and (2) what you want to be different.
Also, why do you think your VB6 and VB.NET applications might need to
exchange data with each other. It sounds like they both just need to talk
with the SQL Server.

I hope you aren't planning on running two desktop applications - the "old
vb6 application" next to a new VB.NET application with the user needing
both
in order to do his/her job.


"Wendy Elizabeth" <We************@discussions.microsoft.com> wrote in
message news:12**********************************@microsof t.com...
> Jeremy:
>
> This exchange of information is within a company's intranet. There is
> no
> firewall to worry about.All the servers are either win2000 or win2003
> servers. The data is about updating information on a sql server 2000
> database. This communication is necessary since the "main part" of the
> application is written in Visual Basic 6.0. I just want the
> newfunctionality
> to be written in Visual Basic.net. I do not want new functionality to
> be
> written in Visual Basic 6.0.
>
> Thank you for your information!
>
> "Jeremy S." wrote:
>
>> You are asking "what's best" given some rather vague requirements.
>> Help
>> us
>> help you. Tell us more.
>>
>> Where are these applications in relation to each other? Is there a
>> firewall
>> between them? Are all nodes within a private intranet. What operating
>> systems are involved? What is the nature of the communication? How
>> frequent
>> is the data to be exchanged? What is the data?
>>
>> BTW: What's a VB6 Web application?
>>
>>
>>
>> "Wendy Elizabeth" <We************@discussions.microsoft.com> wrote in
>> message news:7A**********************************@microsof t.com...
>> >I want a Visual Basic 6.0 web or desk top application to communicate
>> >with a
>> > Visual Basic.NET web or desktop application. I also want a Visual
>> > Basic.NET
>> > web or windows
>> > application to communicate with Visual Basic 6.0 web or desktop
>> > applications.
>> >
>> > Can you tell me what is the best communication method that should be
>> > used
>> > and why?
>> >
>> > Should .NET remoting, using COM objects, or should some other method
>> > be
>> > used?
>> >
>> > Would you show me a URL that I can use for a reference?
>> >
>> > Thanks!
>>
>>
>>


Nov 19 '05 #6

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

Similar topics

0
by: Sean Newton | last post by:
I am absolutely bewildered by now by the Microsoft.Samples SSPI and Security assemblies. I've been trying to set these up in a very straightforward harness in the way that I'd like to be able to...
0
by: bettervssremoting | last post by:
To view the full article, please visit http://www.BetterVssRemoting.com Better VSS Remote Access Tool This article makes a detailed comparison among SourceAnyWhere, SourceOffSite, VSS...
5
by: mayamorning123 | last post by:
A comparison among six VSS remote tools including SourceOffSite , SourceAnyWhere, VSS Connect, SourceXT, VSS Remoting, VSS.NET To view the full article, please visit...
0
by: bettervssremoting | last post by:
To view the full article, please visit http://www.BetterVssRemoting.com Better VSS Remote Access Tool including SourceOffSite, SourceAnyWhere and VSS Remoting This article makes a detailed...
4
by: Uchiha Jax | last post by:
Hello everyone, I am a plenty silly person who is trying to learn .NET remoting through trial and error (all articles I read are going over my head at the moment (mostly) so I thought i'd give...
0
by: bettervssremoting | last post by:
To view the full article, please visit http://www.BetterVssRemoting.com Better VSS Remote Access Tool This article makes a detailed comparison among SourceAnyWhere, SourceOffSite, VSS...
0
by: Martijn Damen | last post by:
Hi, At the moment I am trying to develop an application that uses another app over .net remoting and having some problems with it (ok, that is ofcourse why I am here), hope somebody can shine a...
8
by: Raju Joseph | last post by:
Hi All, I am just trying to get an opinion here. I know this is always a tough choice to make. We are in the process of converting our VB6 based Healthcare Information System (a full-fledged...
2
by: erbilkonuk | last post by:
Hi, I am very new to .NET Remoting and I try to run a simple program to subscribe to an event raised by Remoting Class. The Remoting Server initiates an instance of Remoting Class as Singleton /...
0
by: Kristian Reukauff | last post by:
Hi I have a problem with the .Net-Securty-Functions. I've got a client and a server. When I try to register a channel at the server with this line: ChannelServices.RegisterChannel(chan, false);...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.