473,385 Members | 1,930 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.

how to use vb to access the "IE history folder in XP"?

i want use vb to write a program. it is used to record the "IE history",
i am using WinXP,when i try to access the history directory use this
path "C:\Documents and Settings\Nick\Local Settings\History", and then
errors occur.
how to solve this problem?

if i want to write a program get the address in the address box of IE
how to do this?Can i use API to do? but i don't know use which APIs

thanks!

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 20 '05 #1
6 2803
Nick,

I can't recreate your error. Here's what I used.

Dim str() As String
Dim dr As Directory

str = dr.GetDirectories("C:\Documents and Settings\Nick\Local
Settings\History")

Debug.WriteLine(str(0))
nick cheng wrote:
i want use vb to write a program. it is used to record the "IE history",
i am using WinXP,when i try to access the history directory use this
path "C:\Documents and Settings\Nick\Local Settings\History", and then
errors occur.
how to solve this problem?

if i want to write a program get the address in the address box of IE
how to do this?Can i use API to do? but i don't know use which APIs

thanks!

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 20 '05 #2
Nick,

I can't recreate your error. Here's what I used.

Dim str() As String
Dim dr As Directory

str = dr.GetDirectories("C:\Documents and Settings\Nick\Local
Settings\History")

Debug.WriteLine(str(0))
nick cheng wrote:
i want use vb to write a program. it is used to record the "IE history",
i am using WinXP,when i try to access the history directory use this
path "C:\Documents and Settings\Nick\Local Settings\History", and then
errors occur.
how to solve this problem?

if i want to write a program get the address in the address box of IE
how to do this?Can i use API to do? but i don't know use which APIs

thanks!

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 20 '05 #3
i am using vb6
these code is vb.net?

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 20 '05 #4
i am using vb6
these code is vb.net?

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 20 '05 #5
Yes, they are VB.NET. You need to ask your questions for VB6 in a VB6
newsgroup.
james

"nick cheng" <pr************@hotmail.com> wrote in message
news:OM**************@TK2MSFTNGP11.phx.gbl...
i am using vb6
these code is vb.net?

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 20 '05 #6
Yes, they are VB.NET. You need to ask your questions for VB6 in a VB6
newsgroup.
james

"nick cheng" <pr************@hotmail.com> wrote in message
news:OM**************@TK2MSFTNGP11.phx.gbl...
i am using vb6
these code is vb.net?

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 20 '05 #7

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

Similar topics

5
by: Rosa | last post by:
Hi, I'm trying to clear the TIF on Windows XP programmatically with the below code. This code works fine on any folder but the TIF. For some reason the atEnd() statements always defaults to true...
3
by: Robert Oschler | last post by:
I have a Javascript bookmarklet that people want to add to their bookmarks. In Win 2k and below, addToFavorites() works fine. In Windows XP it generates a permission error and does nothing except...
0
by: RWC | last post by:
Hi, I'm running into a problem with Access XP (SP2) that's driving me up the wall. It's Error 2001 "You canceled the previous operation". There is no voodoo going on really when I get this...
2
by: Paul T. RONG | last post by:
Hi, It is very strange. The mde works very well in Access XP but will get "Module not found" error when closing a form in Access 2k. I tried from yesterday evening to solve this prolem but in...
2
by: Don Leverton | last post by:
Hi Folks, I'm experiencing a problem that seems to be unique to running Access97 on Windows XP, and seems to be worse on WinXP SP2. It appears when I'm trying to import a text file. I'm...
3
by: nick cheng | last post by:
i want use vb to write a program. it is used to record the "IE history", i am using WinXP,when i try to access the history directory use this path "C:\Documents and Settings\Nick\Local...
11
by: taoberly | last post by:
A few months ago I posted a question about using a file on my hard drive to perform cross-frame scripting and pull data from a server on my company's intranet. I eventually got this working using...
1
by: 4.spam | last post by:
Hello, all. DB2 v8.2.7, DB2 v9.1.3, Windows XP. When I choose this menu item (this menu appears when I right click a database) in db2cc nothing is happening on both versions of db2cc. When I...
5
by: Noozer | last post by:
I'm looking for a "smart folder" program to run on my Windows XP machine. I'm not having any luck finding it and think the logic behind the program is pretty simple, but I'm not sure how I'd...
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: 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...
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,...
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...

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.