473,659 Members | 3,605 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1150
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.mi crosoft.com> wrote in
message news:7A******** *************** ***********@mic rosoft.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 newfunctionalit y
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.mi crosoft.com> wrote in
message news:7A******** *************** ***********@mic rosoft.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.mi crosoft.com> wrote in
message news:12******** *************** ***********@mic rosoft.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
newfunctionalit y
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.mi crosoft.com> wrote in
message news:7A******** *************** ***********@mic rosoft.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.mi crosoft.com> wrote in
message news:12******** *************** ***********@mic rosoft.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
newfunctionalit y
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.mi crosoft.com> wrote in
message news:7A******** *************** ***********@mic rosoft.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.mi crosoft.com> wrote in
message news:07******** *************** ***********@mic rosoft.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.mi crosoft.com> wrote in
message news:12******** *************** ***********@mic rosoft.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
> newfunctionalit y
> 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.mi crosoft.com> wrote in
>> message news:7A******** *************** ***********@mic rosoft.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
2918
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 use them. No IIS. Use TCP, binary. Standard server example with a console host and console client. .NET 1.1, windows XP. (I tried posting to the remoting newsgroup, no answers in the last couple days, trying here in hopes that more people watch this...
0
1901
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 Remoting and possible others. Keywords: VSS Remote Access, VSS Web Access, VSS Internet Access,
5
5677
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 http://www.BetterVssRemoting.com Better VSS Remote Access Tool This article makes a detailed comparison among SourceAnyWhere 4.0, SourceOffSite 4.1, VSS Connect 1.5, SourceXT 2.1, VSS Remoting 2.5,
0
3282
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 comparison among SourceAnyWhere, SourceOffSite, VSS Remoting and possible others.
4
3112
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 it a go). What I want to do is this: Have a server instance of the program, this server instance will receive communication from client programs (as demonstrated in the AddMessage()
0
1418
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 Remoting and possible others. Keywords: VSS Remote Access, VSS Web Access, VSS Internet Access,
0
2440
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 light on the following: I have been given a sample winforms app, which works without problem, I can connect, send queries and become response from the other application. When I try to implement this in webforms, this unfortunately does not...
8
1748
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 package) to .NET. Our clients have been asking for lot of new stuff namely being able to send patient information to devices, being able to fix appointments online, etc.
2
3055
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 / Server activated mode on startup. The Remoting Client accesses the Remoting Class through the interface of the Class and subscribes to an event of the Remoting Class that will be fired upon the private member value change.
0
3398
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); I get the following error - doesn't matter if I try it local from my machine or from a remote machine. (After the Errormessage is more text ;))
0
8428
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8851
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8748
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8531
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7359
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6181
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4175
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4335
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1739
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.