Visual J# General,19
Recent update: 2008-3-21

log4j wrapper around log4net

466 byte By DavidThi808 at 2008-3-7
Hi;We are porting a java app to J# and staying with common source code. To dothat we created a log4j.dll that provides the log4j API (the parts we use) but then calls directly to log4net so it is using the same logging as the rest of the .net world.If anyone wants to use it - it can be found at ...

Publishing a project

393 byte By DiesIrae at 2008-3-6
I am trying to publish my project, but when I run the installer it dies because the the project has been improperly formatted. I have been unable to find any references to formatting during publishing, or even system requirements for the published version. If you have an easy solution or if you ...

jar API into J# Express - where do I find Visual J# Binary Converter Tool (JbImp.exe)

721 byte By hdb at 2008-3-5
I am trying to include an API into my project which is provided as a jar. I assume I need to convert it to a dll with the JbImp tool.Does this seem correct (i assume so from the doc and post http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=55927) but where can I find the JbImp.exe tool? It ...

microsoft word documents

187 byte By ferran at 2008-3-3
Hi, I'm trying to make an aplicarion that modifys a word document (plantilla.doc). I'm changing it byte to byte, but then I need cange its length. Is there an easyer method to do that?

j# compiling problems

322 byte By luthers at 2008-3-1
Hi, i've got visual j# 2005 (beta version). Every time i try running an application/program. The command prompt comes on the screen and dissappears after bout a millisecond, so you can't actually look at the output. Basically the command prompt should stay on the screen till i close it. Can ...

Java Cryptography Extension

176 byte By BoraErtung at 2008-2-28
The Java to .NET converter; does it also fully convert Java code written with JCA cryptography extensions? Thanks in advance Bora Ertung NeuroDNA Computing Research

Adding an Access Connection to Visual J# 2005 Express beta 2

646 byte By hdb at 2008-2-27
I have been trying to add a new data source to a J# application under Visual J# 2005 Express beta2 that I downloaded a few days ago.I select the Microsoft Access Database File (OLE DB) and specify a path and the 'Test Connection' button works. However, when I validate, I get the message 'The ...

J# limits

756 byte By kil4h at 2008-2-26
Hi, I just saw this from Andrew Binstock article ( http://www.devx.com/SummitDays/Article/6918) - the J# does not support applets, the Java Native Interface (JNI), Raw Native Interface (RNI), or remote method invocation (RMI). J# is intended strictly for stand-alone client-side software -- could ...

Java Conversion Assistant from VS2005 beta dosn't work

681 byte By earth2 at 2008-2-25
Hi all, I installed the beta version of the VS2005, and tried to convert my java client using the built-in JLCA 3.0 beta. (File -> Open -> Convert -> Java -> Other Javas) Once i finished specifing the directory i wish to convert and press the FINISH button, two warning dialog box ...

java (J2EE 1.4) convert to J#

339 byte By Alexei_shk at 2008-2-24
Hi,I want to convert my application in java (J2EE 1.4) to J# with minimum changes.Where can I get the script?Thank'sAlexei(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 ...

Error Configuring Web Site

1403 byte By barbbayne at 2008-2-23
I am using Visual Studio 2005 Beta 2 - I have completed Soup-to-Nuts 1 thru 9 doing them in Visual J# and have had to create all added code and files that appear from one lab to the next, not to mention the problems with the differences in ADO .Net with datasets and table adapters anyway I have ...

java.util.zip.ZipFile performance problems

776 byte By insanepickle at 2008-2-22
I've been extremely pleased with the J# technology, however I am experiencing serious performance problems using java.util.zip.ZipFile to open large zip files. My test is this simple: public static void main(String[] args) throws Exception { long t1 = System.currentTimeMillis(); ZipFile zip = ...

Generating XML documentation for J#

532 byte By LoriMOlson at 2008-2-22
I'm trying to port a core library written in Java to J#. It has worked well so far. But now I need to create .NET compatible documentation for this library, and I'm having problems. I know I can make Visual Studio 2005 generate an XML documentation file for my vjsproj, but I need to do this ...

Error Configuring Web Site

1403 byte By barbbayne at 2008-2-21
I am using Visual Studio 2005 Beta 2 - I have completed Soup-to-Nuts 1 thru 9 doing them in Visual J# and have had to create all added code and files that appear from one lab to the next, not to mention the problems with the differences in ADO .Net with datasets and table adapters anyway I have ...

Error Configuring Web Site

1402 byte By barbbayne at 2008-2-20
I am using Visual Studio 2005 Beta 2 - I have completed Soup-to-Nuts 1 thru 9 doing them in Visual J# and have had to create all added code and files that appear from one lab to the next, not to mention the problems with the differences in ADO .Net with datasets and table adapters anyway I have ...

Access SQL Server from J#

227 byte By ferran at 2008-2-19
Hi, I'm triying to make a visual java project that includes a SQL server database and I don't know how. It's the first time I do that. I have made the SQL database, but I don't know how initiate the connection with it.

Running a Simple Program in J#

299 byte By Mrs.B at 2008-2-18
I created my first application in J#. In the Form1_load procedure I put System.out.println("Hello World"); I build the application. It compiles clean. How do I run it? It's not too obvious. I did install the J# Redistribution Package. HELP! This is so simple.. but I'm stumped!!!

Reference statement does not compile

799 byte By AlexBB at 2008-2-17
Hi there. I am making my first steps in J# as well as .NET in general.I got a form with a linkLabel on it and in the procedure InitializeComponent () I added this statement: this.linkLabel1.Click += new System.EventHandler(this.linkLabel1_click);I was able to compile a similar statement in C# ...

Simple Echo Server

4677 byte By kihap at 2008-2-16
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, ...

How to send authenticated mail (smpt) with j#

30 byte By O.S.S at 2008-2-15
can any1 help me out....

Assembly info Attributes

1564 byte By barbbayne at 2008-2-15
Hi,I am looking at accessing the attributes that you can set in the AssembyInfo file( I am attempting to do Soup to Nuts lab 5 using Visual J# ) there is code written in VB and C# to access these events, the closest I can come up with, with the help of Instant J# converter is: Assembly asbly = ...

plz help

696 byte By thebeek at 2008-2-15
HI,i need to know all about visual J# it's a homework in University of Programmingplz if anyone know a page of Visual J# where is all the information like a) Descriptionb) OS which supportsc) Requirements of systemProcess of Installing the Visual J#how to activate, configure, and test the ...

Data Base Mapping

539 byte By JavaProgrammer at 2008-2-15
I had a program made in Java language and i want to convert it into j#(Use it in J# environment),this program contains database connectivity using java style. try{ Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); conn=DriverManager.getConnection("jdbc:odbc:inventory","",""); ...

Delegate Functions

1412 byte By barbbayne at 2008-2-15
I have been trying to understand Delegate Functions - I am able to store multiplefunctions in one Delegate by using something like: public void add_MyEventHandler( MyEventHandler listener){ if (MyEventHandler != null) { MyEventHandler = (MyEventHandler)System.Delegate.Combine(MyEventHandler, ...

Delegate Functions with Arguments

4225 byte By barbbayne at 2008-2-14
Hi,I am trying to get Delegate functions to work with parametersI added "String str" to the Delegate declaration at the top and then to boththe functions f1 and f12 - . Taking these out and having no argumentsallows the code to compile and run ok - Trouble is putting these in and thecode gets ...

Support for Code behind HTML in IE- after KB896727

220 byte By Maruti at 2008-2-14
We have an application that uses code behind HTML. It stopped working after the KB896727 Hotfix update, on all client machines with Win2K and WinXP OS and IE 6.x browser. Is there a work around for this problem. Thanx

Java Conversion Tool Help

646 byte By BobTheHacker at 2008-2-13
I installed Beta Version II of the IDE and Java Conversion tool. When I ran the tool it appears to have run fine. The problem however is that when I click on the correction links to get the examples on how to convert some of the code it can not find the help. I did a full install of the MSDN ...

Difficulty in inheriting Abstract Class

4396 byte By barbbayne at 2008-2-13
I am trying to work thru Visual Studio Hosted examples using J# - The examples only discuss C# and VB so I am trying to come up with the equivalent J#.I am stuck on code similar to the following: ( I have simplified it a bit to what is inthe example - the example using C# ) Add Class: ...

Using a checkBox in a datagrid

623 byte By YiannisPiros at 2008-2-12
Hi! I have designed a dataGrid and added a template column with a Checkbox in the item template. I am trying to get the event that is raised but the item Command event handler does not respond to it...I am also trying to make some of the checkboxes in the data disabled is that possible?Please ...

Microsoft Java++, Sun Java, Redhat Java

209 byte By DarwinWright at 2008-2-11
I need to develope in Microsoft Java++. Can I port to SUN Unix, RedHat Linux, SCO Unix. If it is possible to port, will the application run the same in all the platfoms. Can anyone please give me advice?

Mac Address

156 byte By Ksa_Java at 2008-2-10
Hi ,, How Can i Get the Client <strong>Mac-Address</strong> using <strong><font color="#006400">J#</font></strong> ? and thank you v.much For helping :)

System.InvalidOperationException Every Time I try a particular Web Reference

3076 byte By Aleksei at 2008-2-10
Greetings Fellow J# Developers! I am currently working on a project which requires me to make references to the Autodesk Vault Web API. This API apparantly at some point passes in an array of INTS or LONGS. Although I cannot post the code from their end (on account it is closed source), I can ...

InetAddress.getByAddress() missing?

324 byte By Yaron at 2008-2-8
Hi, I'm using Visual J# 2005 Beta 2 and when I try to use InetAddress, I only get 3 available methods: getAllByName(), getByName(), and getLocalHost(), but getByAddress() is missing. Does anyone know why this is? How else can I retrieve an InetAddress object with just an IP address? Thanks, ...

Creating a Dataset - by dragging table from MYSQL database

614 byte By .NetPro at 2008-2-8
With Oracle database, I used to be able to create a dataset by making a database connection in the server explorer and dropping the table onto the dataset designer view.Can you advise if the same would work for MySql database and how.I get the foll error :Mouse drag opertaion failed.The table, ...

java (J2EE 1.4) convert to J#

339 byte By Alexei_shk at 2008-2-7
Hi,I want to convert my application in java (J2EE 1.4) to J# with minimum changes.Where can I get the script?Thank'sAlexei(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 ...

100% CPU usage !!

317 byte By microuser at 2008-2-7
hellow to all ..i am runing visual j++ 6.0 on my centrino 1.6 and 512RAM ... and i am amesd that the j++ take 100 CPU usage and i can't even use it the laptop is so slow and i can not function at all !!not just on my laptop , my friends tould me the same ! i am runing windows xp sp2 ..hellppp ...

a Bug error !

322 byte By microuser at 2008-2-7
hellow to all ..i have microsoft j++ on my pc and the .net ...i am trying to run a program that is made from a java applet , when i run it it open's exploer , and then i recive the microsoft colse message from the internet exploer ! any one have anyidea what is the reason and how can i solve ...

How to read JPEG in .NET

1515 byte By VijayL at 2008-2-7
How can I read JPEG, GIF and PNG in .NET if I am using J#? I know one solution: I can use System,Drawing.Bitmap to read JPEG/GIF. Use Bitmap to do further processing and then save back as JPEG. Problem with this solution: - Bitmaps take more space than JPEGs. - This is not an elegant solution, ...

VJ# docs

43 byte By Cross at 2008-2-6
Why aren't there any books on VJ#?

opening a Form in a form

450 byte By Shagey at 2008-2-6
hi...im trying to make a program through visual j# that is going to need more then one window to operate.....for example if you were to click a button labelled "Create"...a new window would open up asking you for information......im not sure how i would do this....im guessing opening a form in ...

Simple Client / Server app, not working?

3729 byte By Yaron at 2008-2-5
Hi, I am using VS.NET 2005 beta 2, and I'm having a problem setting up a simple console client / server application using ServerSockets and Sockets. Using my code, the server gets up and running, and receives a connection from the client. However, for some reason I cannot send information to ...

MySQL Managed Providers

407 byte By Trenton1 at 2008-2-5
Is this what I should be using with a MySQL database? http://sourceforge.net/projects/mysqlnet/My application is a for church management and consists of numberous fields for data entry. How do I go about connecting the app. to a database (of any kind)? Do I use datasets?Thanks! ...

Create Class Designer values

591 byte By SchildB at 2008-2-4
I’ve created a class in the Class Designer (VS200 beta 2) that contains four parameters. Three of them are strings and one is a date. When I click on Create Instance and go to enter the parameters I can’t find a date format that it will accept. What is the format it requires? ...

J# Books & Questions

625 byte By Trenton1 at 2008-2-4
I'm a new developer and am planning to write an application for church office administration. It would keep track of facility usage, payroll, members, attendees, donations and general accounting. I've looked into a couple different languages and have narrowed it down to J# or Omnis Studio ...

Problem:convert java class file to dll with Jbimp

3587 byte By Le.Wang at 2008-2-4
Hi,I want to connect Joram JMS Server with .Net, I wrote a small java program "TestSend.java" , and it uses the APIs as jms.jar, jndi.jar and so on to send messages to the local JMS server with JNDI. Its source code is:import javax.jms.*;import javax.naming.*;import java.util.Hashtable;public ...

J# .NET 2003 Redistriuteable 1.1 Install Problems

339 byte By CrashCreator at 2008-2-4
I was installing J# .NET 2003 when in the middle of installation of the redistributable packet my computer crashed. I am trying to reinstall but it always fails. I believe this may be due to the fact that it cashed when insalling the first time so there are still partsof it installed. How would ...

connection to the remote computer by socket

481 byte By asilter at 2008-2-3
the computer which i want to access from my home is the computer of mine in the company. and i want to do this with socket programming.i will execute a java program listening the port 5101 for example. my intranet IP is 10.10.20.84 so how can i create the socket? Socket clientSocket=new ...

VjSharp newbie

4851 byte By Nip at 2008-2-3
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; ...

Problem in loading an applet with MSJVM

982 byte By Maruti at 2008-2-2
We have a code behind HTML applet, this applet gives the following error when we try to load it "Can't get WFC form surface" on Windows XP-SP2 machine. The IE version is 6.0.2800.1106. The same applet used to work on the same machine sometime back. When we searched in msdn we found the ...

user.dir for Microsoft Java VM

339 byte By staja2 at 2008-2-2
Is there any way to set the default working directory (system property user.dir) for all Java applications run on a system (via a registry key, etc)? I know how to do it programmatically for one application, but I'd like to make the setting apply to all applications running on a workstation. ...