473,574 Members | 3,033 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to obtain the current users Temp folder

How to obtain the current users Temp folder %temp% using C# ??

Thanks in advance

JIM
Jan 25 '06 #1
2 2395
Path.GetTempPat h()

Jan 25 '06 #2
Gracias, very much

JIM
"Vladimir Matveev" <de******@gmail .com> wrote in message
news:11******** *************@o 13g2000cwo.goog legroups.com...
Path.GetTempPat h()

Jan 25 '06 #3

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

Similar topics

5
1384
by: VB Programmer | last post by:
I want my webform to create a file on the users machine. How can I do this? I tried this but it doesn't work... Dim strFileName As String = "C:\Temp\MyFile.ABC" Dim sw As New StreamWriter(strFileName) sw.WriteLine(lblStartRun.Text) sw.Close() Response.Redirect(strFileName) The ABC file extension is associated with a custom application...
1
4466
by: Ram | last post by:
Hey, I have a ASP.NET web application, And whenever I try to debug a JScript/VBScript block (using- "stop", or - "debugger;") I get the following error: "There Is No Source Code Available For The Current Location" And when I do succeeded debugging the script, I get the same error when trying to debug a function from an included JS file. I...
3
6147
by: Nick | last post by:
VB.Net allows the ability to find the path of special folders by calling the System.Environment.GetFolderPath function with a parameter specifying which special folder I want the path of. Unfortunately, it doesn't appear to allow finding special folders related to "All Users". For example, I am trying to determine the "All Users Start Menu"...
4
2004
by: robert d via AccessMonster.com | last post by:
When my app starts up, it creates a temporary database. This temp database is created from a 'model' database that is in the same folder as the application. Because there is a model, the creation is essentially to just copy the 'model' database and give it the name of the application with the extension ".tmp". Then code opens the temp...
12
3043
by: (PeteCresswell) | last post by:
Does his sound legal? Somebody brought it up as an alternative to creating my temp DB under Documents and Settings\User Name. Sure seems simpler - conceptually identical to using C:\Temp in that no special coding is required to tailor the location to each user. But somehow it sounds like an end run - flaunting the spirit of the...
1
4437
by: VictorG | last post by:
Hello, The below C# code works fine in obtaining the windows user's account SID when the user is local to the machine. It throws a "Not Found" exception when trying top obtain the SID for a user who is on a domain, but logged in locally. Specifically, for a corporate domain - the user logs into the local desktop and has a local profile -...
18
4752
by: =?Utf-8?B?VG9t?= | last post by:
is it possible to add a bunch of users to group and only allow group to access the web page or do I need to add each user to the web.config file? Or is there another way to do this? I just took over a project and most of the web sites have users defined in the web.config file that can access the site. Now users come and go so this config...
3
2100
by: Paul Brady | last post by:
I have two users, Andrew and Nancy, who each have their own computer and can connect to a common database called "employees.mdb" which resides on a network server. On that same network server, there is a folder containing jpegs of the employee pictures. When either person brings up an employee's file, the computer goes into the network and...
6
1956
by: Aussie Rules | last post by:
Hi, In my application I need to write an XML file to disk, but am concerned that permission might be a problem. The file only needs to be written out and used for another reason and can then be deleted. I was thinking about using the windows/system temp directory as the location, as I guess that a directory where my application...
0
7841
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
8137
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...
1
5651
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
5335
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3773
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
3793
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2270
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
1
1369
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1099
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.