Choosing a folder from the hard drive

Hi
I need to allow the user to choose a directory to save a logfile to from a Business One form that should get launched when they click on a browse button. I have currently got the below code which is located within the the ItemEvent.
Dim FolderWindow As New Windows.Forms.FolderBrowserDialog
FolderWindow.RootFolder = Environment.SpecialFolder.MyComputer
FolderWindow.ShowDialog()
The FolderBrowserDialog window does appear however there is nothing shown where the folder directories should be so therefore not allowing for a directory to be chosen. If I however copy the exact same code and place it into the sub Main for example it works OK.
I've had a look around the forum and theres a couple of people who look as if they've also had this problem but there's no fixes given. Does anyone know why the folders aren't being shown or another way I can allow the user to choose a directory from the Hard Drive?
Thanks
Steve

Hello Steven
In the last year i have published a solution in c# and vb.net which is working properly.
you can donwload a simple source from:
http://www.progi-tech.hu/ShowFileOpenDialog.zip
before you call the browser window, you can tell the .NET to Acess to the filesystem by the following .NET code
Dim f As New FileIOPermission(PermissionState.None)
f.AllLocalFiles = FileIOPermissionAccess.AllAccess
Regards
J

Similar Messages

  • I backed up my itunes folder to an external drive, then deleted it from the hard drive, then restored to the hard drive, but now can't see the files, playlists

    I backed up my itunes folder to an external drive, then deleted it from the hard drive, then restored to the hard drive, but now can't see the files, playlists

    Was the entire folder copied including the iTunesLibrary.itl file?

  • HT1766 HOW CAN I CHANGE MY BACKUP FOLDER FROM THE C DRIVE TO ANOTHER?????

    HOW CAN I CHANGE MY BACKUP FOLDER FROM THE C DRIVE TO ANOTHER????? because my c drive in the windows computer gets filled and i need to back up my ipod to a portable hard disk.. bt i dont know how to do it.. plz help

    you can't change the backup folder as far as I know, but you can choose to move backups. The information you need can be found in this article: http://support.apple.com/kb/ht4946
    Where iTunes backups are stored on your computer
    The folder where your backup data are stored varies depending on the computer's operating system.   Make sure the backup folder is included in your periodic data-backup routine.
    iTunes places the backup files in the following places:
    Mac:  ~/Library/Application Support/MobileSync/Backup/
    Windows XP:  \Documents and Settings\(username)\Application Data\Apple Computer\MobileSync\Backup\
    Note: To quickly access the Application Data folder, click Start, and choose Run. Type %appdata% and click OK.
    Windows Vista and Windows 7:  \Users\(username)\AppData\Roaming\Apple Computer\MobileSync\Backup\
    Note: To quickly access the AppData folder, click Start. In the search bar, type %appdata% and press the Return key.
    Hope this helps
    Regards,
    Stijn

  • I used an external hard drive for my backups via Time Capsule.  I bought a new computer and I want to transfer all my old fonts over to the new one but when I go into the Font Library from the hard drive backup but my downloaded fonts aren't there?

    I used an external hard drive to back up my computer using Time Capsule before I bought a new one.  I am slowly transferring information fromt he backup to my new computer and I want to transfer over my old font book.  When I go into the Font folder on the hard drive the only fonts that show up are the ones that came stock with the computer not any of the ones I have downloaded over time.  Could they be downloaded somewhere else?

    The answer to that would probably be "Yes." If you don't remember where your fonts were stored, you may want to search your backups for any of the font files you know the names to. See where that takes you.
    Ideally, Font Book and other font managers will temporarily store the fonts you "installed" into the System when you run the OS. When you shut down, etc. they are removed and reloaded on restart. The permanent place fonts reside is where you saved them when or after you downloaded them. I typically create a Resources folder on the root level of the computer and place a Fonts folder there. Then I install fonts from there, and they are available to all users on that iMac.
    Perhaps if you did not have that kind of a strategy, perhaps many of them are still in your Downloads folder?

  • Had to reinstall Lion.  Backed up music to external hard drive.  When I plug in iPod msg says it's synced w/another iTunes library.  Do i "erase and sync" and re-add music from the hard drive?

    Had to reinstall Lion.  Backed up my music to an external hard drive.  When I plug in my iPod a prompt msg says it's synced w/another iTunes library and asks if I want to "erase and sync" (to what is now an empty library) or "Transfer purchases".  Do i "erase and sync" and re-add music from the hard drive once that's done?

    You just need to tell iTunes where the library is located. If you want it back on your internal drive, copy the entite iTunes folder. Follow the instructions below.
    iTunes: How to move your music to a new computer (Mac or Windows):
      http://support.apple.com/kb/HT4527

  • HT1923 hi, my mac air is really low on disk space, can i remove iTunes (which is huge) to an external hard drive to free up space and then just run it from the hard drive. instead of taking space on the mac? even if the mac no longer has enough to accommo

    Hi, my mac air is really low on disk space, can I remove itunes (which is huge) to an external hard drive to free up space?...and then run it from the hard drive instead of the mac,even if the mac no longer has space to accomodate the size of the library?

    Yes.
    Copy your music iTunes Library folder to the external drive and change the Advanced settings in iTunes to point to this new location.
    Once you're happy with these changes you can delete the same Library from your User account to free up space on the internal drive.

  • How to delete SMS text from the hard drive of a IPhone 3gs

    How do I delete SMS text from the hard drive of a iPhone 3GS

    If you want to delete the messages from within the text app, swipe over the name or number of the sender and hit delete.
    If you are afraid that someone will be able to restore them by ckecking your HD, you will have to set up the phone "as new device" or choose "erase all content and Settings" in Settings/General/Reset. But this willerase the whole phone, not only your text messages.
    How to set up your iPhone or iPod touch as a new device
    Message was edited by: Ingo2711

  • What is the best way to remove personal data from the hard drive in preparation for selling my old Mac?

    I am going to sell or perhaps donate my old Power Mac G5.  Is there an easier, yet comprehensive way to remove my data from the hard-drive?  My best approach is dumping anything I do not want found into the trash.
    I am running Mac OS 10.5.8 on the powermac G5

    For better security than the simple Erase (which does not actually over-write the data blocks, only clears the directory), choose Security Options, and Zero all data, one pass.
    After a Zero all data, the only way to recover the data is to dis-assemble the drive in a clean room and use expensive test gear to recover a little of the data. That is good for all but Military Secrets.
    If you really trust no one under any circumstances, remove the drive and beat it to death with a hammer.

  • Running a DVD TS folders from the Hard Drive

    Anybody now whether automator will run a DVD from the hard drive (TS folders). It runs fine from the DVD disk, but all the DVD functions in automator appear to only relate to an inserted disk.
    Thanks.
    Ti 677Mhz    

    so it works perfectly from the desktop - but fails to
    eject if a startup item?
    Yep, its like the DVD player resets itself.
    When you say startup - you mean it's in the startup
    folder ?
    if so, try it as a login item instead, perhaps?
    Yes its in as a login item, is there a start up folder under OSX?
    Failing that, I don't know. But I would try a
    separate item run after the first that does nothing
    except eject the dvd. ie not just another eject
    action from automator in the same script but a new
    login/startup item.
    So what you are suggesting is create a 2nd script that just does an eject
    and include that as a 2nd start up item, so it runs that after the primary script.
    Hmm worth a try.
    Thanks again Andy, if you are ever in OZ give me a call I will buy you a beer.
    Ian
    Ti 677Mhz    

  • I had backed up my I-tunes files to an external hard drive but after my computer crashed when I try to reload from the hard drive the message comes up saying I-tunes library cannot be read because it was created by a newer version. Help please!

    I had backed up my I-tunes files to an external hard drive but after my computer crashed and I restored it when I try to reload from the hard drive the message comes up ""I-tunes files cannot be read because it was created by a newer version of I-tunes". Help Please

    Upgrade the version of itunes on the new computer
    Itunes.com for free download.
    Peace

  • The circuit of my macbook is dead yet the hard drive is fine.  I need to access a file from the hard drive, how can i do this? is there a cable i can connect to another mac that will let me transfer the file?

    The circuit of my macbook is dead yet the hard drive is fine.  I need to access a file from the hard drive, how can i do this? The mac turns on the screen freezes as bright blue.  Is there a cable i can connect to another mac that will let me transfer the file?

    There is another option if the Macbook will start up in Target Disk Mode.
    Restart the computer while holding down the T key. If you see the firewire symbol moving around on the screen you can connect this one to another one in TDM. You will need a suitable cable to connect the two Macs.
    http://support.apple.com/kb/ht1661
    Firewire symbol:

  • Help reading a .txt file from the hard drive....

    Hi guys,
    Ok... I need to know how to read a .txt file from the hard drive... I have an example on how to read from a disk, but I don't have a disk drive. I could be confusing terminology, but I don't think I am. Here is the code I have for reading from a disk.. please let me know how I should change it to read from a hard drive.
    Also, when the error pops up, it says that it can't read another .txt file that is not specified in the code... any ideas how that is occuring? Please advise.
    import java.io.*;
    public class TEST {
    public static void main(String args[]) throws Exception{
    FileReader fr = new FileReader("customer.txt");
    BufferedReader bfr = new BufferedReader (fr);
    String s;
    while ((s=bfr.readLine())!= null){
    System.out.println (s);
    fr.close();
    }

    Ok... I need to know how to read a .txt file from the
    hard drive... I have an example on how to read from a
    disk, but I don't have a disk drive. I could be
    confusing terminology, but I don't think I am. Here
    is the code I have for reading from a disk.. please
    let me know how I should change it to read from a
    hard drive.The code will be the same, regardless of where the file is located. It's just the filename that will be different.
    Also, when the error pops up, it says that it can't
    read another .txt file that is not specified in the
    code... any ideas how that is occuring? Please
    advise.Probably becuase the class file (compiled version of the source code) is a different version to the source code, i.e. the source code hasn't been recompiled since the source code was changed.
    How does this relate to EJBs?

  • I accidently deleated file from the Elements organizor and from the hard drive. Can I get it back?

    I accidently deleated a file from the Elements organizor and from the hard drive. Can I get it back? How to do it?

    There's a good chance that you can if you haven't done too much work after deleting it.  Typically files are not actually wiped from the hard drive, rather the space they take is marked as free to use by another file if needed.  So if it hasn't been used by another file it can be recovered.
    Try this program...  it will help if you know where the images were stored.
    http://www.piriform.com/recuva
    Colin

  • I copied all my CD's onto a hard drive.  Can I transfer each CD from the hard drive to my iPhone either wirelessly or by direct connection?

    I copied all my CD's onto a hard drive.  Can I transfer each CD from the hard drive to my iPhone either wirelessly or by direct connection?  Do I have to make a playlist for each cd and then transfer it to my iPhone?

    When you buy your new iMac you will be able to have the installation process transfer all your applications, data (including music, pictures, documents, etc) and settings to your new computer. In the past that was done via Firewire. I'm not entirely sure of the process with the new iMacs that don't have firewire. I think it can be done via ethernet and probably via tha thunderbolt cord using a firewire adapter but you'll want to check that out.
        With the your new computer properly connected to your old computer, the initial booting of the new computer will include the ability to move everything over.
        If for some reason you don't want to do that (smart if you have some horrible software issue that is causing problems) you can connect your old computer to the new one and start it in Target Disk mode where it will be seen as a hard drive. You can then manually copy over all your music and import that into iTunes (and any other data you want).
        Somebody here will surely point you to directions for connecting an older iMac with no Thunderbolt to a newer iMac with no Firewire.

  • I have stored everything on my Macbook pro in a external hard drive (Time Machine)  Now that we have "wiped the machine" I am told I can start it over and load ontent--apps, docs, etc from the hard drive, just plug it in, find the time machine and what?

    I have stored everything on my Macbook pro in a external hard drive (Time Machine)  Now that we have "wiped the machine" I am told I can start it over and load ontent--apps, docs, etc from the hard drive, just plug it in, find the time machine and what?    I need to know what to highligh, what to click on. 

    hirogliffix,
    take a look at this Apple page — in particular, the “Restoring data from Time Machine backups” section and its “Restoring your entire system from a backup” subsection.

Maybe you are looking for