Click here to Skip to main content
15,907,493 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Tree List Double Click Event (new) Pin
Midnight Ahri19-Feb-12 22:03
Midnight Ahri19-Feb-12 22:03 
GeneralRe: Tree List Double Click Event (new) Pin
ProEnggSoft19-Feb-12 22:09
ProEnggSoft19-Feb-12 22:09 
Questionhow to make slide puzzle game with VB 6.0 Pin
goteku17-Feb-12 2:38
goteku17-Feb-12 2:38 
AnswerRe: how to make slide puzzle game with VB 6.0 Pin
Simon_Whale17-Feb-12 3:14
Simon_Whale17-Feb-12 3:14 
AnswerRe: how to make slide puzzle game with VB 6.0 Pin
Dave Kreskowiak17-Feb-12 3:57
mveDave Kreskowiak17-Feb-12 3:57 
GeneralI used to love VB6 Pin
MacRaider417-Feb-12 2:24
MacRaider417-Feb-12 2:24 
AnswerRe: I used to love VB6 Pin
Midnight Ahri17-Feb-12 16:28
Midnight Ahri17-Feb-12 16:28 
QuestionIncluding domain admin/password in script - how to avoid? Pin
charlieg16-Feb-12 8:17
charlieg16-Feb-12 8:17 
I said I would research this, so I am. I know little about VB or VBSCRIPT. There is an admin where I work that is facing the daunting challenge of 100s of new users coming into our facility. 99% of the users will receive a canned Windows 7 machine with limited privs - meaning no local admin meaning no ability to install printer drivers.

He uses the following script now (snippet):

Set WshNetwork = WScript.CreateObject("WScript.Network")

PrinterPath = "\\dulpqs51\dulprn126"

WshNetwork.AddWindowsPrinterConnection PrinterPath

WshNetwork.SetDefaultPrinter PrinterPath


-----
When users execute this script, they receive a "please supply the admin info" prompt. He asked me if there was some way to add a username/password to the script WTF | :WTF: without giving away the information. I don't think there is. I know there are username and password parameters that can be passed, but I don't know about a secure way to include this in the script.

Thoughts and Ideas?
Charlie Gilley
<italic>You're going to tell me what I want to know, or I'm going to beat you to death in your own house.

"Where liberty dwells, there is my country." B. Franklin, 1783
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759


AnswerRe: Including domain admin/password in script - how to avoid? Pin
Dave Kreskowiak16-Feb-12 8:43
mveDave Kreskowiak16-Feb-12 8:43 
GeneralRe: Including domain admin/password in script - how to avoid? Pin
charlieg16-Feb-12 9:01
charlieg16-Feb-12 9:01 
GeneralRe: Including domain admin/password in script - how to avoid? Pin
Dave Kreskowiak16-Feb-12 11:17
mveDave Kreskowiak16-Feb-12 11:17 
GeneralRe: Including domain admin/password in script - how to avoid? Pin
charlieg16-Feb-12 11:22
charlieg16-Feb-12 11:22 
AnswerRe: Including domain admin/password in script - how to avoid? Pin
phil.o22-Feb-12 9:59
professionalphil.o22-Feb-12 9:59 
QuestionSQL Error Pin
Pasan14816-Feb-12 5:38
Pasan14816-Feb-12 5:38 
AnswerRe: SQL Error Pin
Luc Pattyn16-Feb-12 5:49
sitebuilderLuc Pattyn16-Feb-12 5:49 
GeneralRe: SQL Error Pin
Pasan14816-Feb-12 5:56
Pasan14816-Feb-12 5:56 
AnswerRe: SQL Error Pin
David Mujica16-Feb-12 5:51
David Mujica16-Feb-12 5:51 
QuestionHow to create result Classification Pin
Member 865157216-Feb-12 0:44
Member 865157216-Feb-12 0:44 
AnswerRe: How to create result Classification Pin
Wayne Gaylard16-Feb-12 0:55
professionalWayne Gaylard16-Feb-12 0:55 
AnswerRe: How to create result Classification Pin
Luc Pattyn16-Feb-12 1:36
sitebuilderLuc Pattyn16-Feb-12 1:36 
GeneralRe: How to create result Classification Pin
Dave Kreskowiak16-Feb-12 1:51
mveDave Kreskowiak16-Feb-12 1:51 
AnswerRe: How to create result Classification Pin
Luc Pattyn16-Feb-12 1:53
sitebuilderLuc Pattyn16-Feb-12 1:53 
GeneralRe: How to create result Classification Pin
Wayne Gaylard16-Feb-12 1:57
professionalWayne Gaylard16-Feb-12 1:57 
AnswerRe: How to create result Classification Pin
Luc Pattyn16-Feb-12 2:09
sitebuilderLuc Pattyn16-Feb-12 2:09 
GeneralRe: How to create result Classification Pin
Wayne Gaylard16-Feb-12 2:11
professionalWayne Gaylard16-Feb-12 2:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.