I have previously been using windows APIs in VBA and VB6, but looking at the help in VB2008 it seems that we now use the .net framework instead of calling the APIs directly. I've had a hunt around, but I cant find any resources/sites that show me how to use the .net framework equivalent?[code]...
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?
I 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.
I'm developing a program which would be the only program user will use. What i mean by this is once the windows is up, my program will run and blocks users from accessing any other program installed or comes with Windows such as internet explorer, email client, games, etc.. unless user puts password for getting out of my program.
BTW, the OS will be Windows XP.What i want to accomplish by having this is like below:
1. No one would be able to use internet (= no virus)
2. No one would be able to change system time (= no record corruption)
3. No one would be able to install any program (= less system maintenance)
My program is Kind of interactive Kiosk program only certain user can access windows and other programs.Also when it comes to system maintenance, I will remotely access the computer using pcAnywhere or teamviewer like remote access tool.So after exiting the program, i should be able to use entire system w/o any restriction.
I made a custom media player for my work that uses a windows media player control and randomizes 4 songs from a collection. There is reasoning behind the 4 songs but thats not too important. So the issue is that I had made this program for my work but when i put it on my work computer, it wouldnt even open, i double click it, it sits for a bit, then MP3Randomizer.exe has encountered a problem. Any idea why it works on my 64 bit windows 7 personal laptop but not my 32 bit windows xp work comp. I have created programs on my laptop and then dragged them to my work computer and they worked just fine. Is it the windows media player component? Never had this problem with any of my other programs. The program was compiles with .net framework 4 and my work comp has .net framework 4 on it, it is set to compile as x86. I cant figure it out. A
Now that I have completed the visual basic express tutorial #1, I have a PictureViewer project. How do I now make this program one that can run outside of the editor?
You say I've locked my computer and I've a program which will auto-log me into the computer 5 minutes after the computer is locked. I have feeded the program with my user name and password. Now, I wanted to know, how do I make the program to auto-log me into Windows using VB.NET. Is there also any way to validate these details so provided?
I would like to have a way of getting all of the open windows in a windows system. I need an array for all of the active windows (what you see in the taskbar). I just want a function to do this please. Its the core of a program I am writing, and its where i am starting from, so no code yet.
I am trying to do a program in which I would like that program load with Windows. Ok, When I restart the computer and when I arrive to the desktop, program did not run. I am doing all this in Vb 2010.[code]...
How do I set up a VB.NET program so it will run on W2K ? I understand I can only use .Net 2.0 or older. Is there an easy way to limit which .net version is used/referenced ? (I have .Net 3.5 on my XP development computer) Updating target computers to XP, Vista, Windows 7 is NOT an option.
I have a program which i want to invoke from windows service.
[Code]....
The same code works fine if i write in a console application, but from windows service it wont run, i see the psftp is being started in the task manager but it wont do anything.
I'm writing a program to deploy laptops in a domain environment. I'd like to invoke the windows setup feature that some laptop manufactures use to install applications after windows xp is installed.
I've been using the VBE for about 10 years now, but when I started using VBE under Excel 2007 I can't seem to find a way to display two windows at the same time. If I have two workbooks open and I want to compare macros from each workbook or maybe to copy a macro from one workbook to another, I can never seem to be able to view contents from both modules. What must I do to turn on multiple module viewing?
i have a vb.net program compiled in windows 7 (32bit) but then when i run it in windows 7 (64bit) the doesnt work and it can't the Microsoft.Jet.4.0; What should I do to run the program?
i want to add my program to the windows context menu so that whenever user right clicks on any file of folder my program should display on the context menu so that the user can use my program to do some operation on the selected file or folder.
I know how to add a new program to the windows context menu manually. by editing the windows registry we can do that. but i want to do when user istall my application it has to add to the context menu automatically.
Currently I'm working on a program that will run out of my startup folder when I logon to windows so instead of typing in a password my program will run fullscreen blocking any access to Windows until the user presses the buttons on the form in the correct order. In order for this program to actually be purposeful i need to block keystrokes such as "Alt-F4" and "Cntrl-Alt-Delete". I've looked around on google searches and I usually find a similar solution but when
Imports System.Diagnostics Imports System.Runtime.InteropServices Public Class Form1
I have a program written in VB 2005, the computer used to write the code was running in Windows XP and 32 bit Pentium D. Now, my boss want to buy a new computer to run the program, and he wants the one that comes with Windows 7, 64 bit. Can my program run in the new computer without any problem? Or, is there anything that I need to change for it to run there?
I have a program that will process the files and produce the result in output file.When i publish and install the software in xp windows it run but in windows vista it read the file everything when i look for output file. The file is not created in vista. But other program which similar with previous one can run in windows vista expect one program. This is how i write the coding to create the file.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim OpenFileDialog1 As New OpenFileDialog With OpenFileDialog1
[code]....
I dont know why it can not create a file in vista?