473,385 Members | 1,661 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Access Clickonce from ASP.NET application

I'm developing an ASP.NET application where I'll need to be accessing
some files on the client machine. I basically need to show information
about files in a directory on the client machine in a datagrid. I was
thinking that the best approach for this would be to write an ActiveX
control, but I was wondering if anyone had any luck developing a click
once application and accessing that from an ASP.NET page. The purpose
of that would be to call into the click once application to aquire
information about the file directory to display in the ASP.NET
datagrid. Any suggestions? Thanks!

Sep 18 '06 #1
2 1879
a standard click once (or .net based active/x control) will not have
permission to do this. they will have to be installed locally, and have the
user update the permissions, or trust your site.

-- bruce (sqlwork.com)
<ni**********@gmail.comwrote in message
news:11**********************@e3g2000cwe.googlegro ups.com...
I'm developing an ASP.NET application where I'll need to be accessing
some files on the client machine. I basically need to show information
about files in a directory on the client machine in a datagrid. I was
thinking that the best approach for this would be to write an ActiveX
control, but I was wondering if anyone had any luck developing a click
once application and accessing that from an ASP.NET page. The purpose
of that would be to call into the click once application to aquire
information about the file directory to display in the ASP.NET
datagrid. Any suggestions? Thanks!

Sep 18 '06 #2
Hi,

ni**********@gmail.com wrote:
I'm developing an ASP.NET application where I'll need to be accessing
some files on the client machine. I basically need to show information
about files in a directory on the client machine in a datagrid. I was
thinking that the best approach for this would be to write an ActiveX
control, but I was wondering if anyone had any luck developing a click
once application and accessing that from an ASP.NET page. The purpose
of that would be to call into the click once application to aquire
information about the file directory to display in the ASP.NET
datagrid. Any suggestions? Thanks!
To continue a little on Bruce's reply, even client-side JavaScript is
able to access the client's file system *if the permissions are given*.
That's the whole trick. You won't gain anything more by using ActiveX or
ClickOnce.

See this demo writing files to the local disk using plain javascript:
http://www.galasoft-lb.ch/myjavascri...rer/index.html

In normal scenario, accessing the file system is just not possible
because of the security sandbox.

HTH,
Laurent
--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
PhotoAlbum: http://www.galasoft-LB.ch/pictures
Suppor children in Calcutta: http://www.calcutta-espoir.ch
Sep 18 '06 #3

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

Similar topics

4
by: markoueis | last post by:
Is there any way to embed a ClickOnce Application into the browser? I love the way ClickOnce works, but the problem is I would like it to display the windows form in the browser. I could use a...
5
by: Danny Tuppeny | last post by:
I've been playing around with ClickOnce today, and it's all good stuff. Except, that if I change my application to NOT be full trust (which seems to make very little difference to the user prompt,...
3
by: Asaf | last post by:
Hi, After publishing my test application using ClickOnce with VS.NET 2005 I am getting these warnings: Warning: Could not download 'ClickOnce.application' from… Warning: Could not download...
1
by: M O J O | last post by:
Hi, I've have searched google, but can't find a solution to my problem. Om my develloper machine, I use one app.config, but when I deploy, I need to deploy another app.config. The reason...
2
by: Alex Bögli | last post by:
Hi I have a rather advanced deployment scenario and wanted to know, if anyone has an idea how to accomplish that with ClickOnce: We are deploying a 3-tier application with a client connecting...
1
by: dongarbage | last post by:
ClickOnce almost does what I want. However, there are a couple of additional things I want to do with my application which I believe are a challenge with a ClickOnce application: 1. The...
5
by: =?Utf-8?B?R29yZG9uUw==?= | last post by:
I have a windows form application being deployed using ClickOnce on Terminal Services. I am experiencing a problem where by the first user to run up the application is successful and the app...
7
by: Carlos Mendonça | last post by:
Has anyone managed to get ClickOnce to work with Firefox? It seems to me that it still has the same issues VS 2K5 had. I appreciate any comments or tips.
0
by: diki k | last post by:
Dear all, I'm currently studying C#, and i'm fairly new to .NET programming. I've been trying to create a client server (desktop) application to connect to a database. However there are some...
3
by: =?Utf-8?B?Um9nZXIgVHJhbmNoZXo=?= | last post by:
Hello, I would like to know the best way to install an clickonce in .net 3.5 (we use LINQ 8-D) published application on terminal server 2003 Do I have to install it on EVERY user that will use...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.