File names in the file menu -
I apologize for I know this must be in countless threads but I just didn't know what to serach for exactly.
When I load a data file into my app I then write a copy of the file name string in a list of the last 4 used files that is kept in an ini file, and I delete from it the oldest entry.
Now, after I've read the 4 file names from the ini file, how can I add them at the bottom of the File menu?
File names in the file menu -
I apologize for I know this must be in countless threads but I just didn't know what to serach for exactly.
When I load a data file into my app I then write a copy of the file name string in a list of the last 4 used files that is kept in an ini file, and I delete from it the oldest
Long File Names as a Command Line Parameter -
I'm having trouble with Long File Names being changed to the short MS-DOS filename when supplied as a Command Line Parameter. I use the "Command" function to retrieve the command line parameter and I've got my application set up in the "SEND TO" context menu so if
Reading Folders for menu items -
What I am trying to accomplish is that when the user clicks the menu button of the menu strip the drop down contains a button that can expand into another list of buttons that are the folder names in a directory.
In another translation when I click File on the menu strip it brings do
Append to file, if keyword does not exist -
I'm a newbie, so be kind...
I need to come up with a program that checks for a file, searches this file for any keywords that I set and then appends a set of lines to the end of the file, if they don't exist. All users will have the names.txt file on their system in the same locati
Menu directory (I need help) -
Does anybody know how to display the contents of a directory inside of a menu? Or at least get the file names in a certain dir.
you know... Click on the menu name (i.e. use this) and have the contents of a dir. witch are templates displayed in the menu.
I can do in a listbox but,
Dll creator -
Alright a friend of mine is having me create a program for a game so the clan can edit boat names now the boat names are held in a dll file and well i know what each one field in the dll file now i would like to create a .exe file that will only edit the boat name and not all the dll f
Retrieving text from an INI or TXT ** SOLVED -
I have a text1.text that saves names into the names.ini file everytime submit is pressed. then the textbox clears and more names are saved into a names.ini file
'Save names Start
Open "C:\names.ini" For Append As #1
Print #1, Text1.Text
Close #1
text1.text= "&quo
reading file names -
how could i read a file name in vb? i dont have to read the file but i just need to get the file name. example: what i need to do is read file names in the c:\folder\
how could i check if the folder exist and
how could i do that and bring them in vb to show the file names in a
Select Items from Text File in Listbox -
I have a checked listbox that loads the list items from file Names.txt. When the user checks the names they want it saves the checked Items in Display.txt. What I would like it to do is after it displays all the names in the names.txt file have it check the display.txt file and check
Menu Access key -
Dear all,
I am extracting Christ's post of 2002 since i have the same problem right now and i don't know how to fix it. I am using VB6.
"I'm having a little bit of a problem with the menu that I added to my form. I didn't create it in code(just double clicked it to add it to
Opening a file through a menu -
Hello I was wondering if someone could tell me how I would go about to open up a file through a menu. I have the menu all set up. Right now I am just brainstorming, and was not sure if this was an easy task or not? I have the menu set up...but am not sure how to tell it to open up a
[02/03] Reading sperate lines of text -
Hi all,
I have an application with a menu which lists recent files (at run-time).
When the app is closed the names of the recent files are written to a text file on seperate lines
The text file reads for example...
text here
more text here
more text here
... and so on.
My q
How can we connect help file to menu -
For example I have a program and it has a menu.
File,Edit,...Help
I want to getting help file, when I press help menu.
Please help me?
I know linking help file from project properties. But this only getting help file when we press F1
Autoshorten Long File names -
Hi All,
When we burn our MP3's on a CD, log file names cause an error. Also, they have more chances that they will be corrupted.
I have been able to design a utility that can autoshorten long file names. The source code has been attached herewith.
However, Since I have used the
Parsing a file (Another thought) -
I am reading from an HTML file. The file has the tag names. I want to change those tags with variable names and save file for viewing. Can someone tell me what is the best way of doing it.
any help will be appriciated.
Menu Item Names. Anybody found how to get them -
I have beed trying to get to Menu item names but it seems that there is no easy way.
Has anybody found a way to do this. I need to find a way of getting a DB with Menu Item Names and its Text. This database will be populated at runtime but cannot find a way to read menu item names.
Help on menu editor -
Hi all,
Pleas understand the following situation.
I have a table named "menu" and having a field "MenuName" char 50 which stores each menu names for a program.
Also I am using the same names for menu items created by the menu editor. What I have to do is
F10 selects first menu item (File).... -
How can I disable the F10 button from selecting the first menu item. For example, I have a menu that has: File, Edit, ....., etc. Everytime I press F10 it presses down the first item in the list (in this case F10). It doesn't force the File menu to be displayed, it just depresses
Access keys and menus -
I'm having a little bit of a problem with the menu that I added to my form. I didn't create it in code(just double clicked it to add it to the form) and have set the menu item names directly in the menu that's in the form in the IDE. I have set the access keys in the text properties(ex
Using Variable as a Field Name -
I'm creating a import text file interface. I want to allow the user to be able to import his file without worrying about a specific import file layout or field names. I display the field names of my table and also the column names of the imported file on a form. I allow the user to dra
Randomising Names - How To -
I'm running a tournament soon and I have nearly 100 names to pair off with each other. If I stored them in a text file called "Names.txt", with one name on each line (Keeping in mind some names have two words, some have one), is there simple code I could write to jumble up th
How do you call a .hlp file from a menu click -
I created a help file with Microsoft Help Workshop that shipped with VB5.
I'm having difficulites appling it to my app.
How do I call my help file from a menu click? (i.e. I have a menu called
help, with a sub menu called topics) I'd like for the help file to pop up
when tha
[2005] Context Menu -
Dear all,
I have a tree view and context menu.The tree view is populated the file names from folder.I have added a context menu with an item of Openfile.
Now I need to open only text files.How to restrict the menu
to appear for the files with extention of .txt?
D
right-clicking on a file....how can I modify that menu -
umm when you right click on a file a menu pops up with a bunch of different options. Some programs add too many items to that menu and it annoys me. I'm looking for a program that lets me remove any items that I want from that menu (what do you call that menu anyways, I've forgot)
Menu in master page file -
I want to add a menu-item in the master page file, but the menu-item must me enclosed in a form tag. There is already a formtag in the mastepage file that encapsles the contentPlaceHolder.
there can only be one form in an application, and when I put the menu in the existing form ta
streamreader---help -
hi
i need some help doing a algoritm in visual basic.net(console.aplication)
i have a list of names in a text file and i open that list with the streamreader
like:
dim file as streamreader=file.opentext(c:\names.txt)
console.writline(file)
after all the names are in the
help! how to delete an item from a listbox -
Please help!
I have a listbox which contain a list of names. Those names are imported from a txt file. it is ok for me to show those names in a listbox and also add names to the listbox and update the txt file. but the problem is how can I delete a name from the listbox and also rem
File Menu -
Hey,
Is there a way to popup the context menu of a specific file? For example...
I want to pop up that context menu for a file i specify, at a certain point on the screen that i specify.
Any ideas?
File driven menus -
Any suggestions on how to create a 'file-driven' menu, either a .ini file or .txt file or even an access database?
Here's what I'm trying to avoid:
In version 1 of my application, I created one big vb executable that consisted of a menu and about 30 forms. If any one form was changed
menu shortcuts -
There is a nice feature on the file menu for office application. When you select the file menu, the bottom of the menu list contains shortcuts to the last few edited documents.
Is there an easy way to implement something like this in a VB6 application menu?
Thanks for any help!
Finding names of files in a folder -
I'm using VB to write an Excel macro that merges worksheets from different .xls files into a single worksheet. It works fine when I use three known file names (file1.xls, file2.xls, and file3.xls) that all reside in the same folder.
Is there an easy way to get the names of all the
Menu Control dont work good on VWD2005 -
Hi Friends,
I am back to my rescue team.
I am making a asp.net based website in VWD2005.
which has:
- MENU CONTROL gets data from .sitemap file.
- Menu Control is in master file.
- Menu Control retrieves menu/submenu info preety well.
- while hovering on menu items, it open
Duplicate File Names -
Hello Everyone:
I am trying to burn a Data DVD, but I keep getting an error message “Joliet names of these (Listed here in ISO-L3) are the same:
9B8003C7
9B8003C6"
I am unable to find these files when I search from the start menu, and there are a lot of files and fol
Help Please ! Popup bug ;( -
Hi !
I have a great problem here and it's really bugging me off !
Moreover I have to find it pretty quickly because i have more work to do.
So here is the problem :
I'm using MDI ... In that MDI Main Window I have a menu (File, Window, About ...), that i build with the menu edi
File1 problem -
hi guys,
i have a problem, i have made drive, dir, and file boxes all link together - thats fine, but i have also included a listbox wich receives the file names, and a rightclickable menu. when i right click the menu and select one of the options with the mouse it runs the code per
File Names -
I need to use VB to automatically change file names selected with a wildcard as part of a timed event.
I have found that if I use the Name As statement it will only work if I know the entire file name. However, I only know part of the file name ie that it ends in 1.txt. The name th
Run time error '52' -
hi all, i will be having a list of MS word file names in an separate MS Excel file. i am opening this excel file and get those MSword file names and copy those MSword files to another location. while i am executing this process i am encountering Runtime error '52' Bad File name of numb
adding to the menu -
how would i add a button to the menu like theres file and some some stuff under file how would i type in text1.text hit a button and it adds it to the menu under file?
menus, menus, how do u work -
right,
my qstns all have something to do with menus.
ok, the first qstn: i want to add something to the right-click menu that comes, for example, when you right-click an item on the desktop. I also want an icon next to it...
next on my menu - there it is again.. :
i want t
Add data in the end of a file...*RESOLVED* -
Hey guys!
Lets say I have a file called names.txt and its content is:
Ross
Rachel
Monica
Chandler
And I want to add Joey and/or Phoebe names after Chandler...
Theres a way to do it in VB without backing up the names already in the file using arrays? I mean, something like