Click here to Skip to main content
15,890,123 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionCrystal Reports - Calculate Sum Pin
dcode2512-Sep-07 3:08
dcode2512-Sep-07 3:08 
AnswerRe: Crystal Reports - Calculate Sum Pin
Kschuler12-Sep-07 9:26
Kschuler12-Sep-07 9:26 
GeneralRe: Crystal Reports - Calculate Sum Pin
dcode2512-Sep-07 13:46
dcode2512-Sep-07 13:46 
GeneralRe: Crystal Reports - Calculate Sum Pin
Kschuler13-Sep-07 3:25
Kschuler13-Sep-07 3:25 
QuestionLoad Gif(Access OLE Object) into PictureBox. Pin
NANCO12-Sep-07 0:44
NANCO12-Sep-07 0:44 
AnswerRe: Load Gif(Access OLE Object) into PictureBox. Pin
Dave Kreskowiak12-Sep-07 4:19
mveDave Kreskowiak12-Sep-07 4:19 
AnswerRe: Load Gif(Access OLE Object) into PictureBox. Pin
Luc Pattyn12-Sep-07 5:08
sitebuilderLuc Pattyn12-Sep-07 5:08 
GeneralRe: Load Gif(Access OLE Object) into PictureBox. Pin
NANCO12-Sep-07 5:51
NANCO12-Sep-07 5:51 
well,

  Dim img As Object = dataset.Tables(0).Rows(0)(0)<br />
<br />
        Dim imgObject() As Byte = CType(img, Byte())<br />
<br />
        Using theMemStream As New IO.MemoryStream()<br />
<br />
            theMemStream.Write(imgObject, 0, imgObject.Length)<br />
            theMemStream.Position = 0<br />
             <br />
            PictureBox1.Image = Image.FromStream(theMemStream)<br />
            End If<br />
        End Using


this is the code that I used, but it gave me this error:

first Error:
"A generic error occurred in GDI+"

Error Code = "-2147467259"

Second Error: (on cont...)
"Attempting managed execution inside OS Loader lock. Do not attempt to run managed code inside a DllMain or image initialization function since doing so can cause the application to hang."

Third Error: (on cont...)
"Attempting to call into managed code without transitioning out first. Do not attempt to run managed code inside low-level native extensibility points, such as the vectored exception handler, since doing so can cause corruption and data loss."
GeneralRe: Load Gif(Access OLE Object) into PictureBox. Pin
Dave Kreskowiak12-Sep-07 10:01
mveDave Kreskowiak12-Sep-07 10:01 
GeneralRe: Load Gif(Access OLE Object) into PictureBox. Pin
Luc Pattyn12-Sep-07 14:10
sitebuilderLuc Pattyn12-Sep-07 14:10 
QuestionAdvice Windows Service with Status Form Pin
ESTAN12-Sep-07 0:25
ESTAN12-Sep-07 0:25 
AnswerRe: Advice Windows Service with Status Form Pin
Tom Deketelaere12-Sep-07 1:59
professionalTom Deketelaere12-Sep-07 1:59 
QuestionRe: Advice Windows Service with Status Form Pin
ESTAN12-Sep-07 2:16
ESTAN12-Sep-07 2:16 
AnswerRe: Advice Windows Service with Status Form Pin
Dave Kreskowiak12-Sep-07 9:59
mveDave Kreskowiak12-Sep-07 9:59 
GeneralRe: Advice Windows Service with Status Form Pin
ESTAN19-Sep-07 0:40
ESTAN19-Sep-07 0:40 
QuestionResource files and Audio [modified] Pin
Brizee12-Sep-07 0:21
Brizee12-Sep-07 0:21 
AnswerRe: Resource files and Audio Pin
Dave Kreskowiak12-Sep-07 4:14
mveDave Kreskowiak12-Sep-07 4:14 
GeneralRe: Resource files and Audio Pin
Brizee17-Sep-07 3:52
Brizee17-Sep-07 3:52 
Questionhex(number) is not working in VB. Pin
chandu00412-Sep-07 0:13
chandu00412-Sep-07 0:13 
AnswerRe: hex(number) is not working in VB. Pin
ESTAN12-Sep-07 0:27
ESTAN12-Sep-07 0:27 
GeneralRe: hex(number) is not working in VB. Pin
chandu00412-Sep-07 2:06
chandu00412-Sep-07 2:06 
AnswerRe: hex(number) is not working in VB. Pin
Dave Kreskowiak12-Sep-07 4:12
mveDave Kreskowiak12-Sep-07 4:12 
QuestionWant to use Xml as Databse [modified] Pin
manuo511-Sep-07 23:36
manuo511-Sep-07 23:36 
AnswerRe: Want to use Xml as Databse Pin
Dave Kreskowiak12-Sep-07 4:11
mveDave Kreskowiak12-Sep-07 4:11 
QuestionPlease help Pin
Dubey Yogendra11-Sep-07 23:19
Dubey Yogendra11-Sep-07 23:19 

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.