Call VB Program From Java?
May 2, 2009I 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 RepliesI 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 RepliesIn one of my vb.net 2008 application i have called a java class file through batch process which creates txt file and jar file and put in app path folder.[code]...
View 1 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 need to run a small piece of java code (java is the only option in this case) I have the jar file in the VB.net resources as JSSMCL(the extension is not required to run it, of this I am sure :P) I know I use Path.GetFullPath(My.Resources.ResourceManager.BaseName) but no mater how i do it it fails, i have tried so many ways i have lost count! this is the command that i need to run:
java -cp "JSSMCL.jar" net.minecraft.MinecraftLauncher username false
I have an ASP.NET application with a button that executes VB.NET on the server when clicked. Specs have changed, I've added a menu of sorts which is to replace the VB button. With some from S.O., I've managed to manipulate some javascript which does a postback and executes the button's code. I figured I could just make the button invisible and still be able to call it's on_click event from js. How wrong I was!
So now, somehow I'm supposed to call a VB sub from either javascript or (boss says) ajax. I have no idea how to do this. Could anyone give me a good direction as to how I can call a VB.NET subroutine from ajax on the client? Or javascript?
I have recently found out that no argument constructor and multiple argument constructor cannnot call each other in turns. What is the underlying reason of this limitation? Some might say that constructors are where resources are initialised. So they must not be called recursively. I want to know if this is the only reason or not. Functions/methods/procedures can be called recursively.
View 5 RepliesI have an application in VB.NET. I want to call that application from a remote system by using Java servlets. Can anybody tell me the methods for that?
View 1 RepliesI want to launch a java executable (let's call it MyApp.jar) from .Net using System.Diagnostics.Process.Start. What's the syntax in VB.Net? The command line syntax is this (if I recall it correctly - because i tried it a few days ago and it worked).
java.exe -jar MyApp.jar pathToSourceFile pathToDestFile
How do I run this command in VB.Net, using System.Diagnostics.Process.Start, assuming I have the following three string variables in VB.Net
pathToJavaExe
pathToSourceFile
pathToDestFile
Can someone convert this java code into Vb.net? because i'm dont understand in java language.[code]...
View 4 Replieshow to translate some VB.net program lines into Java? I made some jLists but I don't know how to show files like I did in VB.net.
View 3 RepliesI am trying to click a button but i cant figure out how to if it's a java button. I want to click it using my webbrowser in vb.net. [code]...
View 3 RepliesHow do I reach the bit.ly API with VB.net 2010”is it even possible? How?
View 2 RepliesI have a DLL that was used by Delphi and now I need to call it from VB.NET 2008. The documentations for the function is[code]...
I supply a RS232 port in the COMM_INFO structure and the function is supposed to return a result of type IFL_RC and a ConnectionID. [code]...
I'm trying to call other EXE's from my program I'm writing. Inside my project I have a folder called progs with exe's inside it. How can I call these from button clicks?
View 10 RepliesHow can I get my program to take a number from an Access Database and by using the internet call the persons number. I will have a pre-recorded message that I want the program to use when it makes the call, but my main problem is I can't find anyway of getting the program to make the call using the internet.
View 1 RepliesI have written a set of functions in VB 9 that I want to be able to call from several different programs (also VB 9). I compiled the functions into a dll and I am attempting to call the functions but to no avail. Within the dll project, the class is Public as are the Functions.Within the exe project, I have declared the dll functions using Declare statements of the following form:Public Declare Auto Function FunctionName Lib "DllName.dll" ( ) As String.I thought that this was all that is required. It builds fine but when I attempt to call the dll functions, no entry point is found.
View 3 RepliesI am the author of the MAPM arbitrary precision math library. This is a library which allows the user to make any calculation to any desired precision level. The library is written in straight ANSI C.
On many occasions, I get an email on how to use the library from a VB.NET / Visual Basic application. I have very little basic experience, and I don't know what to tell them. I would really like to tell them how to proceed to call MAPM from a basic application.
Let's assume they can compile the library with a C compiler and create a DLL.
I have created two forms in vb.net. From the first form when i click the "delete" button the form2 has to get displayed. I tried new form statement. But it is showing a blank form. I want to display the second form which i have created.[code]...
View 8 RepliesMy name is malky, a programming student currently learning visual basic 2010. I mostly know basic level of programmming (such as playing around with textboxes and such) and for my next project, I need to be able to call an executable file (the On Screen Keyboard to be exact) as my program first loads.
View 18 RepliesI am working to a VB.NET windows forms projet in .NET 1.1. And I have this type of architecture, very simplified.[code]...
Depending of the type of test I am doing I create an instance of a specific test derived from BaseTestLogic. But I found that after hundreds of object creations I can have StackOverflow exception.
I checked my code and saw that I forgot to remove the handler to Timer Tick. The question is, where and when is it correct to remove hadler?
Do I need to implement the IDisposable interface in the base class and RemoveHandler in Dispose?
I have created a item in my VB.NET web based application and called it testpage.htm
Thai piece of code displays a button to click followed by a message.
How do I call this piece of code from VB.NET? so the button and message will appear on the client's desktop?
How to lock the screen (most important), change the sound, lock the keyboard and etc using VB.NNET?
I know it's quite easy to do it using C++ .Net
I have an existing program, and it uses DLL files to do things I wish to implement a DLL in VB.NET the DLL's are not COM, they are standard call the method or function type DLL's
How would I implement the following in a VB.NET DLL extern "C" void __Export_TYPE HelloWorld(char *path)
I want to create a vb.net program to install a .exe package which requires selection. A user must choose a group name from the list . The list should have id number i.e. 1 to 100. Instead of copying the value name it should take the id number and insert into the below line in the Groupid part.[code...]
i have created the form and the listbox .I have played with Processstart to call that SSetup but i can't get it to work.
I build two programs, 1 - bootstrap and 1 - mainprogram
now, mainprogram has 2 constructors, the default and the one which i defined and it accepts an integer the default constructor checks the variable named iscalled a type of integer to have a value of 1 or zero, if its zero then it should shows a message saying "Improper initialization" then exits..
What I mean here is, mainprogram should only run if its called by the bootstrap program.
I am struggling with this program which uses emgucv(an opencv wrapper for .net) for about 2 weeks. The problem is unfortunately not programming, but setting up emgucv in such a way that it works. I didn't manage to do so for vb.net so I tried doing it for ironpython(because I know python too). Emgucv seems to work perfectly when using ironpython, so I created a function that takes an image as an argument and analyses it in the way I want, returning another image with the results in it. The problem is I want to call this function, giving it the image argument(it could be a string containing the path) from within VB.net and become another string containing the result image as return. I later plan to package that project in a setup so I can redistribute it.
View 1 RepliesI'm looking for a more elegant way to work around a problem I have
Code:
Private Sub MnuCheckForUpdates_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MnuCheckForUpdates.Click
Dim startInfo As New ProcessStartInfo(mStartUpPath & "" & "Updater.exe")
Process.Start(startInfo)
End Sub
As you can see I�m calling my updater program, but I want some code to run only after the Updater has closed.My work around was to:
A - Initially load the updater.
B � Start a time
C � Check if the updater is still running.
D � If its not call the routine in the timer event.
But this is not elegant is there another way around this, I can call events in the updater but I don�t think I can join them in someway to ProcessStartInfo Class .
How would I call like notepad and tell it to write words in it? E.g. When I click on button1 it opens notepad.exe and writes "hello word" in it.
View 12 RepliesI have java script in my page and i want to call it from vb.net code behind from function AND didn't want to call it (onload or onclick or any similar event) but i want to call it from function doing looping.so it will be run more one time
View 2 Replies