473,486 Members | 1,970 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

como saber de que tipo es un archivo?

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.
Jun 27 '08 #1
4 4659

"goosfancito" <go*********@gmail.comkirjoitti viestissä
news:4b**********************************@e53g2000 hsa.googlegroups.com...
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

Jun 27 '08 #2
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

"Teemu" <ts*****@hotmail.comschreef in bericht
news:Gs****************@reader1.news.saunalahti.fi ...
>
"goosfancito" <go*********@gmail.comkirjoitti viestissä
news:4b**********************************@e53g2000 hsa.googlegroups.com...
>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
Jun 27 '08 #3

"Cor Ligthert[MVP]" <no************@planet.nlkirjoitti viestissä
news:3E**********************************@microsof t.com...
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.
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

Jun 27 '08 #4
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

"Teemu" <ts*****@hotmail.comschreef in bericht
news:Gs****************@reader1.news.saunalahti.fi ...
>
"goosfancito" <go*********@gmail.comkirjoitti viestissä
news:4b**********************************@e53g2000 hsa.googlegroups.com...
>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
Jun 27 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
4095
by: ARGENTINA | last post by:
http://www.lanacion.com.ar/herramientas/rss/index.asp?origen=2 Necesito el archivo que figura en el link de arriba grabado en mi sitio, es un archivo .xml aunque no se note porque le falta la...
2
2869
by: STB | last post by:
ciao a tutti... ci risono... devo migliorare delle performance di accesso ad una tabella... la tabella non ha indice primario, ne altri indici... sulla tabella ci accedo con select di questo...
0
1759
by: news.arsys.es | last post by:
Hola a todos. Me gustaria lanzar desde una macro comandos del tipo del asunto si es que se puede... Es para usarlo con las Autokeys.. Saludos a todos...
0
4866
by: Luis Esteban Valencia | last post by:
Hello I have this error when I submit the page with the following code. I had never see this kind of errors. Thanks private void btnsubmit_Click(object sender, System.EventArgs e) { ...
1
3009
by: David Roza | last post by:
Groups Home | Help | Sign in Web Images Groups News Froogle Maps more » Advanced Groups Search
2
7426
by: denet iglesias | last post by:
hola: yo quisiera saber como puedo hacer que un panel se ponga transparente poco a poco, pero que ademas se pongan transparentes los controles que estne dentro de el, por ejemplo un picturebox y un...
1
4093
by: Jordi | last post by:
Hola, En vb6 obtenia la version de mi ejecutable/compilacion con el app. App.Major App.Minor App.Revision Sabeis como seria en .net? (framework 2.0) Gracias y un saludo!
0
2232
by: librosur08 | last post by:
Como obtener datos del gestor de correos predeterminado y el puerto SMTP Tengo una aplicación que envía por correo una tabla convertida en archivo de texto de delimitación fija y me gustaría que...
0
7123
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7175
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6842
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5430
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4864
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4559
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3069
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3070
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
262
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.