Click here to Skip to main content
15,886,026 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i made a program which uses Microsoft.Office.Interop.Excel version 11.0, 12.0

the software works fine on PC/laptops with windows xp, vista, 7, both 32 and 64 bit

but it is doing a problem on tablet with windows 7, 64 bit system

the software was made using visual studio 2008, .Net 3.5

client has .Net 305 installed on the tablet

what it appears that software is not reading spreadsheet data(rows, cloumns) from the excel file

hoping for ur kind help
Posted
Comments
Clifford Nelson 16-Aug-12 13:56pm    
Your question is unclear, maybe you should post code that will show example of where you are having problems.
Wendelius 16-Aug-12 14:00pm    
Also post the error messages if you get any.
[no name] 16-Aug-12 14:17pm    
Do you really think that "is doing a problem" gives us any idea what your program is doing?

We cant tell why your cod isnt working if you dont show us the code that you are using.

Here are some people hat have encountered the problem before:
http://social.msdn.microsoft.com/Forums/en-US/netfx64bit/thread/338bb030-98d6-4b97-a182-562d985395d9[^]
http://social.msdn.microsoft.com/Forums/en/exceldev/thread/500e8851-e7bd-47da-9eac-4233bebd8e5a[^]
http://msdn.microsoft.com/en-us/library/15s06t57.aspx[^]

You should be able to resolv your issue. Just build two versions of your softeware, one for 32 bit and one for 64 bit (this is common in many programs) and you would be home free. There are other things you could try first though, please see the links.
 
Share this answer
 
Comments
Abdul Quader Mamun 17-Aug-12 1:18am    
goo way To Answer!
Kenneth Haugland 17-Aug-12 1:21am    
Thank you, Abdul :)
Abdul Quader Mamun 17-Aug-12 1:24am    
Please read my newly posted article and Plz comments or vote.
A Framework for Software Application[^]
My two cents:

1. Never go with Office Interop assemblies as it creates huge dependancy on MS Office Installation, without the office installed Interop doesn't work.
2.There are issues on 64 bit platform.


This would help you, a beautiful library I have seen so far.
http://exceldatareader.codeplex.com/
The above library has zero dependancy on Microsoft Excel, you can deploy your app freely without the huge dependancy on Excel installation.

Again set your app to x86 specific and then deploy it on 64 bit machines.


Thanks,

Kuthuparakkal

hy kindly reply to this

i have once question, may be u can answer
i made a program in c#, which reads excel files. it uses Microsoft.Office.Interop.Excel namespace

software is working fine in all pc, but its not working on 64 bit tablet with windows 7

it doesnt show any error, it just doesnt read even a single row from the excel file

so does the above solution will solve problem?
 
Share this answer
 
v2
Comments
Kuthuparakkal 3-Sep-12 8:28am    
@ www.dontumindit.blogspot.com
Use "Comment" to provide any feedback etc, do not edit answers to ask another question.
Make sure your program/app/assembly target platform is 32 bit unless otherwise you have 64 bit Office Installed on Win7 64 bit OS.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900