hola.
Quiero saber como hacer para identificar de que tipo es un archivo,
como ser: quiero que el usuario seleccione un archivo excel y despues
poder verificar que asi es y que no es un archivo que se renombro con
extension excel.
Graicas.
> hola.
>
> Quiero saber como hacer para identificar de que tipo es un archivo,
> como ser: quiero que el usuario seleccione un archivo excel y despues
> poder verificar que asi es y que no es un archivo que se renombro con
> extension excel.
Creo que podemos ayudarte mejor si escribimos en inglés. Aquí la misma
pregunta en inglés:
The original poster wants to know how he can be sure that a file is really
made with Excel and not just renamed to have Excel's file extension.
******
Is the file created with Excel 2007 or with older versions? XML formats are
quite easy to recognize and here is some information about binary formats:
http://sc.openoffice.org/excelfileformat.pdf
Is it possible to try open the file with hidden Excel from Visual Basic or
must it be done without Excel?
-Teemu
Cor Ligthert[MVP] - 11 May 2008 07:48 GMT
Teemu,
Very nice answer, however will you next time add a row like by instance.
This is an international newsgroup were because of that beside 6 languages
there everywhere else the English version of Visual Studio is used, English
is the used language. Please be so kind to confirm on that.
For Spanish there is a very good VB for Net newsgroup where the conversation
language is Spanish.
Thanks in advance.
Cor
>> hola.
>>
[quoted text clipped - 19 lines]
>
> -Teemu
Teemu - 11 May 2008 09:18 GMT
> Teemu,
>
[quoted text clipped - 3 lines]
> there everywhere else the English version of Visual Studio is used,
> English is the used language. Please be so kind to confirm on that.
Actually I wrote to the original poster that we can help him better in
English. But I also translated the question because I'm sure that somebody
knows a good solution for this.
But as I wrote we need to know something more to be able to help...
-Teemu
Cor Ligthert[MVP] - 11 May 2008 14:00 GMT
Teemu,
Sorry,
Creo que podemos ayudarte mejor si escribimos en inglés. Aquí la misma
pregunta en inglés:
I should have seen this "ingles" and "scribo" is in all latin languages
almost the same.
Cor
>> hola.
>>
[quoted text clipped - 19 lines]
>
> -Teemu