##vbScript - Browse for Folder or File Please see my post [vbScript - The Basics](https://www.daniweb.com/programming/threads/516400/vbscript-the-basics) for more details on vbScript. Some scripts need input (other than from the command line) from the user. This can be read from the console (StdIn) or from a pop-up textbox (InputBox). This is fine for simple input but you certainly wouldn't want to have to type a folder or file name, especially when it might include a lengthy path. There are several ways to avoid typing a long folder or file name. If you create a shortcut to your script on the desktop you …

Member Avatar
+0 forum 0

I have a folder in one of my partitions with this name; 6a004149b189707931f3b5 Windows won't let me delete this folder as it claims I need permission from **Network Service**; what is this folder ?

Member Avatar
Member Avatar
+0 forum 5

I needed a script that would grab all the folders in the directory and add them to a dropdown list and allow the user to upload to there choosen folder. This is what i came up with. (upload script is not mine) Thought i would share.

Member Avatar
Member Avatar
+0 forum 5

I'm experiencing a networking problem which I asked elsewhere and so this is the problem and this was the solution I was given, unfortunately the solution doesn't work in Windows10. The problem was non-existant six months ago, which is a latop and a desktop both running Windows10. As of the last few weeks I cannot connect to a shared folder which lives on the desktop from the laptop. When I attempt to connect to the shared folder from the laptop I'm prompt for the login and pass, and I've tried all the login and passwords which I have and nothing …

Member Avatar
Member Avatar
+0 forum 6

I was wondering how for example drop box or a NAS is coping with the different file systems on different operating systems when sharing a folder? I was reading more about the different file systems and noticed that they ol have their size limits or they all safe their files in a different way. But how is it possible to have shared network folder between these different operating systems and their file systems. Because for example a FAT32 file system cannot have files larger than 4GB. But what if a user with a NTFS file system shares a folder with …

Member Avatar
Member Avatar
+0 forum 2

This is the code to delete image in a folder... [CODE]<?php $path = "uploads"; if(isset($_POST['file']) && is_array($_POST['file'])) { foreach($_POST['file'] as $file) { unlink($path . "/" . $file) or die("Failed to <strong class='highlight'>delete</strong> file"); } header("location: " . $_SERVER['REQUEST_URI']); //redirect after deleting files so the user can refresh without that resending post info message } ?> <form name="form1" method="post"> <?php $path = "uploads"; $dir_handle = @opendir($path) or die("Unable to open folder"); while (false !== ($file = readdir($dir_handle))) { if($file == "index.php") continue; if($file == ".") continue; if($file == "..") continue; echo "<input type='CHECKBOX' name='file[]' value='$file'>"; echo "<img src='$file' alt='$file'><br />"; } …

Member Avatar
Member Avatar
+0 forum 4

Hello, I'm getting problem file or directory not found when I try to load the file from another directory. Kindly help me fix this problem. Thanks you. Website -classes -core.php -inc -autoload.php -config.php -index.php **Index.php** <?php require_once('inc/autoload.php'); $core = new Core(); $core->run(); **autoload.php** <?php require_once('config.php'); function __autoload($class_name) { $class = explode("_", $class_name); $path = implode("/", $class).".php"; require_once($path); <!-- echo $path shows 'core.php' --> } **config.php** <?php if(!isset($_SESSION)) { session_start(); } // site domain name with http defined("SITE_URL") || define("SITE_URL", "http://".$_SERVER['SERVER_NAME']); // directory separator defined("DS") || define("DS", DIRECTORY_SEPARATOR); // root path defined("ROOT_PATH") || define("ROOT_PATH", realpath(dirname(__FILE__) . DS."..".DS)); // classes folder defined("CLASSES_DIR") …

Member Avatar
Member Avatar
+0 forum 7

there is folder on a system protect on windows system restore and it has an active protection but it was marked as missing, the folder is label "G:", i dont know how i can remove this. can someone can help me about this. thank you

Member Avatar
Member Avatar
+0 forum 1

Hi guys, I am trying to create a login page using apache mod_auth_form to authenticate users. Once the user is authenticated he/she should be able to access the main page. # my public directory: # C:/webroot/ regtrack_newSG.php # my protected directory: # C:/webroot/myapp/ regtrack_studysiteone.php # my password file: C:/Apache24/passwd/passwords # .htaccess file under the protected directory: # AuthFormProvider file AuthUserFile "C:\Apache24\passwd\passwords" AuthFormLoginRequiredLocation /regtrack_newSG.php AuthFormLoginSuccessLocation /myapp/regtrack_studysiteone.php AuthType form AuthName realm Session On SessionCookieName session path=/ SessionCryptoPassphrase secret Require valid-user # httpd config: # LoadModule auth_form_module modules/mod_auth_form.so DocumentRoot "c:/webroot" <Directory "c:/webroot"> Options Indexes FollowSymLinks AllowOverride AuthConfig Order allow,deny Allow from all </Directory> …

Member Avatar
Member Avatar
+0 forum 3

Have what I believe is a PST folder of downloaded email from an Optimum Online account. - Within Outlook how can one confirm that this is PST file/folder - What is the proper way to get these emails to a DVD, then check if the transferred data is correct

Member Avatar
Member Avatar
+0 forum 1

Hi. I have a program that detects all the folders that are open and displays each one in a ListBox item. ![2014-12-25_15_49_20-DLAUBEFN_(Running)_-_Microsoft_Visual_Studio.png](/attachments/large/4/8dcefef15b7155ed7cc20f56c743d34f.png "align-center") What I want it to do is if a certain folder is closed, I want it to start a batch file and close itself. I know how to make it do these things but there's a problem. Here's my code: Imports Shell32 Public Class Form1 Dim open As Integer Dim Lb As New ListBox Dim WithEvents RoutineTimer As New Timer Private Sub Form1_Load() Handles MyBase.Load Lb.Parent = Me Lb.Dock = DockStyle.Fill Me.Text = "XPLHHNSJKHF 1.0" RoutineTimer.Interval = …

Member Avatar
Member Avatar
+0 forum 5

Tried to create secured documents as I used to do in Windows by creating a password for documents. Ran into problems since I did not realize that Apple did not have the same possibility. I created a new folder and moved all my secure documents into it and somehow came up with an Archive folder, but could not see anything in the archive folder. I then tried to unzip the archive folder, but there was nothing in it and my documents just disappeared. The archive folder shows 131 mb so there must be something in there. What do I do?? …

Member Avatar
Member Avatar
+0 forum 2

i want to make tree view with all the system drives and folders and subfolder and files how we can do this in vb6.0

Member Avatar
+0 forum 0

I have 2 buttons, one is a browse button that allows you to choose which folder you want to select the images from and a GO button that gets a random image from that folder here is what i've gotten so far: Public Class directory Private Sub browsebtn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles browsebtn.Click If (folderbrowse.ShowDialog() = DialogResult.OK) Then 'texxt.Text is there to display what you've selected texxt.Text = folderbrowse.SelectedPath End If End Sub Private Sub btn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn.Click Pic.ImageLocation = texxt.Text & "*.png" 'Pic is the name of the …

Member Avatar
Member Avatar
+0 forum 3

H E L P !! Trying to password protect two folders, I created a compressed folder and then moved two folders and a few documents into the compressed folder, but could not create a password. When I later tried to open the compressed folder, it did not show me any of the folders and documents that I moved into it. I also have the untitled folder where I initially slid the folders into, but even that I cannot open. I cannot find my folders and documents anywhere. Please help!!!

Member Avatar
Member Avatar
+0 forum 2

Hi everyone, need some help with outlook. i need to extract information from outlook messages from default folder(inbox) to subfolders(including subfolders of subfolders) but it seems that i'm having problem on calling the folder from the outlook's default pst file. below are the codes i've already tried. outlookfolder = outlookmapi.Folders(folder_name) outlookfolder = outlookmapi.Folders("support@domain.com").Folders("domain.com").Folders("Inbox") is there anything i'm missing. or maybe folder_name is a path in the pst file? any help or suggestion will be appreciated. XD thanks in advance.

Member Avatar
Member Avatar
+0 forum 2

First, to explain what I want to do: I have a folder structure like this: BSDS300\images\test\ -which contains JPEG files, and some other files(only .jpg files are of interest) BSDS300\human\color\ -which contains many folders, in which I have .seg files with the same name as the .jpg file Example: BSDS300\images\test\3096.jpg BSDS300\human\color\1110\3096.seg BSDS300\human\color\1109\3096.seg What I want is to generate a text file in the first location with the same name as the .jpg file, which will contain the absolute paths of every location that contains a .seg file(with the same name) what I've tryed so far, is something in the command …

Member Avatar
Member Avatar
+0 forum 1

Folder name such as da12e5154f6b530007fd9e got automtically created in my system... Can anyone please tell me why such folders get created and how can I delete it...

Member Avatar
Member Avatar
+0 forum 8

Hi everyone I'm new to c++ but have had some luck so far. But I have of course met a problem. The program I'm making is supposed to find a a unkown file with an ID. The onliest thing I know of the file is the folder its in. so I want to open every file in this folder and read them, to see if they have the ID. But I dont know how to do that. this is what I got so far: void FindFile(){ char pPathFolder[250]; char pPathCommunicator[251]; string FolderPath = "\\Documents\\logfiles"; // this is the folder with …

Member Avatar
Member Avatar
+0 forum 9

Hello, I'm having a problem with my code. It seem to only echo out the picture name from my database and not the picture. This is my code search.php $result = mysql_query("SELECT * FROM all WHERE (`title` LIKE '%".$query."%') OR (`add_type` LIKE '%".$query."%')") or die(mysql_error()); if(mysql_num_rows($result) > 0) { while($results = mysql_fetch_array($result)) { $photo = $results['image']; echo " ".$results['image']."<a href='http://www.mysite.org/br/s.php?id=$id'><img src='/cate/upload/ $photo' width='100%' height='100%'></a>"; } } This is where i save my picture -> /cate/upload/ I think i have to leave the $result code, the only thing i need is to transform the $result['image']; to echo out the picture, not …

Member Avatar
Member Avatar
+0 forum 3

// Create the cboSelectGroup, and add it to the navigation panel: //String[] strDefaults = {"Defaults"}; //cboSelectGroup = new JComboBox(strDefaults);Public Class Form1 cboSelectGroup.setPreferredSize(new Dimension(150, 40)); cboSelectGroup.setMinimumSize(new Dimension(150, 40)); cboSelectGroup.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { btnImagesActionPerformed(evt); } });

Member Avatar
Member Avatar
+0 forum 2

Hi,Currently I'm using this tutorial : [Click Here](http://docs.cksource.com/CKFinder_2.x/SelectFunction) but the output is /home/xxx.com/public_html/images/image/1234.jpg How can I change the path to /images/image/1234.jpg ? Please help me ><

Member Avatar
Member Avatar
+0 forum 2

Hi, I can't seem to find the answer I'm looking for online (maybe keywords are too common?). Is my code only verifying whether my directory is created? Or is it actually validating? I need it to validate, but I'm unsure whether or not it's doing that. $dirPath = $_POST['company']; $result = mkdir($dirPath, 0755); if ($result == 1) { echo '<br/>'.$dirPath . " has been created".'<br/>'; } else { echo '<br/>'.$dirPath . " has NOT been created".'<br/>'; } Upon a second submission with the same company name and uploaded image, I get this error: Warning: mkdir() [function.mkdir]: File exists in /home/***/***/***/formulaires/processForm-test.php …

Member Avatar
Member Avatar
+0 forum 6

Hi when i run php file on local host it directly go to download folder it not come in run condition Please help me i am new in php thank

Member Avatar
Member Avatar
+0 forum 3

While i try to access the .htaccess file its saying access forbidden,which is obvious. But the listing of all other files also getting displayed,i.e no restrictions are imposed on those files which are under the same directory as the .htaccess. However i want to restrict everyone but myself from those files too. Here is my httpd.config # inside directory of httpd.config Options Indexes FollowSymLinks Includes ExecCGI AllowOverride ALL Require all granted <Files ".ht*"> Require all denied </Files> # my .htaccess file # # deny everyone but myself <Limit GET POST PUT> Options -Indexes Order allow,deny Deny from all </Limit>

Member Avatar
Member Avatar
+0 forum 3

Hi, I'm very new to smarty. I would like to learn more about smarty engine. I understand how smarty works like assign and display but how can I implememt something that able to switch template? I mean when I upload few different template with different name and CMS will auto detect all fresh uploaded template and allow admin to choose which template to use. Please guide me and provide some example source code if possible. Thank you very much!

Member Avatar
Member Avatar
+0 forum 1

well how can i stop accessing a folder by using in vb in the page load(request.browser......etc) i used this before but i forgot how i m not talking about authentication but if u have other way or method to do that it would be better

Member Avatar
Member Avatar
+0 forum 2

i want to type the path manually in folder browser dialog, like file browser dialog.

Member Avatar
Member Avatar
+0 forum 2

Hi all, As i mentioned in thread title, i want to create and delete folder. How i can create and delete folder/directory with vb6. Please help Regard

Member Avatar
Member Avatar
+0 forum 2

package display; import java.io.File; class display { int file=0, directory=0; void list(String path) { File root = new File(path); File[] f1 = root.listFiles(); for (File S : f1) //error { if(S.isDirectory()) { list(S.getAbsolutePath());//error directory++; } else if(S.isFile()) { file++; } } } } package display; public class displaymain { public static void main(String[] args) { display d = new display(); d.list("d:\\");// error System.out.println("No. of directories = "+d.directory); System.out.println("No. of files = "+d.file); } }

Member Avatar
Member Avatar
+0 forum 3

The End.