Search results

  1. B

    display directory folder in listbox

    Ok. I made some edits to the database you provided.. (hope you don't mind). But what do I need to do to remove the TxtExtension and TxtFilter; display the current folder - "c:\desktop\" & Me.fldA -; and to have it automatically display the results of what is in the folder?
  2. B

    display directory folder in listbox

    Is there a way to cut the number of characters so that it will fit the maximum number of characters allowable in the listbox?
  3. B

    display directory folder in listbox

    I'm sorry. You're way ahead of my skill level. I'm just looking for a simple listbox that displays files in a folder that is defined as such = "c:\desktop\" & Me.fldA. Is there something that simple or should I expect the code to be this intricate?
  4. B

    MkDir Function

    Hello, I just successfully got MkDir to work for my needs. Simple questions. Since there is a MkDir code for making directories, would there happen to be one for deleting directories (maybe DelDir?)
  5. B

    display directory folder in listbox

    Hello, just trying to re-open this case...
  6. B

    display directory folder in listbox

    the second attachment seems to be what I;m looking for, but where's the form to see the backend code?
  7. B

    display directory folder in listbox

    I'm a novice at this stuff... Could you give me a step by step?
  8. B

    display directory folder in listbox

    I'm not sure what you mean by Also, how do you display the results of a debug again?
  9. B

    display directory folder in listbox

    Ok, I got it right, but now I get an error on the follow section: Me.List20.RowSource = Left(strRowSource, Len(strRowSource) - 1) Can anyone tell me why?
  10. B

    display directory folder in listbox

    I used the code, but got an error stating "Compile Error: Syntax Error" strFile = Dir("C:\Documents and Settings\Desktop\" & me.fldA")
  11. B

    display directory folder in listbox

    The other thread you're referring to is regarding making a folder value based on fldA.value when creating a folder. This is for showing the contents of a directory where the directory value equals fldA.value.
  12. B

    directory folder creator

    Thank you for the info...One last question, though? How do I write the code so that the folder name is the same as the value of fldA?
  13. B

    display directory folder in listbox

    Hello, I am recycling the following code for my use: Private Sub Form_Open(Cancel As Integer) Dim strFile As String, strRowSource As String strFile = Dir("C:\MY FOLDER NAME\") strRowSource = strRowSource & strFile Do Until strFile = "" strFile = Dir strRowSource = strRowSource & strFile &...
  14. B

    directory folder creator

    Thanks Mr. B.... Looking at the code for making a directory, what if I want the folder to be named after the value in fldA? MkDir "c:\fldrA\****fldA.Value****" Also, do you recommend adding the following code to avoid errors? If Len(Dir("c:\fldrA\****fldA.Value****", vbDirectory)) = 0...
  15. B

    File Viewer

    I saw that website before, but I tried to mimic it with no success. I do like the function, though, for another purpose - How can I bring up the save as screen with the directory folder where the file is to go already open?
  16. B

    directory folder creator

    hello, Is there a code that, when a textbox is filled with data, a folder can be automatically generated in a predesignated directory?
  17. B

    File Viewer

    How do I do that?
  18. B

    File Viewer

    Hello, Is there a way to create a sort of subform in a form that displays files in a directory folder similar to the "My Computer" or "My Documents" format?
  19. B

    Word Report

    I am trying to create reports using the Word Application vs. using Access reports. For some reason, it doesn't bring up the Word Document unless I click the button twice (the code is in the "On Click" portion). Also, the fields aren't populating with the data. Any idea why? Private...
  20. B

    Access to Excel

    Hello, I know this questions has been asked over and over, but I can’t find an answer that is dumbed down (way down) to my level. I hope I’m not asking too much, but basically a, step 1 – do this, step 2 – do this, is the easiest way for me to understand. I’m really bad with understanding code...
Back
Top Bottom