Click here to Skip to main content
15,887,746 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: DataGridView that use timer in vb.net Pin
Eddy Vluggen10-Feb-14 7:17
professionalEddy Vluggen10-Feb-14 7:17 
QuestionAllowing User To Upload Image to Resources folder and Displaying in PictureBox Pin
Dan O'Riordan3-Feb-14 2:34
Dan O'Riordan3-Feb-14 2:34 
AnswerRe: Allowing User To Upload Image to Resources folder and Displaying in PictureBox Pin
Richard MacCutchan3-Feb-14 3:03
mveRichard MacCutchan3-Feb-14 3:03 
GeneralRe: Allowing User To Upload Image to Resources folder and Displaying in PictureBox Pin
Dan O'Riordan3-Feb-14 3:17
Dan O'Riordan3-Feb-14 3:17 
GeneralRe: Allowing User To Upload Image to Resources folder and Displaying in PictureBox Pin
Richard MacCutchan3-Feb-14 8:17
mveRichard MacCutchan3-Feb-14 8:17 
AnswerRe: Allowing User To Upload Image to Resources folder and Displaying in PictureBox Pin
Dave Kreskowiak3-Feb-14 4:37
mveDave Kreskowiak3-Feb-14 4:37 
GeneralRe: Allowing User To Upload Image to Resources folder and Displaying in PictureBox Pin
Dan O'Riordan3-Feb-14 17:24
Dan O'Riordan3-Feb-14 17:24 
GeneralRe: Allowing User To Upload Image to Resources folder and Displaying in PictureBox Pin
Dave Kreskowiak3-Feb-14 18:14
mveDave Kreskowiak3-Feb-14 18:14 
Uhhh... Await?? You're a beginner. Don't start trampling through multi-threading code. You're not there yet.

Also, unless you're using VS2012 or 2013 and your project is targeting the .NET Framework 4.0 or above, you don't have access to Await. Even with .NET 4.0, I think you needed to add the "Async Targeting Pack" to your project to get at it.

Now, again, you have a problem. The directory structure you see in Solution Explorer does NOT exist on disk in your compiled application! The Resources folder does NOT exist as far as your code is concerned. You cannot enumerate the files in it because it's a concept that only exists inside Visual Studio and only up to compile-time. Once your project is compiled, the Resources folder essentially does not exist.

GeneralRe: Allowing User To Upload Image to Resources folder and Displaying in PictureBox Pin
Dan O'Riordan3-Feb-14 18:21
Dan O'Riordan3-Feb-14 18:21 
GeneralRe: Allowing User To Upload Image to Resources folder and Displaying in PictureBox Pin
Dan O'Riordan4-Feb-14 2:04
Dan O'Riordan4-Feb-14 2:04 
GeneralRe: Allowing User To Upload Image to Resources folder and Displaying in PictureBox Pin
Dave Kreskowiak4-Feb-14 3:56
mveDave Kreskowiak4-Feb-14 3:56 
AnswerRe: Allowing User To Upload Image to Resources folder and Displaying in PictureBox Pin
TnTinMn4-Feb-14 14:28
TnTinMn4-Feb-14 14:28 
GeneralRe: Allowing User To Upload Image to Resources folder and Displaying in PictureBox Pin
Dan O'Riordan4-Feb-14 23:07
Dan O'Riordan4-Feb-14 23:07 
GeneralRe: Allowing User To Upload Image to Resources folder and Displaying in PictureBox Pin
TnTinMn5-Feb-14 2:31
TnTinMn5-Feb-14 2:31 
GeneralRe: Allowing User To Upload Image to Resources folder and Displaying in PictureBox Pin
TnTinMn5-Feb-14 11:12
TnTinMn5-Feb-14 11:12 
QuestionProblem with AutoHidePortion in DockPanel Suite 2.8.0 (VB2010) Pin
TheComputerMan31-Jan-14 4:54
TheComputerMan31-Jan-14 4:54 
AnswerRe: Problem with AutoHidePortion in DockPanel Suite 2.8.0 (VB2010) Pin
Eddy Vluggen31-Jan-14 6:22
professionalEddy Vluggen31-Jan-14 6:22 
GeneralRe: Problem with AutoHidePortion in DockPanel Suite 2.8.0 (VB2010) Pin
TheComputerMan31-Jan-14 6:26
TheComputerMan31-Jan-14 6:26 
GeneralRe: Problem with AutoHidePortion in DockPanel Suite 2.8.0 (VB2010) Pin
Eddy Vluggen1-Feb-14 7:11
professionalEddy Vluggen1-Feb-14 7:11 
GeneralRe: Problem with AutoHidePortion in DockPanel Suite 2.8.0 (VB2010) Pin
TheComputerMan1-Feb-14 7:19
TheComputerMan1-Feb-14 7:19 
GeneralRe: Problem with AutoHidePortion in DockPanel Suite 2.8.0 (VB2010) Pin
Eddy Vluggen1-Feb-14 8:14
professionalEddy Vluggen1-Feb-14 8:14 
QuestionMaking label on UserControl work as default click event Pin
Floodlight29-Jan-14 17:49
Floodlight29-Jan-14 17:49 
AnswerRe: Making label on UserControl work as default click event Pin
TnTinMn29-Jan-14 18:16
TnTinMn29-Jan-14 18:16 
GeneralRe: Making label on UserControl work as default click event Pin
Floodlight29-Jan-14 18:44
Floodlight29-Jan-14 18:44 
AnswerRe: Making label on UserControl work as default click event Pin
Dave Kreskowiak29-Jan-14 18:17
mveDave Kreskowiak29-Jan-14 18:17 

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.