Archived Months
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
December 2006
January 2007
February 2007
April 2007
July 2007
August 2007
all groups > vj# > december 2003

j# Browser Control Class.forName
Posted by udi NO[at]SPAM netmanage.co.il at 12/31/2003 4:46:50 AM
Hello, We are trying to migrate a very very big project from Java Applets to JBC. I'm haveing bad time with Class.forName. What ever I try (even in very simple demo) I just keep getting "ClassNotFound" exceptions. I've read all the articals but I just cannot get it to work. Any Ideas? ...more >>


Changed behaviour of Urlconnect in j# browser control
Posted by malcolm b at 12/30/2003 9:09:59 AM
Hi, I am looking at porting an J++ applet to j# browser controls. The applet uses UrlConnection to talk to an http server. In the j++ version it can process cookies on the server side - however in the J# browser controls it seems to lose the cookie. It appears the connection is no lon...more >>

j# Code Quality
Posted by Abc at 12/30/2003 4:44:46 AM
Hi, Is there any tool which tests the j# code quality? If anybody knows please help me out. Thanks ...more >>

j# Browser Control
Posted by udi NO[at]SPAM netmanage.co.il at 12/29/2003 10:31:48 PM
Hello, I've converted a J++ Applet to j#. I really miss the Java console... Does anyone know where is or how to open a Java console for j# Browser controls (where I can see all the Console.WriteLine... )? Thanks, Udi Zisser....more >>

JScript from J# browser controls
Posted by malcolm b at 12/29/2003 7:27:53 AM
Hi I am looking at converting some java applets to J# browser controls. Some of the applet code makes use of the netscape.javascript.JSObject class to execute javascript methods against the window the applet is running in. In particular JSObject owner = JSObject.getWindow(thisApplet); ...more >>

Is there a "Java for VB programmers" book
Posted by Howard Kaikow at 12/28/2003 10:37:21 PM
I have VS NET and was looking at some Java code for translation to VB, but the benevolent MSFT did not include any Java Help, so I do not know what is meant by a statement such as pause(i, j) or pause(i). Also, the help I did find was not fully helpful, e.g., what does the following mean in a ...more >>

Gotta know now!
Posted by Gary Morris at 12/28/2003 3:28:23 PM
OK, I've never visited this group until now, so bear with me. First thing, I've been playing with J# some, just to see how it compares with and differs from C#, which I know pretty well now. Seems very close, and understandably so, but there is one thing I cannot find reference to after search...more >>

How to give a jbimp-created app a desktop icon
Posted by mikesmithv NO[at]SPAM yahoo.com at 12/28/2003 1:07:47 PM
I have a java app I am deploying to .NET using jbimp to convet my jar to a j# exe file. It works great but I want to give it an icon that you see on the desktop. It is currently just a generic icon. I am merging resources so is it just a matter of adding an ico file to my resources plus some ...more >>



Scripting and browser controls
Posted by Mark Schupp at 12/26/2003 3:45:44 PM
The browser-control faq points out that browser-controls do not support scripting and asked that developers who need scripting post here with comments. So: We currently use a Java applet to implement the a SCORM interface adaptor (SCORM is a specification developed for the eLearning commu...more >>

scroll bar -- dataset
Posted by abc at 12/24/2003 12:44:50 AM
Hi How to add scroll bar in data set object? Thanks...more >>

Web browser control in J#
Posted by hoshiko at 12/23/2003 6:54:29 PM
I want to write a web brower applicaiton in J#. But I must use "java.awt.Frame" for GUI and I found that I can not add the "AxSHDocVw.AxWebBrowser" into "java.awt.Frame". Is there any solution for this problem? Thanks. ...more >>

MS Supplemental UI Lib, any new release ?
Posted by Ivan at 12/23/2003 12:28:08 PM
Hi, Any new release for MS Supplemental UI Lib ? Any beta or something like nightly buid ? nice if they have. Thanks ...more >>

Problem with byref parameter in COM object in J#
Posted by Vincent ROBERT at 12/23/2003 1:58:15 AM
First, excuse my english ... So , i've a problem: My company have developped a dll using J++. Before we use=20 the JVM with NT4. But we are moving to Windows 2003 and=20 there is not the JVM. So i've recompiled the dll with J#.=20 All is good, the dll is ok and fully fonctionnaly for 99%=20...more >>

JBC Runtime
Posted by BP at 12/22/2003 12:40:46 PM
What are all the services rendered by the J# Browser Control runtime ? Are there any potential performance overheards due to requirement of a runtime ? Thanks....more >>

J# Browser Controls
Posted by Bharath at 12/22/2003 12:27:42 PM
I'm in the process of migrating an applet based chat application to .Net J# Browser Control (JBC). My system environment is as follows : Win 2K, VS.Net 2003, .Net Framework 1.1,IE 6.0, JBC Runtime 1.1 While, I was able to succesffuly migrate the client applet to a Browser control, I have...more >>

how can i use a non-english font without com.ms.awt.FontX?
Posted by godzooky NO[at]SPAM mailinator.com at 12/22/2003 11:00:27 AM
our app supports the korean language. before j#, we used to be able to instantiate it using the com.ms.awt.FontX class. that class is no longer available. i need a java.awt.font, not the new fancy dotNet font class. so, how do i do it now? i tried to edit the font.properties file, but i couldn't...more >>

throws
Posted by Abc at 12/22/2003 12:25:40 AM
How to use throws clause in static functions in j#. I got following error when trying to use that in a static function. 'System.ApplicationException' cannot be thrown by static initializer or static field initializer Thanks...more >>

JBC 1.2 Invoke Problem
Posted by Vitaly Shelest at 12/18/2003 4:52:44 PM
I try to start Java Applet compiled with Dev Studio 7. While starting Web Page with J# Browser Control MS Internet Explorer thows exception "An exception in java.lang.SecurityException occured in the J# Browser Control". In my IIS I have set anonymous access everywhere. What to do? Vitaly She...more >>

Quickest way to convert J Sharp to standard Java for compilation?
Posted by Horus Alkebulan at 12/17/2003 1:16:25 PM
I'm a first year computer science student, but a long time Visual Studio ..NET user. I would love to be able to write my Java code with VS.NET 2003 but my projects must be submitted as SDK1.4 .java files. What's the easiest way to convert my .jsl files to standard .java files so I can compi...more >>

how to extend Enum class in j#
Posted by Abc at 12/16/2003 1:09:03 AM
When I tried to extend Enum class in an application of j# it was giving 'Cannot author attributes, enums or value types' error. Can anyone help me out with this? Thanks ...more >>

long / int64 bug (continued)
Posted by Pierre CHALAMET at 12/15/2003 2:46:05 AM
Oups.. Had post to the wrong newgroups.. Well... Maybe I was not really clear WHERE this happens (but it happens). When using COM interop with J++, long (64 bits) are happily (and silently) converted to int (32 bits). (See below for the source code.) I just care about HOW J++ behaved former...more >>

Yukon and J#
Posted by Lars-Inge Tønnessen at 12/13/2003 11:39:53 PM
Does the .Net integration in the MS SQL Server Yukon include J# and managed C++ ? -- Regards, Lars-Inge Tonnessen http://emailme.larsinge.com http://www.larsinge.com ...more >>

Printer Installs
Posted by Moe at 12/12/2003 6:40:35 AM
Does anyone know how to programmatically install a network or local printer?...more >>

Two questions: return statement & with statement
Posted by Claudiu Milea at 12/11/2003 8:33:31 PM
Hi, 1. I noticed that from the syntax point of view if a method returns a value, the return keyword cannot be located within the try block. I also noticed that if I move the return statement after the catch block it is accepted by the compiler. Is this because there can be more than one t...more >>

Placement of graphic files
Posted by Patty at 12/11/2003 5:08:19 PM
Where do the graphic files need to be. Presently they are in a file in the project folder. Graphics are not visible when program is run. I checked the solution explorer and they are present there as well. But still no images. Like Visual Basic.NET I tried placing them in the bin folder--no ...more >>

unable to get marshaling to work
Posted by godzooky NO[at]SPAM mailinator.com at 12/11/2003 8:45:25 AM
i'm trying to call into an unmanaged dll from j#. the dll function takes a TCHAR*. i tried to specify the marshaling attributes like so, public static native voidd myFunction(/** @attribute MarshalAs(UnmanagedType.LPWStr)*/String s); it doesn't seem to convert the string. i tried all the oth...more >>

Should I choose J# ?
Posted by MyName at 12/11/2003 2:01:59 AM
I'm wanting to get a way from Delphi. I'm thinking of J# because I might be able to transfer the code to Java without much difficulty. Is this true? How much is J# like Java? If not an easy recompile of code, are there translators that can convert J# to Java? ...more >>

Java Socket - java.net.NoRouteToHostException
Posted by Nick at 12/10/2003 6:12:50 AM
Visual Studio .NET 2003 Os : win 2003 Hi all, Please explain me why i get a java.net.NoRouteToHostException when i run the following jav code Socket x = new Socket("194.92.177.16", "6060") The server and the port is available, and i am able to connect with other programs and with...more >>

Error installing JCLA 2
Posted by Jon Davis at 12/9/2003 9:46:10 PM
I'm trying to run the JCLA 2 patch available here: http://msdn.microsoft.com/vstudio/downloads/tools/jlca/default.aspx It returns the error message: The upgrade patch cannot be installed by the Windows Installer service because the program to be upgraded may be missing, or the upgrade ...more >>

Variable Number of Arguments
Posted by Amit Jindal at 12/9/2003 6:35:26 PM
How do we pass variable number of arguments in J#? In c# we have params modifier, what is corresponding to it in J#? Regards AMIT ...more >>

J# and Windows Image Acquisition
Posted by Chris Klingenberg at 12/9/2003 5:06:26 AM
I am working on a programme to control a digital camera from a PC running Windows XP, using J# in Visual Studio .NET and the Windows Image Acquisition Automation layer version 2.0 (after download available to J# in the interop.wia library). So far, most aspects of camera control seem to ...more >>

Java StringTokenizer
Posted by - Steve - at 12/5/2003 10:13:09 PM
It doesn't appear that Visual Studio 2003 has the StringTokenizer class for a J# project. Am I missing something? Steve ...more >>

Defining a class property in J#
Posted by Claudiu Milea at 12/5/2003 12:30:48 PM
Hi, Can someone tell me if a class property can be defined in J# like in C# (see snippet below) ? Or is the syntax slightly different ? public string Name { get { return name; } set { name = value; } } ...more >>

can't debug applets
Posted by Jan at 12/5/2003 8:03:38 AM
My NET 2000 IDE refuses to load debugging symbols for JBC applets. Even navigating the IDE to the right pdb file using "modules" window do not help. The rest of debugging chain seems to be OK. On can attach to explorer process and one can see applet dll's being loaded from temporary file i...more >>

System.Math.Round()
Posted by Lars-Inge Tønnessen at 12/4/2003 5:47:28 PM
Hello, Could anyone confirm this to be true or false? If I round this number (3.45) to 1 decimal, it sould be 3.5. Or do I remember this wrong? (It has been a long time since I read any math (over 9 years) ). The 5 sould round the 4 up to 5 and give me 3.5. I get 3.4. public class C...more >>

WndProc in j#
Posted by abc at 12/4/2003 3:34:36 AM
Hi, How can i make my WndProc method call in j#? I tried by directly writing the method in the code but even then windows WndProc is called . Thanks....more >>


DevelopmentNow Blog