You are not logged in.

Search results

Search results 21-37 of 37.

Dear visitor, welcome to Jabaco - Community. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

Wednesday, October 14th 2009, 7:45am

Author: axtens

Framework 1.2 lacks the VB tree

Is this the error you mean? (I hope this skydrive thing works. If not it says Compile error. Class: 'Form1' line: 1 Baseclass 'VB/Form' not found! )

Tuesday, October 13th 2009, 4:05am

Author: axtens

How to use pointer with Jabaco

G'day Stefan Quoted from "StefanSchnell" Hello community, you can download a new advanced version of VarPtr here or from the attachment. Cheers Stefan I've been playing with it, but am confused about something: most of your demos are using the *A form of Win32 API calls. Can you show me one which passes a string into a *W function, like GetFileAttributesW. I want to use the *W form because I'm dealing with filenames in Chinese. Thanks in advance, Bruce.

Monday, October 12th 2009, 6:16pm

Author: axtens

Alerter v1.Good progress thanks to OlimilO

Okay, here's the alpha of Alerter. Works nicely thus far. Let's see if it works on the client's computer ... umm ... will it work on Windows 98? Kind regards, Bruce.

Monday, October 12th 2009, 5:40pm

Author: axtens

Playing Sound tutorial

Brilliant!! Thanks very much indeed. Vielen Dank! and all that.

Monday, October 12th 2009, 5:02pm

Author: axtens

How do I play a WAV file continuously?

<HEARTATTACK>What?! You mean Jabaco's not going to insulate me from Java?!?!</HEARTATTACK> Oh well, such is life I s'pose. Okay, shall download that lot and see where I get to. I did get part way through transcoding http://www.daniweb.com/forums/thread17484.html from Java to Jabaco. Shall keep trying. And hunt for the audio recording sample you mentioned. Kind regards, Bruce.

Monday, October 12th 2009, 4:24pm

Author: axtens

How do I play a WAV file continuously?

Please can someone point me in the right direction. I can see via Google that there's a fair bit of Java out there which does what I want. However, I know Java like I know Babylonian Cuneiform. Kind regards, Bruce.

Monday, October 12th 2009, 3:49pm

Author: axtens

Can't quite figure out VarPtr

This is a beginning on mplementing the Dir() functions as per OlimilO's code suggestion. VarPtr is also used. Problem now is working out how to pass a pointer to a string to a *W function. Please tell me there's another way of getting at the Win32 file attributes (particularly the archive bit). Regards, Bruce. Jabaco Source 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 Option Explicit Private WinAPI Function GetFileAttribu...

Monday, October 12th 2009, 3:37pm

Author: axtens

Figure out how to determine if code is executed from within the IDE or not.

Re A1880's idea. Naive question: Seeing as the IDE has its own hWnd, could comparing the app's hWnd to the IDE's hWnd work? Bruce.

Tuesday, October 6th 2009, 8:13am

Author: axtens

Set commandline in IDE

In the next iteration of Jabaco, please provide a mechanism to set commandline options in the IDE. When one is testing apps that use the command line, the current inability is frustrating. Kind regards, Bruce.

Monday, October 5th 2009, 3:49pm

Author: axtens

First 'serious' app, and something's not right

Okay, I'm writing a small app. It takes the following parameters: /TEXT: /SOUND: /TIMEOUT: and /NOTIMEOUT. The ideas is a commandline driven MsgBox with .WAV sounds and optional timeout. So far so good. What I don't get yet, is why the app stays in memory after it runs, requiring a process kill.why the for loop doesn't work now, but did work before the if/elseif stuff got in therewhy I tell the OK button to get the focus but it doesn't get itAlso It'd be really nice if the next iteration of Jaba...

Sunday, October 4th 2009, 8:02pm

Author: axtens

JACOB and WScript.Network

So far so good. The following works nicely. Okay, it's just a demo, but it bodes well for further use of JaBaCo on Windows. Jabaco Source 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 Public Sub main(ByJava args() As String) Dim myArgs() As String myArgs = args ' [Your Source] Dim oShell As ActiveXComponent Set oShell = New ActiveXComponent("WScript.Network") Dim a As String Dim b As String Dim c As String Dim dShell As Dispatch Set dShell = oShell.getObject() a = Dispatch.call(dShell,"UserDomain") ...

Sunday, October 4th 2009, 4:40pm

Author: axtens

What the Jabaco equiv for Dir$() and GetAttr()?

Is there a place in the Community somewhere where there's a table of VB6 keyword to Jabaco replacement? For instance, I'd like to convert the code below to Jabaco, but having no background whatsoever in Java makes it pretty hard. Jabaco Source 1 2 3 4 5 6 Dim A As String A = Dir$("C:\*.*", vbDirectory) Do While A <> "" Debug.Print A, GetAttr("C:" & A) A = Dir$ Loop Regards, Bruce.

Saturday, October 3rd 2009, 5:53pm

Author: axtens

Compile error infinite loop

Okay, I think I've figured it out. If I save the project, there's no ad infinitum. If I attempt to compile without saving the project, I get the ad infinitum. YMMV, but that seems to be the situation. Kind regards, Bruce.

Saturday, October 3rd 2009, 5:44pm

Author: axtens

Passing Long Pointer to String in *W Win32 API calls

In the following code (project attached) I'm trying to call GetLogicalDriveStringsW Win32 API function which expects to receive a long pointer to the string, rather than the string as would be the case with GetLogicalDriveStringsA (the ANSI version.) How do I achieve this? In VB6 I'd use StrPtr() but that doesn't appear to be available. Jabaco Source 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 Private WinAPI Function GetLogicalDriveStrings Lib "kernel32.dll" Alias "GetLogicalDriveStringsW" (...

Saturday, October 3rd 2009, 4:38am

Author: axtens

Compile error infinite loop

When I run the following code (which is just pasted in VB6 code) I get a dialog box Compile error. Class: 'Module 1' line: 34 Class 'Scripting' not found! [OK] Meaningful error message, but closing the dialog presents me with another, ad infinitum. The only way out is to kill the Jabaco.exe process. Did not register the class, BTW. Regards, Bruce. Jabaco Source 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 48 4...

Friday, April 17th 2009, 6:54am

Author: axtens

findbugs (Uni Maryland) utility

G'day everyone, On a whim I ran findbugs over the jabaco.jar file. It found a horde (571 to be exact) of bugs (of which not all, but certainly some, may be severe). May I suggest that findbugs be downloaded and run in the presence of the source code? Kind regards, Bruce.

Monday, March 16th 2009, 9:50am

Author: axtens

Console mode appears to be not quite console mode

I compiled the consolequiz demo and ran it from the command line. I got a window with dossy stuff in it. I used Jeremy Collake's SETSUBSYS to set the exe as a console app. I still got a window with dossy stuff in it. I was expecting everything to be in the window I had launched from. Is this just something I have to get used to? Bruce.

WoltLab Burning Board