Word files are formatted, you need to convert it to text format first. This can be done either by automating word or by some word interpreter. I think it's rather simple in VB. Or you can save the word file as text directly.
I'm a newbie and I'm trying to create a dll that will work in Excel in VC++ 6. One function must take an array. I've got an example, but somehow it doesn't work for me.
This is what I'm trying to do:
#define OLE2ANSI
#include <windows.h>
#include "stdafx.h"
#include...
Thanks for your replies. I've tried using the sharemem, but I can't really tell excel to use sharemem. It didn't work. In C++, you re-write the array and send only the first object. Because it sequential in memory, the DLL can now read it. This is what I've been trying for a while, with no...
How can I pass an array to a Delphi DLL from Excel? I've read that u need to do it like this:
Delphi
Function Testing(MyArray:Array of Double; NoItems:Integer):Double;stdcall;
begin
{somehow read the array and do something with it}
end;
Excel
Declare Function Testing Lib "ExcelTest"...
I've written a very simple DLL that I want to run in Excel VBA. When I run it, I get error msg 453 "Can't find DLL entry point". I'm pretty sure that Excel finds the DLL. If I move it, I get the msg "Can't find DLL". I read somewhere that it has something to do with 32-bit...
Well, I want them to enter a function in the form of either:
function Squared(Number: Real): Integer; stdcall;
begin
Result:=Number*Number;
end;
Or in some other way, and then store it in a database or in a textfile. Do you think it's possible?
Is it possible to load functions from a database or file at run-time. I'ld like for my users to be able to create their own functions. These functions can later be used by the program. Can this be done?
I'm trying to append a few records into a table. I've tried append, appendrecord (which I would prefer to use) and append-edit-setfields-post. All attempts appends a new record and enters the data into my table, but then I get the message 'Key Violation' everytime. I can't do anything. I've...
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.