02-10-2017 02:04 PM
Dufei,
I came across this document. cw3dgraph is a non-licensed component. That could explain why you don't see it in the license file.
When you run the ActiveX License Fixer Utility, did you do it on the deployment PC?
Since the control is licensed in the registry, let's try that:
1.) copy over the cw3dgraph.ocx file from your PC to the deployment PC
2.) copy the file to c:\windows\system32 on the deployment PC
3.) Go to "Start" -> Run, then enter "regsvr32 [Full path of .ocx file]". The full path should be the system32 folder.
If that doesn't work try using the regsvr32 /u [Full path of .ocx file] command to unregister then register again.
If that still doesn't work, send me the source code. The entire thing is not nessassary. Just a small reproducible case that demonstrates the behaviour is good enough.
02-13-2017 11:11 AM
Hi,
i follwed your instruction, but encounter a x80040200 error so I tried the following method:
1. Using NotePad.exe to create a text file in the name of "myInstall.bat", the contents of the text file is just one line:
c:\Windows\SysWOW64\regsvr32.exe c:\Windows\SysWOW64\cw3dgrph.ocx
and save the file on the desktop.
2. Right click on this file, choose "Run as Administrator".
it did successfully installed the OCD into the register. However, on the customer computer the "Evaluation copy" banner still shows up even if the ocx was installed successfully according to my method. I think this is the cox deploy problem, hopefully I will get solutions from you.
Dufei
02-14-2017 12:00 PM
Hey Dufei,
Please send me a simplied version of your source code that can reproduce the behaviour.
02-14-2017 08:48 PM
I have uploaded the simplied source code. Please check your email and download the source code from the website that was refered in the email.
Best,
Dufei
02-15-2017 02:19 PM
Hey Dufei,
Can you attach to it to the forum post in a zip?
02-15-2017 06:13 PM
I have uploaded to the website:
http://dell.chem.sunysb.edu/xPolar
in this folder, you can download the .zip file and also the sample data files.
Dufei
02-16-2017 11:13 AM
Hey Dufei,
I can run the application. Can you let me know the names of the sample data files and and how use them?
02-16-2017 04:48 PM
Please follow the steps in bellow:
1. Down load the sample data from the same website, I.e. http://dell.chem.sunysb.edu/xPolar
there are two data folders, one is "SAXS_Selected" and the other is "bckgrnd". Download these data on to your desktop with the same folder names.
2. Start the program, either in debug mode or release mode, click "File/Open 2D image" and select the detector type to be "MarCCD", this is important since I have ripped off all other detector types, click any one of files in "SAXS_Selected" folder.
3. Once you load in the image, click "View/3D view", there will be tool window pop up and a blue rectangle showing on the image. Move the blue rectangle around and/or change its size to choose the area you want to have the 3D plot, then click the "Do it " button on the tool window. There will be a 3D plot showing up.
4. You can maneuver the 3D plot a bit and try to save the image by click one of the icons on the tool strip. Once you save the image, try to open the saved file with other software, there should have no banner in the saved image.
5. Close all the open windows, and then click "open script file". There will be a window pops up. You click "Load" button to open the script file. The script file is in the subfolder of the application folder, the file name is "Generate3DImages.ipy". After loading the file, click "Run", you will encounter some error related to the file path names, after you correct these errors in the upper editable panel and the click "Run" again, the script start to generate the 3D plot and save to file in the background.
6. Try to access these generated files. You may see there is a "Evaluation Copy" in the image. If you don't see that, probably is because you have the valid develop copy of the Measurement studio, you may have to try to install/deploy the application on the computer of customer who does not have the Measurement Studio installed.
Please let me know if you have any questions about the application.
Dufei
02-17-2017 01:54 PM
Hey Dufei,
Thanks for all the info! I can run the application just fine.
You are right, I don't have the evaluation mark. I'm going to find a clean and install the application and see if I can reproduce it.
03-04-2017 04:36 PM
hi, I wonder if you have re-created the problem that I had.
Dufei