Results 1 to 29 of 29

Thread: [RESOLVED] Attn: MartinLiss

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Apr 2005
    Location
    Debug.Print
    Posts
    3,885

    Resolved [RESOLVED] Attn: MartinLiss

    Hi:

    I am checking out the registration program from the Code Bank from MartinLiss and I am getting an problem with a missing file. I recently had to uninstall and reinstall VB6 Enterprise Edition and I also installed VB6 SP6 but when I run the Protect, I have a problem with a reference. Screen shot attached. I have Office XP installed on this machine too. (I have no problems in running the KeyGen though)

    Please advise

  2. #2
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Attn: MartinLiss

    I havent seen it but it looks like it was written to send information via email. Martin probably used a reference to Outlook 98. You should just be able to remove it and add a new reference to your version of Outlook.
    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

  4. #4

  5. #5
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Attn: MartinLiss

    Cant automate anything with Outlook Express as it doesnt expose any valid COM interfaces.
    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

  6. #6
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: Attn: MartinLiss


  7. #7
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Attn: MartinLiss

    Quote Originally Posted by dglienna
    You read the question wrong dglienna. The missing reference is Outlook and not the selected reference "OLE Automation".
    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

  8. #8
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: Attn: MartinLiss

    Oops. I thought it was pointing to the missing location

    EDIT: Select "microsoft outlook 10.0 library" instead
    Last edited by dglienna; Nov 14th, 2005 at 09:28 PM.

  9. #9
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Attn: MartinLiss

    I know, I had to read it twice to make sure I responded correctly.

    Edit: Solution in post #2.
    Last edited by RobDog888; Nov 14th, 2005 at 09:29 PM.
    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

  10. #10

    Thread Starter
    PowerPoster
    Join Date
    Apr 2005
    Location
    Debug.Print
    Posts
    3,885

    Re: Attn: MartinLiss

    Quote Originally Posted by RobDog888
    I havent seen it but it looks like it was written to send information via email. Martin probably used a reference to Outlook 98. You should just be able to remove it and add a new reference to your version of Outlook.
    How? lol

  11. #11

  12. #12
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: Attn: MartinLiss

    He didn't install Outlook when he loaded Office XP.

  13. #13

    Thread Starter
    PowerPoster
    Join Date
    Apr 2005
    Location
    Debug.Print
    Posts
    3,885

    Re: Attn: MartinLiss

    Quote Originally Posted by RhinoBull
    I thought it was crystal clear...


    Nah, #3 is better... unless you meant reply #2 ...
    checking for different versions might be the best solution because you never know who is using what.

  14. #14

    Thread Starter
    PowerPoster
    Join Date
    Apr 2005
    Location
    Debug.Print
    Posts
    3,885

    Re: Attn: MartinLiss

    Quote Originally Posted by dglienna
    He didn't install Outlook when he loaded Office XP.
    thought i did but seems not. going to rectify that problem either tonight or tomorrow but would love to be able to check for different versions of outlook.

  15. #15

  16. #16
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: Attn: MartinLiss

    rhino posted the answer to that one. use late binding to use the one that's installed.

  17. #17

  18. #18

    Thread Starter
    PowerPoster
    Join Date
    Apr 2005
    Location
    Debug.Print
    Posts
    3,885

    Re: Attn: MartinLiss

    Quote Originally Posted by MartinLiss
    BTW if you want to get my attention, an email or PM is better.
    ok, ill remember that for the future

  19. #19
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Attn: MartinLiss

    @RB, I thought I was clear. Post #2

    Either way you can not rely on the user having Outlook.
    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

  20. #20

  21. #21
    PowerPoster RhinoBull's Avatar
    Join Date
    Mar 2004
    Location
    New Amsterdam
    Posts
    24,132

    Re: Attn: MartinLiss

    Quote Originally Posted by RobDog888
    @RB, I thought I was clear. Post #2

    Either way you can not rely on the user having Outlook.
    That is true if user "category" is uknown - for corporate type user late binding is pretty much what's needed.

  22. #22

  23. #23

  24. #24
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Attn: MartinLiss

    And any Outlook constants need to be defined too or just use the equilivalent values.
    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

  25. #25

  26. #26

    Thread Starter
    PowerPoster
    Join Date
    Apr 2005
    Location
    Debug.Print
    Posts
    3,885

    Re: Attn: MartinLiss

    ill have to check out MSDN to find out what all these values would be. this is totally new to me.

  27. #27
    PowerPoster RhinoBull's Avatar
    Join Date
    Mar 2004
    Location
    New Amsterdam
    Posts
    24,132

    Re: Attn: MartinLiss

    That might be a little difficult, though.
    Here is what may try:
    - (while in development) set references to MS Outlook
    - declare all of your object variable as you would normally do (as Outlook.Aplication, etc)
    - do your coding (intellisense will definitely help you to define all you need)
    - when you done coding and everything works - turn off references and re-declare your object vars As Object
    - use CreateObject function to create instance of Outlook.Application
    - declare your own const using those values that Outlook has
    - rest fo your code should remain unchanged

    Good luck.

  28. #28

    Thread Starter
    PowerPoster
    Join Date
    Apr 2005
    Location
    Debug.Print
    Posts
    3,885

    Re: Attn: MartinLiss

    Quote Originally Posted by RhinoBull
    That might be a little difficult, though.
    Here is what may try:
    - (while in development) set references to MS Outlook
    - declare all of your object variable as you would normally do (as Outlook.Aplication, etc)
    - do your coding (intellisense will definitely help you to define all you need)
    - when you done coding and everything works - turn off references and re-declare your object vars As Object
    - use CreateObject function to create instance of Outlook.Application
    - declare your own const using those values that Outlook has
    - rest fo your code should remain unchanged

    Good luck.
    This seems to be overwhelming stuff for a newb like me, lol.

  29. #29
    Former Admin/Moderator MartinLiss's Avatar
    Join Date
    Sep 1999
    Location
    San Jose, CA
    Posts
    33,431

    Re: Attn: MartinLiss

    Quote Originally Posted by BrailleSchool
    This seems to be overwhelming stuff for a newb like me, lol.
    But as I said above, you don't need to worry about it. Just remove the reference and I believe it will still work.

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