I am an absolute noob to VB. I'm kind of crashing myself into it because of my situation. I fell in on a network that was already in place. The guys here before me wrote some scripts in VB that automatically map network printers, shared folders, etc. The only problem is that they've been around for about 5 years and gone through two or three groups and have become quite bloated, and buggy. One thing they do is redirect everyone's home directory to our server. So, seeing as I don't know enough about VB to modify the ones in existence (comfortably anyway) I'm writing a brand new one. I've never written VB before, so I'd like you to look over the code I've written so far and tell me if it would work. I've written it only to do the two tasks I want it to do, map network drives and printers.
Also I was wondering what the "Dim" before variables does? I've seen it in example scripts that I googled, and the scripts that are in existence.
Attached is a .txt version of what I've got written so far.
Impossible to understand how Microsoft is thinking this is viable in context of the market, especially Apple. They just want to POSITION themselves at the ultra premium, but it doesn't make sense.
people are using threads? I dont know of a single person that I knew that signed up when it launched that still uses it, is this including "facebook integration" in the count?...
Question
Gerowen
I am an absolute noob to VB. I'm kind of crashing myself into it because of my situation. I fell in on a network that was already in place. The guys here before me wrote some scripts in VB that automatically map network printers, shared folders, etc. The only problem is that they've been around for about 5 years and gone through two or three groups and have become quite bloated, and buggy. One thing they do is redirect everyone's home directory to our server. So, seeing as I don't know enough about VB to modify the ones in existence (comfortably anyway) I'm writing a brand new one. I've never written VB before, so I'd like you to look over the code I've written so far and tell me if it would work. I've written it only to do the two tasks I want it to do, map network drives and printers.
Also I was wondering what the "Dim" before variables does? I've seen it in example scripts that I googled, and the scripts that are in existence.
Attached is a .txt version of what I've got written so far.
mapresources.txt
Link to comment
https://www.neowin.net/forum/topic/704818-vb-noob-curious-about-commands/Share on other sites
11 answers to this question
Recommended Posts