[THIN] Re: SV: Selecting default printer

  • From: "Braebaum, Neil" <Neil.Braebaum@xxxxxxxxxxxxxxxxx>
  • To: <thin@xxxxxxxxxxxxx>
  • Date: Thu, 16 Dec 2004 17:55:54 -0000

Well if you need help with something, I'll do my best to help.

With a fair sized application, though, that is fairly bespoke - just
dumping the whole code is probably more hindrance than help.

Neil

> -----Original Message-----
> From: thin-bounce@xxxxxxxxxxxxx 
> [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf Of Spriggs Jon
> Sent: 16 December 2004 17:31
> To: thin@xxxxxxxxxxxxx
> Subject: [THIN] Re: SV: Selecting default printer
> 
> If only more companies would accept open source ;-) But yehr, 
> I understand about exposing stuff...
> 
> OK, I'll start looking into it. Cheers for your help :)
> 
> -----Original Message-----
> From: Braebaum, Neil [mailto:Neil.Braebaum@xxxxxxxxxxxxxxxxx] 
> Sent: 16 December 2004 16:44
> To: thin@xxxxxxxxxxxxx
> Subject: [THIN] Re: SV: Selecting default printer
> 
> Well the entire HTA is reasonably big (around 23k) - and I'm 
> fairly sure my company wouldn't appreciate me just donating 
> the entire code ;-) not to mention anything it exposes.
> 
> But the relevant line being (and bearing in mind there's a 
> whole deal of other stuff before this, such as binding and 
> checking the existence, et
> al...):-
> 
> set
> objNewComputer=objDestOU.movehere(strCurrentADsObjPath,strComputerCN)
> 
> The naming of the object being a bit misleading because it 
> only moves existing objects, and creates new objects in the 
> correct / target OU.
> 
> strCurrentADsObjPath is the full DN (including the LDAP:// 
> prefix) of the current computer object, and strComputerCN is 
> existing, and future CN of the computer object (unchanged) 
> because it's written in vbscript.
> 
> Neil
> 
> > -----Original Message-----
> > From: thin-bounce@xxxxxxxxxxxxx
> > [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf Of Spriggs Jon
> > Sent: 16 December 2004 16:15
> > To: thin@xxxxxxxxxxxxx
> > Subject: [THIN] Re: SV: Selecting default printer
> > 
> > Any chance of posting that code? I'm pretty certain Outlook
> > will block a HTA, but if you just entered the code... 
> > Perhaps? Maybe stripping off, or obfusicating the HTML tags 
> > at the top and bottom?
> > 
> > -----Original Message-----
> > From: Braebaum, Neil [mailto:Neil.Braebaum@xxxxxxxxxxxxxxxxx]
> > Sent: 16 December 2004 15:23
> > To: thin@xxxxxxxxxxxxx
> > Subject: [THIN] Re: SV: Selecting default printer
> > 
> > Do you mean move an object elsewhere to another OU?
> > 
> > If so, movehere is your friend. The utility (HTA) that I
> > wrote for the PC maintainers, here, does that for PCs - it 
> > either creates a new one in the OU specified (also with the 
> > group membership specified, and the location field OU 
> > specified), or if the computer object already exists, it 
> > moves it from where it is currently, to the target OU 
> > specified (OUs and groups are filtered and then presented in 
> > drop down select (or multiple select in the case of group 
> > membership)) boxes).
> > 
> > Neil
> > 
> > > -----Original Message-----
> > > From: thin-bounce@xxxxxxxxxxxxx
> > [mailto:thin-bounce@xxxxxxxxxxxxx] On
> > > Behalf Of Spriggs Jon
> > > Sent: 16 December 2004 15:04
> > > To: thin@xxxxxxxxxxxxx
> > > Subject: [THIN] Re: SV: Selecting default printer
> > > 
> > > How easy is it to move the OU of a device or user? Do you have any
> > > examples of VBScript or JavaScript that do this?

***********************************************
This e-mail and its attachments are confidential
and are intended for the above named recipient
only. If this has come to you in error, please 
notify the sender immediately and delete this 
e-mail from your system.
You must take no action based on this, nor must 
you copy or disclose it or any part of its contents 
to any person or organisation.
Statements and opinions contained in this email may 
not necessarily represent those of Littlewoods.
Please note that e-mail communications may be monitored.
The registered office of Littlewoods Limited and its
subsidiaries is 100 Old Hall Street, Liverpool, L70 1AB.
Registered number of Littlewoods Limited is 262152.
************************************************

********************************************************
This Weeks Sponsor SeamlessPlanet.com Domain Names
Register your .com domain name for as low as $7.85
One of the lowest prices on the web! Part of The Kenzig Group.
http://www.seamlessplanet.com
********************************************************** 
Useful Thin Client Computing Links are available at:
http://thin.net/links.cfm
ThinWiki community - Awesome SBC Search Capabilities!
http://www.thinwiki.com
***********************************************************
For Archives, to Unsubscribe, Subscribe or 
set Digest or Vacation mode use the below link:
http://thin.net/citrixlist.cfm

Other related posts: