folder in vb
Page 1 of 1
folder in vb ?????
#2
Re: folder in vb
Posted 30 April 2007 - 10:30 AM
1) yes you can
2) I'm guessing that you are referring to .NET, and it depends on what you want to do, do you want to create a application and put the code in there to handle creating the folder, or do you want to use a class library which is re-usable? Class libraries are not executable.
2) I'm guessing that you are referring to .NET, and it depends on what you want to do, do you want to create a application and put the code in there to handle creating the folder, or do you want to use a class library which is re-usable? Class libraries are not executable.
#3
Re: folder in vb
Posted 30 April 2007 - 10:39 AM
im using vb2005 and im trying to make a password protected folder that i can put files in,i have the password code that lets me open form2 from form1 if the passwords right,now i just need to find out how to make a folder that you cant get to from the address bar but can still hold files
can you add files to the data source after the app has been publish
do you have an idea of what i need to do
thanks
can you add files to the data source after the app has been publish
do you have an idea of what i need to do
thanks
This post has been edited by hyteck: 30 April 2007 - 10:58 AM
#4
Re: folder in vb
Posted 30 April 2007 - 12:08 PM
MAYBE!, i have the code for you
hehe i just started vb so i wouldnt count on this being rihgt but..
the best way to learn is to be wrong.
i really doubt its right.
hehe i just started vb so i wouldnt count on this being rihgt but..
the best way to learn is to be wrong.
Dim File = NewFolderDialog() Save File On Desktop
i really doubt its right.
This post has been edited by kaufman: 30 April 2007 - 03:13 PM
#5
Re: folder in vb
Posted 01 May 2007 - 05:52 AM
using the System.IO namespace, there is a File object there with a Create method. So it would be something like
Same thing applies to creating a directory, same syntax i believe also.
Imports System.IO <in function code somewhere> ... File.Create(<file name variable>)
Same thing applies to creating a directory, same syntax i believe also.
#6
Re: folder in vb
Posted 01 May 2007 - 09:03 AM
You are absolutely correct, tody4me. Although you still need to create in VB the correct type of object. In this case, for folders, you need a DirectoryInfo object.
You can find an example at the following link.
Creating and Deletig Folders in VB.NET.
You can find an example at the following link.
Creating and Deletig Folders in VB.NET.
Page 1 of 1

Start a new topic
Add Reply





MultiQuote

| 


