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

communicating to vb.net dll

I am new to using .net. I am told that I need to setup a config file that
will be accessed by a VB.net dll. This vb.net dll will be setup to run every
5 to 10 minutes by a timer that is coded into the vb.net application.
A user will submit a request to obtain data from a HP mainframe.

This web config file needs to be able to do the following:

1. The user will submit the request to a sql server 2000 database (that
resides on a different that where the vb.net application will be running).
2.. The vb.net code will that submit the request for data to the hp
mainframe by using http and xml.

Thus my questions are:

1. How do you setup a connection and retrieve data from the sql server 2000
database that resides with the company's intranet? This will somehow need to
include a connection object and statements oh how to connect to the SQL
server 2000 database. The user name and password are suppose to be passed to
the sql server as part of the connection string.
2. How would I request to the HP mainframe using soap, http, and xml to wrap
up the request?

Thanks!
Nov 19 '05 #1
2 1248
This is a tough one for me, Wendy.

Your introduction seems to indicate that you know almost nothing about the
..Net platform. The problem with this is that the .Net platform is HUGE, with
probably the largest class library in the world. ASP.Net is very little like
ASP. With ASP, you have a very limited scripting language that is
procedural, and you can get a fairly simple app up and running in minutes.
With the .Net platform, you have an OOP paradigm, fully-compiled powerful
programming technology to work with, and a class library of possibly tens of
thousands of classes to work with.

Now, your first remarks concerning the web.config file are telling in that,
the web.config file is a text file that is used to store static data. Yet,
you say that you want it to DO something. Data doesn't do anything. Process
does things.

From there, you ask how to set up a database connection, which is one of the
most basic types of things you can do in a .Net app, followed by a request
for information about how to use XML and SOAP to communicate with a
mainframe.

In other words, apparently you know almost nothing about how to proceed with
your solution. And you know very little about .Net. This is hardly a tenable
position to be in when writing such an application.

My difficulty is in telling you what you need to hear, but may not want to.
You're not ready to write this app. However, I don't know how you got
yourself into this mess, or what you may or may not be able to do to get
yourself out of it. But if you have any friends with .Net experience, you're
going to need a lot of hand-holding, at least in the beginning.

The problem is, you seem to need someone to tell you what to do about nearly
every aspect of your problem. And that is not something that can be done via
newsgroups.

You have my sympathy.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
What You Seek Is What You Get.
"Wendy Elizabeth" <We************@discussions.microsoft.com> wrote in
message news:CB**********************************@microsof t.com...
I am new to using .net. I am told that I need to setup a config file that
will be accessed by a VB.net dll. This vb.net dll will be setup to run
every
5 to 10 minutes by a timer that is coded into the vb.net application.
A user will submit a request to obtain data from a HP mainframe.

This web config file needs to be able to do the following:

1. The user will submit the request to a sql server 2000 database (that
resides on a different that where the vb.net application will be running).
2.. The vb.net code will that submit the request for data to the hp
mainframe by using http and xml.

Thus my questions are:

1. How do you setup a connection and retrieve data from the sql server
2000
database that resides with the company's intranet? This will somehow need
to
include a connection object and statements oh how to connect to the SQL
server 2000 database. The user name and password are suppose to be passed
to
the sql server as part of the connection string.
2. How would I request to the HP mainframe using soap, http, and xml to
wrap
up the request?

Thanks!

Nov 19 '05 #2
=?Utf-8?B?V2VuZHkgRWxpemFiZXRo?=
<We************@discussions.microsoft.com> wrote in
news:CB**********************************@microsof t.com:
This web config file needs to be able to do the following:

1. The user will submit the request to a sql server 2000 database
(that resides on a different that where the vb.net application will be
running). 2.. The vb.net code will that submit the request for data to
the hp mainframe by using http and xml.
A web config doen't do anything - it just stores data. And to complicate
matters, the web.config is readonly

Thus my questions are:

1. How do you setup a connection and retrieve data from the sql server
2000 database that resides with the company's intranet? This will
somehow need to include a connection object and statements oh how to
connect to the SQL server 2000 database. The user name and password
are suppose to be passed to the sql server as part of the connection
string.
Pass the connection string info from the ASP.NET. In the contructor of
the DLL allow a connection string to be specified? That may work.
2. How would I request to the HP mainframe using soap, http,
and xml to wrap up the request?


Use the HTTPRequest, SOAP, or XML classes in .NET to do this ; )
--
Lucas Tam (RE********@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/
Nov 19 '05 #3

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

Similar topics

1
by: Martin | last post by:
This is probably a very easy one but I just can't put my finger on the communicating events name:- I have a MDIform with a couple of child forms. The child forms scroll vertically at run time...
2
by: Eric Brunel | last post by:
Hi all, We're trying to communicate with Microsoft Visual C++ 6.0 via COM to make it perform a few operations. Our main need is to set a breakpoint on a given line in a given file. We ended up...
3
by: Michael Sparks | last post by:
Hi, I'm posting a link to this since I hope it's of interest to people here :) I've written up the talk I gave at ACCU Python UK on the Kamaelia Framework, and it's been published as a BBC...
1
by: valere | last post by:
I look for information for communicating between JavaScript and a native plugin. I noticed that LiveConnect is oriented to communicate as a "bridge" between Java and JS. But how to process with a...
3
by: Stan | last post by:
Hallo, I have developed an application in MS Access 2000 (Polish version) under MS Windows XP prof (also Polish). Now I would like to run this code on MS Windows XP EN and MS Access XP EN. I have...
0
by: Filips Benoit | last post by:
A particular form - always the same - sometimes becomes corrupt after saving. Error msg = The expression On Open you entered as the event property settings produced the following error: A...
0
by: DD | last post by:
I am trying to place a Word document into a form. I get the following error A problem occured while Microsoft Access was Communicating with the OLE or Activex Control the name of the ole is...
2
by: Matthew Playne | last post by:
Hi, I am having a problem communicating between to classes. I have an MDI application. The parent window contains a mainMenu and a toolbar and toolbuttons, and the child form contains a...
10
by: Gabe Moothart | last post by:
Hi, I have 3 applications (2 services and a winforms app) that need to be able to send/recieve messages from each other. What is the best way to do this in .NET? I looked briefly at remoting, but...
0
by: W Akthar | last post by:
Hi, Are there any websites with examples of communicating with Microsoft Outlook and Exchange via asp.net?? Cheers
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: 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: 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
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
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
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,...

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.