I use this Code To Send SMS Via NowSMS its work in VB6 but in VS2005
doesn't . -
Public Declare Function InternetOpen Lib "wininet.dll" Alias "InternetOpenA" (ByVal sAgent As String, ByVal lAccessType As Long, ByVal sProxyName As String, ByVal sProxyBypass As String, ByVal lFlags As Long) As Long
-
Public Declare Function InternetOpenUrl Lib "wininet.dll" Alias "InternetOpenUrlA" (ByVal hInternetSession As Long, ByVal sURL As String, ByVal sHeaders As String, ByVal lHeadersLength As Long, ByVal lFlags As Long, ByVal lContext As Long) As Long
-
Public Declare Function InternetCloseHandle Lib "wininet.dll" (ByVal hInet As Long) As Integer
-
-
Public Const IF_NO_CACHE_WRITE = &H4000000
-
-
Dim hInternet As Long, hSession As Long, iResult As Long
-
Dim urlStr as String
-
-
urlStr = "http://127.0.0.1:8800/?PhoneNumber=%2B218925001234&&Text=Test&&Sender=5353"
-
-
hSession = InternetOpen("vb wininet", 1, vbNullString, vbNullString, 0)
-
-
If hSession Then
-
-
hInternet = InternetOpenUrl(hSession, UrlStr, vbNullString, 0, IF_NO_CACHE_WRITE, 0)
-
-
iResult = InternetCloseHandle(hInternet)
-
-
End If
-
2 2424
Looks like you need a converter, 2003 has a built in vb6 converter but unsure about 2005. HTH.
i don't think so because wininet.dll is a windows library handles internet ,itsn't a vb6 component
Sign in to post your reply or Sign up for a free account.
Similar topics
by: Leon |
last post by:
as title.....how to do it ?..... >_<
use remote call....? can don't use remote (possible)??on the same host use a
single process ?? modify ip header ???
|
by: Prabhat Nath |
last post by:
Hi All,
Is that possible that I can send request to IIS Server after a .ASP page is
displayed?
My Requirement is:
Clinet will Fill the Details in one Request Form after the details are...
|
by: Andy Purcell |
last post by:
Hello,
I am trying to use Send.Send() or Send.SendWait() to simulate an audio mute
key being pressed. What string argument should I use for this purpose?
Thanks,
andy
|
by: nic |
last post by:
Hi,
I have a page where I need to send a request to another
website, get the response and display it on the page.
Does anyone know of any examples on how to do this?
Thanks
|
by: Kevin Burton |
last post by:
I have an HttpModule that during the learning process I have wired up all
events that are possible to handle just to see what is available and when
things occur. There are two events that I don't...
|
by: Kevin |
last post by:
I need to send a request to a jsp with data added to the http request header.
I am using Webclient to send the request and I am putting the returned string
(html) into a label on my aspx page but...
|
by: mich dobelman |
last post by:
I am using the snoopy.class.php to send some http request.
Does anyone know if it allows to send request with specific encoding?
What i want to do is sending japanese as a parameter. But always...
|
by: panku007 |
last post by:
Hi all,
I have one jsp page in that page three frames are created and one of
three frame, one jsp page is displaying and from that page i want to send request to servlet from one frame...
|
by: mvenkatesan |
last post by:
hi
I sent soap xml to web server for reqeust
but webserver doesnot send request
what is the problem?
I written some tag soap envelop, encoding and request tag
where is put webserver address?...
|
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:
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: 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...
|
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,...
| |