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 Wanet Telecoms Ltd 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: *

  • Users: Mats
  • Order by date
  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
  16. Mats

    Resize problem

    Thanks for the help! This was one strange 'feature'... As long as the form is bigger in design mode than when it's resized this works just fine. Setting me.section(0).height=me.insideheight works otherwise, but when the form is started it generates an error. Thanks again, Mats
  17. Mats

    Resize problem

    Nope, doesn't seem to work. The property does not seem to change when the form is resized. Mats
  18. Mats

    Resize problem

    Hello, I can't figure this one out. I'm trying toposition a textbox (txtSum) on the forms resize event. I use the code below, but get an error saying that the control is too large for the area. When I step through the code everything looks o.k. txtSum.Top = Me.InsideHeight - txtSum.Height -...
  19. Mats

    Seek in combobox

    I hope this is simple... How can I give my datacombo that MS Access feel? The datacombo has a built in search function, but I want the highlighted row in the list to change when the user types text, and I also want the selected item to be automatically filled in. I hope I'm not rambling, but if...
  20. Mats

    Is there a way.....

    The first thing that comes to mind is that the recordset is only created if the boundtext is GNP, but the iteration of controls to set datafield is done in every case. Should this be the caase? It seems a bit strange to me. Hope I'm not on the wrong track here. I'm afraid I can't help you with...

Part and Inventory Search

Back
Top