Click here to Skip to main content
16,004,686 members
Home / Discussions / C#
   

C#

 
GeneralAccessing DotNet DLL from ASP Pin
Anand Chida25-Mar-05 10:05
Anand Chida25-Mar-05 10:05 
GeneralRe: Accessing DotNet DLL from ASP Pin
Heath Stewart25-Mar-05 11:48
protectorHeath Stewart25-Mar-05 11:48 
GeneralNew WebBrowser Pin
thedjhacker25-Mar-05 8:09
thedjhacker25-Mar-05 8:09 
GeneralRe: New WebBrowser Pin
Heath Stewart25-Mar-05 11:39
protectorHeath Stewart25-Mar-05 11:39 
GeneralRe: New WebBrowser Pin
thedjhacker25-Mar-05 12:38
thedjhacker25-Mar-05 12:38 
GeneralPhoto Printing Wizard Pin
tommazzo25-Mar-05 6:02
tommazzo25-Mar-05 6:02 
GeneralRe: Photo Printing Wizard Pin
Dave Kreskowiak25-Mar-05 7:30
mveDave Kreskowiak25-Mar-05 7:30 
GeneralRe: Photo Printing Wizard Pin
tommazzo25-Mar-05 11:15
tommazzo25-Mar-05 11:15 
The problem ist that the compiler doesn't even treat the vector object correctly - it tells me that it doesn't contain a definition for the method add() (the same goes for dlg and method ShowPhotoPrintingWizard())

Here's my code:
// create the vector COM object
Type vProgID = Type.GetType("WIA.Vector");
object vector = Activator.CreateInstance(vProgID);

// add the paths of our photos to the vector
foreach(Photo.Photo p in _Photos)
vector.Add(p.Path, 0);

// create and display the COM printing dialog
Type dlgProgID = Type.GetType("WIA.CommonDialog");
object dlg = Activator.CreateInstance(dlgProgID);
dlg.ShowPhotoPrintingWizard(vector);

GeneralRe: Photo Printing Wizard Pin
Dave Kreskowiak25-Mar-05 11:45
mveDave Kreskowiak25-Mar-05 11:45 
GeneralRe: Photo Printing Wizard Pin
Heath Stewart25-Mar-05 12:10
protectorHeath Stewart25-Mar-05 12:10 
GeneralRe: Photo Printing Wizard Pin
tommazzo25-Mar-05 12:35
tommazzo25-Mar-05 12:35 
GeneralRe: Photo Printing Wizard Pin
Heath Stewart25-Mar-05 12:58
protectorHeath Stewart25-Mar-05 12:58 
GeneralRe: Photo Printing Wizard Pin
tommazzo25-Mar-05 12:37
tommazzo25-Mar-05 12:37 
GeneralRe: Photo Printing Wizard Pin
Heath Stewart25-Mar-05 12:55
protectorHeath Stewart25-Mar-05 12:55 
GeneralRe: Photo Printing Wizard Pin
tommazzo25-Mar-05 13:11
tommazzo25-Mar-05 13:11 
GeneralRe: Photo Printing Wizard Pin
Dave Kreskowiak25-Mar-05 13:42
mveDave Kreskowiak25-Mar-05 13:42 
GeneralRe: Photo Printing Wizard Pin
tommazzo25-Mar-05 13:52
tommazzo25-Mar-05 13:52 
GeneralRe: Photo Printing Wizard Pin
Heath Stewart25-Mar-05 14:21
protectorHeath Stewart25-Mar-05 14:21 
GeneralRe: Photo Printing Wizard Pin
tommazzo26-Mar-05 7:36
tommazzo26-Mar-05 7:36 
GeneralRe: Photo Printing Wizard Pin
Heath Stewart26-Mar-05 8:16
protectorHeath Stewart26-Mar-05 8:16 
Generaltypeof versus Type.GetType() Pin
Member 9625-Mar-05 5:50
Member 9625-Mar-05 5:50 
GeneralRe: typeof versus Type.GetType() Pin
Heath Stewart25-Mar-05 11:34
protectorHeath Stewart25-Mar-05 11:34 
GeneralRe: typeof versus Type.GetType() Pin
Member 9625-Mar-05 13:59
Member 9625-Mar-05 13:59 
GeneralRe: typeof versus Type.GetType() Pin
Heath Stewart25-Mar-05 14:31
protectorHeath Stewart25-Mar-05 14:31 
GeneralRe: typeof versus Type.GetType() Pin
Tom Larsen25-Mar-05 12:21
Tom Larsen25-Mar-05 12:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.