[VB]Entering a randomly named folder

Discussion in 'Mixed Languages' started by Muerto, Mar 3, 2013.

  1. Muerto

    Muerto MDL Debugger

    Mar 7, 2012
    1,858
    2,112
    60
    #1 Muerto, Mar 3, 2013
    Last edited: Jan 12, 2021
    ...
     
  2. PAYMYRENT

    PAYMYRENT MDL Developer

    Jul 28, 2009
    1,460
    420
    60
    #2 PAYMYRENT, Mar 3, 2013
    Last edited by a moderator: Apr 20, 2017
    Ok you need to assign the name to a global variable in your class and then use it when you need it.

    Code:
    Private folderName as String = 90000018D3789 ' <-- Replace at runtime with your new random name
    
    
     
  3. PAYMYRENT

    PAYMYRENT MDL Developer

    Jul 28, 2009
    1,460
    420
    60
    or you arent creating the folder... if you arent then you need to find the folder with a directory search for that file name....

    and then use IO.FileInfo(path).Directory.FullName to get that folder