Visual Basic Questions ~ Adidam
2013-08-18, 01:45 AM,
#1
Hey There,

I prepare my own Applications like Downloaders, Cracks, Keygens, Hack Tools etc. So it's like I have learned a lot here and there on forums but I have certain questions to ask now. I'm sorry If I'm annoying but I'm a newbie I never used Visual Basic or VB.Net. I have started using it just 1 month ago so I actually don't know the correct terms even so that I can search on Google for tutorials.

Well, Here are the questions.

1. How can I make a tool which can create a folder while running? As we see when installation are processing it creates folders for the game automatically like Bin, Music, Images, System, Help etc. So How can I do this with an Application made up from Visual Basic?


I will add more questions time to time when I will have them in my mind. I will just update this very first post :)


P.S.: I'm making this thread so that every newbie can learn from it. I like sharing :)


@Admins and Mod: I'm sorry if I have to use some Niches in this thread because sometimes it's necessary to tell the example to ask the questions. Please, Taking knowledge in any manner is not a rule breaking :)

Adidam | Skype: AdidamHere (without live)
Reply
Share This Thread :

2013-08-18, 12:16 PM, (This post was last modified: 2013-08-18, 12:18 PM by punkHD.)
#2
System.IO.Directory.CreateDirectory(Folder Path Here)

Add me on Skype (iwontspeak) for PPD discussion. :)
Reply
2013-08-18, 02:04 PM,
#3
(2013-08-18, 12:16 PM)punkHD Wrote: System.IO.Directory.CreateDirectory(Folder Path Here)

thanks for that.:)
well can u provide me a solution like i wanna create a folder with custom name onto desktop after progressbar finishes ;)
Reply
2013-08-18, 02:15 PM,
#4
(2013-08-18, 12:16 PM)punkHD Wrote: System.IO.Directory.CreateDirectory(Folder Path Here)

Thanks. Can you tell me. Like I want user a choice that whererver he want's to make the folder. He can just browser and select.

I want that at that browsed and selected place only the folder should create.

How to do so?

Adidam | Skype: AdidamHere (without live)
Reply
2013-08-18, 02:38 PM,
#5
(2013-08-18, 02:04 PM)moneyboy2012 Wrote:
(2013-08-18, 12:16 PM)punkHD Wrote: System.IO.Directory.CreateDirectory(Folder Path Here)

thanks for that.:)
well can u provide me a solution like i wanna create a folder with custom name onto desktop after progressbar finishes ;)

Here you go:
Code:
System.IO.Directory.CreateDirectory(Environment.GetFolderPath(Environment.SpecialFolder.Desktop) & "\FolderName")

Change "Foldername" with the name of your new folder.
Reply
2013-08-18, 04:17 PM, (This post was last modified: 2013-08-18, 04:17 PM by adidam.)
#6
(2013-08-18, 02:38 PM)-qwerty- Wrote:
(2013-08-18, 02:04 PM)moneyboy2012 Wrote:
(2013-08-18, 12:16 PM)punkHD Wrote: System.IO.Directory.CreateDirectory(Folder Path Here)

thanks for that.:)
well can u provide me a solution like i wanna create a folder with custom name onto desktop after progressbar finishes ;)

Here you go:
Code:
System.IO.Directory.CreateDirectory(Environment.GetFolderPath(Environment.SpecialFolder.Desktop) & "\FolderName")

Change "Foldername" with the name of your new folder.

Wrong ^^

Correct is:
Code:
System.IO.Directory.CreateDirectory(Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory) & "\FolderName")

Adidam | Skype: AdidamHere (without live)
Reply
2013-08-18, 04:20 PM,
#7
(2013-08-18, 04:17 PM)adidam Wrote:
(2013-08-18, 02:38 PM)-qwerty- Wrote:
(2013-08-18, 02:04 PM)moneyboy2012 Wrote:
(2013-08-18, 12:16 PM)punkHD Wrote: System.IO.Directory.CreateDirectory(Folder Path Here)

thanks for that.:)
well can u provide me a solution like i wanna create a folder with custom name onto desktop after progressbar finishes ;)

Here you go:
Code:
System.IO.Directory.CreateDirectory(Environment.GetFolderPath(Environment.SpecialFolder.Desktop) & "\FolderName")

Change "Foldername" with the name of your new folder.

Wrong ^^

Correct is:
Code:
System.IO.Directory.CreateDirectory(Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory) & "\FolderName")

Actually, you're wrong.. it's not hard to search on the Internet, because Microsoft made a whole Wikipedia for all the codes they have in VB.NET.

http://msdn.microsoft.com/en-us/library/...older.aspx

Desktop - The logical Desktop rather than the physical file system location.

DesktopDirectory - The directory used to physically store file objects on the desktop. Do not confuse this directory with the desktop folder itself, which is a virtual folder.
Reply
2013-08-18, 04:21 PM, (This post was last modified: 2013-08-18, 04:24 PM by adidam.)
#8
(2013-08-18, 04:20 PM)-qwerty- Wrote:
(2013-08-18, 04:17 PM)adidam Wrote:
(2013-08-18, 02:38 PM)-qwerty- Wrote:
(2013-08-18, 02:04 PM)moneyboy2012 Wrote:
(2013-08-18, 12:16 PM)punkHD Wrote: System.IO.Directory.CreateDirectory(Folder Path Here)

thanks for that.:)
well can u provide me a solution like i wanna create a folder with custom name onto desktop after progressbar finishes ;)

Here you go:
Code:
System.IO.Directory.CreateDirectory(Environment.GetFolderPath(Environment.SpecialFolder.Desktop) & "\FolderName")

Change "Foldername" with the name of your new folder.

Wrong ^^

Correct is:
Code:
System.IO.Directory.CreateDirectory(Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory) & "\FolderName")

Actually, you're wrong.. it's not hard to search on the Internet, because Microsoft made a whole Wikipedia for all the codes they have in VB.NET.

/en-us/library/system.environment.specialfolder.aspx

Desktop - The logical Desktop rather than the physical file system location.

DesktopDirectory - The directory used to physically store file objects on the desktop. Do not confuse this directory with the desktop folder itself, which is a virtual folder.

All I know is, Your command is not making any folder on Desktop and Mine command is making the folder. :)

I'm not saying I know better than you. I have started using Visual Basic just 1 month ago. But the thing is from what thing we getting our work done. Maybe you are right but the thing is your code is not making any folder.

Adidam | Skype: AdidamHere (without live)
Reply
2013-08-18, 04:24 PM,
#9
(2013-08-18, 04:21 PM)adidam Wrote:
(2013-08-18, 04:20 PM)-qwerty- Wrote:
(2013-08-18, 04:17 PM)adidam Wrote:
(2013-08-18, 02:38 PM)-qwerty- Wrote:
(2013-08-18, 02:04 PM)moneyboy2012 Wrote: thanks for that.:)
well can u provide me a solution like i wanna create a folder with custom name onto desktop after progressbar finishes ;)

Here you go:
Code:
System.IO.Directory.CreateDirectory(Environment.GetFolderPath(Environment.SpecialFolder.Desktop) & "\FolderName")

Change "Foldername" with the name of your new folder.

Wrong ^^

Correct is:
Code:
System.IO.Directory.CreateDirectory(Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory) & "\FolderName")

Actually, you're wrong.. it's not hard to search on the Internet, because Microsoft made a whole Wikipedia for all the codes they have in VB.NET.

/en-us/library/system.environment.specialfolder.aspx

Desktop - The logical Desktop rather than the physical file system location.

DesktopDirectory - The directory used to physically store file objects on the desktop. Do not confuse this directory with the desktop folder itself, which is a virtual folder.

All I know is, Your command is not making any folder on Desktop and Mine command is making the folder. :)

I'm not saying I know better than you. I have started using Visual Basic just 1 month ago. But the thing is from what thing we getting our work done. Maybe you are right but the thing is your code is not making any folder.

I'm not sure what's wrong, but it works fine for me.

At least you got it working, so it doesn't really matter, does it? :)
Reply
2013-08-18, 04:26 PM,
#10
(2013-08-18, 04:24 PM)-qwerty- Wrote:
(2013-08-18, 04:21 PM)adidam Wrote:
(2013-08-18, 04:20 PM)-qwerty- Wrote:
(2013-08-18, 04:17 PM)adidam Wrote:
(2013-08-18, 02:38 PM)-qwerty- Wrote: Here you go:
Code:
System.IO.Directory.CreateDirectory(Environment.GetFolderPath(Environment.SpecialFolder.Desktop) & "\FolderName")

Change "Foldername" with the name of your new folder.

Wrong ^^

Correct is:
Code:
System.IO.Directory.CreateDirectory(Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory) & "\FolderName")

Actually, you're wrong.. it's not hard to search on the Internet, because Microsoft made a whole Wikipedia for all the codes they have in VB.NET.

/en-us/library/system.environment.specialfolder.aspx

Desktop - The logical Desktop rather than the physical file system location.

DesktopDirectory - The directory used to physically store file objects on the desktop. Do not confuse this directory with the desktop folder itself, which is a virtual folder.

All I know is, Your command is not making any folder on Desktop and Mine command is making the folder. :)

I'm not saying I know better than you. I have started using Visual Basic just 1 month ago. But the thing is from what thing we getting our work done. Maybe you are right but the thing is your code is not making any folder.

I'm not sure what's wrong, but it works fine for me.

At least you got it working, so it doesn't really matter, does it? :)

No Sir. All I liked that you are continuously helping newbies which makes a difference :) I like your this helps and I hope you will continue helping us :)

Thanks a lot :)

Adidam | Skype: AdidamHere (without live)
Reply


Related Threads
Thread Author Replies Views Last Post
  Blackhat Facebook Ads Questions blunt 16 626 2018-07-09, 10:40 AM
Last Post: LuckyStrike
  Facebook Ads & CPA offers questions Heraclitus 12 595 2018-06-21, 03:07 AM
Last Post: ArtoAllan
  Questions gor510 0 148 2018-05-07, 07:37 PM
Last Post: gor510
  Important YouTube Questions, EXPERIENCED answers needed :) Draguny 5 460 2018-03-27, 01:36 PM
Last Post: midastou4
  Instagram Proxies & Accounts Questions YoungArt 4 345 2018-03-03, 10:16 PM
Last Post: YoungArt





About Us | Contact Us | CPA Elites | Advertise | Stats

© 2013-2018 CPA Elites Ltd
Enhanced by MyBB and WallBB
Return to top