Click here to Skip to main content
15,889,403 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: VB Photo Screensaver Pin
Eddy Vluggen29-Dec-13 3:13
professionalEddy Vluggen29-Dec-13 3:13 
GeneralRe: VB Photo Screensaver Pin
Nate Schoonover29-Dec-13 5:37
Nate Schoonover29-Dec-13 5:37 
GeneralRe: VB Photo Screensaver Pin
Eddy Vluggen29-Dec-13 17:15
professionalEddy Vluggen29-Dec-13 17:15 
GeneralRe: VB Photo Screensaver Pin
Nate Schoonover31-Dec-13 9:00
Nate Schoonover31-Dec-13 9:00 
GeneralRe: VB Photo Screensaver Pin
Eddy Vluggen2-Jan-14 9:18
professionalEddy Vluggen2-Jan-14 9:18 
GeneralRe: VB Photo Screensaver Pin
Nate Schoonover2-Jan-14 11:37
Nate Schoonover2-Jan-14 11:37 
GeneralRe: VB Photo Screensaver Pin
Eddy Vluggen4-Jan-14 3:41
professionalEddy Vluggen4-Jan-14 3:41 
GeneralRe: VB Photo Screensaver Pin
Nate Schoonover4-Jan-14 18:17
Nate Schoonover4-Jan-14 18:17 
Thanks again Eddy. I am starting to think you are a one-man operation around here! I appreciate your patience!

Eddy wrote:
I'm not sure whether a screensaver runs under the current users' credentials, or using a system-account. You could verify that by logging the Environment.UserName.

Good idea! I checked and the user name remains the same regardless of execution method. Both the preview mode, and the regular mode indicate my Windows user name (Nate). It seems that the application is running strictly under my user credentials. My user account is not an administrator, but this is my computer so the admin account is locked up tight. I almost never use it.

I did notice that when running the config mode, if I click the "..." to open the folder dialog, the default folder is C:\Users\Nate\Pictures\... This is defined by the default folder assignment:
Me.Directory = My.Computer.FileSystem.SpecialDirectories.MyPictures
I can't navigate any higher than this with the dialog box that is given. I store my pictures under C:\Users\Public\Pictures\... and I can't navigate to this folder. I can't navigate beyond the My Pictures folder. This seems like a very restricted folder dialog box. I also couldn't find a Special.Directories assignment for a public folder via MSDN[^]. I know that I can access the public folders for the screensaver because when I hard code the folder location it works fine.

It looks like I may need to figure out my own settings file after all! I started digging around MSDN and found things like How to Persist User Settings[^]. As far as I can tell, this is exactly what Gertz used in his example screensaver.

Is there a better way to store basic application settings?
GeneralRe: VB Photo Screensaver Pin
Eddy Vluggen5-Jan-14 1:25
professionalEddy Vluggen5-Jan-14 1:25 
QuestionDataGridView populates only first row Pin
Sonhospa27-Dec-13 9:16
Sonhospa27-Dec-13 9:16 
AnswerRe: DataGridView populates only first row Pin
Eddy Vluggen29-Dec-13 2:51
professionalEddy Vluggen29-Dec-13 2:51 
AnswerRe: DataGridView populates only first row Pin
Sonhospa29-Dec-13 7:08
Sonhospa29-Dec-13 7:08 
GeneralRe: DataGridView populates only first row Pin
Eddy Vluggen29-Dec-13 17:12
professionalEddy Vluggen29-Dec-13 17:12 
QuestionLINQ Pin
tsunamigang23-Dec-13 18:04
tsunamigang23-Dec-13 18:04 
AnswerRe: LINQ Pin
thatraja23-Dec-13 20:09
professionalthatraja23-Dec-13 20:09 
GeneralRe: LINQ Pin
tsunamigang23-Dec-13 22:08
tsunamigang23-Dec-13 22:08 
QuestionProgressbar value not accurate? Pin
Sonhospa21-Dec-13 0:50
Sonhospa21-Dec-13 0:50 
AnswerRe: Progressbar value not accurate? Pin
Dave Kreskowiak21-Dec-13 4:50
mveDave Kreskowiak21-Dec-13 4:50 
NewsRe: Progressbar value not accurate? Pin
Sonhospa21-Dec-13 9:04
Sonhospa21-Dec-13 9:04 
GeneralRe: Progressbar value not accurate? Pin
Dave Kreskowiak21-Dec-13 11:34
mveDave Kreskowiak21-Dec-13 11:34 
QuestionVerification Failure (DigitalPersona 4000B) Pin
Member 1048039921-Dec-13 0:35
Member 1048039921-Dec-13 0:35 
AnswerRe: Verification Failure (DigitalPersona 4000B) Pin
Dave Kreskowiak21-Dec-13 4:46
mveDave Kreskowiak21-Dec-13 4:46 
QuestionException Pin
tsunamigang19-Dec-13 20:10
tsunamigang19-Dec-13 20:10 
AnswerRe: Exception Pin
Richard MacCutchan19-Dec-13 21:57
mveRichard MacCutchan19-Dec-13 21:57 
QuestionAnyone else with VB 2010 forms suddenly slow? Pin
BradITM19-Dec-13 11:43
BradITM19-Dec-13 11:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.