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 Rhinorhino 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
  • Content: Threads
  • Order by date
  1. 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...
  2. 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...
  3. 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...
  4. 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...
  5. 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...
  6. 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...
  7. 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...
  8. 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 -...
  9. 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...
  10. Mats

    Numeric problem in ADO

    This is the problem: I retrieve one recordset (tmprst) from a db using ADO, then I create another recordset(gridrst) which is a copy of tmprst but with one additinal boolean field. Then I copy the records from tmprst to gridrst. When I come to a numeric field(adnumeric=decimal type on the...
  11. Mats

    Copying recordsets

    I have tried to solve this problem for quite a while without any success, I just can't figure out what's going wrong. The code opens one recordset which is retrieved from a db, then a second recordset is generated that is a copy of the first but with one boolean field added. Everything goes...
  12. Mats

    Previous control?

    Hello Is there a good way to get the previous control on a form? In MS Access this was a property, but VB does not seem to support the same feature. I need this for a form with several textboxes for dates, and one button that opens a calendar control -> when the user closes the calendar...
  13. Mats

    Creating Data Report at Runtime?

    Is there any way to create a data report at runtime? I need to be able to add textboxes (and other controls) to my report at runtime depending on the recordset I set as datasource. Mats
  14. Mats

    3 Questions for the wise

    I'm quite new to VB, so I hope these questions are easy to find an answer to: 1. The 'SHBrowseForFolderA' function from lib 'shell32' works fine in MS Access but not at all in VB, why? 2. How to return the date from a calender control on a separate form (or any other variable). At the moment...
  15. Mats

    Decimal problem in ADO

    If I open a ADO-recordset in code I don't get any decimals. If I use the exact same connection string and select-string in a ADODC-control everything works fine. If I try to use the ADODC control and assign connection string and record source at runtime it won't work either, only if I set it at...
  16. Mats

    Multicolumn combo?

    How do I create a multicolumn combobox? I would like to create a combo with two columns, one visible and one hidden. In MS Access this was very simple, but in VB I just cant figure it out. I am retreiving the records from a database. Mats
  17. Mats

    Saving values

    How can I save variables in an .EXE without using INI or other textfiles? What I need is a way to store e.g. a path in the EXE and retreive the same path the next time the EXE is started without reading any other file. Mats
  18. Mats

    Exporting text from ADO rst

    This is more of a general question... What would be a good way to handle data to be exported to a text file? I often need to create a procedure that exports records into a specified format(fixed lenghts, decimals, padding zeroes etc.) Now I always write specific code to go trough every record...
  19. Mats

    Connection refused

    I am completely new to MS 2000 Server, so this might be simple... I have webpages under the inetpub/wwwroot folder, and if I go to http://localhost with my browser (Netscape 6) they show up just fine. But when I try giving my ip to the browser I get 'connection refused when talking to...' I...
  20. Mats

    Text files

    Does anybody have code for directly writing and reading text-files from Access? What I would want to do is write txt-files line by line or read a specific line from a text-file. I know how to import/export files in access, but I'm looking for a simpler way of e.g. doing a find and replace in a...

Part and Inventory Search

Back
Top