Click here to Skip to main content
15,884,537 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Close a form at a specific moment Pin
Eddy Vluggen28-May-14 7:28
professionalEddy Vluggen28-May-14 7:28 
GeneralRe: Close a form at a specific moment Pin
dilkonika28-May-14 8:31
dilkonika28-May-14 8:31 
QuestionRe: Close a form at a specific moment Pin
Eddy Vluggen28-May-14 9:30
professionalEddy Vluggen28-May-14 9:30 
GeneralRe: Close a form at a specific moment Pin
Dave Kreskowiak28-May-14 13:33
mveDave Kreskowiak28-May-14 13:33 
GeneralRe: Close a form at a specific moment Pin
dilkonika29-May-14 6:14
dilkonika29-May-14 6:14 
GeneralRe: Close a form at a specific moment Pin
Dave Kreskowiak29-May-14 13:39
mveDave Kreskowiak29-May-14 13:39 
GeneralRe: Close a form at a specific moment Pin
Eddy Vluggen29-May-14 20:53
professionalEddy Vluggen29-May-14 20:53 
QuestionVBscript help - Copying files to a folder Name which changes for every user. Pin
Mohan Subramani28-May-14 1:14
Mohan Subramani28-May-14 1:14 
Guys,

This time am struck with the below scenario please assist.

Am copying few files to the below location using my script.

%AppData%\Mozilla\Firefox\Profiles\6zejl8ne.default\


i need to copy files inside 6zejl8ne.default folder.
But the issue is this folder name is not constant, folder name changes for every user.

for e.g:

user 1 will have: %AppData%\Mozilla\Firefox\Profiles\6zejl8ne.default\
user 2 will have: %AppData%\Mozilla\Firefox\Profiles\4qi4qup6.default\
please assist is ther anyway i have files to the above location.


My script:

appdata = objShell.ExpandEnvironmentStrings("%appdata%")
tmp = objShell.ExpandEnvironmentStrings("%Temp%")
Const OverwriteExisting = True


objFSO.CopyFile tmp & "\Files\*.xpi",appdata & "\Mozilla\Firefox\Profiles\6zejl8ne.default\extensions\" , OverwriteExisting

where, 6zejl8ne.default folder will change for every user.
is that we can assign that folder to constant so that i can run this script on every machine ?



Cheers,
AnswerRe: VBscript help - Copying files to a folder Name which changes for every user. Pin
Dave Kreskowiak28-May-14 2:32
mveDave Kreskowiak28-May-14 2:32 
QuestionUsing IEnumerator in String arrays Pin
byka27-May-14 5:59
byka27-May-14 5:59 
AnswerRe: Using IEnumerator in String arrays Pin
Eddy Vluggen27-May-14 7:21
professionalEddy Vluggen27-May-14 7:21 
QuestionHow to Compare two Architectural element using Programming Languages Pin
FOAD AL-DHOH26-May-14 21:50
FOAD AL-DHOH26-May-14 21:50 
GeneralRe: How to Compare two Architectural element using Programming Languages Pin
Richard MacCutchan26-May-14 23:28
mveRichard MacCutchan26-May-14 23:28 
QuestionFilter nested entities Pin
dilkonika26-May-14 4:39
dilkonika26-May-14 4:39 
QuestionMake image jump up using vb6.0 Pin
Otekpo Emmanuel22-May-14 14:21
Otekpo Emmanuel22-May-14 14:21 
AnswerRe: Make image jump up using vb6.0 Pin
Eddy Vluggen23-May-14 7:34
professionalEddy Vluggen23-May-14 7:34 
Questioncalling c dll that contains structures from VB6 Pin
Khaled_Eissa22-May-14 6:53
Khaled_Eissa22-May-14 6:53 
AnswerRe: calling c dll that contains structures from VB6 Pin
Eddy Vluggen23-May-14 7:33
professionalEddy Vluggen23-May-14 7:33 
QuestionSpeech(Audio file ) To Text file in VB.Net Pin
Member 1041929722-May-14 3:35
Member 1041929722-May-14 3:35 
AnswerRe: Speech(Audio file ) To Text file in VB.Net Pin
Richard MacCutchan22-May-14 3:56
mveRichard MacCutchan22-May-14 3:56 
AnswerRe: Speech(Audio file ) To Text file in VB.Net Pin
Dave Kreskowiak22-May-14 4:18
mveDave Kreskowiak22-May-14 4:18 
QuestionDetect if a messagebox is shown Pin
dilkonika22-May-14 1:26
dilkonika22-May-14 1:26 
AnswerRe: Detect if a messagebox is shown Pin
Dave Kreskowiak22-May-14 4:17
mveDave Kreskowiak22-May-14 4:17 
GeneralRe: Detect if a messagebox is shown Pin
dilkonika22-May-14 4:46
dilkonika22-May-14 4:46 
GeneralRe: Detect if a messagebox is shown Pin
Eddy Vluggen22-May-14 9:11
professionalEddy Vluggen22-May-14 9: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.