Encoding Converter

Administrator
Member, Moderator, Administrator Posts: 2,506
Encoding Converter
A small GUI utility and a COM object to convert files between two different codepages.
Only needs .NET Framework runtime 2.0.
http://www.mibuso.com/dlinfo.asp?FileID=816
Discuss this download here
A small GUI utility and a COM object to convert files between two different codepages.
Only needs .NET Framework runtime 2.0.
http://www.mibuso.com/dlinfo.asp?FileID=816
Discuss this download here
0
Comments
-
Definitely usefull!
But is is possible to make a program that can be called from the command-prompt?
Or via Automation?
This is needed for importing files without user-interaction.Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
In http://dynamicsuser.net/blogs/nunomaia/ ... icode.aspx check comments how to use automation.0
-
Hi The link did not work, can you explain how to use this utility with automation?0
-
Have you registed the COM object ?0
-
Can you explain how can register the automation?
I have tried the regsvr32 but then I get the error the startadress for dllregisterserver could not be found.
The regasm worked but I could not found the automation in Navision, What name should i have?
I have written the following in dosprompt
regsvr32 "C:\Documents and Settings\malasto\Mina dokument\mina\encoding\COMEncodingConverter.dll"
regasm COMEncodingConverter.dll0 -
After you register object with regasm (regsvr32 dones't work with .NET)
you sould have the name COMEncodingConverter in automation list.0 -
I have registered it with regasm but when I declare a automation variable in navision i cant find COMEncodingConverter...
When i registered it, it said
the types was registered.
What am I´m doing wrong?0 -
Can you find COMEncodingConverter with regedit ?
have you installed .NET 2.0 ?
Can you run the GUI version ?0 -
Can you find COMEncodingConverter with regedit ?
Yes
have you installed .NET 2.0 ?
Yes
Can you run the GUI version ?
yes I can run the exe file0 -
I found the solution.
I used the wrong syntax to reg. the dll file...
The right syntax is
c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>regasm /tlb:COMEncodingConverter.t
lb COMEncodingConverter.dll0 -
Now I found the automation but when I try to create the automation i navision, I get the error"Could not create an instance of the OLE control..."
What am I doing wrong?
I have looked in this link
http://demiliani.com/blog/archive/2005/09/19/2965.aspx but no success.
I failed in the step gacutil, you need a strongname..
](*,) ](*,) ](*,) ](*,) ](*,)0 -
Sorry for the delayed answer
Have you done this ? It works for me.CREATE(autEnc); autEnc.Convert('UTF-8', 'UTF-8', 'c:\a.txt', 'c:\b.txt');
Do you want the source code ?0 -
yes but the error is on the
CREATE(autEnc);0 -
It would be nice if you could make a setup file for this automation. Is this a possibility??0
-
I will put the source code available in a few hours0
-
Sorry for delay.
you can download source code in http://dynamicsuser.net/files/folders/n ... 85851.aspx0 -
can you mail me i get a errror at the link.
magnus.lauberg@systeam.se0 -
Antiloop,
I got also a problem with the GACUTIL /i COMEncodingConverter.dll
I got: FAILURE adding assembly to the cache: Unknown error.
Is youre problem solved?
Frank0 -
frankdynamic wrote:Antiloop,
I got also a problem with the GACUTIL /i COMEncodingConverter.dll
I got: FAILURE adding assembly to the cache: Unknown error.
Is youre problem solved?
Frank
Have you solved your problem?0 -
Hi,
I have had this problem as well, and I found a solution that works for me.
when the dll and tlb is created with regasm.exe it needs to be in the cside client folder so NAV can see it. Otherwise you might have to register it in the global assembly cash. But I have not tried that.
So I copted the files to the client folder and ran this statement, and now it works.C:\Program Files\Microsoft Dynamics NAV\CSIDE Client>c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\RegAsm.exe COMEncodingConverter.dll /tlb:COMEncodingConverter.tlb
Best
Jan0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions