Click here to Skip to main content
16,003,474 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questiondatagrid view Pin
tsunamigang31-Dec-13 1:25
tsunamigang31-Dec-13 1:25 
AnswerRe: datagrid view Pin
Gandalf_TheWhite31-Dec-13 1:40
professionalGandalf_TheWhite31-Dec-13 1:40 
GeneralRe: datagrid view Pin
tsunamigang31-Dec-13 1:52
tsunamigang31-Dec-13 1:52 
QuestionCrystal report not generated. Pin
pankaj1985tripathi29-Dec-13 23:17
pankaj1985tripathi29-Dec-13 23:17 
AnswerRe: Crystal report not generated. Pin
thatraja29-Dec-13 23:43
professionalthatraja29-Dec-13 23:43 
QuestionFunction in Linq Pin
alirezamansoori28-Dec-13 20:36
alirezamansoori28-Dec-13 20:36 
AnswerRe: Function in Linq Pin
Richard MacCutchan28-Dec-13 23:15
mveRichard MacCutchan28-Dec-13 23:15 
QuestionVB Photo Screensaver Pin
Nate Schoonover27-Dec-13 17:33
Nate Schoonover27-Dec-13 17:33 
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 

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.