It is possible to create a file in local user-machine?
With this code in code-behind:
fs = New System.IO.FileS tream(lFileCSV, System.IO.FileM ode.Create,
System.IO.FileA ccess.Write)
The file is created on the server.
Any idea?
--
Ceci est une signature automatique de MesNews.
Site : http://mesnews.no-ip.com 4 3432
Why do you want to create a file in the client-machine?
"Bnob" <bn**@bluewin.c h> wrote in message
news:mn******** *************** @bluewin.ch... It is possible to create a file in local user-machine?
With this code in code-behind:
fs = New System.IO.FileS tream(lFileCSV, System.IO.FileM ode.Create, System.IO.FileA ccess.Write)
The file is created on the server.
Any idea?
-- Ceci est une signature automatique de MesNews. Site : http://mesnews.no-ip.com
hi,
The code creates a file on the server since it is getting executed on the
server side. You might have to try and send the file using
response.binary Write so that the user can save the file to his machine.
HTH
srini
"Bnob" wrote: It is possible to create a file in local user-machine?
With this code in code-behind:
fs = New System.IO.FileS tream(lFileCSV, System.IO.FileM ode.Create, System.IO.FileA ccess.Write)
The file is created on the server.
Any idea?
-- Ceci est une signature automatique de MesNews. Site : http://mesnews.no-ip.com
Michael Tkachev a couché sur son écran : Why do you want to create a file in the client-machine?
"Bnob" <bn**@bluewin.c h> wrote in message news:mn******** *************** @bluewin.ch... It is possible to create a file in local user-machine?
With this code in code-behind:
fs = New System.IO.FileS tream(lFileCSV, System.IO.FileM ode.Create, System.IO.FileA ccess.Write)
The file is created on the server.
Any idea?
-- Ceci est une signature automatique de MesNews. Site : http://mesnews.no-ip.com
The file to create is a csv file
So each user have a different web page, and I'don't want to save this
file in the server.
--
Ceci est une signature automatique de MesNews.
Site : http://mesnews.no-ip.com
....Or, if this is a controlled environment, and you know that the user's
browser settings will allow it, you can create a client-side FileSystemObjec t
object with VBScript or JavaScript. Here is a start:
<script language=javasc ript>
var fso=new ActiveXObject(" Scripting.FileS ystemObject");
</script>
OR
<script language=vbscri pt>
Dim fso
Set fso = CreateObject("S cripting.FileSy stemObject")
</script>
Good luck.
-Jess
"Bnob" wrote: It is possible to create a file in local user-machine?
With this code in code-behind:
fs = New System.IO.FileS tream(lFileCSV, System.IO.FileM ode.Create, System.IO.FileA ccess.Write)
The file is created on the server.
Any idea?
-- Ceci est une signature automatique de MesNews. Site : http://mesnews.no-ip.com
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: intl04 |
last post by:
I am getting strange print-related error messages when trying to
create (not print!) reports. For example, when I click 'new' to create
a report then choose 'design view', I get an error message that says:
'There was a problem retrieving printer information for this object.
The object may have been sent to a printer that was unavailable.'
When I choose 'report wizard', I can go through all of the steps but
then I get an error message...
|
by: Ron Vecchi |
last post by:
I a runnning w2k3 pop3 mail server that came with iis6.
I would like to write an application that progammtically creates the new
mailboxes in an already established mail domain.
Does anyone know how I would access this funcationality?
Thanks,
Ron Vecchi
|
by: Paw |
last post by:
Greetings.
I use asp.
what I need is is when a visitor comes to the site, I need it to check
the host name. if "www.hometowndigest.com" is the host, then check a
folder named "something" and if the folder does not exsist, create
folder "www" and then copy folder "temp" and its contents.
If the folder "www" is there, look in it, check to see if the files in
folder "temp" are in there, if not, copy the files that are not from
folder...
|
by: Philip Nelson |
last post by:
I get -
db2inst1@dvorak /db2data $ db2 "create database DBTST001 automatic storage
yes on /db2data/db2db dbpath on /db2data/db2db"
SQL0805N Package "NULLID.SQLE2F0J 0X4141414141654557" was not found.
SQLSTATE=51002
At least one other person on the IRC forum reports the same thing, so it
isn't my install.
|
by: barb |
last post by:
So that the world at large benefits from our efforts, here is one fully
documented way to use Windows Irfanview freeware to create thumbnail web
galleries (http://www.irfanview.com).
STEP 1: Start with original thumbnails & two empty sub directories
STEP 2: Create smaller versions of the originals for one sub directory
STEP 3: Create thumbnail version of the originals the other sub directory
STEP 4: Create an index.html pointing to the...
| |
by: =?Utf-8?B?YXJqZW4xOTg0?= |
last post by:
I have the following code that creates a user and makes a mailbox with it:
private void kandidaatAanmaken(string voornaam, string achternaam, string
gebruikersnaam)
{
string password = "1234567";
DirectoryEntry container, user;
string homeMDB = "";
container = new DirectoryEntry("LDAP://192.168.0.56/CN=Users,
DC=aoicttest, DC=local");
|
by: Mich |
last post by:
Hi,
i'm building an web application for anonymous users. They can take a look in
the website, nothing more. In order to perform other actions, the anonymous
user must be logged. So i create an aspx page with the CreateUserWizard
control. The user can fill his username, password etc ....
My problem is: when an user fills everything and clicks on button "create an
account", nothing happens (no error, but no user account created).
I...
|
by: Vlad |
last post by:
I am having problems using the file.create method within a function
that is called when looping through an array of filepaths.
If I call my function with a hardcoded file path --C:\Temp.txt the
function creates the file as expected.
When I loop through my array I get the error - "ArgumentException was
unhandled - Illegal characters in path"
The value "C:\Temp.txt" is the first value in the array - as it works
|
by: ADezii |
last post by:
Rather than using CurrentProject.Connection or entering your own Connection information, ADO supports storing Connection information in an external file called a Data Link File (which normally has a *.UDL extension). Data Link Files provide two very important capabilities:
They implement a graphical interface for constructing what can be complex and confusing OLE DB Connection Strings.
They offer a way to allow Users to edit Connection...
|
by: Mr. X. |
last post by:
Hello.
How can I create aspnetdb from scratch ?
(I want a script that create all table, views, etc... on that database).
Thanks :)
|
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 usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
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 captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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 we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |