473,508 Members | 2,356 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Open file dialog with strange file name

I am needing to permit users to select files using the 'Open file'
common dialog box. The format of the names of the files are along the
names of: GB00((&X.001.jpg

I am not able to show these files in the dialog box for selection. I
do need to use filters (cannot use (*.*| all files)

I tried using the filter *.*.jpg without success.

The filter string I have tried is:
"All files(*.*)|*.*|All files(*.*.*)|*.*.*|Jpg Image
files(*.*.jpg)|*.*.jpg|Jpg Image files(*.jpg)|*.jpg|Jpeg Image
files(*.jpeg)|*.jpeg|MS Word files(*.doc)|*.doc"

Any ideas on how to view these files?

Thanks - in advance - for any pointers.

Grant
Nov 16 '05 #1
3 1975
Hi GrantS,

Your filter should work just fine, although there is no difference between
*.*.jpg and *.jpg.
Testing on my system I could view filenames like the one you mentioned
just fine.
Are you certain you are viewing the right directory?

--
Happy Coding!
Morten Wennevik [C# MVP]
Nov 16 '05 #2
"Morten Wennevik" <Mo************@hotmail.com> wrote:
there is no difference between *.*.jpg and *.jpg.


Not true. For example, test.jpg matches *.jpg but not *.*.jpg.

P.
Nov 16 '05 #3
On Mon, 6 Dec 2004 13:03:29 +0000 (UTC), Paul E Collins
<fi******************@CL4.org> wrote:
"Morten Wennevik" <Mo************@hotmail.com> wrote:
there is no difference between *.*.jpg and *.jpg.


Not true. For example, test.jpg matches *.jpg but not *.*.jpg.

P.


Ah, you are correct. I meant *.*.* and *.* which for some reason the only
difference I could find was the first one not showing filenames without
any '.' whereas the latter would do.

--
Happy Coding!
Morten Wennevik [C# MVP]
Nov 16 '05 #4

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

Similar topics

7
16211
by: Martin | last post by:
Again drawing on the groups experience:- 1. For general file opening and file saving, using VB6, are there any issues with using the FileOpen and FileSave Common Dialog Boxes? 2. Is using the...
4
5073
by: John | last post by:
Hi, I generate a report in a comma delimited file and give it a name like MyReport.csv . I then set a Hyperlink control to point tp the file HyperLink1.text = "Download"...
2
3184
by: Jonathan Trevor | last post by:
Hi, For the last couple of releases of a product we're developing we've been running to very wierd behavior from IE and our ASP.NET web application which serves up various types of files and I'm...
1
3935
by: Daniel Cardoso | last post by:
I don't know what else to try - In my asp.net app, when the file name has Windows-1252 characters (like ã and ç), these characters appear, each one, as two strange characters in the file name label...
4
3661
by: Dorte | last post by:
Hi, I am using the code below to stream a CSV file with the response object. Dim FileName As String = "Test.csv" With Web.HttpContext.Current.Response ...
7
3991
by: Peter | last post by:
ASP.NET 2.0 I am trying to open a Word document and Excel document from a dialog web page, what's the best way to do that? I have tried the following: Response.Clear();...
5
6183
by: Stefano Tonello | last post by:
Hi all, I need to call windows' "open with" dialog from my C# windows form application. After the user selects application, control must return to me (I have to launch directly the process). I...
4
3326
by: nightscorpion | last post by:
Hello Gurus, i implemented the OpenFileDialog in my Windows Form Applications and it worked perfectly fine.However when it was run on a remote desktop i got the below error . ...
14
4253
by: strat18 | last post by:
My database code works on my server and one laptop, but does not function correctly on two other laptops, all four systems run Vista Business and MSaccess 2007. The code is set up to display the file...
0
7223
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7321
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
7377
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...
0
7489
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5047
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
4705
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
1547
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
762
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
414
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.