Search found 6 matches

by agili
Tuesday 27th February 2018 10:05pm
Forum: General
Topic: Send command "string" over tcp/ip
Replies: 15
Views: 19575

Re: Send command "string" over tcp/ip

Cogier: This code is writen in visual Basic 2017 on windows 10 and perfectly works: Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click Dim ipAddress As String = "192.168.100.237" Dim port As Integer = 9100 Dim ZPLString As String = "^XA" & "...
by agili
Sunday 25th February 2018 1:51pm
Forum: General
Topic: Send command "string" over tcp/ip
Replies: 15
Views: 19575

Re: Send command "string" over tcp/ip

Cogier: I compiled the code with no errors but got time out and no reaction from print server, I started the app and started terminal , used the command : netstat -at , my specified port did not appear at all no communication. By the way if I use the app I created in windows with VB (run with wine o...
by agili
Friday 23rd February 2018 10:49am
Forum: General
Topic: Send command "string" over tcp/ip
Replies: 15
Views: 19575

Re: Send command "string" over tcp/ip

stevedee , cogier and jornmo many thanks for effort I finally got rid of errors while compiling I also getting used to gambas project. I wil test the code with the host printer and will tell the result. I used this method by stevedee: Public Sub Button1_Click() Dim strMessage As String strMessage = ...
by agili
Thursday 22nd February 2018 9:01pm
Forum: General
Topic: Send command "string" over tcp/ip
Replies: 15
Views: 19575

Re: Send command "string" over tcp/ip

stevedee thanks I tried that but stil get error on compiling:
by agili
Thursday 22nd February 2018 10:08am
Forum: General
Topic: Send command "string" over tcp/ip
Replies: 15
Views: 19575

Re: Send command "string" over tcp/ip

Cogier: thank you alot, as I wrote this is my first time using gambas I needed to convert my vb code to gambas so I can use it with ubuntu. honnestly it seemed complicated I stil recieve error when compiling. My purpose is to send these string to a zpl printer using Tcp/ip protocol, I tried to find ...
by agili
Wednesday 21st February 2018 8:42pm
Forum: General
Topic: Send command "string" over tcp/ip
Replies: 15
Views: 19575

Send command "string" over tcp/ip

I created a form with one button, my purpose is to send string over tcp/ip, I created this app in VB windows and it works fine but on gambas and linux mint I get some error compiling, plz correct me and thank in advance, the code is : Public Sub Button1_Click() Dim ipAddress As String = "192.16...