اذهب الي المحتوي
أوفيسنا

rs232 الربط بالاكسيس من خلال


aksaazza

الردود الموصى بها

السلام عليكم اخواني عملت برنامج بالاكسيس يرتبط البرنامج بجهاز خارجي من خلال الكوم بورت rs232 بعد تشغيل البرنامج الداتا تنقل الى البرنامج غير انها تكون مشفرة علما ان الكود امكتوب في الفورم الرئيسي هو كالتالي فاين المشكلة وبارك الله فيكم
If MSComm0.PortOpen Then MSComm0.PortOpen = False
MSComm0.Settings = "9600,N,8,1"
MSComm0.PortOpen = True
MSComm0.InputLen = 0
MSComm0.RThreshold = 1
End Sub

Private Sub MSComm0_OnComm()
Dim Buffer As String
If MSComm0.CommEvent = 2 Then
Buffer = Buffer & MSComm0.Input & Chr(10)
text1.Text = Buffer

End If

mscommm0 هي6 microsoft comm control من ضمن مكتبة mscomm32.ocx

 
تم تعديل بواسطه aksaazza
رابط هذا التعليق
شارك

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

زائر
اضف رد علي هذا الموضوع....

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • تصفح هذا الموضوع مؤخراً   0 اعضاء متواجدين الان

    • لايوجد اعضاء مسجلون يتصفحون هذه الصفحه
×
×
  • اضف...

Important Information