Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsVB SyntaxEnterprise DevelopmentDatabase AccessControlsCOMWin APICrystal ReportDeploymentGeneralGeneral 2
Related Topics
VB.NET / ASP.NETMS SQL ServerMS AccessOther Database ProductsMore Topics ...

VB Forum / Win API / June 2008



Tip: Looking for answers? Try searching our database.

"can't start because there is no license for it on this machine"

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
KT1972 - 21 Jun 2008 15:28 GMT
Hi, I used ShellExecute API to open some Excel and Access files. However it
gives "can't start because there is no license for it on this machine"
message in some computers. We are using Office 2003.
I cheked the HKEY CLASSES ROOT registry permissions and no problem with it.

Help please.
Dean Earley - 23 Jun 2008 09:00 GMT
> Hi, I used ShellExecute API to open some Excel and Access files. However it
> gives "can't start because there is no license for it on this machine"
> message in some computers. We are using Office 2003.
> I cheked the HKEY CLASSES ROOT registry permissions and no problem with it.

And Excel opens when you open them normally from the start menu or
double clicking a file?
Is that the full message? What is the title of it?

Signature

Dean Earley (dean.earley@icode.co.uk)
i-Catcher Development Team

iCode Systems

KT1972 - 23 Jun 2008 11:54 GMT
Yes, you can open excel/access files by double clicking on windows explorer
or from excel and access open menu. However when you try to open with
Shellexecute API in VB6 it gives the message "can't start because there is no
license for it on this machine" (for a few PC only. No problem with 95 % of
users).  Probaply if I reinstall the office, the problem will be solved but
i'm trying to find a simple way and learn the reason.

Thanks

> > Hi, I used ShellExecute API to open some Excel and Access files. However it
> > gives "can't start because there is no license for it on this machine"
[quoted text clipped - 4 lines]
> double clicking a file?
> Is that the full message? What is the title of it?
Dean Earley - 23 Jun 2008 12:33 GMT
>>> Hi, I used ShellExecute API to open some Excel and Access files. However it
>>> gives "can't start because there is no license for it on this machine"
[quoted text clipped - 11 lines]
> users).  Probaply if I reinstall the office, the problem will be solved but
> i'm trying to find a simple way and learn the reason.

What verb are you passing to ShellExecute?
If you pass a null string, it should be functionally identical to double
clicking the file.

Signature

Dean Earley (dean.earley@icode.co.uk)
i-Catcher Development Team

iCode Systems

KT1972 - 24 Jun 2008 12:35 GMT
Thanks, I used "null string" and it is working now.

> >>> Hi, I used ShellExecute API to open some Excel and Access files. However it
> >>> gives "can't start because there is no license for it on this machine"
[quoted text clipped - 15 lines]
> If you pass a null string, it should be functionally identical to double
> clicking the file.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.