Click here to Skip to main content
16,005,236 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: How to free drawing by mousemove in a pictureBox Pin
Purple Monk23-Mar-06 22:56
Purple Monk23-Mar-06 22:56 
GeneralRe: How to free drawing by mousemove in a pictureBox Pin
NatBest24-Mar-06 3:40
NatBest24-Mar-06 3:40 
QuestionHow to add/remove databse and tables from Crystal Reports through Vb.net Pin
Ash. R.23-Mar-06 17:19
Ash. R.23-Mar-06 17:19 
AnswerRe: How to add/remove databse and tables from Crystal Reports through Vb.net Pin
Sajid Soomro24-Mar-06 0:12
Sajid Soomro24-Mar-06 0:12 
GeneralRe: How to add/remove databse and tables from Crystal Reports through Vb.net Pin
Ash. R.24-Mar-06 17:45
Ash. R.24-Mar-06 17:45 
Questiondoes anyone knows how to do this? Pin
uglyeyes23-Mar-06 14:07
uglyeyes23-Mar-06 14:07 
QuestionProblems with menus in VS 2005 Pin
mingonn23-Mar-06 13:14
mingonn23-Mar-06 13:14 
QuestionResize an image Pin
New_Coder23-Mar-06 11:46
New_Coder23-Mar-06 11:46 
I am using the following code to save an image into an MSAcess database using VB 2003

How can I resize the image to a fixed size? and two is there a cleaner way to do this

Dim STREAM As System.IO.FileStream
Dim READER As StreamReader
Dim JPEG_FILE As String

JPEG_FILE = txtPicFile.Text 'this is the path and file name of image

STREAM = New FileStream(JPEG_FILE, FileMode.Open, FileAccess.Read, FileShare.Read)
READER = New StreamReader(STREAM)

Dim FILEBYTE(STREAM.Length - 1) As Byte
STREAM.Read(FILEBYTE, 0, STREAM.Length)

'save image to database using DBS As DAO.Database and RST As DAO.Recordset...
.Fields("Image").Value = FILEBYTE
AnswerRe: Resize an image Pin
Christian Graus23-Mar-06 11:56
protectorChristian Graus23-Mar-06 11:56 
AnswerRe: Resize an image Pin
Guffa23-Mar-06 21:02
Guffa23-Mar-06 21:02 
GeneralRe: Resize an image Pin
New_Coder24-Mar-06 12:28
New_Coder24-Mar-06 12:28 
AnswerRe: Resize an image Pin
Guffa25-Mar-06 7:39
Guffa25-Mar-06 7:39 
GeneralRe: Resize an image Pin
New_Coder28-Mar-06 13:01
New_Coder28-Mar-06 13:01 
Questionport , Com Pin
SVb.net23-Mar-06 11:39
SVb.net23-Mar-06 11:39 
AnswerRe: port , Com Pin
progload23-Mar-06 11:56
progload23-Mar-06 11:56 
GeneralRe: port , Com Pin
SVb.net24-Mar-06 10:07
SVb.net24-Mar-06 10:07 
NewsRe: port , Com Pin
Omar Mallat24-Mar-06 4:09
professionalOmar Mallat24-Mar-06 4:09 
GeneralRe: port , Com Pin
SVb.net24-Mar-06 9:51
SVb.net24-Mar-06 9:51 
QuestionMultiline Result List Pin
hergru23-Mar-06 8:45
hergru23-Mar-06 8:45 
AnswerRe: Multiline Result List Pin
Ed.Poore24-Mar-06 7:50
Ed.Poore24-Mar-06 7:50 
GeneralRe: Multiline Result List Pin
hergru25-Mar-06 0:38
hergru25-Mar-06 0:38 
GeneralRe: Multiline Result List Pin
Ed.Poore25-Mar-06 11:47
Ed.Poore25-Mar-06 11:47 
AnswerRe: Multiline Result List Pin
hergru26-Mar-06 2:51
hergru26-Mar-06 2:51 
QuestionVista.. Pin
pogowolf23-Mar-06 8:24
pogowolf23-Mar-06 8:24 
AnswerRe: Vista.. Pin
Joshua Quick23-Mar-06 8:49
Joshua Quick23-Mar-06 8:49 

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.