Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

mscomm32.ocx

2 réponses
Avatar
sgroulx
Bonjour.
j'utilise MSCOMM de VB6.
mais je ne réussi pas a me connecter sur le port 67. (carte netmos 9835
pcimulti-i/o contrôler)
sa marche #1 sur com 1 et 3. mais pas sur 67.
Quelk,un a une idée???

merci
Sébas

MSComm1.CommPort = Text1.Text
MSComm1.Settings = "9600,N,8,1"

MSComm1.PortOpen = True 'ouvre le port

2 réponses

Avatar
Jacques93
Bonsoir,
sgroulx a écrit :
Bonjour.
j'utilise MSCOMM de VB6.
mais je ne réussi pas a me connecter sur le port 67. (carte netmos 9835
pcimulti-i/o contrôler)
sa marche #1 sur com 1 et 3. mais pas sur 67.
Quelk,un a une idée???

merci
Sébas

MSComm1.CommPort = Text1.Text
MSComm1.Settings = "9600,N,8,1"

MSComm1.PortOpen = True 'ouvre le port




Il semble que le n° de port doit être compris entre 1 et 16

Désolé, en anglais :
======================================================================== CommPort Property

Sets and returns the communications port number.

Syntax

object.CommPort[ = value ]

The CommPort property syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies
To list.
value A integer value specifying the port number.


Remarks

You can set value to any number between 1 and 16 at design time (the
default is 1). However, the MSComm control generates error 68 (Device
unavailable) if the port does not exist when you attempt to open it with
the PortOpen property.
===========================================================================

--
Cordialement,

Jacques.
Avatar
sgroulx
--
################
Sébastien Groulx :P
Homme à tous faire
http://www.9bit.qc.ca
http://www.vitrailgroulx.com
################
"Jacques93" a écrit dans le message de
news:
Bonsoir,
sgroulx a écrit :
> Bonjour.
> j'utilise MSCOMM de VB6.
> mais je ne réussi pas a me connecter sur le port 67. (carte netmos 9835
> pcimulti-i/o contrôler)
> sa marche #1 sur com 1 et 3. mais pas sur 67.
> Quelk,un a une idée???
>
> merci
> Sébas
>
> MSComm1.CommPort = Text1.Text
> MSComm1.Settings = "9600,N,8,1"
>
> MSComm1.PortOpen = True 'ouvre le port
>

Il semble que le n° de port doit être compris entre 1 et 16

Désolé, en anglais :
======================================================================== > CommPort Property

Sets and returns the communications port number.

Syntax

object.CommPort[ = value ]

The CommPort property syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies
To list.
value A integer value specifying the port number.


Remarks

You can set value to any number between 1 and 16 at design time (the
default is 1). However, the MSComm control generates error 68 (Device
unavailable) if the port does not exist when you attempt to open it with
the PortOpen property.



=========================================================================== >

--
Cordialement,

Jacques.



Merci beaucoup