Page 1 of 2

How to publish my program?

Posted: Fri Jan 24, 2014 12:38 am
by 16667970
Hi,Yeray,

I have finished my program with Vs2008 c#, OS is window7(32bit)and want to install it to windows7 (64bit). After I finish my setup,if I run the winform with TeeChart,program lists many errors(see attached).How to solve it?
Thanks,
Robinson

Re: How to publish my program?

Posted: Fri Jan 24, 2014 12:11 pm
by yeray
Hello,

Please, take a look at the "Tutorial 18 - TeeChart runtime installation requirements" shipped with the installation.

Re: How to publish my program?

Posted: Tue Jan 28, 2014 1:40 am
by 16667970
Hi,Yeray Alonso,
I tried to register teechart on the target computer ,but I failed. I installed my software to c:\la-icp-ms mapping,and run regsvr32 c:\la-icp-ms mapping\TeeChart2013.ocx,error occurs,see my attached file. The target computer is win7(64bit).I checked the folder of " la-icp-ms mapping" and I have found TeeChart2013.ocx in it.
Thanks,
Robinson

Re: How to publish my program?

Posted: Tue Jan 28, 2014 2:46 pm
by yeray
Hello,

Since the path has spaces, try using "":

Code: Select all

regsvr32 "c:\la-icp-ms mapping\TeeChart2013.ocx"

Re: How to publish my program?

Posted: Tue Feb 11, 2014 1:06 am
by 16667970
Hi,Yeray,
I registered Teechart2013 on a computer with window 64 bit successfully,but when I tried to register it on another computer with window 7 64bit,error happened.See my image.
Thanks,
Robinson

Re: How to publish my program?

Posted: Tue Feb 11, 2014 5:52 am
by 16667970
Hi,Yeray Alonso,
I searched the error number, do I run regsvr32 as an administrator?
Thanks,
Robinson

Re: How to publish my program?

Posted: Tue Feb 11, 2014 7:59 am
by 16667970
Hi,Yeray Alonso,
I solved register problem,but I can not use Teechart2013 in my programe after registering teechart2013 successfully. Error appeared.I have installed my program on a computer with windows XP,but computers with window7(64bit) I cannot use your teechart2003 after my register your control correctly.
Thanks,
Robinson

Re: How to publish my program?

Posted: Tue Feb 11, 2014 9:46 am
by yeray
Hello Robinson,
zrandlbs wrote:I solved register problem,but I can not use Teechart2013 in my programe after registering teechart2013 successfully. Error appears.
I can't see the complete error message. Could you please tell us what class it says it's not registered?

Re: How to publish my program?

Posted: Tue Feb 11, 2014 9:51 am
by 16667970
Hi,Yeray Alonso,
After I register Teechart2003 with "regsvr32" as a administration in window7 64bit,computer told me I registered successfully.No errors appeared.But when I run your teechart,error appeared.When I installed on windowXP, Teechart run well.
Do you need all image of errors?If so, I offer you tomorrow when I go to work.
Thanks,
Robinson

Re: How to publish my program?

Posted: Tue Feb 11, 2014 11:50 pm
by 16667970
Hi,Yeray,
Thanks for your quick reply.I registered your teechart2013 on computer window7 64bit,and computer told me my register is successful,but when I run winform with your teechart,errors appeared.I installed my program in folder of c:\mapping,and I registered Teechart2013:
1. Click on Start button > type Command Prompt > (right click command prompt and click run as Administrator)
2. Reregister Teechart2013.ocx using command:
cmd > regsvr32 c:\mapping\teechart2013.ocx
Computer told me register is successful. I caught errors on screen to you,please help me to sovle it.
Thanks in advance,
Robinson,

Re: How to publish my program?

Posted: Tue Feb 11, 2014 11:52 pm
by 16667970
next errors

Re: How to publish my program?

Posted: Tue Feb 11, 2014 11:53 pm
by 16667970
the last error interface

Re: How to publish my program?

Posted: Thu Feb 13, 2014 6:39 am
by 16667970
Hi,Yeray,
I see:http://www.teechart.net/support/viewtop ... t=14454,It told me compiling the application at 32 bit instead of 64.I just complied the application at 32bit,but errors happens on target window7 64bit.
Do I either compile my program at 32bit, copy it directly to my disk and regsvr32 it?or just compile my program at 64bit?
thanks,
Robinson

Re: How to publish my program?

Posted: Thu Feb 13, 2014 8:02 am
by 16667970
Hi,Yeray
I tried to compile my project to X64,but error appeared still.Winform with color grid can be used firstly,but winform with fast line can not be used.After I ran the winform with error,Winform with color grid can not be used again.
Please help me to work it out.Here is the error image after I compile my project at x64 and use it on window 7 64bit.
Thanks,
Robinson

Re: How to publish my program?

Posted: Thu Feb 13, 2014 1:52 pm
by yeray
Hello Robinson,

Excuse us for the delayed reply here.
zrandlbs wrote:I see: http://www.teechart.net/support/viewtop ... =1&t=14454, It told me compiling the application at 32 bit instead of 64.I just complied the application at 32bit, but errors happens on target window7 64bit.
Do I either compile my program at 32bit, copy it directly to my disk and regsvr32 it?or just compile my program at 64bit?
A 64bit OS should be able to run programs compiled both in 32 and 64bits. More on this here and here.

I understand your development platform is VS2008 C# in Win7 32bit. If you are compiling your project as a 32bit application you should be able to move the exe with the ocx to both a 32bit and a 64bit machine along with the TeeChart2013.ocx from the TeeChart installation folder.
As a test, you could try with the TeeChartv2013FeatureDemo.exe demo shipped with the installation. Find it at the "\Examples\Visual Basic\TeeChartAXV2013Demo" folder in your TeeChart ActiveX installation.
- Does the TeeChartv2013FeatureDemo.exe demo run in your development machine?
Copy the TeeChartv2013FeatureDemo.exe and TeeChart2013.ocx to the deployment 64bit machine. Register the TeeChart2013.ocx running regsvr32 as an administrator.
- Does the TeeChartv2013FeatureDemo.exe demo run in your deployment b4bit machine?