Compile DLL file from a VB journal file

I have created a journal file and want it to be compiled into a DLL file.

This journal file is running fine when directly used through "Play journal". Also I created a customized button in NX 7.5 window and gave the reference action to the journal file. The journal file executed as per the command from that button.

But when I compile the same VB journal file into a DLL through Microsoft Visual studio 2008 and give the DLL reference to the customized command button, I get the error as follows "The file is not encoded in valid UTF-8 and contains some characters that are not in the locale character set".

I made sure that the class library is set to UTF-8 and still the error persists.

How to successfully compile the VB journal as DLL ??

Kindly help me out

Do you get the same error if you run your code by choosing File -> Execute -> NXOpen...? I've not personally run into this problem, seems you've already made sure it is set to UTF-8.

I had the same error. I found out I had the wrong type(ie, was journal) for the action. I set it to user command and my dll ran fine.

Hi,
I also want to compile a journal code into a DLL file. But I don't have any experience with that.
Can anybody give a good example how to do that? Unfortunately I also don't have any access to the NX Programer's Guide..
Thanks

Are you using an Integrated Development Environment (IDE) such as VB Express or Eclipse? If not, you will need one to compile your code.

I have Microsoft Visual Studio 2008 installed. Can you describe
the necessary steps for compiling the code and what I should take care about
that it works with NX..? I tried to make a journal code working with the run_journal.exe,
but I failed. In principle, I want to be able to start a journal code from Excel,
maybe by using an Excel button. You have any idea about how to do it?
Thanks!

The basic steps to compile a journal into a dll or exe can be found here:
http://nxjournaling.com/?q=content/how-compile-dll#comment-507