Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / VB.NET / May 2008

Tip: Looking for answers? Try searching our database.

como saber de que tipo es un archivo?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
goosfancito - 10 May 2008 16:51 GMT
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.
Teemu - 10 May 2008 20:12 GMT
> 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

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
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



©2008 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.