Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. josefl

    reading a word file and outputing the result

    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.
  2. josefl

    Create DLL taking safearray from Excel

    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 &quot;stdafx.h&quot; #include...
  3. josefl

    Passing Array to Delphi DLL from Excel?

    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...
  4. josefl

    Passing Array to Delphi DLL from Excel?

    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 &quot;ExcelTest&quot...
  5. josefl

    Error when loading DLL in Excel?

    I've written a very simple DLL that I want to run in Excel VBA. When I run it, I get error msg 453 &quot;Can't find DLL entry point&quot;. I'm pretty sure that Excel finds the DLL. If I move it, I get the msg &quot;Can't find DLL&quot;. I read somewhere that it has something to do with 32-bit...
  6. josefl

    Is it possible to create dynamic functions?

    I will try that innerfuse thing. It sounds awsome in the description. Thanks a bunch.
  7. josefl

    Is it possible to create dynamic functions?

    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?
  8. josefl

    Is it possible to create dynamic functions?

    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?
  9. josefl

    Why do I get 'key violation' when using table.AppendRecord?

    Thx, all. As I suspected, the problem was simple and I was stupid. The 'Name' field must be unique. Thanks.
  10. josefl

    Why do I get 'key violation' when using table.AppendRecord?

    So, I can't have two 'Name' fields with the same name even though the other data is different?
  11. josefl

    Why do I get 'key violation' when using table.AppendRecord?

    Sorry, I think I was a bit unclear. The attempts to append adds the first record only and not all the records.
  12. josefl

    Why do I get 'key violation' when using table.AppendRecord?

    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...

Part and Inventory Search

Back
Top