Click here to Skip to main content
15,905,915 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Shell Command in vb6 Pin
Dave Kreskowiak29-Mar-07 10:33
mveDave Kreskowiak29-Mar-07 10:33 
QuestionSave a bitmap image Pin
sonyama29-Mar-07 7:30
sonyama29-Mar-07 7:30 
AnswerRe: Save a bitmap image Pin
TwoFaced29-Mar-07 7:37
TwoFaced29-Mar-07 7:37 
GeneralRe: Save a bitmap image Pin
sonyama29-Mar-07 15:15
sonyama29-Mar-07 15:15 
GeneralRe: Save a bitmap image Pin
Christian Graus29-Mar-07 15:28
protectorChristian Graus29-Mar-07 15:28 
GeneralRe: Save a bitmap image Pin
TwoFaced29-Mar-07 17:18
TwoFaced29-Mar-07 17:18 
GeneralRe: Save a bitmap image Pin
sonyama30-Mar-07 3:57
sonyama30-Mar-07 3:57 
GeneralRe: Save a bitmap image Pin
TwoFaced31-Mar-07 11:59
TwoFaced31-Mar-07 11:59 
First try moving fs.dispose up a few lines. If the stream hasn't been disposed the file will still be locked I believe. You did give write permission, but even so this will ensure you have full access to the file. Once you've created the bitmap you can dispose of the stream so just do it after the bitmap gets made. Try that first. You may still get an error from the sounds of it. I got that same error for completly unknown reasons. As far as I could tell it was a glitch. I closed VS 2005 and re-opened it. I then used the exact same code and it worked. Also just to re-create the code that I used perfectly don't use FileAccess.write. If you move the dispose code up and remove FileAccess.write the code should work. If it doesn't you may be experiencing the same glitch I came across. In that case I'm not sure what to tell you. To double check try creating a new project and use just the code to create the bitmap from the stream. Try the code and if it works move that code to your current project. If it then fails we know there is a problem.
QuestionHow can i use DropDownList? Pin
mghiassi29-Mar-07 7:01
mghiassi29-Mar-07 7:01 
AnswerRe: How can i use DropDownList? Pin
kubben29-Mar-07 7:31
kubben29-Mar-07 7:31 
GeneralRe: How can i use DropDownList? Pin
mghiassi30-Mar-07 6:47
mghiassi30-Mar-07 6:47 
QuestionIs Date? Pin
KreativeKai29-Mar-07 6:27
professionalKreativeKai29-Mar-07 6:27 
AnswerRe: Is Date? Pin
mghiassi29-Mar-07 6:54
mghiassi29-Mar-07 6:54 
GeneralRe: Is Date? Pin
KreativeKai29-Mar-07 8:03
professionalKreativeKai29-Mar-07 8:03 
AnswerRe: Is Date? Pin
Guffa29-Mar-07 9:16
Guffa29-Mar-07 9:16 
AnswerRe: Is Date? Pin
HemMagesh29-Mar-07 20:19
HemMagesh29-Mar-07 20:19 
QuestionSetting a Hyperlink in the Event Log Pin
ONeil Tomlinson29-Mar-07 4:32
ONeil Tomlinson29-Mar-07 4:32 
AnswerRe: Setting a Hyperlink in the Event Log Pin
Vasudevan Deepak Kumar29-Mar-07 6:11
Vasudevan Deepak Kumar29-Mar-07 6:11 
Questionlicense key Pin
balakpn29-Mar-07 1:36
balakpn29-Mar-07 1:36 
AnswerRe: license key Pin
Vasudevan Deepak Kumar29-Mar-07 6:13
Vasudevan Deepak Kumar29-Mar-07 6:13 
AnswerRe: license key Pin
Christian Graus29-Mar-07 15:29
protectorChristian Graus29-Mar-07 15:29 
GeneralRe: license key Pin
balakpn2-Apr-07 18:49
balakpn2-Apr-07 18:49 
Questionlicense key Pin
balakpn29-Mar-07 1:36
balakpn29-Mar-07 1:36 
AnswerRe: license key Pin
Vasudevan Deepak Kumar29-Mar-07 6:12
Vasudevan Deepak Kumar29-Mar-07 6:12 
Questionmail sending in vb.net 2005 Window Application Pin
amaneet29-Mar-07 1:33
amaneet29-Mar-07 1:33 

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.