Click here to Skip to main content
15,891,253 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralClass not registered and.. Pin
Kain16-Sep-02 12:02
Kain16-Sep-02 12:02 
GeneralRe: Class not registered and.. Pin
Matt Philmon19-Sep-02 18:06
Matt Philmon19-Sep-02 18:06 
Questionimporting an excel file and storing in MS-Access? Pin
drmzunlimited16-Sep-02 11:57
drmzunlimited16-Sep-02 11:57 
AnswerRe: importing an excel file and storing in MS-Access? Pin
Matt Philmon19-Sep-02 18:07
Matt Philmon19-Sep-02 18:07 
Questionexecuting query from dataset thru code in Vb.net? Pin
drmzunlimited16-Sep-02 11:44
drmzunlimited16-Sep-02 11:44 
Questionupdate query ? Pin
drmzunlimited16-Sep-02 11:40
drmzunlimited16-Sep-02 11:40 
AnswerRe: update query ? Pin
BHBAD200217-Sep-02 8:12
sussBHBAD200217-Sep-02 8:12 
GeneralCOMException Pin
devvvy16-Sep-02 10:50
devvvy16-Sep-02 10:50 
pretty new to .NET, i was just trying to read an image column (recordset) into a stream object before i flush the stream and dump everything to disk.

Here's the code:

mstream.Write rs.Fields("Photo").Value 'Exception thrown here!
mstream.SaveToFile "c:\oolala.bmp"

The exception thrown:

MYQUOTE:
"SystemRuntime.InteropServices.COMException 0x800A0C93 Operation is not allowed in this context

at ADODB.StreamClass.Write( Object Buffer)

..."

Any idea? I presume i cant just put this VB 6 code in VB.NET...? any pointer?

Thanx!

norman_lm_fung@hotmail.com

norm
Questionhow to create ActiveX controls Pin
diya16-Sep-02 9:32
diya16-Sep-02 9:32 
GeneralStrange Form.Load problem Pin
Member 13074716-Sep-02 5:45
Member 13074716-Sep-02 5:45 
GeneralRe: Strange Form.Load problem Pin
Ray Cassick16-Sep-02 6:19
Ray Cassick16-Sep-02 6:19 
QuestionVB 6.0 How do I read from a .txt file? Pin
BHBAD200216-Sep-02 4:32
sussBHBAD200216-Sep-02 4:32 
AnswerRe: VB 6.0 How do I read from a .txt file? Pin
Ray Cassick16-Sep-02 5:31
Ray Cassick16-Sep-02 5:31 
AnswerRe: VB 6.0 How do I read from a .txt file? Pin
Zyxil19-Sep-02 10:38
Zyxil19-Sep-02 10:38 
GeneralIN VBS how do I check if some software is installed using registry Pin
SPGV15-Sep-02 23:17
SPGV15-Sep-02 23:17 
GeneralRe: IN VBS how do I check if some software is installed using registry Pin
Ray Cassick16-Sep-02 5:33
Ray Cassick16-Sep-02 5:33 
GeneralDataenviroment Pin
Maryam15-Sep-02 21:49
Maryam15-Sep-02 21:49 
GeneralIn VB (automation) I want to make Powerpoint run in the invisible mode Pin
SPGV15-Sep-02 21:18
SPGV15-Sep-02 21:18 
GeneralIdentifying DesignTime Mode for Forms Pin
Firoz15-Sep-02 19:58
Firoz15-Sep-02 19:58 
QuestionHow to reset an AudioStream in VB? Pin
DengJW15-Sep-02 19:52
DengJW15-Sep-02 19:52 
Generalproblems with removing menu added to Word97 Pin
Mariusz Popiolek15-Sep-02 8:54
sussMariusz Popiolek15-Sep-02 8:54 
Generalchanging icon in toolbar(from file) Pin
Mariusz Popiolek15-Sep-02 8:48
sussMariusz Popiolek15-Sep-02 8:48 
GeneralReproduce Win Form Pin
AB31383813-Sep-02 9:05
AB31383813-Sep-02 9:05 
GeneralIDE Pin
Nnamdi Onyeyiri13-Sep-02 6:58
Nnamdi Onyeyiri13-Sep-02 6:58 
GeneralRe: IDE Pin
Ray Cassick13-Sep-02 7:22
Ray Cassick13-Sep-02 7:22 

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.