I want to send a file to each persons home network space. I believe that
when a person logs onto a network, some sort of variable is set that
identifies the user. Is there any code that would allow me to transfer a
text file from Access 2000 for a mailmerge to the person logged in's special
network folder? I don't fully understand this, but I thought someone might
know something about it?
dixie. 4 2464
On Thu, 24 Nov 2005 16:29:49 +1100, "Dixie" <di***@dogmail.com> wrote: I want to send a file to each persons home network space. I believe that when a person logs onto a network, some sort of variable is set that identifies the user. Is there any code that would allow me to transfer a text file from Access 2000 for a mailmerge to the person logged in's special network folder? I don't fully understand this, but I thought someone might know something about it?
Sure. All you need to know is how your network defines the "special
network" folder.
When a user signs on to your Access application, you can find the
network name of that user using the function defined at: http://www.mvps.org/access/api/api0008.htm
Once you have that, you should be able to cobble together the path of
the "special network" folder into a text string.
That and the OPEN "PATH\FILENAME" for Output as #x command along with
the PRINT #x, xxxx command should fix you right up.
mike
I can get the user's name no trouble, but I have no idea what their network
folder is and how to make a path to it. The network is generally Microsoft
Server2003. Can anyone tell me what your folder would be if you logged onto
such a network?
dixie
"Mike Preston" <mb******@pacbell.net.invalid> wrote in message
news:43*****************@news.INDIVIDUAL.NET... On Thu, 24 Nov 2005 16:29:49 +1100, "Dixie" <di***@dogmail.com> wrote:
I want to send a file to each persons home network space. I believe that when a person logs onto a network, some sort of variable is set that identifies the user. Is there any code that would allow me to transfer a text file from Access 2000 for a mailmerge to the person logged in's special network folder? I don't fully understand this, but I thought someone might know something about it?
Sure. All you need to know is how your network defines the "special network" folder.
When a user signs on to your Access application, you can find the network name of that user using the function defined at:
http://www.mvps.org/access/api/api0008.htm
Once you have that, you should be able to cobble together the path of the "special network" folder into a text string.
That and the OPEN "PATH\FILENAME" for Output as #x command along with the PRINT #x, xxxx command should fix you right up.
mike
On Fri, 25 Nov 2005 12:53:41 +1100, "Dixie" <di***@dogmail.com> wrote: I can get the user's name no trouble, but I have no idea what their network folder is and how to make a path to it. The network is generally Microsoft Server2003. Can anyone tell me what your folder would be if you logged onto such a network?
There may be a suggested default, but it varies by network. You'll
have to ask the sysadmin.
mike dixie
"Mike Preston" <mb******@pacbell.net.invalid> wrote in message news:43*****************@news.INDIVIDUAL.NET... On Thu, 24 Nov 2005 16:29:49 +1100, "Dixie" <di***@dogmail.com> wrote:
I want to send a file to each persons home network space. I believe that when a person logs onto a network, some sort of variable is set that identifies the user. Is there any code that would allow me to transfer a text file from Access 2000 for a mailmerge to the person logged in's special network folder? I don't fully understand this, but I thought someone might know something about it?
Sure. All you need to know is how your network defines the "special network" folder.
When a user signs on to your Access application, you can find the network name of that user using the function defined at:
http://www.mvps.org/access/api/api0008.htm
Once you have that, you should be able to cobble together the path of the "special network" folder into a text string.
That and the OPEN "PATH\FILENAME" for Output as #x command along with the PRINT #x, xxxx command should fix you right up.
mike
You can use Windows API calls to get the special folders,
or you can create a WshShell object and use its SpecialFolders
property: http://msdn.microsoft.com/library/de...ialfolders.asp
(david)
"Dixie" <di***@dogmail.com> wrote in message
news:43********@duster.adelaide.on.net... I want to send a file to each persons home network space. I believe that when a person logs onto a network, some sort of variable is set that identifies the user. Is there any code that would allow me to transfer a text file from Access 2000 for a mailmerge to the person logged in's special network folder? I don't fully understand this, but I thought someone might know something about it?
dixie.
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Fran Tirimo |
last post by:
I am developing a small website using ASP scripts to format data retrieved
from an Access database. It will run on a Windows 2003 server supporting
FrontPage extensions 2002 hosted by the company...
|
by: Fran Tirimo |
last post by:
I am developing a small website using ASP scripts to format data retrieved
from an Access database. It will run on a Windows 2003 server supporting
FrontPage extensions 2002 hosted by the company...
|
by: Mike MacSween |
last post by:
I'm not talking Access Users & Groups, I may or may not implement that. Even
if I do file/folder rights still need to be managed.
I've searched the archives and read the many postings. The basic...
|
by: Lam |
last post by:
HI
anyone knows how can I open a mapped network file in C#?
I try string file = @"T:\file.txt"; it shows me the error: "Could not find
a part of the path"
but if I copy the file to my C dirve,...
|
by: Yama |
last post by:
Hi
Is there a way using an Intranet ASP.NET web application to access a text file from a specified folder
The Logic
ReadTextFile.asp
-------------------
FILE =...
|
by: John Dalberg |
last post by:
I want to automate the process of logging into an intranet. I want to pull
out the username of the Windows user logged into the machine running the
browser and use the username in my app. How can I...
|
by: 000dreamsound000 |
last post by:
Hi
I need help with to access a text file over my local network.
I need to be able to create,read, write and delete the txt file on a specific machine(s) from any computer over the network. The...
|
by: hsriat |
last post by:
I am not sure how many of you would have faced this problem, but I faced this many times. I am not good at memorizing things, so I give lot of code comment in my code. And never wanted that code to...
|
by: Salad |
last post by:
I have a situation where some, not all, users get the message "Couldn't
find file "F:\AccessApps\AppName.mdw". This file is required for startup".
My app the users are attempting to access is...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
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,...
|
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...
|
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,...
| |