Click here to Skip to main content
15,895,881 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: how to block input value from user in inputbox or msgbox? Pin
Eddy Vluggen23-Aug-12 1:19
professionalEddy Vluggen23-Aug-12 1:19 
AnswerKeyboard emulator? Pin
David Mujica23-Aug-12 2:24
David Mujica23-Aug-12 2:24 
Questioncoverters from c# to vb6 Pin
Karthik Chintala22-Aug-12 20:43
Karthik Chintala22-Aug-12 20:43 
AnswerRe: coverters from c# to vb6 Pin
Eddy Vluggen23-Aug-12 1:17
professionalEddy Vluggen23-Aug-12 1:17 
AnswerRe: coverters from c# to vb6 Pin
Dave Kreskowiak23-Aug-12 2:20
mveDave Kreskowiak23-Aug-12 2:20 
QuestionVB Script & file renaming question(s) Pin
puterguy_200022-Aug-12 9:50
puterguy_200022-Aug-12 9:50 
QuestionRe: VB Script & file renaming question(s) Pin
Eddy Vluggen23-Aug-12 1:14
professionalEddy Vluggen23-Aug-12 1:14 
AnswerRe: VB Script & file renaming question(s) Pin
puterguy_200023-Aug-12 5:44
puterguy_200023-Aug-12 5:44 
Sub FormatDate
'Set datepart("yyyy",date()-1) & datepart("m",date()-1) & datepart("d",date()-1)
If len(datepart("m"))=1 Then
monthstr = "0" & datepart("m")
Else
monthstr = datepart("m")
End If
If len(datepart("d")=1 Then
daystr = "0" & datepart("d")
Else
daystr = datepart("d")
End If
objDatestr = datepart("yyyy") & monthstr & daystr
End Sub

Is the current date code. I'm stuck on the proper language to use in order to read the file name and rename it. What I am thinking I would like to have is a routine for each name that could occur. Max = 9. I don't know the number of files per name, so, that's why I was going to add the counter. In each routine, it would search for a specific name and turn that into what I expressed before. I know I sound stupid, but, I know how to code and I know what I want but, this got dumped into my lap and we have no resources here to assist me.

The counter will be set to 0 before each routine. (in my version).

Thanks for anything that points me in the right direction!
GeneralRe: VB Script & file renaming question(s) Pin
Eddy Vluggen23-Aug-12 5:53
professionalEddy Vluggen23-Aug-12 5:53 
GeneralRe: VB Script & file renaming question(s) Pin
puterguy_200023-Aug-12 10:01
puterguy_200023-Aug-12 10:01 
QuestionCould not load file or assembly or one of its dependencies. Pin
Karthik Chintala20-Aug-12 23:24
Karthik Chintala20-Aug-12 23:24 
QuestionRe: Could not load file or assembly or one of its dependencies. Pin
Eddy Vluggen20-Aug-12 23:49
professionalEddy Vluggen20-Aug-12 23:49 
AnswerRe: Could not load file or assembly or one of its dependencies. Pin
Karthik Chintala20-Aug-12 23:51
Karthik Chintala20-Aug-12 23:51 
GeneralRe: Could not load file or assembly or one of its dependencies. Pin
Eddy Vluggen21-Aug-12 0:17
professionalEddy Vluggen21-Aug-12 0:17 
GeneralRe: Could not load file or assembly or one of its dependencies. Pin
Dave Kreskowiak21-Aug-12 3:07
mveDave Kreskowiak21-Aug-12 3:07 
GeneralRe: Could not load file or assembly or one of its dependencies. Pin
Karthik Chintala21-Aug-12 3:11
Karthik Chintala21-Aug-12 3:11 
GeneralRe: Could not load file or assembly or one of its dependencies. Pin
fjdiewornncalwe21-Aug-12 3:17
professionalfjdiewornncalwe21-Aug-12 3:17 
GeneralRe: Could not load file or assembly or one of its dependencies. Pin
Dave Kreskowiak21-Aug-12 3:40
mveDave Kreskowiak21-Aug-12 3:40 
GeneralRe: Could not load file or assembly or one of its dependencies. Pin
fjdiewornncalwe21-Aug-12 4:36
professionalfjdiewornncalwe21-Aug-12 4:36 
GeneralRe: Could not load file or assembly or one of its dependencies. Pin
Dave Kreskowiak21-Aug-12 5:08
mveDave Kreskowiak21-Aug-12 5:08 
GeneralRe: Could not load file or assembly or one of its dependencies. Pin
fjdiewornncalwe21-Aug-12 6:25
professionalfjdiewornncalwe21-Aug-12 6:25 
GeneralRe: Could not load file or assembly or one of its dependencies. Pin
Eddy Vluggen21-Aug-12 3:23
professionalEddy Vluggen21-Aug-12 3:23 
GeneralRe: Could not load file or assembly or one of its dependencies. Pin
Karthik Chintala21-Aug-12 3:32
Karthik Chintala21-Aug-12 3:32 
GeneralRe: Could not load file or assembly or one of its dependencies. Pin
Dave Kreskowiak21-Aug-12 3:39
mveDave Kreskowiak21-Aug-12 3:39 
AnswerRe: Could not load file or assembly or one of its dependencies. Pin
Bernhard Hiller21-Aug-12 21:07
Bernhard Hiller21-Aug-12 21:07 

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.