Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB.NET
|
VB.NET General VB.NET discussions for issues that don't fall into other VB.NET forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB.NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 12th, 2008, 01:34 PM
Authorized User
 
Join Date: Sep 2008
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default where do i save user created docs ?

in the old vb-6, it was easiest to have my program store
(user-created) documents in the same place where the program was
installed .. c:\program files\my-program.

??? in vb-2008 where should they be stored ???

on my windows xp machine, there is a
(c: \ documents and settings \ all users \ application data)
folder where a lot of programs seem to store user-created docs.

but .. on my vista machine, there is no such folder.

some programs store their docs in folder
(desktop \ owner \ app-data \ local)

there is also a (public \ publics docs) folder

there is also a (c: \ program data) folder

there is also a (c: \ users \ public) folder

there is nothing proprietary about the docs that my program creates.

i want the docs to be accessable to all.

i want them to be accessable on a simple network
(2 or 3 pcs hooked together)

if possible, i don't want vista users to have to give permission
for my program to create the doc.

??? where is the best place to have my program store the docs
it creates ???

thanks

jerry gentry
__________________
jerry gentry .. i am not retired .. but after 47 years of computer programming .. i got so old that nobody will hire me anymore.
 
Old October 13th, 2008, 10:23 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
Send a message via MSN to gbianchi
Default

Why not let the user choses where to store them?? I personally hates when a program store something somewhere and didn't ask me where I want it...

And remember something.. VB 2008 can still be used on XP or Vista or even win 2000... so you have a couple of choices...

HTH

Gonzalo

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from dparsons signature and he Took that from planoie's profile
================================================== =========
My programs achieved a new certification (can you say the same?):
WORKS ON MY MACHINE
http://www.codinghorror.com/blog/archives/000818.html
================================================== =========
I know that CVS was evil, and now i got the proof:
http://worsethanfailure.com/Articles...-Hate-You.aspx
================================================== =========
 
Old October 13th, 2008, 06:30 PM
Authorized User
 
Join Date: Sep 2008
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi gonzalo.

even if i let the user specify the save-to folder, i still need to
specify a default .. most people use the default.

the default is where the program is installed .. which is not a good default.

i checked most of the software i use and most of them use one of several (document) folders.

thanks

jerry gentry





Similar Threads
Thread Thread Starter Forum Replies Last Post
how to save pdf created from fdf shameeeeee VB How-To 1 July 14th, 2008 12:19 PM
Switchboard vs. User Created Grafixx01 Access 2 April 16th, 2007 07:51 AM
how to change password of created user? hertendreef ASP.NET 2.0 Professional 1 February 19th, 2007 10:27 AM
Save Dynamically created forms DaDeViL Access VBA 2 August 17th, 2005 08:29 AM
Open Office docs to Wiki docs kate XSLT 1 April 18th, 2005 11:47 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.