Hi
We've upgraded to VB.NET from VB6, but are now having some difficulty
in understanding how to communicate data to the DPB website (the dental
practice board). Could anyone help in translating the following
function so that we can use .NET components rather than COM (I
understand we should be using WebRequest):
Public Function SendClaims(ByVal vsXML as String, ByVal vsUserName As
String, ByVal vsPassword as String) as String
Dim objXMLHTTP As MSXML2.ServerXMLHTTP
Set objXMLHTTP = New ServerXMLHTTP
ObjXMLHTTP.open "POST", "https://ebusiness.dpb.nhs.uk/claims.asp",
False, vsUserName, vsPassword
ObjXMLHTTP.send sXML
SendClaims = objXMLHTTP.responseXML.xml
End Function
Your assistance would be very much appreciated as I'm completely out of
my depth on this one.
Thanks 3 2445
leeo wrote: Hi
We've upgraded to VB.NET from VB6, but are now having some difficulty in understanding how to communicate data to the DPB website (the dental practice board). Could anyone help in translating the following function so that we can use .NET components rather than COM (I understand we should be using WebRequest):
Public Function SendClaims(ByVal vsXML as String, ByVal vsUserName As String, ByVal vsPassword as String) as String
Dim objXMLHTTP As MSXML2.ServerXMLHTTP
Set objXMLHTTP = New ServerXMLHTTP
ObjXMLHTTP.open "POST", "https://ebusiness.dpb.nhs.uk/claims.asp", False, vsUserName, vsPassword
ObjXMLHTTP.send sXML
SendClaims = objXMLHTTP.responseXML.xml
End Function
Your assistance would be very much appreciated as I'm completely out of my depth on this one.
Thanks
Have a read of the following: http://msdn2.microsoft.com/en-us/sys...ebrequest.aspx
and http://msdn2.microsoft.com/en-us/sys...ebrequest.aspx
See these.. http://www.netomatix.com/HttpPostData.aspx http://www.netomatix.com/Development/XmlWebRequest.aspx
"leeo" <sp**@leeottaway.plus.com> wrote in message
news:11**********************@j55g2000cwa.googlegr oups.com... Hi
We've upgraded to VB.NET from VB6, but are now having some difficulty in understanding how to communicate data to the DPB website (the dental practice board). Could anyone help in translating the following function so that we can use .NET components rather than COM (I understand we should be using WebRequest):
Public Function SendClaims(ByVal vsXML as String, ByVal vsUserName As String, ByVal vsPassword as String) as String
Dim objXMLHTTP As MSXML2.ServerXMLHTTP
Set objXMLHTTP = New ServerXMLHTTP
ObjXMLHTTP.open "POST", "https://ebusiness.dpb.nhs.uk/claims.asp", False, vsUserName, vsPassword
ObjXMLHTTP.send sXML
SendClaims = objXMLHTTP.responseXML.xml
End Function
Your assistance would be very much appreciated as I'm completely out of my depth on this one.
Thanks
Thus wrote leeo, Hi
We've upgraded to VB.NET from VB6, but are now having some difficulty in understanding how to communicate data to the DPB website (the dental practice board). Could anyone help in translating the following function so that we can use .NET components rather than COM (I understand we should be using WebRequest):
Public Function SendClaims(ByVal vsXML as String, ByVal vsUserName As String, ByVal vsPassword as String) as String
Dim objXMLHTTP As MSXML2.ServerXMLHTTP
Set objXMLHTTP = New ServerXMLHTTP
ObjXMLHTTP.open "POST", "https://ebusiness.dpb.nhs.uk/claims.asp", False, vsUserName, vsPassword
ObjXMLHTTP.send sXML
SendClaims = objXMLHTTP.responseXML.xml
End Function
Your assistance would be very much appreciated as I'm completely out of my depth on this one. http://tinyurl.com/olwyg should get you going :-)
Cheers,
--
Joerg Jooss ne********@joergjooss.de This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Vasu |
last post by:
Hi,
I have a requirement to download a file from the web
site using a client tool.
Iam writing a C# program to download using WebRequest,
HttpRequest, WebResponse and
so on. The problem...
|
by: thomas peter |
last post by:
I am building a precache engine... one that request over 100 pages on an
remote server to cache them remotely...
can i use the HttpWebRequest and WebResponse classes for this? or must i use
the...
|
by: Paul |
last post by:
Hello,
First I want to refer to the problem "WebRequest : execute a button" of
a few days ago.
The way I solved it, I loose my session, and as a consequence my
session variables. I don't want...
|
by: ThyRock |
last post by:
I am working on a WebRequest accessing the US Postal Service WebTools test API.
This service uses a DLL file (ShippingAPITest.dll) with a query string which
includes XML.
The web service accepts...
|
by: TomislaW |
last post by:
I need to include some pictures from other web application (written in
Java), Source of pictures are: <http://www.xy.com/bla/id/imageNumber>. I
don't know how many pictures there are So I need to...
|
by: Mark Waser |
last post by:
Hi all,
I'm trying to post multipart/form-data to a web page but seem to have
run into a wall. I'm familiar with RFC 1867 and have done this before (with
AOLServer and Tcl) but just can't seem...
|
by: Loane Sharp |
last post by:
Hi there
I use the FileStream object to download a zip file over the internet to my
local disk. The file downloads successfully, but when I attempt to unzip it,
I'm told that the file is in use...
|
by: Hexman |
last post by:
Code below ----
I've asked a similar question on this forum earlier. This is a slightly different situation.
Previous Question ----
I'm trying to save some specific web pages to disk as...
|
by: WeCi2i |
last post by:
Okay, I have a problem that has been stumping me for weeks. I have tried many different solutions and this is pretty much my last resort. I have seen a lot of good answers give here so I figured I...
|
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,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
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...
|
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...
|
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
|
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...
|
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...
|
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,...
| |