473,785 Members | 2,807 Online
Bytes | Software Development & Data Engineering Community
+ 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 3346
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
6081
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 so that I have a backup. Found out from my ISP that if my DBs go up the spout then it's down to me to restore - gulp!!! I've created a little FTP gizmo where I could download web pages OK, but not
0
4964
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" Inet.Password = "password"
0
2876
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 submitters who don't use browsers to submit. My queries are: 1) What header does the INET send to a web server?
4
8376
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 what this is Inet1.RemotePort = Text4.Text......... Whats the use ?? Inet1.URL = Text1.Text....................Can this be an IP adresse Inet1.UserName = Text2.Text........... I guess thats to connect to FTP Inet1.Password = Text3.Text............ I...
0
3208
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 port and passing data to that URL and port. The inet control worked fine in VB 6 for this, any ideas on VB.net? Thanks for any help.
0
1406
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: inet.Protocol = icHTTP inet.OpenUrl(http://user:password@www.somesite.com/Login) format was used. I have to take this exact same concept and accomplish it in vb.net. Has
3
2519
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: inet.Protocol = icHTTP inet.OpenUrl(http://user:password@www.somesite.com/Login) format was used.
0
1012
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 quick. How can I do that? Best Regards
0
2571
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 even though I have added the reference ... i.e "Dim inet1 as Inet" is not allowed. Does anybody have any experience with Inet controls through excel?
0
9645
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
9481
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10336
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
10155
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...
0
8978
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
7502
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
5513
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4054
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 we have to send another system
2
3655
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.