You are not logged in.

geraluca

Beginner

  • "geraluca" is male
  • "geraluca" started this thread

Posts: 2

Date of registration: Aug 30th 2011

  • Send private message

1

Thursday, September 1st 2011, 2:57pm

RunTime

I have compiled my project with Jabaco, I exported the file on the PC of my friend, I downloaded the JRE latest version , but the exe file does not run.

swissmade

Beginner

  • "swissmade" is male

Posts: 46

Date of registration: Aug 4th 2011

Location: The Netherlands

Occupation: Old Fasion Programmer

Hobbies: Play Music with my Bass

  • Send private message

2

Saturday, September 3rd 2011, 12:05pm

Exe not Run

You can try to create a jar file instead a exe.
you can select this when you select a filename to compile, in the selection box you also have .jar

I hope it helps

Cheers
Swissmade

jayess

Trainee

  • "jayess" is male

Posts: 65

Date of registration: Feb 17th 2010

  • Send private message

3

Tuesday, September 13th 2011, 7:56am

A problem I ran into tonight, and made me think I had somehow corrupted a very large project...

If you have compiled a web applet (jar), and it works in jabaco runtime environment, but not correctly when loading via a web browser, try it on a local webserver... For some reason I noticed things like winsock.connect do not work and get ignored if running an applet locally (file://c:/.......) vs. on a local web server. Weird!

-Jason

denizunlu

Beginner

  • "denizunlu" is male

Posts: 18

Date of registration: Dec 10th 2011

Location: Istanbul

Occupation: Developer

  • Send private message

4

Saturday, February 23rd 2013, 12:36pm

Winsock Control Doesnt Connect When Run in Browser...

I have the same problem. The winsock control works fine in Jabaco runtime, but when compiled as HTML+Jar, it doesnot connect in web browser. Any help would be appreciated...

Here is my code...

Dim stConn As String

Public Sub Command1_Click()

Dim stParam As String
stParam="s=MSFT&e=%2ecsv&f=sl1d1t1c1ohgv"
stConn="POST /d/quotes.csv HTTP/1.0" & vbCrLf
stConn=stConn & "Host: download.finance.yahoo.com" & vbCrLf
stConn=stConn & "Content-Type: application/x-www-form-urlencoded" & vbCrLf
stConn=stConn & "Content-Length: " & Len(stParam) & vbCrLf & vbCrLf
stConn=stConn & stParam
MsgBox wsc.State

Applet1.wsc.Connect "download.finance.yahoo.com",80
MsgBox wsc.State
'wsc.Connect "http://finance.yahoo.com/rss/headline?s=yhoo,msft,tivo

End Sub

Public Sub wsc_Connect()
MsgBox "cONN"
applet1.wsc.SendData stconn
End Sub

Public Sub wsc_DataArrival(bytesTotal As Long)
'Debug.Print Applet1.wsc.GetData
MsgBox Applet1.wsc.GetData
End Sub

Rate this thread
WoltLab Burning Board