Click here to Skip to main content
15,921,959 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralParse sql query without executing Pin
tocheng00525-Aug-04 11:39
susstocheng00525-Aug-04 11:39 
GeneralRe: Parse sql query without executing Pin
Anonymous25-Aug-04 17:19
Anonymous25-Aug-04 17:19 
GeneralRe: Parse sql query without executing Pin
tocheng00525-Aug-04 19:44
susstocheng00525-Aug-04 19:44 
GeneralRe: Parse sql query without executing Pin
Anonymous26-Aug-04 6:36
Anonymous26-Aug-04 6:36 
GeneralRe: Parse sql query without executing Pin
tocheng00526-Aug-04 11:52
susstocheng00526-Aug-04 11:52 
GeneralPropertygrid and dropdownlist from Database Pin
David M J25-Aug-04 11:32
David M J25-Aug-04 11:32 
General.MAT files from Visual Basic (Again) Pin
murphypa25-Aug-04 10:34
murphypa25-Aug-04 10:34 
GeneralRe: .MAT files from Visual Basic (Again) Pin
Anonymous25-Aug-04 12:00
Anonymous25-Aug-04 12:00 
Can you translate the post below into: "I need to write a .mat file (MATLAB file) from visual basic."


Using ActiveX in Visual Basic to connect to MATLAB

I am trying to connect to MATLAB trough a Visual Basic GUI progam. I found the documentation on ActiveX for MATLAB, and it had a very simple example in VB. However, when i try to run this simple execution, i get an error.

Code:Dim Matlab As Object
Dim res As String

Set Matlab = CreateObject("Matlab.Application")
res = Matlab.Execute("surf(peaks)")

Error: ActiveX component can't creat object
this occurs at the the set Matlab line.
Any suggestions? I am far from a pro at programing. Are there better examples of connecting VB to MATLAB out there? I couldn't find one. Or any better suggestions on how to go about connecting to MATLAB? (I learn best from examples)


Funny, my crystal ball couldn't either!

- the devil made me do it..., I apologize to everyone else on CP.

GeneralRe: .MAT files from Visual Basic (Again) Pin
murphypa26-Aug-04 3:51
murphypa26-Aug-04 3:51 
GeneralRe: .MAT files from Visual Basic (Again) Pin
Anonymous26-Aug-04 9:24
Anonymous26-Aug-04 9:24 
GeneralRe: .MAT files from Visual Basic (Again) Pin
Colin Angus Mackay25-Aug-04 23:03
Colin Angus Mackay25-Aug-04 23:03 
GeneralRe: .MAT files from Visual Basic (Again) Pin
murphypa26-Aug-04 3:47
murphypa26-Aug-04 3:47 
GeneralRe: .MAT files from Visual Basic (Again) Pin
Colin Angus Mackay26-Aug-04 12:15
Colin Angus Mackay26-Aug-04 12:15 
GeneralCreate XL sheet or CSV from vb.net Pin
partt25-Aug-04 9:49
partt25-Aug-04 9:49 
GeneralRe: Create XL sheet or CSV from vb.net Pin
Anonymous25-Aug-04 18:35
Anonymous25-Aug-04 18:35 
GeneralRe: Create XL sheet or CSV from vb.net Pin
partt26-Aug-04 3:28
partt26-Aug-04 3:28 
GeneralRe: Create XL sheet or CSV from vb.net Pin
Anonymous26-Aug-04 18:36
Anonymous26-Aug-04 18:36 
GeneralRe: Create XL sheet or CSV from vb.net Pin
partt27-Aug-04 6:19
partt27-Aug-04 6:19 
GeneralPlaying .wav in VB .NET, with notification Pin
ckoverman25-Aug-04 8:40
ckoverman25-Aug-04 8:40 
GeneralRe: Playing .wav in VB .NET, with notification Pin
Anonymous25-Aug-04 16:27
Anonymous25-Aug-04 16:27 
GeneralRe: Playing .wav in VB .NET, with notification Pin
Aaron Eldreth26-Aug-04 13:25
Aaron Eldreth26-Aug-04 13:25 
QuestionBest method for pulling and displaying multiple count queries as an aspx page?? Pin
cavall25-Aug-04 6:57
cavall25-Aug-04 6:57 
AnswerRe: Best method for pulling and displaying multiple count queries as an aspx page?? Pin
Dave Kreskowiak25-Aug-04 8:01
mveDave Kreskowiak25-Aug-04 8:01 
GeneralUsing ActiveX in Visual Basic to connect to MATLAB Pin
murphypa25-Aug-04 4:50
murphypa25-Aug-04 4:50 
GeneralRe: Using ActiveX in Visual Basic to connect to MATLAB Pin
Purple Monk25-Aug-04 5:19
Purple Monk25-Aug-04 5: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.