473,796 Members | 2,520 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Using Java classes from VB.Net

Hi

I have to use Java classes from a VB.Net application. I never did that. How
can I use these classes ?

The Java library was provided to me by FundServ. Anyone know it?

The library is provided as .jar file.

TIA

Éric Moreau, MCSD, Visual Developer - Visual Basic MVP
(http://aspnet2.com/mvp.ashx?EricMoreau)
Conseiller Principal / Senior Consultant
Concept S2i inc. (www.s2i.com)
http://pages.videotron.com/emoreau/
Nov 21 '05 #1
6 2720
Hi,

There is the java to c# convertor.

http://msdn.microsoft.com/vstudio/do...a/default.aspx

Ken
----------------
"Eric Moreau" <er************ *********@video tron.ca> wrote in message
news:ON******** ******@TK2MSFTN GP09.phx.gbl...
Hi

I have to use Java classes from a VB.Net application. I never did that.
How can I use these classes ?

The Java library was provided to me by FundServ. Anyone know it?

The library is provided as .jar file.

TIA

Éric Moreau, MCSD, Visual Developer - Visual Basic MVP
(http://aspnet2.com/mvp.ashx?EricMoreau)
Conseiller Principal / Senior Consultant
Concept S2i inc. (www.s2i.com)
http://pages.videotron.com/emoreau/

Nov 21 '05 #2
But I don't have the source code of the FundServ library. It is a library
provided as a .jar file by the company.

From what I read from the link you have provided, I think I need the .java
(source code) file. I am right ?

--
HTH

Éric Moreau, MCSD, Visual Developer - Visual Basic MVP
(http://aspnet2.com/mvp.ashx?EricMoreau)
Conseiller Principal / Senior Consultant
Concept S2i inc. (www.s2i.com)
http://pages.videotron.com/emoreau/

"Ken Tucker [MVP]" <vb***@bellsout h.net> wrote in message
news:uH******** ******@TK2MSFTN GP12.phx.gbl...
Hi,

There is the java to c# convertor.

http://msdn.microsoft.com/vstudio/do...a/default.aspx

Ken
----------------
"Eric Moreau" <er************ *********@video tron.ca> wrote in message
news:ON******** ******@TK2MSFTN GP09.phx.gbl...
Hi

I have to use Java classes from a VB.Net application. I never did that.
How can I use these classes ?

The Java library was provided to me by FundServ. Anyone know it?

The library is provided as .jar file.

TIA

Éric Moreau, MCSD, Visual Developer - Visual Basic MVP
(http://aspnet2.com/mvp.ashx?EricMoreau)
Conseiller Principal / Senior Consultant
Concept S2i inc. (www.s2i.com)
http://pages.videotron.com/emoreau/


Nov 21 '05 #3
there is also a translator form java byte code to MSIL but they would
recommend translate from source code if at all possible
"Eric Moreau" <er************ *********@video tron.ca> wrote in message
news:%2******** ********@TK2MSF TNGP15.phx.gbl. ..
But I don't have the source code of the FundServ library. It is a library
provided as a .jar file by the company.

From what I read from the link you have provided, I think I need the .java
(source code) file. I am right ?

--
HTH

Éric Moreau, MCSD, Visual Developer - Visual Basic MVP
(http://aspnet2.com/mvp.ashx?EricMoreau)
Conseiller Principal / Senior Consultant
Concept S2i inc. (www.s2i.com)
http://pages.videotron.com/emoreau/

"Ken Tucker [MVP]" <vb***@bellsout h.net> wrote in message
news:uH******** ******@TK2MSFTN GP12.phx.gbl...
Hi,

There is the java to c# convertor.

http://msdn.microsoft.com/vstudio/do...a/default.aspx

Ken
----------------
"Eric Moreau" <er************ *********@video tron.ca> wrote in message
news:ON******** ******@TK2MSFTN GP09.phx.gbl...
Hi

I have to use Java classes from a VB.Net application. I never did that.
How can I use these classes ?

The Java library was provided to me by FundServ. Anyone know it?

The library is provided as .jar file.

TIA

Éric Moreau, MCSD, Visual Developer - Visual Basic MVP
(http://aspnet2.com/mvp.ashx?EricMoreau)
Conseiller Principal / Senior Consultant
Concept S2i inc. (www.s2i.com)
http://pages.videotron.com/emoreau/



Nov 21 '05 #4
Eric Moreau wrote:
Hi

I have to use Java classes from a VB.Net application. I never did that. How
can I use these classes ?

The Java library was provided to me by FundServ. Anyone know it?

The library is provided as .jar file.

TIA

Éric Moreau, MCSD, Visual Developer - Visual Basic MVP
(http://aspnet2.com/mvp.ashx?EricMoreau)
Conseiller Principal / Senior Consultant
Concept S2i inc. (www.s2i.com)
http://pages.videotron.com/emoreau/


Recently I've had to interface with a third party application which I
can only access from a command prompt, and I'm basically using (text)
files for passing the data to and fro. I feel a bit 'dirty' doing
things this way, but it works...

Maybe you could wrap your Java classes in an appropriate way so you
could do something similar?
Dim cl As String = "C:\\dostuff.ba t"
Dim startInfo As New ProcessStartInf o(cl)
Dim p As Process
startInfo.Windo wStyle = ProcessWindowSt yle.Hidden
p = Process.Start(s tartInfo)
Do While Not p.HasExited
' Wait
Loop
Nov 21 '05 #5
Hi Eric --

Hope it's not too late to reply.

You may want to take a look at JNBridgePro, our Java/.NET bridge. It
looks like it will solve your problem. For more information, see
www.jnbridge.com.

Wayne
Eric Moreau wrote:
Hi

I have to use Java classes from a VB.Net application. I never did that. How
can I use these classes ?

The Java library was provided to me by FundServ. Anyone know it?

The library is provided as .jar file.

TIA

Éric Moreau, MCSD, Visual Developer - Visual Basic MVP
(http://aspnet2.com/mvp.ashx?EricMoreau)
Conseiller Principal / Senior Consultant
Concept S2i inc. (www.s2i.com)
http://pages.videotron.com/emoreau/


Nov 21 '05 #6
Thanks for the reply

I found the product webpage.

I still haven't downloaded it yet but I will to see if if my problem will
get solved.

--
HTH

Éric Moreau, MCSD, Visual Developer - Visual Basic MVP
(http://aspnet2.com/mvp.ashx?EricMoreau)
Conseiller Principal / Senior Consultant
Concept S2i inc. (www.s2i.com)
http://pages.videotron.com/emoreau/

<wc*****@yahoo. com> wrote in message
news:11******** **************@ z14g2000cwz.goo glegroups.com.. .
Hi Eric --

Hope it's not too late to reply.

You may want to take a look at JNBridgePro, our Java/.NET bridge. It
looks like it will solve your problem. For more information, see
www.jnbridge.com.

Wayne
Eric Moreau wrote:
Hi

I have to use Java classes from a VB.Net application. I never did that.
How
can I use these classes ?

The Java library was provided to me by FundServ. Anyone know it?

The library is provided as .jar file.

TIA

Éric Moreau, MCSD, Visual Developer - Visual Basic MVP
(http://aspnet2.com/mvp.ashx?EricMoreau)
Conseiller Principal / Senior Consultant
Concept S2i inc. (www.s2i.com)
http://pages.videotron.com/emoreau/

Nov 21 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
6816
by: Ravi Tallury | last post by:
Hi We are having issues with our application, certain portions of it stop responding while the rest of the application is fine. I am attaching the Java Core dump. If someone can let me know what the issue is. Thanks Ravi
4
3428
by: angel | last post by:
A java runtime environment includes jvm and java class (for example classes.zip in sun jre). Of course jython need jvm,but does it need java class. Thanx
3
2247
by: Airness | last post by:
Hello, First of all, I don't write or even speak good english, so sorry for all the mistakes of this post. I tried to use Java classes from ASP. I used javareg to register my classes and called that classes from ASP with CreateObject. I did a lot of CreateObject in the whole site. That worked well. But my web site crashed when the load was increasing, contrary to the old version which used COM component.
2
1578
by: annie | last post by:
Hi all. Can Java classes/objects be used from within the javascript code on the HTML page? I.e., can I call a Java method from the javascript function? Thanks in advance Anna
2
9246
by: Kent Lewandowski | last post by:
hi all, Recently I wrote some stored procedures using java jdbc code (admittedly my first stab) and then tried to implement the same within java packages (for code reuse). I encountered problems doing this. I wanted to implemented a generic "Helper" class like this: /** * Helper
3
2763
by: rjaw | last post by:
Hi there, using the udb-type2-driver on z/OS DB version 7, we have a problem getting the connection to the database. The small program we use looks like this: Class.forName("com.ibm.db2.jcc.DB2Driver"); Connection connection = DriverManager.getConnection( "jdbc:db2:<database-name>", "<user>", "<password>" );
7
8438
by: Carolyn Vo | last post by:
Hi, How can I call Java classes from C# code? I've seen the call in ASP ("NewJavaObject"), so I'm sure that I can do something similar in C# code. Please please please help, thanks!!!
9
2722
by: TomC | last post by:
Is there any resource where someone who is familiar with Java might find which .NET classes are similar to classes they are familiar with in Java? For example, I have a project that I'd like to tackle as a learning project. In Java, I'd subclass the Panel or JPanel class. Is there someplace where a Java programmer who is learning C# could quickly find out what the analog for those classes are?
1
3869
by: aapexclient | last post by:
I have a problem with Java finding my custom class directory. I have searched the forums and tried everything, but nothing seems to work. The <javapgm>.java compiled cleanly and created <javapgm>.class. Error message is: Warning: java.lang.ClassNotFoundException: javapgm Versions of software: Apache 2.0.59(Win32) PHP 4.4.4 Java 1.5.0_01 Windows 2000 5.0
0
9680
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9528
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10456
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10012
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7548
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5575
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4118
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3731
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2926
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.