Author Topic: phonebook.xml Creationtool of Outlook Contacts (GXV3140/GXV3175)  (Read 14089 times)

bird99

  • Newbie
  • *
  • Posts: 28
    • View Profile
phonebook.xml Creationtool of Outlook Contacts (GXV3140/GXV3175)
« on: February 03, 2011, 06:26:30 AM »
Hello to all GXV3140 and GXV3175 users,

I didn't find a good solution to import the Outlook contacts in our phone.
That's why I have made a tool to create the "phonebook.xml" file from Outlook contacts, to import in GXV3140.
This file can be imported via the webinterface or the menue of the GXV3140/GXV3175. I use "Tftpd32 by Ph. Jounin" as
TFTP Server, its easy and free, but you can use every TFTP or HTTP server.
The contact pictures can't imported via this way (only the filelink in phonebook.xml), that's why I exported the images in a configurable subfoldername. You have to copy the whole folder with icons to the Screenshots folder of the phone (for example via USB-stick).

Features:
- no installation, no admin rights and no internet access required
- configurable accountnumber, mobilnumbers with an different account
- Contactfilter via category
- dynamic fill of important number fields to available numbers
- export of contact pictures with Outlook-contactid as filename and filelink in contact of phonebook.xml.

Instructions:
- Backup your Phonebook first via web interface! (If you have contacts or numbers in the phone, which are not in your outlook contacts!)
- Unzip the package to a folder with write rights and start the GXV3140-3175OutlookToPhoneBook.exe, make your settings and press "Execute"
  (the tool create a phonebook.xml file and the contact images in the sub folder "Export")
- copy the phonebook.xml to the root folder of your TFTP/HTTP server and download the phonebook via web-access of the phone or the contact import in the menu (contacts/options/download)
- opt. if you need the contact pictures, copy the complete images subfolder to an USB-strick and transfer the folder to the screenshots folder of the phone

Tip for older firmwares:
    If the Download of the phone didn't find the XML file, try to rename the "phonebook.xml" to "gs_phonebook.xml"!

History:
v0.9
  - Fix wrong target folder from link "Open export folder"
  - Zip file of v0.8 was not extractable with explorer (no problem with Total Commander)
v0.8
  - better compatibility with different outlook versions
 v0.7
  - support for GXV3175, inkl. Email export
  - define different targetfolder: You can set it for example to the rootfolder of your HTTP/TFTP server to skip the "copy files" step.
  - Options to Enable/Disable the export of email and fax (Field can be used for phone numbers)
 v0.6
  - Contact folder selector
  - Filter for more than 1 category
  - Option: Set phone Nr.4 to Faxnumber if Fax not available
 v 0.5
  - Initial release
« Last Edit: January 19, 2012, 12:39:27 AM by bird99 »
GX3140 Firmware 1.0.7.3

valentin_nils

  • Sr. Member
  • ****
  • Posts: 492
  • Hey, whats your uptime ?
    • View Profile
Re: phonebook.xml Creationtool of Outlook Contacts (.NET2 portable)
« Reply #1 on: February 03, 2011, 05:18:13 PM »
Excellent !!
I havn't tried the tool itself yet , but I am very happy that users start taking action ;-)
Much appreciated !!

I will update my tips for beginners with it.
GXV3140 user ? Feel free to contact me for testing purpose (setup)

bunfer

  • Guest
Re: phonebook.xml Creationtool of Outlook Contacts (.NET2 portable)
« Reply #2 on: February 11, 2011, 01:20:15 PM »
I modified the outlook import tool for GXP-2000 phone. So far it works.
Copy/paste the  browser output to notepad++ and save it with UTF-8 coding  to phonebook.xml

<html>
<head>
<!--
hta application which reads Outlook contacts and generates a phonebook file for a Grandstream GXP-3145 VOIP phone.
Tested in Outlook 2003.

Save this file with an .hta extension.  (e.g. GrandstreamExport.hta)

Notes:
o. Only 18.5 characters fit on the phone's screen.
o. Full name is chopped down to 16 characters and placed
   in the last name field.  This gives enough room
   for FirstName to indicate if the phone number is
   a cell phone, office, home, etc.

Original Author: Tim Smith, mail is A Grandstream Fan at TimAndJulie.com
Modified by Ferdi Bunte

Revision History:
   0.1 Submitted to the public domain 2007-09-01 via http://voip-info.org
       See http://www.voip-info.org/wiki/view/GXP-2000+XML+Idle+Screen (search for Outlook)
   0.x ???
TODO:
o. Put source in sourceforge so a "trusted version" can be located.
o. Figure out how to auto-detect the mail profile name.
o. Provide instructions for how to figure out what the name of your outlook profile is.
o. Provide feedback that the script is generating xml.  Big phone books can have a long pause.

Documentation:
================================
The basic steps to generate an XML phonebook from Outlook are:
0. REVIEW ALL THE SOURCE CODE IN THIS FILE!  Trust no one!  :-)
1. In this file, search for OUTLOOK_PROFILE and set the profile string to the name of your MAPI profile.
   Note that you can now launch the hta file directly (e.g. Start-Run-"start XMLFromOutlook.hta")
   or you can continue with the instructions and run this inside Outlook.
2. Create a folder in Outlook.  Edit the folder's properties. 
   On the Webpage tab, point to this file and make sure "show home page by default" is checked.
3. Click the outlook folder, click the link and your xml phonebook is generated.
4. Copy the xml text and paste in file named gs_phonebook.xml. 
   Put this file on a web server and point your phone to it.

The detailed steps:
1. Reconfigure the script.
a. Load this file in an editor.
b. Search for the text "OUTLOOK_PROFILE".  You are looking for an assignment const OUTLOOK_PROFILE = "value"
c. Set the value in quotes to the MAPI profile name for your mailbox.
d. Save the file and exit.

2. Make a folder in outlook that will show the user interface.
a. In Outlook, view the folders.  (Press ctrl-6 or choose menu "Go - Folder List"
b. Right click the top folder and choose "New Folder".  Give it the name "XML Phonelist"
c. Right click the new folder and choose "Properties"
d. Click the "Home Page" tab.
e. Click the Browse button and select this html file.
f. Check the checkbox titled "Show home page by default for this folder"
g. Click Apply.  You will get a warning about "offline settings".  Ignore this.
h. Click Cancel to close the properties box.

3. Generate your XML phonebook.
a. Click the folder you just generated.  If everything went well, you will find instructions in the outlook browser window.  If not, go back and follow the directions.  :-)
b. Click the word "here" as in "Click here".  There will be a pause.
c. Create a text file named "gs_phonebook.xml" and paste the generated xml into it.  Save it.

4. Load the phonebook on the grandstream gxp2000
a. Put the gs_phonebook.xml file on a web server.
b. Go into the phone's configuration and point to the folder on the web server where the phonebook resides.
c. Click the menu button on the phone (round button in the middle of the four arrows)
d. Choose "Phone book" and then "Download Phonebook"

Troubleshooting:
1. If the phone book loads real fast (1-2 seconds) then something is wrong
with the xml file (or you just don't have many entries).  Look for characters
like ampersands (&) and less/greater than characters.

-->
<title>Contact export program for Grandstream gxp3140</title>

<HTA:APPLICATION
     ID="objHTAGrandstreamExport"
     APPLICATIONNAME="GrandstreamExport"
     SCROLL="yes"
     SINGLEINSTANCE="yes"
     WINDOWSTATE="maximize"
>

<style type="text/css">
a {
color: #0099cc;
font: underline;
}


.headerRow {
   background="yellow";
}
.oddRow {
   background="blue";
}
.evenRow {
   background="yellow";
}
</style>

</head>

<SCRIPT Language="VBScript">
Const OUTLOOK_PROFILE = "Outlook"
Const bExportAll = true
Const EXPORT_IF_HAS_THIS_TEXT = "GrandstreamExport"
Const EXCLUDE_IF_HAS_THIS_TEXT = "GrandstreamException"
Const ALWAYS_INCLUDE_THIS_COMPANY = "Informatica"  '(Your company name causes all your coworkers to be loaded)


Const olNote = 44
Const olFolderContacts = 10
Const olFolderNotes = 12
Const olFolderInbox = 6

Const msoFileTypeWordDocuments = 3
Const msoFileTypeExcelWorkbooks = 4
Const msoFileTypePowerPointPresentations = 5

Const olAppointmentItem = 1
Const olContactItem = 2
Const olContactClassID = 40
Const olDistributionListItem = 7
Const olJournalItem = 4
Const olMailItem = 0
Const olNoteItem = 5
Const olPostItem = 6
Const olTaskItem = 3

' These constants identify the type of phone number in the phone book
Const PhoneType_HOME = "Hm"
Const PhoneType_BUSINESS = "Bs"
Const PhoneType_MOBILE = "Ce"
Const PhoneType_COMPANY = "Bs2"
Const PhoneType_HOME2 = "Hm2"
Const PhoneType_BUSINESS2 = "Bs3"

Dim ns

Set oOutlook = CreateObject("Outlook.Application")
Set ns = oOutlook.GetNamespace("MAPI")

crlf = chr(13) & chr(10)

Sub gxpPhoneList()
   Dim o 'As Object
   Dim oContact 'As ContactItem

   Dim phonearr(3) ' 3 numbers per contact
   
    sHtml = "<?xml version=""1.0""?>" & crlf
   sHtml = sHtml & "<AddressBook>" & crlf
   sHtml = sHtml & " <version>1</version>" & crlf
   
   Set oSession = CreateObject("MAPI.Session")
   oSession.Logon OUTLOOK_PROFILE
   
   Set fld = ns.GetDefaultFolder(olFolderContacts)
   For Each o In fld.Items
      'If TypeOf o Is ContactItem Then
      If cint(o.Class) = olContactClassID Then
         Set oContact = o
   
         'CRITERIA HERE
         bExportThisOne = false
         if instr(1, oContact.Body, EXCLUDE_IF_HAS_THIS_TEXT, 1) then
            ' Has the exclusion text.  Don't export this contact.
         else
            bExportThisOne = bExportAll
            if bExportThisOne = false then
               if instr(1, oContact.Body, EXPORT_IF_HAS_THIS_TEXT, 1) then
                  bExportThisOne = true
               elseif instr(1, oContact.CompanyName, "Informatica", 1) then
                  ' Has the company I always want exported.  (My company!)
                  bExportThisOne = true
               end if
            end if
         end if
         If bExportThisOne Then
            ' Annoying things about the Gransstream 2000 by Tim Smith
            '   You can't have one contact with multiple phone numbers
            '  You can't tell what type of phone number is displayed (cell, home, office, etc.)
            '  You can't scroll left/right in the phone book.  If you have more than 18.5 characters then you are out of luck.
            sComment = oContact.FullName & " " & oContact.JobTitle & ", " & oContact.CompanyName
            sComment = replace(sComment, "--", "-")
            sComment = replace(sComment, "&", "-n-")
            'sHtml = sHtml & crlf & "<!-- Contact: " & sComment &  " -->"
            sHtml = sHtml & crlf
         ' Take the most important phone numbers         
         phonearr(0) = oContact.HomeTelephoneNumber
         phonearr(1) = oContact.BusinessTelephoneNumber
         phonearr(2) = oContact.MobileTelephoneNumber
         ' Create an contact entry
         sHtml = sHtml & ContactToXML(oContact, phonearr)
            ' Reset phonearr
         phonearr(0) = ""
         phonearr(1) = ""
         phonearr(2) = ""
         z=0
         ' Check for more phone entries   
         For each tmp in    ARRAY ( oContact.Business2TelephoneNumber, oContact.CompanyMainTelephoneNumber, oContact.Home2TelephoneNumber, oContact.PrimaryTelephoneNumber, oContact.OtherTelephoneNumber )
               if len(tmp) then
               phonearr(z) = tmp
               z = z + 1
               end if
            NEXT         
         if z > 0 THEN ' Additional ENTRY for Contact
         sHtml = sHtml & ContactToXML(oContact, phonearr)
         else
         if z > 2 THEN ' To many entries - give up
         MSGBOX "Error: To many phone entries for - " & oContact.LastName & oContact.FirstName
         end if
         end if
         

         End If
      End If
   Next
   
   
   
   sHtml = sHtml & "</AddressBook>"
   
   ' Reformat the html.  Replace special characters with html codes.
   shtml = replace(shtml, "&", "")
   shtml = replace(shtml, "nbsp;", "&nbsp;")
   shtml = replace(shtml, "<", "&lt;")
   shtml = replace(shtml, ">", "&gt;")
   shtml = replace(shtml, crlf, "<br>")
   content.InnerHTML = shtml
End Sub

Function ContactToXML(oContact,  ph_arr() )
   ' On a Grandstream GXP-2000, only 18.5 characters from the name fits.
   ' Name is displayed as "lastname,firstname" and is sorted in the phone.
   ' The only elements the phone displays is lastname/firstname/phone so there is no reason to populate company/address/etc.
   ' NOTE: Ampersands (&) screw things up.
   ' Note: Documentation on the XML format can be found here: http://www.voip-info.org/wiki/view/GXP-2000+XML+Phonebook

      ContactToXML = ContactToXML & "<Contact>" & crlf
      ' Switch FirstName/LastName
      ContactToXML = ContactToXML & "&nbsp; &nbsp;<FirstName>" & oContact.LastName & "</FirstName>" & crlf
      ContactToXML = ContactToXML & "&nbsp; &nbsp;<LastName>" & oContact.FirstName & "</LastName>"  & crlf
        For each tmp in ph_arr ' Create up to 3 phone numbers
      if len(tmp) then
      ContactToXML = ContactToXML & "&nbsp; &nbsp;<Phone>" & crlf
            ContactToXML = ContactToXML & PhoneToXML(tmp)
      ContactToXML = ContactToXML & "&nbsp; &nbsp;</Phone>" & crlf
      end if
      NEXT
      ContactToXML = ContactToXML & "</Contact>" & crlf
'   end if
End Function

Function PhoneToXML(sPhoneNumber)
   if len(sPhoneNumber) then
      ' Get rid of leading +1 (does not handle other country codes)
      sPhoneNumber = replace(sPhoneNumber, "+1", "")
      
      ' Strip everything that the phone doesn't allow.  Leave ) and + because these are delt with in a minute
      for x = len(sPhoneNumber) to 1 step -1
         if instr("0123456789)-+", mid(sPhoneNumber, x, 1)) then
         else
            'mid(sPhoneNumber, x, 1) = " "
            sPhoneNumber = left(sPhoneNumber, x - 1) & " " & mid(sPhoneNumber, x + 1)
         end if
      next
      
      ' Fix the closing paren when there are parens around area code
      sPhoneNumber = replace(sPhoneNumber, ")", " ")
      
      ' Remove duplicate spaces
      sPhoneNumber = trim(replace(sPhoneNumber, "  ", " "))
      
      ' Normalize spaces to dashes and remove duplicate dashes
      sPhoneNumber = replace(replace(sPhoneNumber, " ", "-"), "--", "-")
      
      ' Remove dashes so caller ID works
      sPhoneNumber = replace(sPhoneNumber, "-", "")
      
      PhoneToXML = "&nbsp; &nbsp;&nbsp; &nbsp;<phonenumber>" & sPhoneNumber & "</phonenumber>" & crlf
      PhoneToXML = PhoneToXML & "&nbsp; &nbsp;&nbsp; &nbsp;<accountindex>0</accountindex>"  & crlf
      
   end if
End Function



</SCRIPT>
<body>

<table border="0" id="main">
   <!---------------->
   <!-- menu row -->
   <!---------------->
<tr>
<td><span id="top_menubar"></span></td>
</tr>
   <!---------------->
   <!-- tabs row -->
   <!---------------->
<tr>
<td><span id="tabs">
 Click <a onclick="gxpPhoneList">here</a> to export contacts in Grandstream format.<br />
 
 <br /><b>Notes:</b>
 <ul>
 <li>Contacts with "GrandstreamExport" in the note field will be exported</li>
 <li>Contacts with "GrandstreamException" in the note field will never be exported</li>
 <li>For more information, see <a href="http://www.voip-info.org/wiki/view/GXP-2000">voip-info.org</a>
 for the latest on the <a href="http://www.voip-info.org/wiki/view/GXP-2000">GXP-2000</a>
 and the <a href="http://www.voip-info.org/wiki/view/GXP-2000+XML+Phonebook">xml phonebook</a> feature.</li>
 </ul>
</span></td>
</tr>
   <!---------------->
   <!-- content row -->
   <!---------------->
<tr>
<table>
<tr>
<td width="10%"><span id="left_menubar"></span></td><td><span id="content"></span></td><td><span id="right_menubar"></span></td>
</tr>
</table>
</tr>
   <!---------------->
   <!-- Bottom row -->
   <!---------------->
<tr valign="bottom">
<td><span id="statusbar"></span></td>
</tr>
</table><p />

</body>
</html>


bird99

  • Newbie
  • *
  • Posts: 28
    • View Profile
Re: phonebook.xml Creationtool of Outlook Contacts (.NET2 portable)
« Reply #3 on: February 14, 2011, 02:02:32 AM »
Nice, but why do you didn't open an own thread? Change the outlook installation and integrate an userinterface in a outlook folder is a complete different way.  ;)

I didn't like the phone number handling of your script. If you have a HomeTelephoneNumber and a Home2TelephoneNumber or you have a MobileTelephoneNumber and a PrimaryTelephoneNumber, you will get 2 contact entries for the same contact, with 1 number for each contact. And why a message box, if you have more than 3 numbers outside of Mobile, Home, Business, it's nothing special. For example: you get a message box and 2 contact items if you have a company contact with BusinessTelephoneNumber, Business2TelephoneNumber, CompanyMainTelephoneNumber,PrimaryTelephoneNumber and OtherTelephoneNumber. If you will continue your handling, you should create a third contact entry for the contact.


' These constants identify the type of phone number in the phone book
Const PhoneType_HOME = "Hm"
Const PhoneType_BUSINESS = "Bs"
Const PhoneType_MOBILE = "Ce"
Const PhoneType_COMPANY = "Bs2"
Const PhoneType_HOME2 = "Hm2"
Const PhoneType_BUSINESS2 = "Bs3"

The idea is nice, but where are the Implementation of this feature ::). I think you can't add text to a phone number, because the number didn't working after that.
GX3140 Firmware 1.0.7.3

gsuser17

  • Guest
Re: phonebook.xml Creationtool of Outlook Contacts (GXV3140/GXV3175)
« Reply #4 on: March 01, 2011, 10:55:34 AM »
This would be a very useful tool, but unfortunately I can't execute it in this environment:
- Windows 7 Pro 32-bit
- Office/Outlook 2010

Every time I tried to execute the exe the error which you can see at the attachement occured.
Is there an easy way to fix this?

Many thanks in advance and kind regards

bird99

  • Newbie
  • *
  • Posts: 28
    • View Profile
Re: phonebook.xml Creationtool of Outlook Contacts (GXV3140/GXV3175)
« Reply #5 on: March 02, 2011, 03:34:17 AM »
Have found the problem! Had a line control in the form and the line needs PowerPacks.Vs Dll of the framework, I have this
dll, your and another computer of me doesn't have this dll. >:(
I have remove the line and the link of the dll, now it should work. Have tested it also on a Win7 with Office 2010 (with the same error before changing something), now it was working.
Download the tool again and please report if it is working.
Thanks!
« Last Edit: March 02, 2011, 04:18:31 AM by bird99 »
GX3140 Firmware 1.0.7.3

evian44

  • Newbie
  • *
  • Posts: 5
    • View Profile
    • Email
Re: phonebook.xml Creationtool of Outlook Contacts (GXV3140/GXV3175)
« Reply #6 on: March 11, 2011, 02:01:48 AM »
I tried this tool 2 different Win7 64bit verision and Outlook 32bit computers. I got always an error message:

Com-object from Microsoft.Office.Interop.ApplicationClass could not changed to Microsoft.Office.Interop.Outlook_application
Because QueryInterface call to Com component for the port IID(0063001-0000-C000-0000000000046) could not be executed.
Error at loading the dll at Microsoft.Office.interop.Outlook.ApplicationClass.GetNameSpace(String Type) at oulookToPhoneBook.form_Main.ExecuteButton_Click(Objectsender,eventArgs e)

Any idea to solve that?

many thanks in advance

bird99

  • Newbie
  • *
  • Posts: 28
    • View Profile
Re: phonebook.xml Creationtool of Outlook Contacts (GXV3140/GXV3175)
« Reply #7 on: March 11, 2011, 03:42:30 AM »
I can't reconstruct your error. Is your outlook connected to an exchange server?
Contains your office installation the feature "Visual Basic scripting support"? Check it and
add it to outlook and common features if it is not installed.
I have changed some things to access outlook. Try the attached version of this post.
GX3140 Firmware 1.0.7.3

bird99

  • Newbie
  • *
  • Posts: 28
    • View Profile
Re: phonebook.xml Creationtool of Outlook Contacts (GXV3140/GXV3175)
« Reply #8 on: March 11, 2011, 03:52:26 AM »
If the tips of the previous post didn't help, try to add the attached office interop v12 dll's to the folder of the tool.
GX3140 Firmware 1.0.7.3

evian44

  • Newbie
  • *
  • Posts: 5
    • View Profile
    • Email
Re: phonebook.xml Creationtool of Outlook Contacts (GXV3140/GXV3175)
« Reply #9 on: March 14, 2011, 01:30:00 AM »
First of all many thanks for your quick reply and support.

None of your tips helped. Could it be a language problem? I'm using teh German language?

Thanks again

bird99

  • Newbie
  • *
  • Posts: 28
    • View Profile
Re: phonebook.xml Creationtool of Outlook Contacts (GXV3140/GXV3175)
« Reply #10 on: March 14, 2011, 03:22:06 AM »
I use also German language, should not be the problem. ;D
No tool which will acess outlook should work at your installation, I use
only the default ways to access the contact folder. Nothing special. :-\

I program with Outlook since 15 years, never had such a problem.

Which version of Outlook do you have?
GX3140 Firmware 1.0.7.3

evian44

  • Newbie
  • *
  • Posts: 5
    • View Profile
    • Email
Re: phonebook.xml Creationtool of Outlook Contacts (GXV3140/GXV3175)
« Reply #11 on: March 14, 2011, 04:22:11 AM »
It's Oulook 2010. The problem accours even if I click on the contact dropdown box.
If you like I can send you the original error message to your email adress....

DANKE !!

bird99

  • Newbie
  • *
  • Posts: 28
    • View Profile
Re: phonebook.xml Creationtool of Outlook Contacts (GXV3140/GXV3175)
« Reply #12 on: March 14, 2011, 04:46:02 AM »
I have Outlook 2007, but I have test it already on 2010.
The contact dropdown box read (on click) all available contact folder of outlook,
that's why the same error. I send you a Pm with my mail address, I will give you
a debug version. With this version I get the exact code line number which is responsible
of the error.
GX3140 Firmware 1.0.7.3

Skylion

  • Guest
Re: phonebook.xml Creationtool of Outlook Contacts (GXV3140/GXV3175)
« Reply #13 on: March 14, 2011, 05:16:39 AM »
hey guys,

I have a similar problem, as soon as clocking on Drop Down Outlook Contact Folder OR if skipping that and going straight to execute following Error bellow appear.

I use Outlook 2003 SP1 with Exchange Server.
Windows XP pro SP3 32bit (English)
Same also happens on Laptop on Windows 7 pro 64bit (English)
Localization German/Switzerland
The Error occurs in both situations offline or online with Exchange, and even if Outlook is not even started.
Tested with the V0.7 and the modified version from March 11th.

Best regards

ERROR:
---------
Unhandled exception has occurred in your application. If you click
Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately.

Could not load file or assembly 'Microsoft.Office.Interop.Outlook, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified.

Details:
---------
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Office.Interop.Outlook, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.Office.Interop.Outlook, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c'
   at OutlookToPhoneBook.Form_Main.ComboBox_SourceFolders_DropDown(Object sender, EventArgs e)
   at System.Windows.Forms.ComboBox.OnDropDown(EventArgs e)
   at System.Windows.Forms.ComboBox.WmReflectCommand(Message& m)
   at System.Windows.Forms.ComboBox.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].



************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
    CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
GXV3140-3175OutlookToPhoneBook
    Assembly Version: 0.7.0.0
    Win32 Version: 0.7.0.0
    CodeBase: file:///C:/TMP/GXV3140-3175OutlookToPhoneBook%20V0-7a.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.





bird99

  • Newbie
  • *
  • Posts: 28
    • View Profile
Re: phonebook.xml Creationtool of Outlook Contacts (GXV3140/GXV3175)
« Reply #14 on: March 14, 2011, 06:52:14 AM »
It's not the same problem, your problem should not be difficult to solve.
He can't load the v12 Interop-dll's, because you have Outlook 2003.
I have attached a version with the v11 dll's, try this one.
Check if you have "Visual Basic scripting support" installed. You can add this via "Add feature" at
the Office installation.
GX3140 Firmware 1.0.7.3