Visualizzazione dei risultati da 1 a 7 su 7

Discussione: SETtare oggetti

  1. #1
    Utente di HTML.it L'avatar di pip19
    Registrato dal
    Dec 2001
    Messaggi
    512

    SETtare oggetti

    mi aiutate a settare questi oggetti??

    1.Call the Visual Basic CreateObject function to create a FaxServer object.
    2.Call the GetPorts method of the FaxServer object to create a FaxPorts object for the connected fax server.
    3.Retrieve the Count property and then the Item property for the FaxPorts collection to create a FaxPort object.
    4.Call the GetStatus method of the FaxPort object to create a FaxStatus object.

    codice:
    	Set FaxServer = CreateObject("FaxServer.FaxServer.1")
    	Set FaxPorts = CreateObject(FaxServer.GetPorts)
    mi mancano il punto 3 e 4, sempre che il 2 sia corretto. Il primo lo è di sicuro!

    grazie

  2. #2
    Utente di HTML.it L'avatar di barney09
    Registrato dal
    Dec 2000
    Messaggi
    1,296
    ma questi sono oggetti esterni ? li carichi con DLL particolari?

  3. #3
    Utente di HTML.it L'avatar di pip19
    Registrato dal
    Dec 2001
    Messaggi
    512
    si la dll c'è...

    e FaxServer si crea benissimo...

    non riesco a stanziare gli altri oggetti dipendenti dall' oggetto FaxServer...

    quello che ho elencato è l msdn di microsoft... per quel tipo di dll

    semplicemente non riesco a capire che cavolo bisogna fare per creare l'oggetto FaxStatus

  4. #4
    Utente di HTML.it L'avatar di barney09
    Registrato dal
    Dec 2000
    Messaggi
    1,296
    non c'è delle documentazione on-line per quel componente?

    Non vengono forniti esempi?

  5. #5
    Utente di HTML.it L'avatar di pip19
    Registrato dal
    Dec 2001
    Messaggi
    512
    http://msdn.microsoft.com/en-us/library/ms690310(VS.85).aspx

    non si capisce proprio molto...

  6. #6
    Utente di HTML.it L'avatar di pip19
    Registrato dal
    Dec 2001
    Messaggi
    512
    aiuto...

  7. #7
    Utente di HTML.it L'avatar di pip19
    Registrato dal
    Dec 2001
    Messaggi
    512
    a futura memoria:

    questo è per il FaxJobs

    Set faxJobs = FaxServer.GetJobs
    faxjob = faxJobs.count
    Set op = faxJobs.item(faxjob)


    per il FaxPorts è identico

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.