473,549 Members | 3,048 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

use of IADS...

Hello,

I want to manage printqueues and their jobs and think I can use
IADSPrintQueue and IADS PrintJobs for this.
If I use
dim pq as IADSPrintQueue
I get the eror message Type 'IADSPrintQueue is not defined'
I am sure this can be solved easily, but being new to vb dotnet I don't know
what I am missing.

Thnks for any help, Jurgen Oerlemans
Jul 21 '05 #1
1 2275

"jurgen oerlemans" <ju************ *************@w anadoo.nl> wrote in message
news:42******** *************** @news.wanadoo.n l...
Hello,

I want to manage printqueues and their jobs and think I can use
IADSPrintQueue and IADS PrintJobs for this.
If I use
dim pq as IADSPrintQueue
I get the eror message Type 'IADSPrintQueue is not defined'
I am sure this can be solved easily, but being new to vb dotnet I don't
know
what I am missing.

Thnks for any help, Jurgen Oerlemans


Did you add a COM reference to Activeds.tlb?

Willy.

Jul 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
4343
by: Mark Rezansoff | last post by:
I have two examples of populating a treeview with AD information below. example A does exactly what I want, starts at the AD tree, but is really slow to generate. examble B gives more information, but is really fast. example B displays all the providers (ie. WinNT, NWcompat, NDS, IIS, and LDAP) I just want it to start at the top level of my...
1
3597
by: Martin c | last post by:
Hi all. (please excuse the cross post, I'm none too sure where to pitch this question) I'm trying to write some ASP.NET to create a web site on a server form a given set of variables, and found seom code on teh internet that does roughly what i need. (http://www.panayot.com/articles/iis.htm) but is a little too long winded. Between that and...
0
2785
by: microsoft | last post by:
Hi People, when I try to modify an active directory user programatically, I receive the following exception: The server is unwilling to process the request Reading the microsoft web site, I found this article: http://support.microsoft.com/default.aspx?scid=kb;EN-US;248717 that says the following: ..........................
1
1512
by: Bob | last post by:
I just started playing with the XML extensions of the CRL and have a question and have not seen how why what I have here is happening. Now I do know my XML is not complete and the file layout we are starting with is simply a prototype Any way here is a cut out of my xml file <IADSNOTES type='public' count='4'><Note ID='1' app='Readr'...
3
1820
by: Bob | last post by:
Below is some code that use to work. Now it is not and I have yet to figure out why. I want to select the nodes to a nodelist and remove them from the dom. The only thing I can figure is it broke when I added my schema. XML <?xml version="1.0" encoding="utf-8"?><IADSNOTES xmlns="notes.xsd" count="4"><Note...
9
10815
by: Terry E Dow | last post by:
Howdy, I am having trouble with the objectCategory=group member.Count attribute. I get one of three counts, a number between 1-999, no member (does not contain member property), or 0. Using LDIFDE as a comparison I get the same results. No members means just that, an empty group. Zero means that the DirectorySearcher.SizeLimit has been...
1
3571
by: Sebastian Sosna | last post by:
Hello NG ! Iam developing in C# so my cpp knowledge is limited. Ive downloaded a C++ sample wich is doing some AD Job. U can get it here : http://support.microsoft.com/?id=302515 Ive tried to port into C++ (.Net) and ran into errors wich i have no clue whats this is about. After compiling the linker is throwing those errors :
0
2618
by: Scott Lemen | last post by:
Hi, I'm trying to write to an Active Directory multivalued attribute from VB.Net. I have working code for the Put method but haven't found the correct code for PutEx. This code myDirectoryEntry.Invoke("PutEx", New Object() {ADS_PROPERTY_UPDATE, "showInAddressBook", AddressBookArray})
1
368
by: jurgen oerlemans | last post by:
Hello, I want to manage printqueues and their jobs and think I can use IADSPrintQueue and IADS PrintJobs for this. If I use dim pq as IADSPrintQueue I get the eror message Type 'IADSPrintQueue is not defined' I am sure this can be solved easily, but being new to vb dotnet I don't know what I am missing.
0
7520
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
1
7470
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7809
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6041
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5368
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5088
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3480
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1058
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
763
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.