• WSpieter

    WSpieter

    @wspieter

    Viewing 15 replies - 16 through 30 (of 214 total)
    Author
    Replies
    • in reply to: Word mail merge failure (Word 2000 / Access 2000) #858581

      tough problem. it looks like something is corrupting the registry.
      you might want to try the following (make sure no instances of word are running – if you’re not sure, reboot the computer)
      now click start->run and enter “winword /r” (according to mskb the switch for word2000 is /r (and not /regserver)) without the quotes and press enter. this will reregister word’s automation classes.
      also, iirc, the ‘set x=new “classname”‘ construct bypasses some stages in the creation of a class instance, so your problem could possibly be solved by using a
      dim loWd as word.application
      Set loWd = createobject(“word.application”)
      note:you can still use early binding for this statement and all your other statements if you leave the reference to the word object library.

    • in reply to: OleServerBusyTimeout (VB6) #857712

      “When opening an office document that expects user interaction my app is hanging.”

      in general, you could avoid user interaction by setting various properties before/at opening of an office document. maybe this can avoid the serverbusytime.
      in word for example, you can aplly properties to autoconfirm conversions, disable automacros and so on, the same goes for excel.
      in access, it is no problem if that database has an opening form afaict (at least in my limited testing), only when this form start running code immediately this could (not tested) lead to timeouts. also, have you considered using ADO to open the database instead of creating an access instance

    • in reply to: OleServerBusyTimeout (VB6) #857713

      “When opening an office document that expects user interaction my app is hanging.”

      in general, you could avoid user interaction by setting various properties before/at opening of an office document. maybe this can avoid the serverbusytime.
      in word for example, you can aplly properties to autoconfirm conversions, disable automacros and so on, the same goes for excel.
      in access, it is no problem if that database has an opening form afaict (at least in my limited testing), only when this form start running code immediately this could (not tested) lead to timeouts. also, have you considered using ADO to open the database instead of creating an access instance

    • these are all sane arguments of course. a template should be as selfcontaining as possible, whilst still allowing user customization. setting the normal template to read only does limit user customization, so in this sense comments 1 & 2 are slightly contradictory if one really wants to start nitpicking that is 🙂

    • these are all sane arguments of course. a template should be as selfcontaining as possible, whilst still allowing user customization. setting the normal template to read only does limit user customization, so in this sense comments 1 & 2 are slightly contradictory if one really wants to start nitpicking that is 🙂

    • in reply to: Setting Event Listeners in Word Add In (Word 2k/XP) #855107

      if the template is not in the startupfolder of word (options.DefaultFilePath(wdStartupPath)) it won’t load automatically.
      either put it in the startup folder or use the add method of the addins object to load it.

    • in reply to: Setting Event Listeners in Word Add In (Word 2k/XP) #855108

      if the template is not in the startupfolder of word (options.DefaultFilePath(wdStartupPath)) it won’t load automatically.
      either put it in the startup folder or use the add method of the addins object to load it.

    • in reply to: PasteFace on CommandBars not quite right (2000-XP) #854958

      just a quick idea to explore:how about copying the entire commandbar and keep track of custom controls. you could set various properties of the copied commandbar to provide some basic form of preventing to user to tamper with them.

    • in reply to: PasteFace on CommandBars not quite right (2000-XP) #854959

      just a quick idea to explore:how about copying the entire commandbar and keep track of custom controls. you could set various properties of the copied commandbar to provide some basic form of preventing to user to tamper with them.

    • in reply to: Blocking spyware with a HOSTS file #854116

      great tip. i combine mvps’s host file with hpguru’s one. i look for updates on security sofware (including several hosts list definitions) at the calendar of security updates

    • in reply to: Blocking spyware with a HOSTS file #854115

      great tip. i combine mvps’s host file with hpguru’s one. i look for updates on security sofware (including several hosts list definitions) at the calendar of security updates

    • in reply to: Sleazy phishing code du jour #853373

      nice! NOT! smile
      here’s the most recent phishing scam which in essence exploits bad html design on the server, which allows cross site script injection (for instance mastercard.com is vulnerable)
      http://www.zapthedingbat.com/security/scriptinjection/%5B/url%5D

      (this is not a browser vulnerability exploit, just bad site design practice)

    • in reply to: Sleazy phishing code du jour #853374

      nice! NOT! smile
      here’s the most recent phishing scam which in essence exploits bad html design on the server, which allows cross site script injection (for instance mastercard.com is vulnerable)
      http://www.zapthedingbat.com/security/scriptinjection/%5B/url%5D

      (this is not a browser vulnerability exploit, just bad site design practice)

    • in reply to: macro points to username (Word XP Sp2) #853350

      nice out-of-the-box thinking! groovin

    • in reply to: macro points to username (Word XP Sp2) #853351

      nice out-of-the-box thinking! groovin

    Viewing 15 replies - 16 through 30 (of 214 total)