473,378 Members | 1,389 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,378 software developers and data experts.

Accessing Hidden Files

vdraceil
236 100+
How do I access hidden files from within vb6.0? It's unlike ordinary files!! VB does not even sense that file in a folder.
Nov 17 '07 #1
4 3312
AHMEDYO
112 100+
Hi.

First you didn't say what code you are using. You have two method to open file using vb6, FileSystemObject class and Open keyword, and I was testing these two methods and all work well and no problem while opening hidden files.

Waiting your reply,

GOOD LUCK
Nov 17 '07 #2
Killer42
8,435 Expert 8TB
How do I access hidden files from within vb6.0? It's unlike ordinary files!! VB does not even sense that file in a folder.
As AHMEDYO pointed out, you haven't really given us much detail on what you are trying to do, and how.

For instance, when you say "from within VB" do you mean that you are in the VB6 IDE and just want to use File | Open to open something like a FRM file, which is hidden? Or do you want your code to open a file, or what? And is the problem actually in opening the file (which from AHMEDYO seems to have done successfully) or in finding the file? They're not the same thing. Plus, you don't necessarily have to be able to see a file to open it.

While you have a think about the responses so far, you might want to consider the following...
  • If using the Dir() function to retrieve file names, you can specify in the attributes argument to include hidden files.
  • If using FileSystemObject, here's what the online help says about the Folder object... "Returns a Files collection consisting of all File objects contained in the specified folder, including those with hidden and system file attributes set."
Nov 19 '07 #3
vdraceil
236 100+
I used FileSystemObject,but i got the response that it was an invalid path.Let me try once again and if i really have a problem i'll come back.
Thanks for ur response!
Nov 20 '07 #4
AHMEDYO
112 100+
HI..

can you post example from your code?

Best Regards
Nov 20 '07 #5

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

Similar topics

8
by: ndsoumah | last post by:
hello guys I'm trying to get access to variables I put in a session variable from another page and it fails... here's the exact situation main file page1.php
5
by: Craig Anderson | last post by:
Can anyone tell me the best way to access a hidden object in a form? I could use a hard-coded index to the elements of the form, but it's too easy to add something before the hidden object and mess...
4
by: lawrence | last post by:
Can anyone tell me why this code works in Netscape 7.1 but not in IE??? <SCRIPT type='text/javascript'> function makeVisible(nameOfDiv) {...
4
by: Greg Bell | last post by:
Hi, Can someone tell me where to look to enable me to read "Folder Options" user settings for hidden/system files from within C#/VB.Net/Any other .NET language. I'm pretty sure it must be part...
1
by: CS Wong | last post by:
Hi, I have a page form where form elements are created dynamically using Javascript instead of programatically at the code-behind level. I have problems accessing the dynamically-created...
2
by: Stu | last post by:
Hi, I am migrating a large app to .Net 2 and am having problems with accessing hidden fields using javascript. As I am using masterpages the control names are prefixed with the control...
19
by: k.karthikit | last post by:
Hello all, In some hidden variable (<input type="hidden" name="hiddenId" value="test" /> ,i stored some value.I accessed the value "test" using var id = document.getElementById( 'hiddenId' );...
1
by: Vinodsrvk | last post by:
I am accessing a string from the previous page's hidden text. While I am reading the string the only last character of the string is getting truncated. When I tried viewing the string in the previous...
8
by: GaryDean | last post by:
I have a Wizard page and need to affect the next and previous buttons from my code-behind. I've googled around and found two solutions, and neither appear to work. I can access the SideBarList...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
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,...
0
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$) { } ...
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: 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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.