Jump to content
Xtreme .Net Talk

Recommended Posts

Posted (edited)

Hi,

 

I'm currently in the investigation and planning phase of an application, and have kind of hit a stumbling block over which technology to use for a certain piece of the Application - Web Forms or Win Forms.

 

The piece in question will authenticate a User during logon to a central server, and display some screens allowing them update their details etc on the central server. The application will be a client piece on a User's desktop (which could possibly be browser based), which connects over a LAN to a server machine.

 

Regarding the User's local machine - the only thing running will be my application - the User will be locked out of running any other applications or functions. If it's browser based (web application), the browser will be hardened to only run my application.

 

However, one function that this piece has to do is -> when the User clicks a button, copy a file from the local hard disk to a removable drive (USB / Card Reader). The file will exist on the local hard disk because another application will have put it there.

 

With ASP.NET Web Forms - is this possible?

Edited by joker77
What if the Hokey-Pokey IS what it's all about?
Posted
I don't think you can create files in the local computer via ASP.NET; however, if the file is available on the Web Server, you can use ASP.NET to download the file and allow the user to save it to a specific location. Just like downloading an attachment from a Web Mail Client.

~Nate�

___________________________________________

Please use the [vb]/[cs] tags on posted code.

Please post solutions you find somewhere else.

Follow me on Twitter here.

Posted

You need to use a WinForm as otherwise you'd have to write a custom ActiveX app to do the file management, which IE7 will pretty much push the user not to install.

 

Also, since you want this to run at logon time ("authenticate a User during logon") then you'll also want it a WinForm as you can put the .EXE in their startup, which will be much neater than trying to push a web url to the user, which can not function correctly if the user changes their default browser.

Experience is something you don't get until just after the moment you needed it

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...