Call Other EXE's From Program?
Jun 3, 2011I'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 RepliesI'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 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]...
How 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?
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 RepliesHow 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 .
In 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 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 RepliesI wanna do something like this. I connect to my phone using com port then I wanna make phone call by using vb.net.
View 3 RepliesI want to call a function in asp.net with vb.net when browser is closed. But I want only browser close, not tag close and other.
View 1 RepliesI need to be able to kick off a vb.net program on a windows server from a unix shell script on an AIX server. What what I need to do to make this possible? I'm a newbie on the .Net side, but I was thinking, maybe make the vb.net program some sort of web service then have the unix shell script invoke that somehow
View 2 RepliesDoes anyone know how to call an InfoPath form to open from VB? The form is located on a webserver so the path would be something similar to[url]...
View 1 RepliesI have LaPack numerical package , I want to compile with Visual Fortran (INTEL) using vs2008.I want to use the routines from a VB.NET program.How can I call the routines from VB ?
View 9 Repliesi want to know how can i call other files that i programmed to the main program?
View 1 RepliesIs there a way to call a running application (my own) and read properties from it? In this case read and get a collection of objects and put it into a similar collection.
View 4 RepliesI have a SSRS report that contains a parameter called @playerID
what coding I need to add so the report can be run using the parameter?[code]...
I just have a simple vb.net website that need to call a Sub that performs a very long task that works with syncing up some directories in the filesystem (details not important).
When I call the method, it eventually times out on the website waiting for the sub routine to complete. However, even though the website times out, the routine eventually completes it's task and all the directories end up as they should.
I want to just prevent the timeout so I'd like to just call the Sub asynchronously. I do not need (or even want) and callback/confirmation that it ran successfully.[code]...
My program hangs during debugging at a breakpont set at a subroutine call. It hangs on breakpoints anywhere inside the subroutine also. But does not hang otherwise at other locations where I have set breakpoints.
[Code]...