Search found 26 matches

by tech_soul8
Tue May 15, 2012 7:48 am
Forum: VBScript
Topic: Need help!
Replies: 5
Views: 4911

Need help!

Oh...!!!! I overlooked it! It's this part of code that does the job: Function DisplayBoard() 'Display the game board strPlayerInput = UCase(InputBox(vbCrLf & _ strNotificationMsg & _ vbCrLf & vbCrLf & vbCrLf & vbCrLf & _ vbTab & "1" & vbTab & vbTab &...
by tech_soul8
Tue May 15, 2012 6:49 am
Forum: VBScript
Topic: Need help!
Replies: 5
Views: 4911

Need help!

Function MarkPlayerSelection() If strPlayerInput = "A1" Then A1 = strPlayer End If If strPlayerInput = "A2" Then A2 = strPlayer End If If strPlayerInput = "A3" Then A3 = strPlayer End If If strPlayerInput = "B1" Then B1 = strPlayer End If If strPlayerInput = &...
by tech_soul8
Tue May 15, 2012 6:40 am
Forum: VBScript
Topic: Need help!
Replies: 5
Views: 4911

Need help!

I'm stuck on one example code from a book which I'm reading and I need some help. Here is the .zip file containing a script Script.zip It's about tic tac toe game. What I don't understand is how script knows after the player makes his selection where to place "X" or "O" into the ...
by tech_soul8
Tue May 15, 2012 6:40 am
Forum: VBScript
Topic: Need help!
Replies: 5
Views: 4911

Need help!

I'm stuck on one example code from a book which I'm reading and I need some help. Here is the .zip file containing a script Script.zip It's about tic tac toe game. What I don't understand is how script knows after the player makes his selection where to place "X" or "O" into the ...
by tech_soul8
Tue Apr 24, 2012 4:24 pm
Forum: VBScript
Topic: Call subfolder from variable
Replies: 13
Views: 10193

Call subfolder from variable

I wasn't ever asked from you to write me a code or anyone else, nor I was trying to get out with simple solutions. I don't have a boss and I do this in my spare time. Why? Because I'm planning to go to collage and one day work for some IT industry or something like that. Until that I'm doing this fo...
by tech_soul8
Tue Apr 24, 2012 1:49 pm
Forum: VBScript
Topic: Call subfolder from variable
Replies: 13
Views: 10193

Call subfolder from variable

Well, was it so hard? All you had to do is write this few lines of code and explain it to me :) All this time from my first post I suppose that you think I'm searching on Internet for some codes, copy-paste them into my computer and waiting to see what will happen. That's the reason why you keep tel...
by tech_soul8
Tue Apr 24, 2012 10:38 am
Forum: VBScript
Topic: Call subfolder from variable
Replies: 13
Views: 10193

Call subfolder from variable

I found the solution. This is what I was looking for:Set PathF2 = oFSO.GetFolder (CollF1 ("" & folder2 & ""))So final code looks like this: Dim oFSO, folder1, folder2, pathf1, collf1 folder1 = Year (Now) folder2 = Month (Now) & "." & "Month" Se...
by tech_soul8
Tue Apr 24, 2012 5:24 am
Forum: VBScript
Topic: Call subfolder from variable
Replies: 13
Views: 10193

Call subfolder from variable


We can re-write it to get it RIGHT ok Mr. Wright.


Again typo mistake :D From now on I'm sure I'll get it RIGHT! :)

But it can happen to anyone :)

You also missed the answer that I posted and that was described more completely in the lonks I posted.
[ tech_soul82012-04-24 12:30:44
by tech_soul8
Tue Apr 24, 2012 4:35 am
Forum: VBScript
Topic: Call subfolder from variable
Replies: 13
Views: 10193

Call subfolder from variable

You asked how to specify a folder in a variable.  Her eis the answer. No, I understand that. What I was trying to ask is how can I call subfolder from a variable?? I completely understand your example code. I'm going to explain that to you again. For example let's say that I want to create two fold...
by tech_soul8
Mon Apr 23, 2012 11:08 pm
Forum: VBScript
Topic: Call subfolder from variable
Replies: 13
Views: 10193

Call subfolder from variable

"You need to start by studying the basics of VBScript. You are mising soem very fundamental bits of knowledge." Yes, I know that. I just started to learn scripting so stupid questions like this are expected. What I'm trying to achive is next. In real script I'm trying to write, name for &q...