You are not logged in.

Search results

Search results 1-12 of 12.

Tuesday, October 5th 2010, 3:31am

Author: Tr4d3r

Hello .. i convert the code to Jabaco and is working ...

Dim Sock As Winsockserver Dim ClientSocket As Socket Import java.net.* Public Sub main(ByJava args() As String) Dim myArgs() As String myArgs = args ' [Your Source] out.println "Starting..." serverSocket = New ServerSocket(90) out.println "Waiting Conections" ClientSocket = serverSocket.accept() out.println "Client Connected: " & ClientSocket.getRemoteSocketAddress.toString Dim sout As PrintWriter = New PrintWriter(ClientSocket.getOutputStream(), True) Dim sin As BufferedReader = New BufferedRea...

Friday, April 3rd 2009, 3:40pm

Author: Tr4d3r

Modal Window

Quoted from "OlimilO" Hi Tr4d3r, Quoted a new jmodal window and hiding the normal window it is: a new "JDialog" and hiding the "JFrame" And there is the problem. Of course the solution is a work around. the reason is: Jabacos controls and windows are based on java swing. afaik in swing only the JDialog is capable of being modal, not a JFrame, but the base class of a Jabaco VB.Form is JFrame and in the Jabaco-IDE it is not possible to set the base class of a Form. Quoted if you know another way ...

Thursday, March 26th 2009, 12:22am

Author: Tr4d3r

RE: Modal Windows again

Quoted from "A1880" Please have a look here. You may find the "search" function of this board worth trying. It helps you to spot existing solutions and hints. Happy digging! A1880 Yes, thanks ... but i already see that posts ... those talk about launching a new jmodal window and hiding the normal window ... but ... always that i open a normal window will exist 2 windows (one hided, one showed) ... Now is working that way ... if you know another way to do this .. i will appreciate ... or maybe i...

Wednesday, March 25th 2009, 10:31pm

Author: Tr4d3r

Modal Window

Hello, in VB6 i can show a window in modal state (can't use the parent window until close the loaded one) in VB6 you write: form1.show vbmodal In Jabaco the show method don't receive any parameter ... and i look for something in the properties about MODAL but nothing ... anyone have a clue? Thanks. Tr4d3r

Saturday, March 21st 2009, 12:04am

Author: Tr4d3r

RE: Timer = Polling

Quoted from "A1880" Hi, great! You have implemented a kind of socket pooling with a dynamically growing array of Winsocks. The drawback is that you need a timer to scan your Winsocks periodically. My suggestion would be to invent a class "clsMyWinsock" with super class Winsock (Property SuperClass=VB/Winsock). This class could then overload event handling routines of Winsock. Whenever something happens to your Winsock, the event handler would take care for it. I posted a similar solution for Co...

Wednesday, March 18th 2009, 6:05pm

Author: Tr4d3r

Finally ... Code 0.0.1 :)

Ok, after many tests .. i get it to work ... maybe there is another way to doit .. but .. is working right now. A multiSocketServer with independent getdata ... Here is the code ... thanks all Source code 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 Public Sockets() As winsock Private Sub Form_Load() sock.Listen 'Let's open the port :) End Sub Private Sub sock_ConnectionRequest(requestSocket As Socket) Dim New...

Wednesday, March 18th 2009, 5:09pm

Author: Tr4d3r

New Hope :)

Hello, i can get the new sockets to acept the request So, now i have a multisocket server accepting connections ... BUT! I don;t know hot to receive the data because is an array ... Source code 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 Public Sockets() As winsock Public Sub Form_Load() sock.Listen ' This is the Listening Socket, never touch this state ;) End Sub Public Sub sock_ConnectionRequest(requestSocket As Socket) Dim Index As Long Index = Ubound(sockets)+1 'Create new Index...

Wednesday, March 18th 2009, 4:50pm

Author: Tr4d3r

RE: RE: Jabaco and MultiSocket Server

Quoted from "Moogly" Quoted from "Tr4d3r" Hello, i want to develop a Socket Server using JABACO ... in VB6 i use a socket array ... the socket(0) is the listener socket, and i create at runtime other sockets that accept the requestid ... here in JABACO i can't see the control arrays .. so i think the concept is something different ... can anyone help me with an example? Thanks a lot. Here is some of the code me and Goldenshox used on our project. Source code 1 2 3 4 Dim SocketInteger As Integer...

Tuesday, March 17th 2009, 11:24pm

Author: Tr4d3r

Thanks

Thanks a lot ... i will test and publish a demo source code for others like me ... Bye,

Tuesday, March 17th 2009, 10:00pm

Author: Tr4d3r

Jabaco and MultiSocket Server

Hello, i want to develop a Socket Server using JABACO ... in VB6 i use a socket array ... the socket(0) is the listener socket, and i create at runtime other sockets that accept the requestid ... here in JABACO i can't see the control arrays .. so i think the concept is something different ... can anyone help me with an example? Thanks a lot.

Tuesday, March 17th 2009, 9:57pm

Author: Tr4d3r

Jabaco and MSSQL

Hello, how can i connect to a Microsoft SQL Server without using DSN? i want to connect direct .. using some JDBC driver or something ... can anyone write an example? Thanks a lot.

Monday, March 16th 2009, 11:46pm

Author: Tr4d3r

TCP Server Help.

Hello, excelent sample ... thanks a lot ... i'm a socket developer in VB6 ... i want to migrate all my applications to JABACO ... but, at this moment i'm really new, so i need to understand a lot of issues ... First at all, how can i make a socket server? in vb6 you make a winsock array ... normally the index 0 is the listener, and any other runtime loaded winsock control will acept all the connections from the clients ... i try to make a winsock array in jabaco, but is not working, so i think t...

WoltLab Burning Board