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

Home Posts Topics Members FAQ

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 1888
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**********@g mail.comwrote in message
news:11******** **************@ e3g2000cwe.goog legroups.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**********@gm ail.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
3167
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 simple embedded dll, but then i lose the trust prompt that ClickOnce offers. Any ideas? Mark
5
5239
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, which scares me!) but to be installed on the start menu, it seems I don't have permission to call CheckForUpdate()! I understand that if I'm not...
3
4543
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 'ClickOnce_1_0_0_3.application' from… Warning: Could not download 'ClickOnce_1_0_0_3/ClickOnce.exe.config.deploy' from… Warning: Could not...
1
8763
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 is, that on my develloper machine, my app.config sqlconnection is pointing to my (local) database and I have several settings like "Debug=True", but...
2
2733
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 to web services, which then connect to a database. The tiers are all on different nodes and we have around 1000 client users. We currently deploy...
1
1757
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 application is one which is to be purchased by my website's users. So, before the application is installed, the user must purchase the application. 2....
5
5774
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 downloads and launches successfuly, however if a second user logs on to terminal services and attempts to launch the app then the "Verifying...
7
2532
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
803
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 things i don't quite understand. I was hoping someone can answer some of my questions. I've read that it's better to separate between user interface...
3
5307
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 it ? If so, all the files will be duplicated for every user ? in wich folder ? If not, where will reside the application on the server ? how to...
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. ...
1
7954
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
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...
0
3864
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1448
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1179
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.