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 strongm 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. asjeff

    How to debug an Outlook addin

    I've never tried it with VB6 & Outlook but I would suspect it to be something like: Unregister the compiled dll, close Outlook, start vb6 app in debug mode, re-open Outlook, register the running vb6 app as an add-in and you should then be able to debug. Presumably someone will be able to tell...
  2. asjeff

    Excel 07 not printing grey font, word does

    Just a guess but check the "File|Page Setup|Sheet|Print|Black and White" option
  3. asjeff

    Setting "Out of Office" for someone else - Outlook 2003

    Thanks cckens I figured that was the case but thought it worth asking. Cheers Asjeff
  4. asjeff

    Printers script in domain

    Ok, the line that is giving the problem is the 3rd line: "WshNetwork.AddWi................4730_Black". Check that you have the name of the printer spelt correctly, and that you have permissions to access the server where the printers are stored. If this is all fine try adding "On Error Resume...
  5. asjeff

    Setting "Out of Office" for someone else - Outlook 2003

    If a user has delegate access to another account is it possible for them to set the "Out of Office" for that other account? Cheers Asjeff
  6. asjeff

    Printer Function

    Hi Richard Have you considered writing the info to a temp text file? This would give you control over the number of times you can print it, and also some (very) basic formatting options (spaces, tabs etc)? You can then delete it at the end if required. As for the listview I'm afraid I don't...
  7. asjeff

    Set Printer Tray

    Hi TopJack One thing I found when using API's to set printer properties is that you need a Sys Admin who is willing to share the Printer Server to the Everyone security group, otherwise permissions will cripple all attempts to get anything to work :(( On the upside I use API's to do what you...
  8. asjeff

    VBA Outlook contact save

    Hi dgillz Outlook is a bit of a pain to code in but what you will have to do is to create a wrapper for Explorer & Inspector events, create a WithEvents Variable e.g. "Private WithEvents aContact As Outlook.ContactItem" and you should be able to access the events that way. By the sounds of it...
  9. asjeff

    Automatic shutdown after PC Logged off

    Maybe something like passing the machine name as an argument to a remote script/exe as it logs off? Hadn't considered it but it seems a good angle. I'll have a look into it, unless anyone can think of any cons to this approach or something else? Thanks very much. Asjeff
  10. asjeff

    Language setting

    Hi Oscarse This is a little documented pain in the proverbial. What you need to do is in MS Word go Tools|Language|Set Language. When the dialog box appears make sure that English(UK) is at the top of the list & then uncheck the "Detect Language Automatically" tickbox. This should then default...
  11. asjeff

    Automatic shutdown after PC Logged off

    Hi all wondering if someone can give me some pointers. I am looking to write a script that will automatically shut down a remote pc after it has been logged off for a set amount of time (eg half an hour). Now I am presuming that I will have to install this on something like the domain...
  12. asjeff

    Remove Toolbar button from MSWord

    Sorry, that should say: Set myButton = CommandBars.FindControl (Type:=msoControlButton, ID:=2520) 'New Blank Document
  13. asjeff

    Remove Toolbar button from MSWord

    Hi JP You want to post this in the VBA forum, and forget about wordbasic - that was superceeded by vba. Wordbasic still works (sort of) but VBA is so much easier. A quick note about your module name - your Module wants to be called AutoExec, Not Auto, and the sub called Main eg Sub Main()...
  14. asjeff

    Net Send

    Hmmm - thanks macleod - now you've pointed it out I think you're right. Still, if he ever figures it out at least he'll have a way to communicate with them all! I suspect you're right about checking the API's. If I had to guess I would start by checking the OpenSCManager API or something like...
  15. asjeff

    Net Send

    Hi jkDiener I attach some code that I have modified from a program I use to help you. I can't claim all the credit for this as I found this on the web and have adapted this for my own needs. What you will need is a form module and a standard module. Create a new form and call it frmNetSend. On...
  16. asjeff

    Cannot register system.directoryservices.dll

    I believe I heard it said once that this was often caused by the DLL being a self-registering dll, although I never followed up on it. Is your dll likely to be a self-register? I think that you might find as well that although you get that message in some instances it still works fine. If...
  17. asjeff

    Outlook Member Of

    Hi Bob I've never done it, but I would start by firstly looking at using VBA code & referencing MAPI objects to see if I could get to it that way, or if you have Active Directory there are plenty of VBS script examples out there on retrieving information such as email addresses from AD. However...
  18. asjeff

    problem with spreadsheet control

    Hi Lopko I suspect, but can't be certain, that the MS Office spreadsheet control is not loaded on the XP computer which might be a reason why you are having this problem. What version of Office does the XP computer run? I would try copying the control from your good computer & registering it on...
  19. asjeff

    Package & Deployment Wizard File Paths Problem

    Have you tried opening the Setup.lst file and amending the path relevant to your entries manually? They should be visible under either the [Bootstrap Files] section or the [Setup Files] section. Of course I recommend taking a copy of this file before you attempt to amend it, just in case. Asjeff
  20. asjeff

    moving from menubars to commandbars

    hmmm - i'm guessing you're going to be quite busy!! Sorry Greg - there will be ways of keeping the code more concise than the example above, but until you start it they probably wont be obvious, and I can't help you there. Asjeff

Part and Inventory Search

Back
Top