How to publish my program?

TeeChart for ActiveX, COM and ASP
zrandlbs
Newbie
Newbie
Posts: 37
Joined: Thu Dec 05, 2013 12:00 am

How to publish my program?

Post by zrandlbs » Fri Jan 24, 2014 12:38 am

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
Attachments
error.jpg
error-1
error.jpg (408.99 KiB) Viewed 29245 times

Yeray
Site Admin
Site Admin
Posts: 9613
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: How to publish my program?

Post by Yeray » Fri Jan 24, 2014 12:11 pm

Hello,

Please, take a look at the "Tutorial 18 - TeeChart runtime installation requirements" shipped with the installation.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

zrandlbs
Newbie
Newbie
Posts: 37
Joined: Thu Dec 05, 2013 12:00 am

Re: How to publish my program?

Post by zrandlbs » Tue Jan 28, 2014 1:40 am

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
Attachments
error.png
register error
error.png (12.12 KiB) Viewed 29464 times

Yeray
Site Admin
Site Admin
Posts: 9613
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: How to publish my program?

Post by Yeray » Tue Jan 28, 2014 2:46 pm

Hello,

Since the path has spaces, try using "":

Code: Select all

regsvr32 "c:\la-icp-ms mapping\TeeChart2013.ocx"
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

zrandlbs
Newbie
Newbie
Posts: 37
Joined: Thu Dec 05, 2013 12:00 am

Re: How to publish my program?

Post by zrandlbs » Tue Feb 11, 2014 1:06 am

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
Attachments
error.png
error
error.png (9.16 KiB) Viewed 29158 times

zrandlbs
Newbie
Newbie
Posts: 37
Joined: Thu Dec 05, 2013 12:00 am

Re: How to publish my program?

Post by zrandlbs » Tue Feb 11, 2014 5:52 am

Hi,Yeray Alonso,
I searched the error number, do I run regsvr32 as an administrator?
Thanks,
Robinson

zrandlbs
Newbie
Newbie
Posts: 37
Joined: Thu Dec 05, 2013 12:00 am

Re: How to publish my program?

Post by zrandlbs » Tue Feb 11, 2014 7:59 am

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
Attachments
error2.png
error after registering successfully
error2.png (22.65 KiB) Viewed 29094 times
Last edited by zrandlbs on Tue Feb 11, 2014 9:47 am, edited 1 time in total.

Yeray
Site Admin
Site Admin
Posts: 9613
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: How to publish my program?

Post by Yeray » Tue Feb 11, 2014 9:46 am

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?
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

zrandlbs
Newbie
Newbie
Posts: 37
Joined: Thu Dec 05, 2013 12:00 am

Re: How to publish my program?

Post by zrandlbs » Tue Feb 11, 2014 9:51 am

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

zrandlbs
Newbie
Newbie
Posts: 37
Joined: Thu Dec 05, 2013 12:00 am

Re: How to publish my program?

Post by zrandlbs » Tue Feb 11, 2014 11:50 pm

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,
Attachments
error1.png
error1
error1.png (31.11 KiB) Viewed 29055 times
error2.png
error2
error2.png (65.27 KiB) Viewed 29030 times
error3.png
error3
error3.png (58.11 KiB) Viewed 29037 times
Last edited by zrandlbs on Wed Feb 12, 2014 12:13 am, edited 2 times in total.

zrandlbs
Newbie
Newbie
Posts: 37
Joined: Thu Dec 05, 2013 12:00 am

Re: How to publish my program?

Post by zrandlbs » Tue Feb 11, 2014 11:52 pm

next errors
Attachments
error6.png
error6
error6.png (32.42 KiB) Viewed 29053 times
error5.png
error5
error5.png (29.93 KiB) Viewed 29045 times
error4.png
error4
error4.png (57.66 KiB) Viewed 29048 times

zrandlbs
Newbie
Newbie
Posts: 37
Joined: Thu Dec 05, 2013 12:00 am

Re: How to publish my program?

Post by zrandlbs » Tue Feb 11, 2014 11:53 pm

the last error interface
Attachments
error7.png
error7
error7.png (35.11 KiB) Viewed 29035 times

zrandlbs
Newbie
Newbie
Posts: 37
Joined: Thu Dec 05, 2013 12:00 am

Re: How to publish my program?

Post by zrandlbs » Thu Feb 13, 2014 6:39 am

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

zrandlbs
Newbie
Newbie
Posts: 37
Joined: Thu Dec 05, 2013 12:00 am

Re: How to publish my program?

Post by zrandlbs » Thu Feb 13, 2014 8:02 am

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
Attachments
2.jpg
2.jpg (246.64 KiB) Viewed 28989 times
1.jpg
error
1.jpg (261.8 KiB) Viewed 28979 times

Yeray
Site Admin
Site Admin
Posts: 9613
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: How to publish my program?

Post by Yeray » Thu Feb 13, 2014 1:52 pm

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?
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply