all groups > vj# > july 2004
Building J# program for a previous version of .NET Framework
Posted by JPW at 7/31/2004 1:37:01 PM
I need to build a J# program to work with .NET Framework 1.1. Unfortunately, the J# compiler is not included in .NET Framework SDK 1.1. I have Visual C# .NET 2003 as well as Visual J# 2005 Express Beta and Visual C# 2005 Express Beta. I've noticed that an assembly built using Visual J# 2005 Expre... more >>
Image -> .bmp or .gif
Posted by miriam_adrian NO[at]SPAM gmx.de at 7/29/2004 3:12:16 AM
Hello,
actually I try to save an image with j#. I've searched the help, there
I've found this line:
FileStream fs = new FileStream("C:\\winnt\\Gone Fishing2.BMP",
FileMode.OpenOrCreate, FileAccess.Write);
fs.Write(MyData, 0,ArraySize);
The problem is: I do not have a ubyte array (MyData). ... more >>
Import java classes
Posted by Rony Cesana at 7/27/2004 4:12:08 PM
Hi everybody!
I'm pretty new to VJ#, and I'm trying to import a project that originally
compiled under VJ++.
There are some classes, though, that cannot be found from the compiler
(namely, java.io.ByteToCharConverter and
java.io.CharToByteConverter).
What should I do?
Thanks,
Rony
... more >>
Equivalent of Associative Arrays in J#
Posted by Bob at 7/25/2004 7:41:20 PM
The following JScript code uses associative array. How can
I achieve the same in J# ? Could someone please give a
similar J# example?
To understand, save the following as an HTML file and open
the file in IE.
Thanks,
Bob
////////////////////////
<html>
<head>
<script language="jscri... more >>
Use VJ# as a way to learn Java?
Posted by billj24 at 7/23/2004 7:13:02 PM
I like the VS IDE interface. But I need to learn Java. Would you recommend using J# as a way to learn Java? If not, is there a comparable IDE out there?
Thanks in advance,
--
Bill Johnson... more >>
J# is missing from the dotNET installation
Posted by Bob at 7/18/2004 12:13:25 AM
I installed VS.NET from Visual Studio Enterprise Architect
2002 DVD. When I try to create a new project in the
Solution Explorer of .NET, I see only Visual Basic and
Visual C# in the list of 'Project Types'. Why Visual J# is
not showing as one the Project Types in the 'Create New
Project' ... more >>
problem with GetIpForwardTable func
Posted by Root at 7/11/2004 12:23:49 PM
/**@dll.import("Iphlpapi")*/
*public static native int *GetIpForwardTable(int p1, int p2, boolea
p3);
That declaration is right?
And *p1* must return pointer to struct MIB_IPFORWARDTABLE, but i
doesn't work. *p1* still 0 (null)
//Declare MIB_IPFORWARDROW scruct
/**@dll.struct()*/
class ... more >>
Window icon in Dialogs
Posted by Mike Smith at 7/10/2004 3:51:07 PM
Does anyone know how to get rid of the little generic window icon in the
title bar of Dialogs? My application has an icon and I use
Frame.setIconImage() to set the same icon in the title bar of all my Frames
so I know how to set a window icon and that works fine. The problem is
Dialogs do not ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Visual J# 2005 Express Edition Beta
Posted by Thomas Alex [MSFT] at 7/9/2004 2:59:17 PM
Hi all,
Visual J# 2005 Express Edition Beta is available for download from MSDN
here:
http://lab.msdn.microsoft.com/express/vjsharp/
Visual J# 2005 Express is a lightweight, easy to use tool for developing
applications with J# and Microsoft .NET Framework. If you are exploring J#,
or th... more >>
public static variables are not visible in COM
Posted by stasde at 7/9/2004 6:28:01 AM
My code has such a string:
public static final int JPEG = 1;
I created a COM from this code, and do not see this variable in the COM.
The class is public, marked with COMVisible(true).
I have read that static members cannot be seen in COM. What is the workaround of this issue? Another word... more >>
System.Text.Encoder.GetBytes(...) ?
Posted by Lars-Inge Tønnessen at 7/7/2004 1:26:32 AM
In C#:
System.Text.UTF8Encoding utf8 = new System.Text.UTF8Encoding()
System.Text.Encoder encoder = utf8.GetEncoder()
encoder.GetBytes( char[] chars, int charIndex, int charCount, byte[] bytes,
bool flush )
In J#:
System.Text.UTF8Encoding utf8 = new System.Text.UTF8Encoding()
System.Text.... more >>
Compile JDK1.4 source using J#
Posted by YangHua at 7/1/2004 5:45:14 PM
Hi, all
My question is just as the title. Is it possible to compile JDK1.4 source
code with J#?
I have tried but it failed with 11 error messages and hundreds of warning.s.
During the compiling process, because 'delegate' becomes a reserved words
now in J#, i have replaced all with 'delegat... more >>
|