Welcome to MapForums!

Register, sign in, or use Facebook Connect above to join in and participate in the forum.

When you are signed in, this message, the ads in this row, and the red-underlined link ads all go away.

Subscribe to receive our newsletter.
Subscribe Unsubscribe
Results 1 to 2 of 2

SavedWebPages and late binding. Please help.

This is a discussion on SavedWebPages and late binding. Please help. within the Development forums, part of the MapPoint Desktop Discussion category; Hi all. I need some help in correcting an issue with calling the Add method of SavedWebPages from C# when ...

  1. #1
    markdileo is offline Junior Member White Belt
    Join Date
    Nov 2008
    Posts
    1

    Question SavedWebPages and late binding. Please help.

    Hi all.

    I need some help in correcting an issue with calling the Add method of SavedWebPages from C# when the MapPoint application is late bound. It works fine if it's early bound, but fails with a "Could not convert arguement n for call to Add" where n varies depending on the number of optional parameters included in the Add call when late binding is used. Everything else works just fine.

    If I could get the same finer control out of the Map.SaveAs method using the html option, I wouldn't need the SavedWebPages.Add method.

    Any help is truly appreciated.

    Thanks!


  2. #2
    Winwaed's Avatar
    Winwaed is offline Mapping-Tools.com Black Belt
    Join Date
    Feb 2004
    Location
    Irving,Texas
    Posts
    1,840
    Blog Entries
    56

    Re: SavedWebPages and late binding. Please help.

    Have you tried adding dummy parameters to pad out the 'missing' parameters? I've seen this requirement before with COM interfaces and variable parameter counts, although I can't remember if it was early or late binding.

    Richard
    Winwaed Software Technology LLC
    http://www.winwaed.com
    See http://www.mapping-tools.com for MapPoint Tools

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Altitude doesn't seem to work for SavedWebPages.Add
    By MapUser in forum MapPoint Desktop Discussion
    Replies: 3
    Last Post: 05-05-2010, 07:48 AM
  2. Capture Mappoint Quit event with Late Binding in C#
    By Vilhelms in forum Development
    Replies: 5
    Last Post: 04-07-2010, 10:42 AM
  3. SavedWebPages.Add very slow question
    By krishvgopal in forum Development
    Replies: 2
    Last Post: 10-02-2009, 11:15 AM
  4. C# Late Binding Application
    By jasanite in forum MapPoint Desktop Discussion
    Replies: 5
    Last Post: 03-11-2009, 07:03 AM
  5. Calling MapPoint from C# with Late Binding
    By MapAdmin in forum MP2K Magazine Articles
    Replies: 0
    Last Post: 03-11-2009, 07:00 AM

Posting Permissions

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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81