473,586 Members | 2,754 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Selecting client-side files


Hello

In days gone by I was a VB programmer but currently tasked to find some
answers for a ASP guy.

Basically I am wanting to incorporate some of the functionality of the
Common Dialog control into this Web tool we are building, specifically
the InitDir and FileType properties. The end user needs to select a
file stored client-side - is this possible using IE6?

Thanks

Kathy

--
KathyMarriage
------------------------------------------------------------------------
Posted via http://www.codecomments.com
------------------------------------------------------------------------

Mar 1 '06 #1
3 1347

KathyMarriage wrote:
Hello

In days gone by I was a VB programmer but currently tasked to find some
answers for a ASP guy.

Basically I am wanting to incorporate some of the functionality of the
Common Dialog control into this Web tool we are building, specifically
the InitDir and FileType properties. The end user needs to select a
file stored client-side - is this possible using IE6?

Thanks

Kathy

--
KathyMarriage
------------------------------------------------------------------------
Posted via http://www.codecomments.com
------------------------------------------------------------------------


What do you want to allow the end user to do with the selected file?

--
Mike Brind

Mar 1 '06 #2
KathyMarriage wrote:
Hello

In days gone by I was a VB programmer but currently tasked to find
some answers for a ASP guy.

Basically I am wanting to incorporate some of the functionality of the
Common Dialog control into this Web tool we are building, specifically
the InitDir and FileType properties. The end user needs to select a
file stored client-side - is this possible using IE6?

Thanks

Kathy


ASP is server-side technology. You will probably get more help by posting to
a client-side newsgroup such as microsoft.publi c.scripting. jscript.

That said, I doubt you will be able to use that dll from script. Maybe in a
HTA (HTML application) since it is subject to less security restrictions
than a normal web page. Do a search at msdn.microsoft. com/library for more
information.

Bob Barrows

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Mar 1 '06 #3
KathyMarriage <Ka************ ******@mail.cod ecomments.com> wrote:

Hello

In days gone by I was a VB programmer but currently tasked to find some
answers for a ASP guy.

Basically I am wanting to incorporate some of the functionality of the
Common Dialog control into this Web tool we are building, specifically
the InitDir and FileType properties. The end user needs to select a
file stored client-side - is this possible using IE6?


You allow selection of a client-side file for transmission to the
server by using the <input type="file".... > HTML element. Given normal
security setup, there is no other way to select a client-side file,
and nothing else you can do with that file once it's been selected.
(Your client-side Javascript can retrieve the name of the selected
file, but cannot open it or do anything to it. And client-side
Javascript cannot set the value of the <input type="file"...> element,
it's read-only.)

--
Tim Slattery
MS MVP(DTS)
Sl********@bls. gov
Mar 1 '06 #4

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

Similar topics

3
2403
by: james.dixon | last post by:
Hi I was wondering if anyone else had had this problem before (can't find anything on the web about it). I have three select elements (list boxes - from here on I'll refer to them as 'the list boxes'). Users can add and remove items from the list boxes. When the users are adding and removing items, the list boxes are single
4
2935
by: Lucius | last post by:
Hello everyone, I have a query problem. I'll put it like this. There is a 'publishers' table, and there is a 'titles' table. Publishers publish titles (of course). Now I want to make a query (in MS SQL Server) that would return the last title published by every of the publishers. Quite clear situation. But I can't make it work. If I use...
0
2417
by: brent | last post by:
Hi there... I have a stateless Session Bean issuing a select for a BLOB column. This bean is using a CachedRowSet. It seems to work for all other columns types other than a BLOB. Selecting a BLOB column, a SQLExcpetion when the CachedRowSet is populated. Anyone else run in to this situation? ENV: WSAD 5.0.1 running on WIN2K or RH9...
2
1284
by: Achim Domma (Procoders) | last post by:
Hi, to allow my user to select from a list of values which are calculated on the fly, I tried to generate a list of LinkButton controls on the fly. But the connected event does not fire. Searching google I found out that the problem is caused by the structure of the ASP.Net event handling: The clicked button does not exist anymore after...
1
2910
by: sneha123 | last post by:
There will be some 20 questions and for each question there will be 4 choices.what i want to do is to select multiple answers by clicking the checkbox. i m using asp.net,vb.net pls help me we have written the code using radio button for selecting single item.but we want to replace it with checkbox to select multiple items. the code...
48
3841
by: phillip.s.powell | last post by:
MySQL 3.23.58 - 4.0.17 (yep, several database server instances, don't ask) I have database Spring with table Students I have database Summer with table Students I am tasked to produce a query of all students in both tables with no duplicates. No clue whatsoever.
9
16920
by: ice | last post by:
Hello, I have a couple of tables. The client tables and the contacted tables. I am not sure how to start on this, what I need is a way to query all my clients then show any client that the last visit and or called day is greater than 30 days. Now it gets confusing, Suppose the client was visited more than 30 days ago but was called...
2
2349
by: JJ | last post by:
I have a textbox that is used to insert some html code. I want to highlight errors in the code, possibly by selecting the text. Is it possible to highlight/select areas of a textbox programmatically? Thanks, JJ
1
1628
omerbutt
by: omerbutt | last post by:
hi everyone i am making a web site (PERSONAL PORTFOLIO) with the help of php,mysql,html, javascript and AJAX.Now in this portfolio the client enters his work experiences regarding to print media,web designing,logo designing e.t.c. now he wants that on his home page there should be last 6 entries visible.Now he problem is that for instance say...
0
893
by: Matt Nunnally | last post by:
I wrote a SSL client application. It is communicating fine through SSL, but I noticed that the SSL communication takes anywhere from 15-20 seconds, where tcp is only about 3-5 seconds. Steping through my code I notice that when I am selecting the certificate and returning it, the code pauses for about 7-10 seconds after steping out of that...
0
7911
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7839
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8200
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8338
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
8215
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6610
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5710
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3836
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
1448
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.