Call Windows API Using Program?
Apr 23, 2009How 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
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
Title explains it what VB code could i use to have windows copy a folder and display windows progress bar?
View 1 RepliesI want to question how to call bat file in windows service using vb.net. This is my code:
Imports System
Imports System.Collections.Generic
Imports System.ComponentModel
[code]...
this service created in service windows(service manager windows), but when i start this service not happening. What wrong in my code
Can somebody tell me the steps to follow so that i can call my windows application (.exe) file from my windows service in C# (.Net 2003
View 2 RepliesI want to know how to call Windows Built in Calculator in Vb6 on Command Button Click or on Clicking on Menu "Calculator" in Menu bar
View 3 RepliesI am trying to initiate a call to a specific number from within a button in my application. I found example code on MSDN, but can't get it to work properly, and I think it is for the .net compact framework, not WP7.All I want it to present a button to the user which, when clicked, calls a predefined number (after asking the user if it is ok to call).
View 1 RepliesI want to detect when employees in our company are shutting down or restarting their computers. Is there a Windows API Call that will do that which I can hook onto? I found WindowsExitEX but it actually restarts the computer!
View 2 RepliesI have written a windows service to do some operation (in .net), im calling the same in .net it works quite fine without any issues. Now my problem is i need to call the same service which is written in .net from an VB application.
View 4 RepliesHow can i call an html to a form? I have a windows form then i need to call an html to it.
View 16 RepliesI have created a Windows Service that I am trying to use to call an Emergency Alert program that checks a database to see if there is an alert to display. This is the Timer in the Windows Service that I call the Emergency Alert program from.
[Code]...
I know that it's possible to Call a stored procedure from a Windows Application made in VS 2008. But, is it also possible to Create one? If so, isn't it possible for someone to create a SP that will delete all the data in a DB,when executed? Is there a real danger that someone could use an application that communicates with a DB to create such a procedure?
View 7 RepliesCan I connect phone landline to my computer and when someone call me his information appears by his phone number this information already exist in database.. I want to know is it a service from communication company or can i do it by code just plug the cable into my computer ?
View 1 Repliesmy windows forms printdialog doesn't appear when i call showdialog.[code]
View 5 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 have a Deployment project which creates an MSI setup file to install a service. (VB .NET) I have a reference to another project which is a win form application and has a setup form which takes the user name, password and some other settings information which will be used by a service. It has "Finish" and "Cancel" buttons. I am creating a new instance of this form on Sub New() of the ProjectInstaller Class, so user can input information, click Finish and installation completes. The service is then automatically started. Now, when I click Cancel on the settings form, I am not able to exit out and halt the installation process. Instead it installs the service !! How can I use the Rollback or Uninstall methods to do the task? I was trying this -
On cancel_click, set boolean var cacelStatus = True
On Sub New() method of ProjectInstaller class, I am checking - If true - uninstall, else - install
How can I achieve this?
I am working on moving applications from Windows 2000 to new server Windows 2003 R2(64 Bit). I noticed that there are some VB programs and config files for those programs have been placed in Windows 2000 Registry. Some other applications are using them from different servers.Why do we use registry here? How can i move these to registry in windows 2003? Can I just move these or do I have to write VB programs to place them in 2003 registry?
View 1 RepliesI have a .net Windows Service developed in VB.net. I have a settings file in the root directory called Connections.XML and I am setting the basedirectory [code]...
When I schedule the service this is working absolutely fine in my Windows XP machine. But when I installed the same service in our development server (Windows 2003 64 bit Server) for some reason it is not able to locate this file.
will an program built on windows 7 using vs 2008 or 2005 have the compatibility with windows xp or vista
View 5 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 RepliesI 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.