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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by Mats

  1. Mats

    How do you call a VB executable from within another VB app?

    Use this to call an exe: lRet = ShellExecute(app.hwnd, "", app.name, parameters,, 0) An exe can't return any value when executed, if you wan't that you need to use a .dll. Regards, Mats
  2. Mats

    Calling .dll on server

    Hello, Is there an easy way to call a .dll that is on a server so that the .dll only runs at the server? I have an app that is to be distributed, but I don't wan't to have to distribute all the components and programs that are required to make it run but instead I wan't to run these on the...
  3. Mats

    Get return parameters from VBScript

    Hello, I have tried several ways of execuing VBScripts, but none of them return the return parameter from the Script. My script ends with WScript.quit(<parameter>) - so I should be able to access to parameter somehow. If I use Shell Execute or WinExec I just get the returnparameter of that...
  4. Mats

    File compression?

    Thanks for the help!
  5. Mats

    File compression?

    Hello, Does anyone have code for creating simple .zip file? I am not interested in using third party components (WinAPI are o.k. since I can assume that they are present on any machine running windows) but I would like to be able to include this functionality into my projects straight away. I...
  6. Mats

    Out of memory?

    This is my problem: I have a project in VB that uses DCOM to call SAP. I use the BAPI GeneralLedgerAccount to retrieve accounts from SAP. In SAP I have a total of approx 8000 accounts. The function goes as this: Declare objects and recordsets needed. Call own database to create recordset of...
  7. Mats

    Urlmon.idl problem

    Thanks for all the help, but Microsofts support solved this one: It seems that there is a well known bug in the software that causes this problem if the input locale is not English. We had our computers with Finnish input locales and changing that to English solved the problem. Mats
  8. Mats

    Urlmon.idl problem

    It didn't really have the effect I hoped for. After changing DWORD to INT the same error occured for the next DWORD in the file - so I changed that one to, but the problem just kept repeating for every DWORD - so I changed them all. Now it's giving the same error for HANDLE_PTR. Somehow I...
  9. Mats

    Urlmon.idl problem

    Where? In urlmon.idl? The code that I'm trying to compile is generated automatically, so I don't really know what's going on there, but as far as I have been able to see there's no direct references to urlmon.idl. I must unfortunately admit that I know *very* little about C++, VB is more in my...
  10. Mats

    Urlmon.idl problem

    I need to compile a dll in Visual C++. All my attempts however end with the error: C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\urlmon.idl(535) : error MIDL2025 : syntax error : expecting a type specification near &quot;DWORD&quot; First I thought it might have something to do with my...
  11. Mats

    Is it possible to have TWO Front ends?

    This should be no problem at all as far as I can see. Just start a new project and link the tables from the back-end of your first database. In case you don't want the users of both front-ends to see the same records you have to add some identification for your data so you know to which...
  12. Mats

    eventSender &amp; eventArgs

    Here we go... I'm taking my first steps with VB.NET, but so far I've just come up with a lot of questions. Can anyone explain the eventSender (System.Object) and eventArgs (System.EventArgs) that are passed for many functions? What values should I pass to a function that requires these, and...
  13. Mats

    Installing .NET

    Just a couple of things I ran across installning .NET (i run .NET on a computer with Win2K advanced server): 1. The install is very sensitive - when they say close all other applications - do so! 2. The progress meters are not very good, my installation went on for what seemed like ages...
  14. Mats

    Calculating referensnumber?

    Thanks, I've been trying to create a function at the sheet level - no wonder it didn't work. Now it works just fine. I mostly use Access so coding in Excel is a bit slow for me... Mats
  15. Mats

    Calculating referensnumber?

    I'm also interested in knowing how to use user defined functions. The code itself is easy to write, but I can't figure out how to use my functions in a cell. Currently I just run the code with appropriate events. Mats

Part and Inventory Search

Back
Top