I need some assistance in creating a program that logs all the processes that the Application does. I want the program to log every process, the Username, any error messages,the date the process occured to a textfile. I attached is the code that I have put together. Have issues getting the processes to be Logged.
I am working on a project that is used for key broadcasting. Don't worry nothing illegal, I'm making a multibox application for world of warcraft. However I am having trouble when it comes to launching and manipulating other applications from another.
Im am trying to get two separate applications to communicate with one another via a txt file. The first application writes to a txt file every even second and the second application reads the text file every odd second. The problem is Im getting an exception saying The process cannot access the file FILE_PATH.txt' because it is being used by another process. Not sure if my code is correct or not? Or if there is a better way to do this?
Using: Visual Studio 2005.We are developing three different applications. We currently have 4 different modules that we all share among our applications. When a change is made to one of the modules, we must make changes to the other two modules.If it is possible, how do you (where do you) create a single location for one file to be shared among three different applications? Hopefully this will avoid the unnecessay task of changing a file three times.
I am working on a Windows Service application in VB.net 2008. The main objective of the application is to monitor starting and stopping of applications listed in a file. I build the service as system level by using
mManagementStartWatcher = New ManagementEventWatcher("Select * From Win32_ProcessStartTrace") AddHandler mManagementStartWatcher.EventArrived, AddressOf
I am working on a project I have a form that contains a web browser and I want to write a function that will place the Source (HTML) of the page in a text file I have put some code together it doesn't throw up an error but at the same time doesn't work:
I need to get a button to enter the applications subfolder and randomly select 1 file to be played in the windows media player COM which i have put in the form. I have tried creating a shuffling playlist but i cant get it to stop after one file is played (it just goes on shuffeling to another file, and i really do not want a playlist). I manage to create a batch file to be started to randomly pick a file in that folder, but when i do this the file is being played in the systems default player..
Is there a way to, when a parent application is opened up, that at the click of a button, or anything of designated event, that this parent application can open a secondary one?
Currently I am saving data from my applications by saving a text file via a stream reader as a string. I have come to a problem. In my current application, I have an array of the following structure:
In the above form the user will first enter a folder name and click the create folder button,then the folder will be created in the applications bin folder.I did the code for this:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click If ComboBox1.Text = "" Then
I made a quite big application and wanted to test it out on my other pc but it didn't even start and gave the system.InvalidException error.
I just the build-function to compile my project. It runs fine on the pc where i developed it. It has some dll's in it: mysql-connector, twitterVB and zipforge.
I'm a new programmer and I'm looking for some guides/series, or something like those, that basically walk you through building some sort of application. For example, I used to buy little sets/kits from radioshack that walked you through building a clock, radio, etc., or other little electronics devices. The kits came with all the parts and instructions so you just assembled them. Hence, I'm just looking for something similar to that for vb, minus the components obviously ;-). I like to learn through hands on experience so I'm just looking for some guides that have you build a program and briefly go explain the workings of the code.
is it possible to use same database for both vb.net appplication and asp.net??and if is possible, how can to connect it?now..i'd build vb.net application and asp.net in my laptop...it can connect..but i wonder how to make the database connect for vb.net and asp.net in real..
I want to code an app with recreational purposes. This should be a Desktop app that detects itself running on other computers on the same LAN and communicates with them. By communication I mean that I should be able to pass anything from on to another. note that although I'm not asking for code (that would beat my purpose, of course) I think some small snippets wouldn't hurt. In any case what I really want is the "recommended procedure", I mean what Microsoft recommends for this environment, and documentation :)
I'd like to know what the best way to communicate between two applications via a LAN would be? ..and would it work over multiple versions of Windows (XP, Vista, NT etc..)?
How can I get all of the running applications? If I have to use Process.GetProcesses, then how can I determine which are applications (appear in the task bar)?
I need to understand if I can integrate two applications... one which I purchase, and one which I will write in VB. What my application needs to do is to retrieve data from the purchased application form and then update back to the purchased form fields.
I am writing a basic little program. Amongst everything, my program will let you install printers remotely, To cut a long story shot I don't want to use the rundll32 shortcut to install as you can only remove the printer using rundll32 again which I don't want.
The way I wanted to do it is create a VBS script and execute it remotely using psexec. This didn't work for some reason, locally the script works fine but when executing it remotely the script runs but doesn't perform any of the actions inside the script.
The only other option I can think of is launching the VBS via WMI. I have done a bit of research and I cant seem to find any VB code that does anything similar.
i just recently moved to the windows-7 operating system from xp. (didn't like vista much)
in xp, i can load as many applications of the same app, multiple times.. windows -7 does not allow my app to do so..
if it has something with checking "Make Single Instance Application" from the app's properties, definitely explain what that does, since i don't have a clue.
Device : USB Scanner Application : A Application : B
Let's say there are two applications are running, which are A and B, on windows XP and they all have only one simple form with a text box to receive a data from the scanner. Is it possible to read a number by the scanner and write the number for those two text box on A and B at the same time?
I want a tool to create database applications. I think that the Microsoft product for this is Visual Basic. I would like to ask:
1) Why Visual Basic is better than Delphi ( from Borland )?
2) Where can I see the Versions and Prices?
3) Visual Basic allows to put applications on the Cloud? How this works? In which Cloud services works?
4) Which database can be accessed directly - without having to install third- party components - from Visual Basic? Which of these databases works on the Cloud?
5) Does Visual Basic allows connections to Microsoft Office and/or OpenOffice?