You are not logged in.

Search results

Search results 81-100 of 277.

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.

Monday, October 26th 2009, 3:11pm

Author: OlimilO

make VBVariant mutable

Quoted a possible solution would be a Variant wrapper written in jbc rather than in Java. The wrapper could have let/get properties to change the internal value. hmm ... in Jabaco there is no operator overloading, nor is there a default-attribute for properties, is there? please make a suggestion. in Java every java#lang#number (= Byte, Short, Integer, Long, Single, Double) is immutable. I think it would be great also to have the other way around and create a mutable primitive datatype. In my o...

Monday, October 26th 2009, 1:49pm

Author: OlimilO

VBA#VBVariant

Quoted Wouldn't it be enough to implement a public "setVal()" method for VBA#Variant? Yes also my idea. Indeed setVal already exists, but private. We simply have to convert it to public. But the compiler should be changed also, to generate another code. When we use Jabaco Source 1 v = 10 the compiler should generate Jabaco Source 1 v.setval(10) instead of Jabaco Source 1 v = new VBVariant(10) but ... everything would be fine, if not... whenever we write Jabaco Source 1 Dim v as Variant the comp...

Monday, October 26th 2009, 11:27am

Author: OlimilO

VBA#VBVariant

Why does VBA#VBVariant refuse to be a reference type? Why is it not possible to solve the ByRef-problem at least for the Variant-datatype? Jabaco Source 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 Public Sub Command1_Click() Dim v As New VBA#VBVariant(10) List1.AddItem v.intValue & " " & v.hashCode Call Foo(v) List1.AddItem v.intValue & " " & v.hashCode End Sub Public Sub Foo(ByRef v As VBA#VBVariant) List1.AddItem v.intValue & " " & v.hashCode v = New VBA#VBVariant(v.intValue + 10) List1.Ad...

Friday, October 23rd 2009, 3:18pm

Author: OlimilO

File operations and basic graphics operations

Yes the source is totally for the garbage collector. I had a better approach in the first, then decide to do another one. Do you know something about hashcode? how would you program it? you could help in figuring out how many open files are possible in VB6. regards OlimilO

Friday, October 23rd 2009, 3:10pm

Author: OlimilO

a more general answer

Thanks for that question. Quoted what that help entails A good starting point to get that information could be the tutorial in the Jabaco Wiki: http://www.jabaco.org/wiki/Develop_the_Jabaco_Framework Quoted what is actually required everything what you require yourself. If your requirements on the Jabaco framework can fulfill also the needs of the others, su much the better. Quoted must I be a Java guru (or even a Java disciple)? No, not in the first place. But maybe you end up in getting a good...

Thursday, October 22nd 2009, 1:17pm

Author: OlimilO

File operations and basic graphics operations

Hi Andrea, yes it's a kind of beta state. The reason is that there is also a close-method in the form. please instead use: FileSystem.Close(FNr) hmm normally the right function should be found when giving it a parameter. but inside the form the Form.Close will be prefered OlimilO

Thursday, October 22nd 2009, 12:09pm

Author: OlimilO

a few words on assigning objects

Hi, in Jabaco all intrinsic primitive data types will be copied with the equal sign " = " But if you want to assign one Object to another, the meaning could either be a) to copy the reference or b) to make a flat copy, also called a clone, of it. solution to a: simply use the equal sign " = ". solution to b: you could use the Cloneable-interface. but ... there is another possibility: create a copy constructor example for all possibilities: Jabaco Source 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 ...

Thursday, October 22nd 2009, 10:56am

Author: OlimilO

Month

Hi, what the hell... I'm going to go on the warpath with java date. I thought I've already fixed this? http://code.google.com/p/jabacoframework…A/DateTime.java it would really be good to have some more helpers on the Jabaco Framework OlimilO

Thursday, October 22nd 2009, 10:40am

Author: OlimilO

Get, Put

hi @all, in VB6, when opening a file in binary mode, you are able to read and write variables of userdefined types with Get and Put. To write binary data in Java you normally use the interface Serializable in Jabaco/VB6 you are not able to implement Interfaces in ud-types. But every udt has a base class: VBTypeClass. should we implement Serializable in it? there is only one fallback when using Serializable: the written binary data is not compatible with the data written in VB but we could progra...

Thursday, October 22nd 2009, 9:18am

Author: OlimilO

keywords: final, transient

final: the jit-compiler is enabled to optimise better code (-> static constants) transient: it enables you to prevent variables from beeing serialized thanks OlimilO

Thursday, October 22nd 2009, 9:09am

Author: OlimilO

Implements Transferable

Good morning. there is a problem with Jabaco Source 1 Implements java#awt#datatransfer#Transferable Jabaco bravely completes the code for it, but ... Jabaco Source 1 2 3 4 5 6 Public Function getTransferDataFlavors() As java#awt#datatransfer#DataFlavor() End Function Public Function isDataFlavorSupported(arg2 As DataFlavor) As Boolean End Function Public Function getTransferData(arg2 As DataFlavor) As Object End Function ...it seems not to be satisfied with it's work. It wants to do it again and...

Thursday, October 22nd 2009, 8:53am

Author: OlimilO

IDE to print source/s

Hi Bruce, Quoted IDE has a Print command yes, it's in Edit->Print Quoted which selects the printer but doesn't seem to go beyond that. Although I maybe will never use this feature seriously. I found no problems, the sourcecode was printed on my Canon S 750. what do you mean: "to go beyond that"? maybe it's the page size... maybe select DIN-A4 don't know OlimilO

Sunday, October 18th 2009, 3:14pm

Author: OlimilO

manually download the Jabaco-framework

Quoted or just a mistake? It's a mistake. @Manuel, could you please delete all smaller versions.

Sunday, October 18th 2009, 12:50pm

Author: OlimilO

Jabaco Missing Classes - Help!

Hi seanfire1 does this answer your question:? manually download the Jabaco-framework regards OlimilO

Sunday, October 18th 2009, 12:45pm

Author: OlimilO

manually download the Jabaco-framework

@All Surely you know the menuitem "?"->"Get Latest Snapshot" with it you are able to download the latest Framework snapshot. "Snapshot" means that it simply represents the latest compilation, without the guarantee to get it bug free, or even complete. You also have the chance to go back in time and download a complete history version. * here in the forum move your eyes up to the Jabaco panther * move your eyes to the right * click the button "Download" * move your eyes back to the Jabaco panther...

Saturday, October 17th 2009, 10:38am

Author: OlimilO

Using ActiveXdlls in Jabaco with the Help of JACOB and TyTex

Hi @ll maybe you have already noticed that JACOB by Dan Adler is very helpful, when you want to use objects out of ActiveXdlls in Jabaco. Former threads already showed how to use JACOB. The first one was posted by StefanSchnell. How to use JavaCOMBridge (JaCoB) with Microsoft Word There is only one hard thing left: you have to write much Code and you have to know the names of the classes and methods. You could dig the internet or look into the objectbrowser of VB6 or OLEView. Now we have another...

Friday, October 16th 2009, 7:46am

Author: OlimilO

Can't quite figure out VarPtr

Quoted sad to say, isn't in my copy *cringe* wo gehobelt wird da fallen Späne -> it's under construction Quoted Is there a better one look, it really doesn't matter what Enum you use, it's important to have the right values. You have the following possibilities: * maybe goto VB6 and copy alle the values out of the objectexplorer * maybe goto the Jabaco-Framework-trunk and copy it out of the sourcecodes: http://code.google.com/p/jabacoframework…FileSystem.jsrc * maybe copy the Enum with the .net...

Thursday, October 15th 2009, 12:15pm

Author: OlimilO

Can't quite figure out VarPtr

Hi Bruce, Quoted Problem now is working out how to pass a pointer to a string to a *W function. I'm sure there is a way to do this... but... Quoted Please tell me there's another way of getting at the Win32 file attributes (particularly the archive bit). ... of course there is another way! For the FileAttributes you could also use the FileSystemObject over the JACOB. The FileSystemObject can be accessed through MySQL queries 1 2 3 Library Scripting C:\WINDOWS\system32\scrrun.dll Microsoft Script...

Wednesday, October 14th 2009, 10:27am

Author: OlimilO

Framework 1.2 lacks the VB tree

Explanation: In the module VBA#Information I included a static function which I named NotRGB. It takes a VB/Jabaco-like-color in a Long (RGB) and inverts (negates) the color. Maybe the error is due to a name conflict or something else. What I completely do not understand is, why I am able to compile it with my Jabaco, while the Jabaco-compiler at Coogle-Code is not. To circumvent the error you simply should not use the latest framework-snapshot until we fixed this, but use this one: Jabaco200910...

Monday, October 12th 2009, 10:07pm

Author: OlimilO

File operations and basic graphics operations

Quoted or does it have to follow the syntax with parentheses? normally it should be possible without parentheses, I really do not know why it's unfortunately not possible until now... It's a question for the Jabaco parser / compiler I guess regards OlimilO

WoltLab Burning Board