Results 1 to 4 of 4

Thread: Copy File To Public Folder

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Dec 2000
    Location
    Sydney
    Posts
    311

    Copy File To Public Folder

    I'm just learning about Exchange Public Folders. I know it's possible to email to files to a Public Folder and I'm sure I'll be able to accomplish this through VB.

    However I have also read that you can copy files to a Public Folder from Windows Explorer. So I'm guessing that if you can do this manually you can also do it through VB. Is this the case?

    I guess I'd need to know the 'path' to the public folder and then just copy my files? Is this correct?

  2. #2
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709
    Yes, you need to know the complete path to the Public folder and
    its type (IPM.Note, IPM.ppointment,IPM.Contact, etc).

    I have several examples on the Forums, try a search by my
    username. You can copy over email messages, appointment
    items, contactitems, etc. from your private Outlook folders to
    Exchange Public folders.

    You can only add Outlook items into Exchange/Outlook. Yes, they
    do have shortcuts in the "Other Shortcuts" that allow you to
    browse Windows Explorer folders, but you cant copy a dll file into
    an email message type Outlook folder.

    Let me know if you need help with the code you find.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Dec 2000
    Location
    Sydney
    Posts
    311
    RobDog888 cheers for the response. I have a few stupid questions:

    1) What does IPM stand for?
    2) I probably don't understand your answer, but if I have a file called C:\MyFile.TXT can I put that in a Public Folder. Rather than mailing to the Public Folder can I just copy it there? You may have answered this, apologies if you have! I don't get it.

    I'll have a look for some of your code.

    Ta

  4. #4
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709
    I forgot the ackronym but it the message class for the form.

    IPM.NOTE is the default email message form.
    IPM.Appointment is default Appointment item form.
    etc.

    You would have to mail it as an attachment (embedded or
    attachment) in order to store it in an Outlook folder private or
    public.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width