all groups > vj# > january 2004
ASP Remote Scripting
Posted by Don Norris at 1/31/2004 11:02:43 PM
I am a heavy user of remote scripting in my ASP pages.
Some of my customers are now getting new PC's without MS
JVM and pages with Remote Scripting work about 60% of the
time. Will J# Browser Controls help me to fix this
problem and still stay with ASP pages?
Thanks
... more >>
How to get version info
Posted by Mike Smith at 1/31/2004 11:50:54 AM
I would like to display system version info in the "About" box in my J#
application. System.Version looks like a good candidate for the .NET
version but how to you get an instance of System? And I have no clue how to
get the version of the installed J# runtime. The Java version property
alway... more >>
Applet, Client-side application, Web Form
Posted by Yb Wang at 1/31/2004 11:00:22 AM
hi there
with the introduction of .net technology, it seems that client-side
application, like appplet, is no longer encouraged, but web form is
everywhere, whcih is server-side. but in some cases, client-side application
is still very useful. in this connection, j++6.0 is very powerful in
deve... more >>
trouble instantiating class by name from different assembly
Posted by godzooky NO[at]SPAM mailinator.com at 1/30/2004 8:30:15 AM
I have an app, testApp, that contains an abstract class Base. I have a
dll, testDll, that contains a class Derived, which extends Base. (Base
is obviously in the dll also) I'm trying to use the class Derived in
testApp. My code is as follows,
System.Reflection.Assembly componentAsssembly =
Sy... more >>
AWT application to J#
Posted by Liam at 1/30/2004 6:51:05 AM
Hi - I am a newbie to .NET and was wondering if it was possible to migrate an awt java app to J#. I tried doing it via visual studio but the only option that I could see was converting to C#. I did this but got hundreds of errors (the applications is approx. 40,000 lines of code and was coded with... more >>
What code access security permisssions does vjslib need?
Posted by Teo Lachev at 1/29/2004 5:13:10 PM
Hi,
I have a J# class library which I call from Reporting Services. Inside the
RS configuraration file I defined a custom code access group, as follows:
<CodeGroup class="UnionCodeGroup" version="1"
PermissionSetName="FullTrust" Name="OpenForecastCodeGroup">
<IMembershipConditi... more >>
Re: [Help] Major Help with J#
Posted by Jay Canale at 1/29/2004 11:57:56 AM
Okay I was able to add a reference to the dll with no problem.
My project is a Windows Application and on a form I have placed a panel. Now
I would like to place a chart on that panel, so how do I go about doing
that? Here is my code....
package MyTest;
import System.Drawing.*;
import Syst... more >>
[Help] Major Help with J#
Posted by Jay at 1/29/2004 3:41:20 AM
Hello all,
This is my first post to this group so I apologoze if this has been =
answered before. I have been using jclass.chart for years now with =
VJ++6.0. I am new to J# and I would like to somehow use jclass in a J# =
project. I have looked a variuos posts and I can't seem to know what ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Consume Java from C#
Posted by smaradana NO[at]SPAM bellsouth.net at 1/28/2004 7:48:56 AM
Hello,
I am working on a C# system that requires interfacing with an existing Java
software. We are trying to come with the best way of achieving this with
minimal cost and maintain ace issues. Here are the different ways I think
the integration can be achieved
1. Bring all the java... more >>
How to link a module in VSJ#
Posted by mikesmithv NO[at]SPAM yahoo.com at 1/27/2004 9:35:29 PM
I have an MSIL module which I would like to link into my VJ# project
but Visual Studio refuses to recognize it. The module is being
created by jbimp using the /t:module argument. If I use /t:library to
create a DLL instead Visual Studio will accept DLL. This works fine
but the DLL is a separa... more >>
Error: could not load type java.util.Arrays from vjslib
Posted by Sarah at 1/27/2004 8:21:06 AM
I am working on an asp.net project using c#. One of the consultants implemented the excel spreadsheet using NPOI from apache.org. It has been converted to j# and compiled to dll. It works fine on my local machine; however, when we moved to production server, I got the following error:
Could not... more >>
How can I get J# to fill in the interface signatures
Posted by MS Public at 1/26/2004 5:28:03 PM
I want to omplement an interface, in VB and C# it will do this for you, I
tried right clicking on the interface in the class view but this does not
give me the option to 'Implement Interface'.
Ho do I do this ?
... more >>
Is there a way to make VS.NET name files as .java instead of .jsl?
Posted by Horus Alkebulan at 1/26/2004 8:54:36 AM
I'm working on academic projects that have to be submitted as *.java source
code only. Of course, VS.NET likes to call files *.jsl by default?
Can I change this? or is it as simple as renaming all the files from *.jsl
to *.java before I submit for grading?
Thanks!
Horus
... more >>
Parallel port
Posted by Ryan at 1/23/2004 6:26:07 AM
What class can I use to write to and read from the parallel port using Microsoft Visual J#
Ryan... more >>
SeveralQuestions
Posted by MS Public at 1/20/2004 3:56:22 PM
1.) I want to refer to the BackgroundImage on the form I am using. However,
it tells me that it is not defined in this context. Whats wrong with this
code ?
InitializeComponent();
SkinForm(this,new Bitmap(BackgroundImage),Color.Cyan);
2.) If I do this
Bitmap image;
int a;
a=image.... more >>
Actually
Posted by MS Public at 1/20/2004 3:51:52 PM
The second syntax did not work either.
... more >>
Converting C# to J#
Posted by MS Public at 1/20/2004 2:04:29 PM
Can someone point me a a really good link to help me accomplish what I am
trying to do. Its driving me mad.
I cant even find a good list of syntax for it.
mad I tells ya !
Regards
... more >>
Enum
Posted by MS Public at 1/20/2004 2:03:06 PM
What is the correct syntax for the enum statement in j#. I have tried this
public enum myEnum
{
ABC =1,
DEF=2
}
That did not work but
public enum myEnum = ABC=1,DEF=2; //did work
What should it be ?
... more >>
DLL Import, please help
Posted by MS Public at 1/20/2004 2:01:15 PM
Hi,
I am getting an error telling me that the 'int' expected an identifier, what
should my statement look like. This is a class member
[DllImport("Gdi32.dll", EntryPoint= "CombineRgn", SetLastError=true,
CharSet=CharSet.Auto)]
static extern int CombineRegion(IntPtr dst, IntPtr src1, IntPt... more >>
Java Applets
Posted by tex at 1/19/2004 3:57:20 PM
Does work Java Applets on J# or J# only language for writting forms ?
Drawing ect.
Tex.
... more >>
Understanding Browser Control
Posted by Ike at 1/17/2004 2:22:30 PM
Does the browser control mean that my existing java applets, without
modification, can be hosted in the .NET environment ?
(Ithe applet converted internally to a .NET Assembly?).
Does this mean then, that if I write things in pure Java, I can participate
in .NET via the browser control? Soun... more >>
deployment of j# redist
Posted by godzooky NO[at]SPAM mailinator.com at 1/16/2004 6:48:41 AM
is it possible to include the j# redist as part of a setup program? i
want to make it similar to installing the .net framework. by that i
mean, checking to see if it is installed, and if not, installing the
j# redist and then my app. can i do all that in one package?
thanks... more >>
Can you keep code in Java and compile for J# Browser Controls?
Posted by Mickey Segal at 1/15/2004 11:31:42 AM
We have a huge Java applet developed in Visual J++, using no features beyond
Java 1.1.4 and no Microsoft-specific features. The applet runs on a variety
of Java platforms on Windows and Macintosh; the user gets a CAB file or a
JAR file depending on the browser and Java configuration.
We'd be ... more >>
Commonality
Posted by Ike at 1/14/2004 8:55:56 PM
Ok...ok. As a developer, again I want to write once, have it run in either
..NET or Sun's JVM.
Since these tow monolithic entities are NOT interested in really making our
lives, as developers "easier," in terms of writing code only once, I am too
old anymore, and have cobbled the same ideas to... more >>
jbimp usage.
Posted by dragos.ciulica NO[at]SPAM softure.com at 1/14/2004 5:25:40 PM
Hi!
I am trying to link a jar file converting it into a dll and then add
it as a reference to a .NET project. The jar file contains a lots of
".java" files situated into some folders describing the name space
they are package-ing (like /java/util/*.java). For this, I used jbimp
like this:
jb... more >>
Converting Java to Visual J#
Posted by Thao at 1/14/2004 5:13:29 PM
Hi, sorry if this issue has already been asked, but I've
read and read about transitioning from Java classes to
Visual J# and still am having problems doing this, any
help would be appreciated.
We run a web site for a very high profile client, the web
site is integrated with theirs whic... more >>
the java jsharp j++ thing
Posted by Tom Leylan at 1/14/2004 2:48:30 PM
I'm so confused... :-)
Perhaps somebody would point me in the right direction. I was planning to
write a simple applet to display database records. It's a large database
(in terms of number of rows) but it isn't complex. It only has a couple of
tables and the data is read-only. I program f... more >>
Why no Swing Conversion
Posted by Ike at 1/14/2004 11:58:37 AM
Since Java 1.2 most serious Java programmers have incorporated Swing
(javax.swing.*) as both the GUI and event model of their programming.
Why is there still, as-yet, no way provided by MS to "convert," this to J# ?
I'm not crying sour-grapes here, rather, I am asking legitinately so that we
c... more >>
J# I/O performance
Posted by Ken Larson at 1/13/2004 7:19:10 AM
http://osnews.com/story.php?news_id=5602
Interesting benchmark tests of various languages including java and J# -
the I/O performance on J# is not good. I have found this also to be a
problem when I have ported code from j++ or java to J#. Are there any
efforts underway to improve J#'s ... more >>
/JCPA usage?
Posted by keith at 1/12/2004 1:47:42 PM
Hello,
Could anyone provide a real example of how to use this compiler option? I
can't manage to puzzle out how to use it, and the docs are not much help. I
never get any error messages regardless of the content and format of the
options (aside from the compiler error that asks me to use /jcp... more >>
Please Introduce me to J#
Posted by Reincha at 1/10/2004 8:18:53 PM
Hi..
Thanks for reading my e mail.. i'm a newbie in J#, could
someone out there help me to learn about this stuff..??
regards
Reincha... more >>
Help: J# Browser Control Deployment
Posted by anonymous at 1/9/2004 10:16:29 AM
I am trying to develop J# browser controls.
I have vs.net 2003 and have installed the j# runtime.
My J# Controls do not work because for some reason, IIS
returns an http 500 error whenever a dll file is accessed
even if you type the file's location directly
(ex: "http://localhost/dllFile... more >>
Services
Posted by Vomish at 1/6/2004 2:09:35 PM
Hello
I have a server application written in J++ that I have
ported into J# (via a wizard). After a few necessary
modifications to the code, it is now fully functional. I
have now been tasked with creating a windows service for
this server to enable it to be started automatically at
s... more >>
how to play an audio stream?
Posted by godzooky NO[at]SPAM mailinator.com at 1/6/2004 10:00:47 AM
how does one play an audio stream in j#?... more >>
Problems with TimeZoneHelper
Posted by Dan Clayden at 1/6/2004 1:30:44 AM
When debugging my J# application via using VS.NET 2002, a
particular framework call always throws an exception.
However when ran normally i.e. from the command prompt and
not via the debugger, the application works fine.
the system call is:
java.util.Locale[] availableLocales =
java... more >>
|