473,326 Members | 2,023 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,326 software developers and data experts.

Find All users Desktop

How do I find the all Users Desktop.
I want to put a shortcut there?
And at the same time I want to add a shortcut to the 'StartBar'

reidarT
Dec 2 '06 #1
1 2195
Hope this helps
Watch for line wrap

Module Module1
Sub Main()
Dim folderPath As String
Dim tempPath As String
tempPath = (System.Environment.GetFolderPath _
(Environment.SpecialFolder.CommonApplicationData))
folderPath = tempPath.Replace("Application Data", "Desktop")
Console.WriteLine(folderPath)
Console.ReadLine()
End Sub
End Module

"reidarT" <re****@eivon.nowrote in message
news:Oa**************@TK2MSFTNGP03.phx.gbl...
How do I find the all Users Desktop.
I want to put a shortcut there?
And at the same time I want to add a shortcut to the 'StartBar'

reidarT

Dec 2 '06 #2

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

Similar topics

2
by: JB | last post by:
I'm using an OpenFileDialog and I want to set the Initial directory to the current users desktop, any quick way to get this? Jason
4
by: Dianna | last post by:
I am writing an ASP .NET application. Controls such as Listbox and combo box pick up the Users Themes from there PC and display selected items using such selected highlight colors. I have a...
2
by: Thomas LeBlanc | last post by:
What are the SQL commands to find who is logged on a server, what database he/she has open, etc? Where is this information in the help file or documentation? Thanks, Thomas ...
0
by: Phil Galey | last post by:
I created a desktop application in VB.NET and in the Setup and Deployment project, under File System on Target Machine, I added a custom folder which is to be added to the Desktop of All Users. To...
3
by: svjames | last post by:
heya guyzorz, just a quick q, for the life of me i cant find a way to obtain the value of a users browsers default homepage. Ive written a site that provides access to the internet on a certain...
2
by: AR123 | last post by:
I want to find out a way of listing all the users who have access to specific item types created on Mediasurface. I need some help on developing this?
1
!NoItAll
by: !NoItAll | last post by:
Hi: I'm using the following script to find a shortcut with a specific string in it. In the code below the example is the word "font" My problem is that this code looks everywhere EXCEPT the...
2
by: lask001 | last post by:
I'm looking for a way to make a standard desktop for all users. Basically I just want to make a shortcut on all of the desktops to the network drive and put a single file on the desktop. I'm using...
6
by: JDeats | last post by:
I'm in a situation where it's difficult to get on-site and troubleshoot, so I'm looking for scenarios from those experienced on what might be causing this problem. I have a .NET 2.0 WinForms...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
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...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
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...

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.