Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
 
  HOME    TRACKER    Visual Basic




File Extensions????


could anyone tell me what type of files these are and what they do???
by looking at the extensions???
filename.swt ????
filename.vbw ????
filename.vbz ????
setup.wse ???? mainly this one !!!


THANKS GUYS!!!!!




View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread
Your Own File Extensions
right now i have a music program that lets people save their playlists. the program saves the playlist as a txt file. due to that people can go in and mess around with that. is there any way to make your own file extension that only ur program will understand and can open?

File Extensions
I have a file list box where a user would click a text file, then the contents of the text file show up in a text label. is it possible to remove the .txt from the files in the list for display purposes?

VB File Extensions
hi folks i've been looking in m y vb folder an i've noticed that there's a lot of different file extensions like
vbw, frx, scc, pst, pdm, pdb, pab, obj, lib, dca, dep, exp...

can someone tell me what are all these files, essentiel or not, could they be deleted....

I'll be among the best soon, very soon!!!

File Extensions
i am writing an application where i need to save text files with a unique extension. i am not sure how to make the the file associations in windows through windows. i am sure this is fairly simple but any help would be great.

Thanks

VB File Extensions
Hi,
I'm writing a freeware program to format VB code so that it's easier to read and I've downloaded quite a bit of source code to test my program with. The thing is I've come across some file extensions such as .CTL, & .DSR. Are these standard extensions and are there any other extensions that contain text code? So far my program looks for *.BAS, *.CLS, *.CTL, *.DSR, & *FRM.
I've run my program on over 108,000 lines of source code and it (so far) perfectly formats the output.
As soon as I get the extensions issue sorted out I'll place a link to my program on this thread. It's written in VB5 but to keep the size down I won't include the VB runtime files. They can be found at Microsoft.com if you don't already have them.
Thanks,
Tony Kerr

File Extensions
Is there any way to change the file extension of a file from VB?
Thanks!

Certain File Extensions
How can you make the program recognize certain file extentions. And when the files are seen by the program, it will give an error and won't load.


VB Code:
If (Len(Dir$(App.Path & ".txt")) <> 0) ThenMsgBox "You Can't Have .txt Files In The Main Directory." + vbCrLf + vbCrLf + "Delete It To Continue.", vbCritical, "Detected"EndEnd If

Sort of like this. But it doesn't work.

File Extensions Under XP
I haven't had a chance to get my hands on XP yet, but I need users to know how to change their file extensions to use my program.

My help file reads:

Windows defaults to hiding file extensions, however, so you must go into Windows Explorer or
My Computer and from the menu, select View | Folder Options | View | and uncheck "Hide file
extensions for known file types". In Windows ME and Windows 2000, "Hide file extensions for
known file types" is located under Tools | Folder Options | View. Once the file extensions are
visible, you can then change the file extensions on your quizzes.


Can any one who has XP tell me how you get there in XP?

thanks

File Extensions
OK, you know how certain file extensions have certain programs to go with them? As an example, write a text file. Save it, and then double click that file. What program opens? Most likely, notepad.

Now, it is something in the registry, i know this, that dictates which file extensions connect to which programs. (I guess it may be in the "HKEY_CLASSES_ROOT" secion (just a though))

Now, all i need, is to know how to do this with... whatever file extension i want.

So as an example, i want to be able to write a text editor, and program it so that when i specifically double click on any one ".txt" file and it will open my little text editor, and open that file in it.

Now, if any daring programmers can figure this one out for me, i will be very grateful.

Help With File Extensions
Yeah, I need help with file extensions. how can I make a extension (.ssw and ssi) open my program for that file types?? all I know it has something to do with the registry. Please help me.

File Extensions.
How can I get the program associated with file extensions?

TIA

-TiPeRa

FAT File Extensions
Does anyone know that is the extension of a FAT file?

God Ol&#039; File Extensions
Say i got a file called bob.txt how would i convert that into bob.exe?

File Extensions
Okay, the application needs to be able to create files. Fundamentally, the files in question are Text files that are used to store information. However, for the sake of streamlining the processes that read the file, the datafiles in question need their own extension. So, how do I:
1) Create a file extension?
2) Pass the extension on with the application?

File Extensions
I have a process whereby filenames are datestamped.
Each file(all in same directory) has a .dat extension.
How can i automate re-naming file extension to .zip?
The name statement does not allow wildcards else i would use that.

Change File Extensions
I am trying to have all files in a folder change their file extension to .zip. Presumably using FSO, as the NAME statement cannot handle wildcards. e.g: Name "C:/vbfiles/*.*" As " C:/vbfiles/*.zip" Does anyone know how to code this using fsoObjects?

Renaming File Extensions
How do I go about changing the file extensions of files in a specified folder?

For example, there's the files img01.jpg, wall90.jpeg, abcd.jpeg and 02.gif in a folder. I want the program to change all the .jpeg files to .jpg and leave the rest alone. How do I do that?

Thanks.

Custom File Extensions
How do you create your own custom file extensions for your program? Or is it a ton more complicated than "making" one? THanks.

Question About File Extensions...
Is there any way to have my VB application check to see if a certain file extension is already registered and if it's registered to my program. If it's not registered to my program, registering it to my program should be an option with my program's icon. If the extension doesn't exist at all, it should be automatically created.

How would I go about doing this?

Thanks!

Changing All File Extensions In Same DIR
How would i go about changing all the files (with same extension) to a different extension, which would be in the same directory?

EG a list of, say 10 files in .doc format are in the same folder as the program. i want to be able to run the program, set what extension to change them to (.txt) and the click a button to change them simultaneously.

thanks in advance

FindWindow (with File Extensions)
I'm running into the following situation using the following FindWindow API:


Code:
Private Declare Function FindWindowA Lib "user32" (ByVal lpClassname As String, ByVal lpWindowName As String) As Long

Dim hwnd1

hwnd1 = FindWindowA("XLMAIN", "Microsoft Excel - SMART")

On systems where the user elected to "show file extensions", the window handle depicts these extensions...

i.e.


Code:
hwnd1 = FindWindowA("XLMAIN", "Microsoft Excel - SMART.xls")

Not knowing whether this "show file extensions" is selected on the user's system, can anyone recommend an approach to handle this? Or, is there an easy way to check for the "show file extensions" option so I can wrtie the FindWindow accordingly?

Thanks,

Scarecrow

Deleting Certain File Extensions
I no how to delete files and folders etc but how would I delete certain file extensions on a hard drive..so far i can only figure out how to delete them from certain folders by using kill ("c:folder*.abc") ....abc as an example of an extension..how would i like search the hard drive and delete all the file extensions from it.

Hide File Extensions
how can i hide the file extensions in a filelistbox.....

Filtering On File Extensions
MS Excel 2003:

I'm using the filedialog method in MS Excel to open other MS Excel spreadsheets.

I'm using

filters.Add "name", "wildcard"

To get the right filter into the dialog box and that works fine. The problem is - the filter only accepts *.extension or *.*.

I'm hoping to use partial file names in the dialog box to filter out files that are not relevant to the client.

EG

branch1-abc.xls
branch1-def.xls
branch2-abc.xls

so when branch 1 opens a file, the dialog box presents "branch1*.xls". The filter won't accept this. Any idea's?

The '?' placeholder would be good too so I could do "branch?-abc.xls" across all branches.

I really don't want to code my own dialog box.


Code:

Dim fd As FileDialog
Set fd = Application.FileDialog(msoFileDialogOpen)
fd.InitialFileName = "h:maps"

fd.Filters.Add "Excel", "*.xls", 27
fd.FilterIndex = 27

If fd.Show = -1 Then
MsgBox fd.SelectedItems(1), vbOKOnly
Else
'cancel clicked
End If

Removing File Extensions
Hey Guys,

I have just one quick question...

My Awesome teacher Mr Jensen, had taught me how to use the listbox stuff (Yes i know, im officially in the Iron Age)... Anyways, when i list files, it shows .txt on the end of it. Is there any way to remove this?

Also, i have a text file with a list like this:

Adam Lonsdale 10LB

Is there any way to format it into something like 1896 Text files in the format of: Lonsdale, Adam - 10LB?

Thanks

- Adam

File Types And Extensions?
Hi,

a = "abcd.htm" or "abgh.html" or "ahfgffg.aspx" or "tytyty.asp"

How to find the last 4 or 3 characters(file extensions eg: *.doc) from the above filenames using VB?

Thanks,
Murtaza

How To Copy Same File Extensions
How do you copy a whole bunch of files with the same file extension of .txt?

FileCopy "C:Folder.txt", "C:TEST"

I'm not sure what I'm doing wrong with that line. Any help is appreciated,
Cheers.

How Do You View Certain File Extensions
Hi,

What i was wondering how would go by viewing a extension of a file, lets say i want to view a file text.fx?

Would i need the SDK for that game..

what i want to do is able to use a few controls and when you select that specific file that has that extension *.fx and able to show the animation of that time to the animation window...

if this is confusing lol i will try better to explain myself

Wildturkey.

How To Create New File Extensions
I have just learnt that i can use any file extension that i desire (Cheers Marty). How do i create a new extension in windows, and asssign it to my program.

Cheers

File Extensions - Automated?
Hello

Ive found the code on how to put all file extensions into a listbox in the Codebank from this forum, what i really could do with is some method of letting the user specify the file types shown without having to hard code values in.

For example if the user selects the "All Image Files" and it will display all the image extensions available to the system. I could do this manually, but id have to find out all the available movie / image / and other file extensions and hard code a parser to only display these types, possible but i was hoping there was a way of doing it to save this and make it adapt automatically to each persons system.

Hope i explained that okay

Thanks, Gavin

Change File Extensions?
Hello All,
Can anybody tell me how to rename any file or change its extensions programaticaly?
Thanks in advance,
Anita

Registering File Extensions With VB
How can I register a new file type from within VB?

Thanks

Testing For Certain File Extensions...
I have loaded two files, eg, file1.txt and file2.txt into two separate variables of type string.

If the file has one of the following extensions (.EXE, .COM, .SYS, .OBJ, .LIB, or .BIN.) , I need it to set a certain checkbox value to 1 (that is, check the checkbox).

If the file does not have one of the above extensions, I need to set a different checkbox to a value of 1.

How do I do this?

Extensions (of The File Variety)
In my program when save is clicked the commondialog box pops up the save menu as normal. But when I choose to save text1 as .html it doesn't add the .html extension onto the end of the filename....It works fine with .txt and .bat extensions just not .html or .htm.

T'anx

Help Needed With File Extensions
The VB program that I have created has a file type .xyz. Obviously this is not recognised by Windows. How do I make Windows associate .xyz with my Program.

I know how to do it manualyy, but I want that during installation of my program the extension .xyz should be associated with my program.

Also after maually doing it, i have a slight problem. Now windows associates .xyz with the program but when i click on a file having .xyz extension it just opens my program but does not do the editing operation. in other words on clicking the file the program starts but the editor inside the program does not .

how do i solve this?

Thanking you in advance

File Extensions And Associations
using the Common dialog ive been saving what are basically txt files but with the extension *.Wap and *.Rap i can save them easy enough but i cant load the files in my program, it just comes up blank unless, i associate them with notepad in windows...

how would i go about associating files with my program and giving each file type a different Icon?

can anyone suggest how to get around or deal with this problem?

gracias

Signature -----------------------------------------------------------------------------------------------------Code:Private Sub Form_Load() 'Print to from, code my problems!
     Form1.Print "CanT SleeP!..... MusT PrograM!!!" & vbCrLf & "I need coffee, WhErE iS mY CoFfEe?!"
End Sub 'All things come to and end
------------------------------------------------------------------------------------------------------------------

Edited by - coma on 11/20/2003 3:42:48 PM

Enumerate File Extensions
Is there a way to enumerate all the file extensions used by a system?
ie: get the list of system file types

How To Call Different File Extensions
I used Shell function to call a .exe file from vb.
How do I other file extensions like .cnv, .cms etc.

Thank you

File Extensions & Associations
Hi,
One of my self-written Programs stores data in files with a own extension.
I want to make a association, so that I only have to double click on the data file and it is open with my application.
I know how to do this in windows, but i want want my program to check, if theres an association with this file type, and if not, ask, if he should create one (and then do this)

But I don't know
a) how to check an association
b) how to create an association
(with visual baisc)

thx,
Tom

Removing File Extensions In FileListBox
I've seen code to do this, but I just can't get it to work in my app.

The code I'v seen is something like

Code:
list1.Text, 1, Len(list1.Text) - 4

---Basically just removing the last 4 letters from the filename.

Sorry if my question or code dosen't make sense, I am just starting to learn Visual Basic!

Could anyone help me to do this in my FileListBox please?

Associating File Extensions To An Application
Hello Everyone,

Is there a way to create a program to open a certain file extension w/ a certain program. For example, a .jpg file opens with windows picture viewer. Is there a way to program this to tell windows to open that .jpg in IE instead?


Much appreciated!

File Extensions With Ms Internet Controls
in microsoft's internet explorer it has a thing that lets the user listen to music files in msie insted of opening the default media player. how is this done?

Searching The Entire C: For Certain File Extensions
How would I search the entire C: drive for files with certain extensions? For example I want to find all files on my C: drive with the extension ".html", then, I want to put the file's path and file name into a string.

I can make a sub to find a file with a certain name, but I need to find all with a certain extension. PLEASE HELP!

Thanks.

Find Registered File Extensions
Does anyone know if there is an API that I could use to find
what are the file extensions on my computer that have some
application associated with them (supported file types)?

Or is there a file that stores this information, that I could
directly read off of?

Getting File Extensions Associated With An Installed Program
Is it possible to choose a registered application and then list all filetypes associated with that program?

Thanks for any answers

How To Read STRANGE File Extensions???
I downlaoded this program that has files in it with the extension
.IDX. If I open with notepad it looks like it is BINARY or something. IS there a way I can read that info?

Hide File Extensions For Known Types
Are there any versions of Windows where Hide File Extensions for Known Types is not the default???

Common Dialog And File Extensions
I cannot figure out how to make the common dialog use the file extension filters. Does anyone know how to do this?

Copyright © 2005-08 www.BigResource.com, All rights reserved