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

    how to search javascript generated text

    Problem solved. Apparently, I wasn't giving the webpage enough time to finish outputting everything. I used setTimeout to wait a few seconds and then I was able to search for the text.
  2. ShaneCU

    how to search javascript generated text

    I am writing a Bubbles (http://www.bubbleshq.com) extension for YouMail.com. I am trying to write a script that parses the text on the web page to read how many new messages I have. It appears that the text (e.g. "1 new") is generated by javascript and even though it is visible in the screen, I...
  3. ShaneCU

    Printer Names in Combo Box

    Here is the code I used, maybe you can scavenge what you need from it. I use Enumerate printers to populate a dropdown box named cbPrinters. Then I use ActivatPrtr to activate the printer the user has selected: Option Explicit Const PRINTER_ENUM_CONNECTIONS = &H4 Const PRINTER_ENUM_LOCAL =...
  4. ShaneCU

    Two computers printing to one printer w/ different results

    bcastner, looks like you're right. I tested several computers with different OSes. The results were consistent along the lines of each of the two available drivers (winNT/2k/XP and win95/98)
  5. ShaneCU

    Two computers printing to one printer w/ different results

    I have two PCs, one running win98 and one running win2k, printing to a Toshiba e-Studio copier. Both PCs are using the PCL6 driver provided by Toshiba. When printing the exact same Excel Spreadsheet with margins set the same, the win2k print job squeezes more lines onto a page than the win98...
  6. ShaneCU

    Printer Names in Combo Box

    CajonCenturion (or paulbent), how do I call those API functions in VBA excel? I tried putting PRINTER_INFO5 in a sub and it said it was undefined. I've tried referencing a bunch of things, but none of them have given me any success.
  7. ShaneCU

    Printer Names in Combo Box

    Here is what I used to get it to work -- I had to use error handling which is not what I wanted to do because I believe that it introduces more margin for error -- if you figure out how to return the Ne# using VBA let me know. Sub SetPrinter() On Error GoTo Network...
  8. ShaneCU

    Printer Names in Combo Box

    Paulbent -- If I am correct, that only applies to VB5 or VB6, not VBA CajunCenturion -- I can already do what your code does (although MUCH more inefficiently...I wish I would have found your post a week ago). It is returning a list of printers and their port names as displayed when you look...
  9. ShaneCU

    Printer Names in Combo Box

    Looks good. I'll try this tomorrow when I am back in front of the program. I'll let you know then how it works out.
  10. ShaneCU

    Printer Names in Combo Box

    CajunCenturion, Thanks for following up on this. I am not in front of my PC right now so I can't provide you with very detailed information, but if I remember correctly it gave me a compilation error on the first line in the routine ( Dim lObj_ScriptControl As IWshNetwork_Class ). I...
  11. ShaneCU

    Printer Names in Combo Box

    SUnderwood, Did you ever solve this issue using VBA? I couldn't get CajunCenturion's to work (could his be VB not for Apps?). I am running into the same issues and would greatly appreciate your help. Here is my situation: Is there a way to retrieve the NeXX (I'm guessing this is a pointer)...

Part and Inventory Search

Back
Top