Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mscomm32 and windows 2000
Message
De
07/08/2000 02:32:39
 
 
À
05/08/2000 23:28:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00401617
Message ID:
00401735
Vues:
18
Simon:

Could it be that, when you switched, COM1 was no longer the port in use?

Just a thought.

Mal

>I was using this program and was working OK before I switch to windows 2000 ( i was using windows 98 before) :
>
>Private Sub Form_Load ()
> ' Use COM1.
> Comm1.CommPort = 1
> ' 9600 baudios, paridad ninguna, 8 bits de datos y 1 bit de parada.
> Comm1.Settings = "9600,N,8,1"
> ' Indica al control que lea todo el búfer al usar Input.
> Comm1.InputLen = 0
> ' Abre el puerto.
> Comm1.PortOpen = .t.
> ' Envú} al módem el comando de atención.
> Comm1.Output = "AT" + Chr$(13)
> ' Espera a que retornen los datos al puerto serie.
>
>' Cierra el puerto serie.
> Comm1.PortOpen = .f.
>End Sub
>
>After I switch to windows 2000 I started getting the following error in the line "comm1.PortOpen=.t." The device is not open. Any advice. thanks
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform