Thanks for your reply. I've tried all different variations of the static calls:
function TF(a:integer;b:variant;c:variant):variant;stdcall; extern 'test5.dll' name 'TestFunction';
Whatever I seem to try, the reply is that the procedure address cannot be found. I am not really sure of if it's a...
...dll is created in Matlab. The function is a very simple test:
Function answer = TestFunction(inputArgument)
TestFunction = inputArgument * inputArgument;
However, it seems that Matlab converts the function to:
function(number of arguments to output, the answer, input 1, input 2 ...
Hi,
I've created a dll that reads a textfile. The dll compiles fine, but when I try to use it in Excel - by reference to the .tlb file - I get an error "The filename, directory name, or volume label syntax is incorrect". It works nicely when I try something simple like if the dll takes an...
Hi,
I've created a dll in c# that works fine, but when I make changes and try to recompile, the dll is 'used by another process'. I use the dll in Excel by adding a reference in VBA to the .tlb file. My question is, is there a way to kill the process once I've used it? Sample code:
Sub test()...
I've written an ActiveX control that seem to work fine on some machines (1 with IE5.5-Office XP-VB6-on which it was written, 1 with IE5.5-Office 2000, and 1 with IE4-Office 97-VB6) but not on most. I've used "Microsoft Internet Transfer Control 6.0", "Microsoft Windows Common...
I want to connect my ocx application to a database on the web. The application is going to be published on the web and the database is on a remote server. How do I do this?
Here's the complete code:
<%Language=VBScript%>
<%Response.Buffer=True%>
<html>
<body>
<%
aktion=Request("Action")
if aktion="Update" then
Set MyConn=Server.CreateObject("ADODB.Connection")
MyConn.Open "XXX"...
I forgot the apostrophes:
Update MyTable Set Data1='1', Data2='2' Where [ID]=1
Update MyTable Set Data1='2', Data2='4' Where [ID]=2
Update MyTable Set Data1='3', Data2='6' Where [ID]=3
The loop runs perfectly when I type the individual SQLs. Like this:
Update MyTable Set Data1=1, Data2=2 Where ID=1
Update MyTable Set Data1=2, Data2=4 Where ID=2
Update MyTable Set Data1=3, Data2=6 Where ID=3
Darn, I'm so sorry. It's another typo. It should read:
data1=Request.Form(a & "data1")
data2=Request.Form(a & "data2")
id=Request.Form(a & "id")
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.