Hi I am new to VB08
-
I am currently trying to make a 'folder organizer' using Visual Basic 2008, but I have no idea on where to start. Please give me a few ideas on which statement I need to use.
-
I am currently trying to make a 'folder organizer' using Visual Basic 2008, but I have no idea on where to start. Please give me a few ideas on which statement I need to use.
Taku Kawamoto wrote:
Please give me a few ideas on which statement I need to use.
Have you tried Application.MakeFolderOrganizer() ?! :D But seriously, your question is a little vague. Can you supply in more detail what your are trying to do and have you tried anything yet? But going on your question try looking the File class; it provides lots of functionality for creating, moving, copy files and folders etc.
-
I am currently trying to make a 'folder organizer' using Visual Basic 2008, but I have no idea on where to start. Please give me a few ideas on which statement I need to use.
First off, you say you are new to VB08, are you new to vb in general? If so, start with the basics, like forms and texts and all the standard controls to become familiar, then start moving into folder/file operations.
Dave Don't forget to vote on messages! Find Me On: Web|Facebook|Twitter|LinkedIn Waving? dave.m.auld[at]googlewave.com
-
Taku Kawamoto wrote:
Please give me a few ideas on which statement I need to use.
Have you tried Application.MakeFolderOrganizer() ?! :D But seriously, your question is a little vague. Can you supply in more detail what your are trying to do and have you tried anything yet? But going on your question try looking the File class; it provides lots of functionality for creating, moving, copy files and folders etc.
Application.MakeFolderOrganizer()? No I haven't, I'll go and have a look at it now. I have been looking at OpenFileDialog(), but I realised that all it does it open files,and I cannot specify the location. Sorry it's vague; I'm not too sure on the technical terms for VB yet... I want this application so that I can specify a folder (eg. downloads) then in that folder, I can sort out all the files inside it into different folders (eg. .exe in 'application' folder, .doc into 'word' folder). If it's possible I want to make it so that I can manually change how the application sorts out the files, ie. names, size, etc.
-
First off, you say you are new to VB08, are you new to vb in general? If so, start with the basics, like forms and texts and all the standard controls to become familiar, then start moving into folder/file operations.
Dave Don't forget to vote on messages! Find Me On: Web|Facebook|Twitter|LinkedIn Waving? dave.m.auld[at]googlewave.com
I have been through the 'Visual Studio 2008 Step by Step' book, but I am still new to VB in general. Sorry, what do you mean by the basics? ie. forms, texts. And also, would you be able to tell me what kind of application is possible to make using forms, texts.
-
Application.MakeFolderOrganizer()? No I haven't, I'll go and have a look at it now. I have been looking at OpenFileDialog(), but I realised that all it does it open files,and I cannot specify the location. Sorry it's vague; I'm not too sure on the technical terms for VB yet... I want this application so that I can specify a folder (eg. downloads) then in that folder, I can sort out all the files inside it into different folders (eg. .exe in 'application' folder, .doc into 'word' folder). If it's possible I want to make it so that I can manually change how the application sorts out the files, ie. names, size, etc.
Taku Kawamoto wrote:
I want this application so that I can specify a folder (eg. downloads) then in that folder, I can sort out all the files inside it into different folders (eg. .exe in 'application' folder, .doc into 'word' folder). If it's possible I want to make it so that I can manually change how the application sorts out the files, ie. names, size, etc.
That's a description that we can work with! Sometimes it's hard to determine what someone wants to achieve. Anyway, you'd probably be interested in the
System.IO.Directory
[^] class, especially in the GetFiles and GetDirectories methods. You'd loop through the files, and use the classes in System.IO to organize them.I are Troll :suss:
-
I have been through the 'Visual Studio 2008 Step by Step' book, but I am still new to VB in general. Sorry, what do you mean by the basics? ie. forms, texts. And also, would you be able to tell me what kind of application is possible to make using forms, texts.
Doesn't it sound like you have, going by your response to Jay. If you had been through it you would know that the majority of desktop applications are built around Forms (i.e. the gui that the user sees). Have you considered knitting as a career path instead?
Dave Don't forget to vote on messages! Find Me On: Web|Facebook|Twitter|LinkedIn Waving? dave.m.auld[at]googlewave.com
modified on Tuesday, February 2, 2010 1:03 PM
-
Doesn't it sound like you have, going by your response to Jay. If you had been through it you would know that the majority of desktop applications are built around Forms (i.e. the gui that the user sees). Have you considered knitting as a career path instead?
Dave Don't forget to vote on messages! Find Me On: Web|Facebook|Twitter|LinkedIn Waving? dave.m.auld[at]googlewave.com
modified on Tuesday, February 2, 2010 1:03 PM
Knitting? I don't think from the A levels I do knitting is a choice really...
-
Taku Kawamoto wrote:
I want this application so that I can specify a folder (eg. downloads) then in that folder, I can sort out all the files inside it into different folders (eg. .exe in 'application' folder, .doc into 'word' folder). If it's possible I want to make it so that I can manually change how the application sorts out the files, ie. names, size, etc.
That's a description that we can work with! Sometimes it's hard to determine what someone wants to achieve. Anyway, you'd probably be interested in the
System.IO.Directory
[^] class, especially in the GetFiles and GetDirectories methods. You'd loop through the files, and use the classes in System.IO to organize them.I are Troll :suss:
Okey, I will have a look at it. Thanks for the advise.
-
Knitting? I don't think from the A levels I do knitting is a choice really...
Ok........i was joking. VB is just a blank canvas...you can do virtually anything you want. You need to start by understanding all the basics, forms manipulation (the things the user interacts with), basic controls, list boxes, treeviews, labels, text boxes, menus etc. You then can start understanding more of the available classes and methods that are part of the .net framework. They provide things like, file operations, database operations, graphics etc etc. Then you just need to piece it all together to do want you want your application to achieve.
Dave Don't forget to vote on messages! Find Me On: Web|Facebook|Twitter|LinkedIn Waving? dave.m.auld[at]googlewave.com
-
Okey, I will have a look at it. Thanks for the advise.
-
You're welcome :) You have picked this subject to get hands-on experience with the language? What books are you using?
I are Troll :suss:
Yeah I finished reading and going through Visual Studio 2008 Step by Step, which was long and boring... So I decided it would be better if I actually code from scratch. Although I will have to ask people like this, go through help, etc, at least I would understand it after I have finished.
-
Ok........i was joking. VB is just a blank canvas...you can do virtually anything you want. You need to start by understanding all the basics, forms manipulation (the things the user interacts with), basic controls, list boxes, treeviews, labels, text boxes, menus etc. You then can start understanding more of the available classes and methods that are part of the .net framework. They provide things like, file operations, database operations, graphics etc etc. Then you just need to piece it all together to do want you want your application to achieve.
Dave Don't forget to vote on messages! Find Me On: Web|Facebook|Twitter|LinkedIn Waving? dave.m.auld[at]googlewave.com
I understand that VB uses B as the language and the Visual is the GUI side of the application making. Could you tell me, to understand the basics more, which books, sites, would you recommend me to read?
-
I understand that VB uses B as the language and the Visual is the GUI side of the application making. Could you tell me, to understand the basics more, which books, sites, would you recommend me to read?
I would suggest that you look at the How-To videos on the MSDN[^] website. These are great walkthroughs on some key areas of the .net framework/VB Books wise, i have mainly used the various subject area books available from Wrox[^], but there is loads of stuff for free on the Net. Don't forget all the articles that are available off of this site, the guys on CP really know their onions and produce some great stuff. There hard work and effort is really appreciated by the CP community.
Dave Don't forget to vote on messages! Find Me On: Web|Facebook|Twitter|LinkedIn Waving? dave.m.auld[at]googlewave.com
-
I would suggest that you look at the How-To videos on the MSDN[^] website. These are great walkthroughs on some key areas of the .net framework/VB Books wise, i have mainly used the various subject area books available from Wrox[^], but there is loads of stuff for free on the Net. Don't forget all the articles that are available off of this site, the guys on CP really know their onions and produce some great stuff. There hard work and effort is really appreciated by the CP community.
Dave Don't forget to vote on messages! Find Me On: Web|Facebook|Twitter|LinkedIn Waving? dave.m.auld[at]googlewave.com
Okey I'll have a look at it. Thanks for the advise!!
-
Yeah I finished reading and going through Visual Studio 2008 Step by Step, which was long and boring... So I decided it would be better if I actually code from scratch. Although I will have to ask people like this, go through help, etc, at least I would understand it after I have finished.
Taku Kawamoto wrote:
Yeah I finished reading and going through Visual Studio 2008 Step by Step, which was long and boring...
Every book it's audience, some people do better if faced with some tutorials and a decent reference-manual. Best would be to get multiple books on VB.NET. You can find lots of interesting resources here[^] :)
Taku Kawamoto wrote:
So I decided it would be better if I actually code from scratch. Although I will have to ask people like this, go through help, etc, at least I would understand it after I have finished.
Good attitude :thumbsup:
I are Troll :suss:
-
Application.MakeFolderOrganizer()? No I haven't, I'll go and have a look at it now. I have been looking at OpenFileDialog(), but I realised that all it does it open files,and I cannot specify the location. Sorry it's vague; I'm not too sure on the technical terms for VB yet... I want this application so that I can specify a folder (eg. downloads) then in that folder, I can sort out all the files inside it into different folders (eg. .exe in 'application' folder, .doc into 'word' folder). If it's possible I want to make it so that I can manually change how the application sorts out the files, ie. names, size, etc.
Sorry for the delayed reply but I was tavelling home from work. I see that you have some good advice now from other people, so I hope your project goes well. And forget about the Application.MakeFolderOrganizer() method, it's not going to help you in this case ;)
-
I am currently trying to make a 'folder organizer' using Visual Basic 2008, but I have no idea on where to start. Please give me a few ideas on which statement I need to use.
I think you need a 2-step approach just to learn the language. 1. Basic Step: From the book "Microsoft Visual Basic 2008 Step By Step" by Michael Halvorson. This is just to get your feet wet with Visual Basic .Net. 2. Advanced: From any of Francesco Balena's books on Visual Basic. This will build on the knowledge already learnt. Remember: This is not an instant solution. You need to build knowledge slowly and steadily. Allot time to recollect and ruminate.