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
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)
Latest Thanks - View all

adidam(2013-08-18 02:14 PM) moneyboy2012(2013-08-18 02:02 PM) 

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.
Latest Thanks - View all

-qwerty-(2013-08-18 04:24 PM) 

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? :)
Latest Thanks - View all

adidam(2013-08-18 04:25 PM) 
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


Possibly Related Threads...
Thread Author Replies Views Last Post
  Few questions about blogging visvaldeliss 2 118 2017-12-01, 10:24 PM
Last Post: ChrisRoark
  Adsense - few questions Niki 6 277 2017-11-05, 01:45 PM
Last Post: fionix
  Maxbounty questions Tsyed01 5 241 2017-08-20, 08:29 PM
Last Post: PBNmaster
  Some questions about landing pages and cpa mhiran 8 316 2017-08-09, 03:37 AM
Last Post: azgold
  Antraxo´s Helping/Tips Thread - Ask me questions here! antraxo 48 4,050 2017-08-05, 07:35 AM
Last Post: antraxo





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

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