Run 32 Bit Java Dll On 64 Bit Machine?
Mar 11, 2010I have a 32-bit java dll which i need to call from a asp.net application on a 64-bit machine.
View 1 RepliesI have a 32-bit java dll which i need to call from a asp.net application on a 64-bit machine.
View 1 RepliesI develop an application using vb.net.application will run on client server architecture.when we try to execute the program in client side then it will give me an error which is related to sqlclientexception.how can i handle this situation.i used vb.net 3.5 as front end and sql server 2000 as back end.i have done total coding with system.data.sqlclient namespace.
View 6 RepliesI've inherited a lot of custom made software for an office, and, while managing it, I've found it performs differently from machine to machine.I mean, some controls get painted in weird ways in some machines but well in another, or just work differently, like in some machines clicking something selects it, and in the next machine clicking the same thing makes it editable.I suspect, o course, of the myriad of DLL the software loads
View 2 RepliesI want to block a perticular machine from accessing my machine..Both the machines are in LAN..I dont want a perticular machine to access my computer How can i achieve this...I want to do this using VB.NetAny idea....
View 9 RepliesIn VB.NET there is the WITH command that lets you omit an object name and only access the methods and properties needed. For example:
With foo
.bar()
.reset(true)
myVar = .getName()
End With
Is there any such syntax within Java?
existing tool which converts VB.NET Code to Java.
View 1 RepliesPossible Duplicate: WITH statement in Java? does anyone know if there is the With Keyword in Java?
View 4 RepliesI need to reference a C++ dll from my Java project. The method that I need to expose is actually written in Visual Basic. Is there any way to access the Visual Basic code in C++, so that it can eventually be accessed in the Java project?
View 6 RepliesI want to convert java file into vb.net files
View 2 Replies`I want to encode my string using .net and pass it to a java program. I am using the same program for encryption and decryption on both the sides. But the java program and .net programs are returning different MD5 hash codes.Here are the codes for both my programs :
VB.net
md5Provider = New MD5CryptoServiceProvider()
input = UTF8Encoding.UTF8.GetBytes(sSecurityKey)
oHash = oMd5CryptoServiceProvider.ComputeHash(input)[code]....
The problem is that m.digest() from java and oHash from vb.net are different. So i cant go further with DES encryption.
Is there any code in vb.net or java to get ID of computer >>?? I want to write a program which could get id of computer in order to make a license of software like microsoft did ?
View 2 RepliesMy problem is actually a bit more complicated than just how to use AES in VB.NET, since what I'm really trying to do is use AES in VB.NET from within a Java application across JACOB. But for now, what I need to focus on is the AES implementation itself.
[Code]...
I'm trying to compile java files in a folder that contains a batch compiler. The application starts the compiler and redirects the output to a textbox in the form.
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Dim mypro As New Process()
Dim myproinfo As New ProcessStartInfo(FolderBrowserDialog1.SelectedPath + "/compiler.bat")
myproinfo.UseShellExecute = False
[code].....
My compiler is like this.
@echo off
Title Compiler
"C:\Program Files\Java\jdk1.6.0_01\bin\javac.exe" *.java
pause
I have a bit of an issue.I have a ton of functionality written in java and have been asked to investigate how to consume it from a .net application.Can anyone point me in the right direction as I havent a clue.For some reason wcf came to mind but I am pretty certain that wont fit. AAAArrrrgggghhhhh
View 2 RepliesIn java I would Write:
if (something != bla || something != bla){}
How is this written in visual basic?
This program consist of addition, subtracting,multiplyin and divide,..all my calculations here are workin right but i need help setting up the a statement which display diff instead of sum...this is saying that im gettin for example 5 -4 equals 1..but instead sayin this diff 5 4 1 ..it says sum 5 4 1 ..as u can see i does get the result but i want to replace the sum for diff.[code]...
View 2 RepliesHow can I call Java function to VB.net window application?
View 2 RepliesI had deploy a program to call Java Web services from VB.net . Below is my code:
[code]...
after run the code, I had get soap error code 500 after soap.send(), is that anything wrong with my program ??
I was wondering if someone could tell me the best way to call a Visual Basic program from Java. I have a few VB applications that I want to run from a Java application that I'm building.
View 1 Repliesknow about below queries,
1) How to Call Java base API's Through VB.Net 3.5
2) Is it a feasible approach to call Java API's through VB.Net as these 2 are different platform?
In order to call a java class in vb, I found the following procedure and I tried.
(1) create a java class (eg: MyTest .java)
as
public class MyTest
{ public int myfunction(int value1, int value2) { return value1+value2; }
(2) compile to get a MyTest.class
(3)register Mytest.class using javareg.exe file from Microsoft SDK for Java using javareg /register /class:MyTest /progid:MyTest and see a MessageBox displayed with Succesfull register Class message
(4) copy MyTest.class to C:WinntJavaTrustlib
(5) open a New Project on Visual Basic. And paste this brief code on the Form Load event for example and run it. Set x = CreateObject("MyTest") MsgBox x.myfunction(1, 1)
I did all the above steps but when I run the vb program (Step 5), I get the error message "Cannot create ActiveX component". Unhandled Exception message.
I am using Java 1.5 and Visual Studio 2008.
What is the best solution (if any) for calling a vb.net web service with Java / JSP? If anyone could point me to any examples / references.
View 3 RepliesI have written some classes in C# and compiled it. Now I have the library file for these classes. Can I use the same dll with Java?I do not want to write it in Java once again because I am writing the same program in different languages (trying to do so)
View 2 RepliesI have developed one project by using JAVA and swing.Can i convert that project to as .net project?
View 3 RepliesCan someone convert this java code into Vb.net? because i'm dont understand in java language.[code]...
View 4 Replieswhere i can find the converter of code from java to vb.net.
View 2 RepliesI have a class in java "Main.class", wrote and stored in %TEMP%. When executing the class through VB.Net Shell, eg:
Shell("cmd.exe /k java %TEMP%Main.class")
Also when trying to execute manually through CMD: "java %TEMP%Main.class", I am returned with:
Exception in thread "main" java.lang.NoClassDefFoundError: C:UsersBenAppData
LocalTempMain/class
Caused by: java.lang.ClassNotFoundException: C:UsersBenAppDataLocalTempMai
n.class
[code]....
However, when I execute Main.class manually through compile.bat - the class runs fine. What is the reasoning for this?
how to design a JAVA EDITOR using VB.NET please....
View 5 RepliesI am working on a Java project and I am having some difficulties with importing a .class file. Unfortunately I do not have access to the source code of the file?
View 3 RepliesI am converting java code to vb.net and this line of code gives me different output in enclipse than one in VS.
req1.set(req3, Integer.valueOf(((Integer)req1.get(req3)).intValue() ^ ((Integer)req6.get(req3 + 256)).intValue() & 0x1));
System.out.println(req1.get(req3));
[code].....