Answer Questions
CharlesCherry java (J2EE 1.4) convert to J#
Hi, I want to convert my application in java (J2EE 1.4) to J# with minimum changes. Where can I get the script Thank's Alexei (I have tryed JLCA 2.0, 3.0 and it gives me about 100,000 errors becouse it convert to C#. I don't have a time for working on errors. I read that Java can be converted to J# with minimum errors.) Generally my experience doing this always leads me to running the J2EE code under Object Web or JBoss's free J2EE ...Show All
Benjamin Francioni Any possibility of supporting newer JDK features?
I like J#, and find it a great development environment, and the language support is pretty good. But the JDK is ancient... It drives me nuts, every time I go to use a standard Java class, I find out that the methods I'm used to using aren't implemented, or the whole class doesn't exist. This is true for everything from basic classes (like BigInteger and Date) all the way through to complex stuff (the security & Crypto stuff is re ...Show All
PJFINTRAX java.text.Bidi functionality
Hi; What .net class has the same functionality as java.text.Bidi (which I assume is not in J#) All I need is the ability to give a method a string and find where the string changes direction. thanks - dave Hi; What .net class has the same functionality as java.text.Bidi (which I assume is not in J#) All I need is the ability to give a method a string and find where the string changes direction. thanks - dave Hi; It looks like this ...Show All
pdonelan VjSharp newbie
I am trying to create a simple form to upload a file - I keep getting the following error Object reference not set to an instance of an object. Here is a portion of the code public class UploadDataRS extends System.Web.UI.Page { protected System.Web.UI.HtmlControls.HtmlInputFile File1; protected System.Web.UI.HtmlControls.HtmlSelect sYear; protected System.Web.UI.WebControls.Label Label3; protected System.Web.UI.WebControl ...Show All
jason_sbi Delegate and EventArgs Question
Hi, I am very new to programming and i have a quick question. I am developing a webpage and I want a delegate to handle a button click. I am programming in J#. What I want to do is display the element found at ArrayList(i) after clicking on a button. Example: <input type="button" id="display" value="Display" runat="server" onserverclick="write(<%=i %>)" /> I want the method 'write' to ...Show All
TequilaTR Web Browser, HTML selection
Hi, I have implemented a simple Web Browser using the inbuilt Web Browser component. I now need to be able to highlight some text on the web page and for this to then be selected by the J# program. This is possible in Java by using the getSelectionSrat and getSelectionEnd methods linked to the JEditorPane, and it is possible in C# by using IHTMLSelectionObject and IHTMLTxtRange, but now I need to find the J# version! Regards Richard ...Show All
Vedek Andy switch off enum keyword
Hi, i want to switch off the enum-keyword in J#. My projects was compiling in VS2003 before. I switched to VS2005 now, which breaks to compile my projects. The keyword enum is used as variable name. Which was working in VS2003. How can i switch to the old behaviour of the j# compiler best regards, atem I was looking for a workaround without breaking the code when it is compiled with the java compiler ...Show All
Dylan Morley How can I encrypt a String to put it into a Database?
How can I encrypt a String to put it into a Database I've tried with: public static String encrypt( String textoplano) throws IllegalStateException { MessageDigest md = null ; try { md = MessageDigest .getInstance( "SHA" ); // Instancia de generador SHA-1 } catch ( NoSuchAlgorithmException e) { throw new IllegalStateException (e.getMessage()); } try { md.update(texto ...Show All
ankur mitra Simple Echo Server
I am using Visual J# 2005 Express Beta 2 to create a simple echo server. I have created the form and design and able am able to launch the program. I have created a RichTextbox to display the connections and 'echo's. The problem is when after starting the echo server by clicking on a button, the program stops responding. But the echo server is running in the background because I am able to connect to the echo server (localhos ...Show All
jenniMD plz help
HI, i need to know all about visual J# it's a homework in University of Programming plz if anyone know a page of Visual J# where is all the information like a) Description b) OS which supports c) Requirements of system Process of Installing the Visual J# how to activate, configure, and test the installment How does it work, how it compile, how to execute the applications plz if someone know something post me at chiraginotz@yahoo.com immediatly i ...Show All
David J Oldfield too many images = greater load time
ok, ive got a good... 96 images on a form with scrollbars, as your scrolling left and right, it takes a while for the images to reload, is there a way to speed up the load thank you so much for the prompt replys Store the images inside your class, and then draw them in your OnPaint handler. You'd want to store them in a container of some sort, probably a Dictionary and ...Show All
Joakim Larsson How too navigate with a dataset
Hi, I try to find out how to navigate inside a dataset, Next, Previous, etc. In VB.NET I use something like: Me.BindingContext(Me.MyDataSet11, "Categories").Position = 1 What would be the method for J# and to what object it applies Hi, Following is the conversion to J#.... DataSet ds = new DataSet (); this .get_BindingContext().get_Item(ds, "datamember" ).set_Position(1); Pleas ...Show All
AlexHWGUY ResourceBundle.getBundle("resources.resources"); throws an exception
When I call: ResourceBundle .getBundle( "resources.resources" ); to get my resources (which are in the dll), I get an ArgumentOutOfRangeException - + $exception {"Length cannot be less than zero.\r\nParameter name: length"} System.Exception {System.ArgumentOutOfRangeException} What do I need to do thanks - dave Hi; Does this handle all the issues with multiple resource files For example, I have resources.properties, ...Show All
BATTY Pet peeve of the day
Hi all; Today's pet peeve is programmers that blame J# when it's their own fault. I posted a "bug" in http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=156906&SiteID=1 and wasted Jaiprakash 's time when he tried to reproduce it. Turns out, about 3% of the code in WR is java/j# specific and one of those classes was being serialized. And that class did use System.Byte[]. thanks & sorry - dave Hi, It's perf ...Show All
Marco Sousa Why is the J# Redistributable package needed?
Hi! Why is the J# Redistributable Package needed to run a J# application Or can I just redistribute some assemblies For example, if I develop an application in Borland Delphi using WinForms, I can compile this application to an exe file. This exe file can be executed on any computer that has the .Net Runtime Framework installed. No Delphi .Net Redistributable Package exists. If I develop an application in Dephi using the VCL.NET api all I ha ...Show All
