LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Exe created with Report Generation toolkit does not work for all users

I created a exicutable with the report generation toolkit and it only works with some of my users. I use microsoft 2007 and anyone that has microsoft 2007 my exe works well. Most of my users that have microsoft 2010 are able to use my program as well. However, there is one user with 2010 and Windows 2007 that cant get my program to work.

 

Any suggestions for troubleshooting this?

 

Thanks

0 Kudos
Message 1 of 8
(3,096 Views)

When you say it doesn't work what do you mean? Does it throw an error? Does it work but not as expected? Please explain.

0 Kudos
Message 2 of 8
(3,089 Views)

The most likely issue is due to the fact that Microsoft changes the ActiveX object model of Office for each version of Office. The Report Generation Toolkit does a pretty good job of handling this, but it is not 100% effective. Search, for example on the "Set Cell Border" function and you will see what I mean. In these cases it's up to you to handle this issue. How you handle it really depends on your situation. For us to provide a more concrete answer you will need to provide further details, such as what toolkit function is "not working" (whatever that means), and who you "users" are. Is this an internal distribution? Are you selling this program? Is this code written for a project with a specific customer?

0 Kudos
Message 3 of 8
(3,078 Views)

Is it OS related?  You mention that the problem child is running Win7.  What OS are you and the rest of the users running?  Win7 32 or 64 bit?

 

Is it permissions related?  Are the end users set up as regular users or admins?

0 Kudos
Message 4 of 8
(3,072 Views)

there is no error code cause its and application so it just stops running and i dont know where it errors out

0 Kudos
Message 5 of 8
(3,064 Views)

this is what i thought too after orginally searching the problem and many people talked about how activeX changes with different verisions of micrsoft. HOWEVER, i have several other people running microsoft2010 and it worked just fine for them. I built this application with windows XP on microsoft 2007. And 2 out of 3 people with windows7 and microsoft 2010 have been able to use my application, so i cant figure out what is going wrong with the 1 person it doesnt work for.

 

0 Kudos
Message 6 of 8
(3,063 Views)

Hi J McHenry,

 

What version of the runtime engine does the user with problems have installed? Do they have the same permissions as the other users? Are there any other drivers that you are using in this executable that could be causing an error? I would also suggest adding error handling to your executable to determine where the error is being thrown and what it is to better troubleshoot the issue.

 

Regards,
Kira T

0 Kudos
Message 7 of 8
(3,039 Views)

my whole group has the same runtime engine installed because our IT group did everyone at once. However i will work on some error handling exe to see if i can locate where the program fails and at the same time have him reinstall the runtime engine

0 Kudos
Message 8 of 8
(3,030 Views)