o
k
q
u
e
s
t
i
o
n
s
.
c
o
m

[2005] Openfiledialog and windows recent files -

Hi,

I use the openfiledialog from .net components. It runs as I want except that every files selected with this dialog also appear in recent files in window startmenu . If I understand this useful sometimes, for my application it's boring, very boring. Imagine that every file opened in vb would be referenced in recent files!!!!

I found to change a property or something like that but I failed.

Can opendialogfile avoid filling windows recent files?


Thanks.

 

[2005] Openfiledialog and windows recent files -
Hi, I use the openfiledialog from .net components. It runs as I want except that every files selected with this dialog also appear in recent files in window startmenu . If I understand this useful sometimes, for my application it's boring, very boring. Imagine that every file opened


[2008] Custom OpenFileDialog class -
I'm wondering if anyone had or knew of a codesample of an OpenFileDialog that was built from scratch. I got this weird problem that requires me to make a completely custom OpenFileDialog (I can't use the standard Windows one) and was hoping I could save myself a fair chunk of grind-co


File Open and Exit -
I am having trouble using the openfiledialog in the menu strip on my program...I have a menu strip at the top of the program, but not real sure how to get the openfiledialog property to work inside of it. I also have the doe written up for the openfiledialog as, Dim result


[2005] Custom OpenFileDialog problem -
Attached is a project to illustrate my issue. There is a VB.NET windows forms app, and a C# Class Library (so you need both to run this) The C# library is a wrapper to using the OpenFileDialog control via unmanaged code in order to customize the OpenFileDialog. In the example, th


[2005] How to get OpenFileDialog in toolbox -
I want to use OpenFileDialog on my Website, and add it to the toolbox. How can I do this? What I have tried so far: 1. Added reference, chose System.Windows.Forms 2. Went into source view, typed, <asppenfiledialog (it couldn't find it) 3. 'Show All' in toolbox, Op


[2005] Remembering Last Opened Files -
Hi, I am very much new to this forum! I hope I do not give a bad first impression, but I am unsure where this thread is most appropriate. I really do apologize if this is wrong, it is not my intention! I am very new to Visual Basic so if you could speak to me like I am a moron it may


a few errors that need resolving... -
for some reason the auto generated code here as an error with "MY". error: "Computer is not a member of MY" Dim OpenFileDialog As New OpenFileDialog OpenFileDialog.InitialDirectory = My.Computer.FileSystem.SpecialDirectories.MyDocuments OpenF


Customize OpenFileDialog - Adding search -
Hello: I currently have a screen that incorporates the OpenFileDialog. It allows users to open there files as needed. They would like to be able to have a search feature incorporated to it....similar to windows search...where they can enter part of the file name and have it look for it


[2005] openfiledialog -
I am using the openfiledialog and the option openfiledialog.filename gives me the full string. c:\location\something... As useful as that may be. Is there a way to only get the name of the file and the extention. i. e. image.jpg or dork.doc Or is this one of those time


[2008] Opening A File -
I've asked this several times and I am sorry. How can I make a Open File Dialog So When Clicked A Select file Dialog Will Show Up It Should Look Like This! Code: Dim OpenFileDialog As New OpenFileDialog OpenFileDialog.InitialDirectory = My.Computer.FileSystem.SpecialDirect


[2.0] Open Files -
Hi Guys, Anyone here knows how to open a file. Here is my code, but it doesn't work Code: private void OpenFile(object sender, EventArgs e) { OpenFileDialog openFileDialog = new OpenFileDialog(); openFileDialog.InitialDirectory = Environm


[2005] Simple OpenFileDialog -
ok i have a openfiledialog box and what i want it to do is select folder only, or at least tell me which dialog box i should use to only have it select folder not files. any help appreciated -JLR


openfiledialog question -
' Display an OpenFileDialog so the user can select a Cursor. Dim openFileDialog1 As New OpenFileDialog() openFileDialog1.Filter = "VMware Configuration files (*.txt)|*.txt|All files (*.*)|*.*" openFileDialog1.Title = "Selecteer een bestand&qu


Load text file through OpenFileDialog -
Hello, This is my first post on this forum. I'm new to VB although I have some experiences with VBA. Now I'm trying to do something rather simple, I would like the user to be able to select a text file (a cost matrix) in a file dialog screen and read that out into a textbox or a


[2005] OpenFileDialog or SaveFileDialog -
I'm making a program that needs to have the user select a file from their desktop using either savefiledialog or openfiledialog. On the selection of this file it will do a copy to a mapped drive. And store the path in a table. Do I need to use SaveFileDialog, OpenFileDialog, or somet


VB6 - Windows Media Player Recent Files List Editor -
This simple program can edit the text shown in the windows media player recent files (click 'File' menu and you will see the list at the bottom of the menu). You can change the text or delete it. Good way to learn about reading/writing to the registry.


the same file gets loaded into every mdi form how can I load file in the current mdi -
im making a text editor application and using mdi forms I need to be able to load a defferent file into every mdi form the mdi form has a richtextbox on it and i use richtextbox.loadfile to load contents of a text file into the box but if i open new mdi child forms every child form h


OpenFileDialog for choosing txt OR directory (but nothing else) -
hi, is it possible to set the filter of an OpenFileDialog to allow only *.txt files OR directories to be choosen BUT nothing else ? and of course: if yes, how? thanx, Usul


Code Query -
Hello all, Just a quick question. i have created a button in a form that opens an 'open' dialog window similar to ones in microsoft word, excel etc. once a user has selected a document and pressed 'ok' the location of the document appears in a text box e.g C:\Documents and Settings\


VB Recent Files Location -
Hi Where the VB's recent files resides. I want to delete some entries from the list.


[1.0/1.1] Restricting users to only one folder....using OpenFileDialog control -
I have a openfileDialog control on a windows form. I want to restrict the users to a specific folder only. Is there a way to do that? OpenFileDialog dlgOpen = new OpenFileDialog(); dlgOpen.Title = "Select Cash Flows XML file"; dlgOpen.ShowReadOnly = true; dlgOpen.Filter


openfile dialog filter -
openfiledialog filters on file larges how can I filter the files on file large ? when I open the openfiledialog how can I show just the littel files not the large files.


BinaryReader, BinaryWriter, and OpenFileDialog -
Hello everyone! How do I make an OpenFileDialog only show Halo 2 Map (*.map) files? Also, what code do I use to change the hex of the file opened at offset 0x0332E830 from 35FA8E3C to DB0FC940? Thanks! - Jason


[2005] How to handle Openfiledialog Multiselect to Richtextbox -
Hi Can somebody show how to put multiselected files in an Array and show them one by one in a Richtextbox? My idea of programflow. 1. open files, with the openfiledialog. 2. Store them in an Array, or how to do this. 3. A button trigger to start display the first file in the rich


[2005] Need help with doing a loop with openfiledialog -
I have my OpenFileDialog set up and it opens the .txt file i choose in the listview. Now my problem is let's say for ex. I have names in a list maybe 200 but when I open the .txt file i want it to stop at 150. I know how to do Do Loop and make things stop at a certian number I choose


open xls file from OpenFileDialog -
hi i have been browsing your forum and it is very informative. i have been using vba and would like to advance to vb. i have d/l the 2005 express edition and can feel my way around a little. i have made a estimating program in vba and would like to link to vb as mauch as possible


VB2005 Adding Multiple FileNames to ListBox -
Hi, I'm using the OpenFileDialog to select files. I have MultiSelect set to True. I would like to add each file I have selected in the OpenFileDialog to a ListBox. How do I achieve this? Thanks!


[2005] Uploading files -
I'm trying to use a OpenFileDialog to get files to be transfered to a ftp site. I can't seem to figure it out. Can someone help? Code: Dim ofd As New OpenFileDialog Dim localPath As String = ofd.ShowDialog() = Windows.Forms.DialogResult.OK Dim remote


recent files -
hi, im trying to add a recent file menu option to a project im doing, i've found an example in a thread but need to amend it (new to vb) example thanks to MarkT, i need to amend it to.... 1.. only have a maximum of 4 menu items 2... have most recent listed 1st 3.. if a menu i


[2008] Allow OpenFileDialog to see multiple file types with just one filter -
I have an OpenFileDialog that I want to use a filter to see JPEG images (both .JPEG and .JPG). I'm currently using: JPEG (*.jpeg)|*.jpeg in the Filter property of the OpenFileDialog. If I do: JPEG (*.jpeg, *.jpg)|*.jpeg, *.jpg it will properly display "JPEG (*.jpeg,


searching temporary Inet files -
does anyone know how to search your temporary internet files for recent HTML documents? Or by any other criteria? In fact - can anyone tell me anything about the way windows stores the files and uses their URLs etc..? Cheers Mafro


Problem with filter -
I am using VB.Net 2005 ... i have a openfiledialog control (similar to common dialog control in VB 6) .. I want to filter it to open only files with extension .xml .. I tried the following command but didnt work out openfiledialog1.filter="XML Files|*.xml" It allows fi


[2008] .NET Framework Version & OS Compatibility -
Hi, I have been asked to develop an app which runs on Windows NT, 2000, XP & Vista using .NET Technologies and SQL Server 2005. I have said NO to supporting Windows NT as I don't have an environment to test it on. So that leaves me with Windows 2000 minimum. The only most


Clearing recent list from Windows Media Player -
Howdy All... I often find it very difficult to open the registry and clear the recent file list for windows media player file menu. Besides this also seems to be little risky to keep my hands on the registry. Is there a way thro VB to open up a specific folder in the registry an


Recent Files -
Hello again! Here's a problem i have... i was trying to find some good recent files managment functions for my app and found this example on microsoft support http://support.microsoft.com/kb/253171/en It works really great but has one problem that i can't figure out how to solve... the


Recent Files List -
How do i make a recent projects list? Just a basic list of files that the user last opened. is all i need. How do i do that? Something like the list you see when you first open vb express. how do i do that?


Restricting access using OpenFileDialog -
Is it possible to pass a command line parameter to my programme that contains the path to a folder, and then to use that path when i choose to open a file using an OpenFileDialog window? I only want users to be able to view and select files from within that folder and not to be able t


OpenFileDialog -
I want to use an OpenFileDialog to allow a user to attach a file in my emailing program, right now i have to hardcode the file i want to attach because i dont see the option for openfiledialog. Am I missing something here? Thanks.


Recent projects -
How in the &^$# do I delete the recent projects in VB 2005 express? I've even deleted some of the project folders and there is still a reference to them. I see this was a problem in classic VB but do I need that add on as well? Seems to me I did it the other day but can't


OpenFileDialog & DataSets -
I have a problem with using the OpenFileDialog object and datasets. Whenever I use the OpenFileDialog when the application is in run mode, it will change the current working directory of all datasets in use. So if I use a relative path when reading an XML file into the dataset, that pa