Path: news.mathworks.com!not-for-mail
From: "Ahmed " <mogwari2000@yahoo.com>
Newsgroups: comp.soft-sys.matlab
Subject: matlab and visual basic  6
Date: Wed, 5 Mar 2008 07:14:04 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 18
Message-ID: <fqlh7r$r16$1@fred.mathworks.com>
Reply-To: "Ahmed " <mogwari2000@yahoo.com>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1204701244 27686 172.30.248.35 (5 Mar 2008 07:14:04 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 5 Mar 2008 07:14:04 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1059703
Xref: news.mathworks.com comp.soft-sys.matlab:455442



hello

i write m file function in matlab (version 7 sp14) for 
summing two variables. i test this function in matlab and 
working very good without errors. i make a dll file using 
comtool in matlab to call this function in visual basic 
version 6. also i tested in visual basic 6 and working 
good. 

my problem is this function in visual basic working good 
in the first time. so when i close my project and open it 
again this function send to me error and not give me the 
result. also in the second time when loading the file 
visual basic make a beep 

i don't know wat is the problem