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 Chriss Miller 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 CookieMonster

  1. CookieMonster

    Out of Memory with many charts in Excel

    This is a built in problem with Xl, it does seem to get less annoying in Xl 2000, but still. The reason is that for every chart Xl opens a thread to MS Chart. It doesn't seem to remember that it already is using MS Chart. It's simply your stack going nuts. Besides this when you've found a way...
  2. CookieMonster

    How to send email from a vba script

    Depends on the application your using it in. In the hidden members of Excel you will also find something which is called .hasroutingslip could be very interesting if you automatically want to forward a workbook ie after each update. In Access what you could do is create a macro using the...
  3. CookieMonster

    DCOM / Class not registered...

    DCOM is the distributed version of COM. On itself it's only a model used in (distributed) application design, it allows for multiple languages components either on a client machine or distributed over a network to cooperate. The error your describing can likely be solved by typing in your run...
  4. CookieMonster

    Date add for working days

    Another proper and fast way of doing this is simply looping through each added day, while testing if we are dealing with a weekday, if so, add a day to compensate. This function is preferred to using the weekday function, because the weekday function is an Xl reference that not all Excel users...
  5. CookieMonster

    Opening a text file with a macro?

    Reading and writing text from and to txt files is easy, the following code will do so: Function Infile_ReadText() as String Dim strFile as string Dim strText as string Dim strOutPut as string strFile="C:\Temp\Textfilename.txt" open strFile for Input as #1 While not EOf(1)...
  6. CookieMonster

    How do I send a keystroke to another app (it has to be a numeric key)

    Have you tried using sendkeys in combination with the vbKeyCodeConstants? ie 1 would be vbKey1, or a long value of 49 (&H31), in other words the Char code. Use the objectbrowser for a list of all constants. Have Fun, CookieMonster.
  7. CookieMonster

    access database control

    Hello phly9, There's a number of solutions possible to your query. Assuming that you are using ADO (ActiveX Data Objects) for your data control, one of the solutions would be to add another data control to your form which will control only the listbox, a more neater solution would be to create...

Part and Inventory Search

Back
Top