473,468 Members | 1,472 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Working with Inet Control in Vb

1 New Member
Hai!
I am working with INET Control in Vb(Internet transfer Control)

Actual Domain
Recieving Data from Weighing Scale
I connected Weighing Scale to PC using Cross network cable using network port by specifying IpAddress in Scale
When I am Pinging scale through using "Ping scale IP"
Reply is coming from scale properly
where as scale is using FTP Protocol
the followwing Coding used to get a file called "RCB001" from scale to PC

With Inet1
If .StillExecuting = True Then
.Cancel
End If
.URL = "FTP://" & pIPAddress
.RequestTimeout = 6
.UserName = "anonymous"
.Execute "FTP://" & pIPAddress, "GET RCB001 " & lPath
End With

the problem is the above coding working in windows 98 system perfectly
but when I am working in XP coding not working (sence file Not dowloading)
as such there is no error also

pls give me a good suggestion
May 23 '07 #1
1 3304
Dököll
2,364 Recognized Expert Top Contributor
Hai!
I am working with INET Control in Vb(Internet transfer Control)

Actual Domain
Recieving Data from Weighing Scale
I connected Weighing Scale to PC using Cross network cable using network port by specifying IpAddress in Scale
When I am Pinging scale through using "Ping scale IP"
Reply is coming from scale properly
where as scale is using FTP Protocol
the followwing Coding used to get a file called "RCB001" from scale to PC

With Inet1
If .StillExecuting = True Then
.Cancel
End If
.URL = "FTP://" & pIPAddress
.RequestTimeout = 6
.UserName = "anonymous"
.Execute "FTP://" & pIPAddress, "GET RCB001 " & lPath
End With

the problem is the above coding working in windows 98 system perfectly
but when I am working in XP coding not working (sence file Not dowloading)
as such there is no error also

pls give me a good suggestion
Take a look here:

http://www.codeproject.com/useritems...select=1281754
Jun 2 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Laphan | last post by:
Hi All Just wanted to know if anybody knows the answer to the following quick queries: 1) The reason I'm using VB's INET control is to download copies of Ms Access DBs on a range of web sites...
0
by: dartszeeland.tk | last post by:
Hi, i want to upload a file from my computer to a ftp..... this is the code: Inet.RemoteHost = "localhost" '(not ftp:// in front of it) Inet.RemotePort = "21" Inet.UserName = "user"...
0
by: AstrA | last post by:
Hi All Using the INET control to extract data from web sites and was told that the user agent should really be spoofed to make it look like a browser, as search engines sometimes black list...
4
by: Steen Gellett | last post by:
Hallo.....I have programmed with winsock for a while, but now I have set my eyes on Inet, but I'm totally blank........a few questions ?? Inet1.Protocol = icFTP......................I can see...
0
by: jtmerch | last post by:
what's the best option for using the Inet control in VB.net? Is there a control that's built for the .net framework that's similar to or better than the old Inet control? I'm opening a URL and...
0
by: Rick | last post by:
Hi, I haven't been able to find a solution anywhere yet. I have a Vb6 application that has to be rewritten as a vb.net app and in the old application the inet control was set as: ...
3
by: Rick | last post by:
Hi, I haven't been able to find a solution anywhere yet. I have a Vb6 application that has to be rewritten as a vb.net app and in the old application the inet control was set as: ...
0
by: QT | last post by:
Dear sirs, I am using inet control to vrowse web in my program. My line is very slow. I want to make my inet control to wait more than Internet Explorer defaul time. Error page is coming very...
0
by: leoce7 | last post by:
I'm trying to write a macro in excel 2003 to use the "Microsoft Internet Control' reference library to access data from a web page. The problem is that it won't let me dimensionalize Inet controls...
1
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...
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,...
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...
1
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
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,...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.