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 TouchToneTommy 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 DeanWilliams

  1. DeanWilliams

    Dynamically creating users

    I have found the answer: EXEC ('CREATE LOGIN [domain\username] FROM WINDOWS WITH DEFAULT_DATABASE=[databasename];') EXEC ('CREATE USER [domain\username] FOR LOGIN [domain\username] WITH DEFAULT_SCHEMA=[dbo];') EXEC sp_addrolemember N'sqlrolename', N'domain\username'
  2. DeanWilliams

    Dynamically creating users

    Hi all, Is there a way to dynamically create SQL users? I am working on an ASP.NET web application and am using a modified version of the stored procedure which adds users to the aspnet roles database. You can pass in comma separated lists of domain usernames and roles as parameters and it...
  3. DeanWilliams

    ListView Checkbox Height Bug on Citrix

    Hi, I have a problem using the VB6 ListView control in a Citrix environment. The checkboxes are displayed the wrong size. They are too large and therefore make the height of each row bigger than it should be. Switching the checkbox property on & off dynamically, toggles the rows between to the...
  4. DeanWilliams

    Multiple table Dataset - Synchronising data

    Hi, I am new to .NET. I am using VB and have a dataset with 6 tables in it. A child table of the primary table has parameters set on it. This is set by a userform. When the user chooses dates, the relevant table is filtered, but the other tables still display all the original data. How do I...
  5. DeanWilliams

    CommandBarButton Click Event Not Copied When Toolbars customized

    Thanks for replying so quickly. I thought about that. The thing is I don't want to prevent people from customising the Standard Toolbar just for the sake of one button. The users wouldn't be happy with that. And you cannot apply protection to the button itself. It also appears that there are no...
  6. DeanWilliams

    CommandBarButton Click Event Not Copied When Toolbars customized

    I meant a custom form, by the way. Doh!
  7. DeanWilliams

    CommandBarButton Click Event Not Copied When Toolbars customized

    Hi, I have created an Outlook COM addin that adds a CommandBarButton to the 'Standard' toolbar to run a custom for. I declared it as a control WithEvents. The problem is if a user copies or moves the control to another toolbar the Click event no longer fires. It does not seem possible to...
  8. DeanWilliams

    Set Default Add-ins for Outlook 2003 Installation

    I spoke too soon. It does not work as users would need Admin rights for this script to run. Bit of an oversite by me! I have seen scripts to automate the RunAs.exe. I cannot do this as it would mean the Admin password would be hard coded into the script. Any other ideas? I have doubled this...
  9. DeanWilliams

    Set Default Add-ins for Outlook 2003 Installation

    I spoke too soon. It does not work as users would need Admin rights for this script to run. Bit of an oversite by me! I have seen scripts to automate the RunAs.exe. I cannot do this as it would mean the Admin password would be hard coded into the script. Any other ideas?
  10. DeanWilliams

    Set Default Add-ins for Outlook 2003 Installation

    Thanks a lot. I got it working using wscript.shell in VBscript to run Regsvr32 to register the dll. Cheers. :-)
  11. DeanWilliams

    Set Default Add-ins for Outlook 2003 Installation

    Think I have got it working with RegSvr32. Created a VBScript file to register the dll using wscript.shell Thanks.
  12. DeanWilliams

    Set Default Add-ins for Outlook 2003 Installation

    Thanks for replying, but we have tried, and not managed to do that. There is a default user template which when a new user logs in to the PC they get their settings copied from this profile. We have managed to get as far as having the add-in in the correct folder: UserFolder$\Documents And...
  13. DeanWilliams

    Set Default Add-ins for Outlook 2003 Installation

    Hello, Not sure if this is the right forum for this. We are migrating from Novell Groupwise to Outlook 2003. We have over 1000 pc's to do, which are having standard images put on them. I have created a Phone Message form as an add-in. Is there an easy way to set the default Com Add-ins for...
  14. DeanWilliams

    Set Default Add-ins for Outlook 2003 Installation

    Hello, Not sure if this is the right forum for this. We are migrating from Novell Groupwise to Outlook 2003. We have over 1000 pc's to do, which are having standard images put on them. I have created a Phone Message form as an add-in. Is there an easy way to set the default Com Add-ins for...
  15. DeanWilliams

    Use .NET controls in Access 2003

    Hi, Thanks for your responses. Rick I have managed to get as far as trying to set the 'compile with COM interop' option. Cannot find where this is - it is not an option on the Build Menu. I am new to .NET so I may be missing something glaringly obvious. Can you give me a bit more info...

Part and Inventory Search

Back
Top