I joined recently and am very interested in programming. A friend directed me to VB, so I'll start here. I'm looking for places to start. I have little to no knowledge of how programs work.Ideally, I want to try to make an auto refresher - a program that will refresh at a page every 8-10 minutes, until the page changes.
With Parallels and WinXP installed, I thought I'd put VisualStudio back on my computer and tinker around a bit, but it's been a while and I'm a bit rusty with it. Can someone refer me to a quick and easy guide to VBasic syntax?
I'm hoping that you all could shed some light on this.As the title implies, I'm trying to make my application automatically start when Windows PE is loaded. To do this, I looked at some Microsoft documents.I first found out how to add an application to it: url...And then I found out how to autostart an application, like a different shell: url...In order to auto launch one or many applications, you have to make an .ini file and put it in the System32 folder. The .ini file is called, winpeshl.ini. The information in it is [code]When that didn't work, I put quotes around items and it still didn't work.I was thinking that it wouldn't load because my program isn't a shell application. If that's it, does anyone know how to make a shell app?Also, I don't think it's a framework issue because Windows PE comes with the 2.0 framework and I changed my app to target the 2.0 framework instead of 3.5
I am working on a application, which is more of a test, to work with the registry and autostarts.So, this is the code im using:
Public Sub RegPrep() Try Dim location As String = System.Environment.GetCommandLineArgs()(0)
[code].....
I set so the application requires administrative priviliges to run, otherwise it wouldn't work.And now, the problem is, the file "TestObject.exe" wont run on start up.What am i doing wrong?
I'm currently writing an installer for my application (don't ask me why I don't use ClickOnce or other types of installers...).I simply create a folder in C:Program Files and I download my apps' AutoUpdater into the folder and run itFrom there, the AutoUpdater should download the latest files from my server. However, when I check the directory where the files should have been downloaded, I can only see the AutoUpdater
I try to create an auto start up program with a check box in VB.Net 2008.How do I create a check box that when I check the check box and press apply button, the check box will always checked next time I run the program and vice versa? [code]
I have a USB flash drive I want to be able to plug into another computer and automatically start the program as soon as it is plugged in and started up, is there a way to do this?
I was just wondering if it's possible to autoclick a button without having to use the mouse hover or mouse click. I want my program to autoclick the button infinite times or as commanded by the start and stop button.
I want to click the button1 every 1 second until the stop button is clicked without using the mouse (X,Y) method if possible or which ever way is best.
My Application as you may remember ONLY runs from the CD and is never installed onto a computer. It is a Product Support CD. All Information that a customer may need is on this CD, they can Download PDF's and Drawings and even save some Software Apps that may be needed onto the user's Hard Drive, but the CD App running is never installed onto a computer.
I'm having trouble getting my app to auto-start by adding a registry key. The problem it is having is checking if the user has admin privileges. I tried setting the thread principal, because before it would always return false when I tried My.User.IsAuthenticated, but when I check if My.User.IsInRole("Administrators"), it still returns false, even when it should return true.Here's my current code. This worked fine without even setting the thread principal when I was just creating a regular Windows Form.
AppDomain.CurrentDomain.SetThreadPrincipal(New Security.Principal.GenericPrincipal(New Security.Principal.GenericIdentity("UserName"), Nothing)) If My.User.IsAuthenticated Then
Im hoping to create an auto clicker which had variable speed control, one button to start and pressing space to stop the application. When start is pressed i want it to click 2 or 3 different locations on my screen if this is posible with about a 1 second delay between each pointer move.i could really use some help with getting started or even better a link to an already created application for this.
I have made my application to start automaticly when windows start (registry ../currentversion/run/appname + path). In this mode the application start minimized and an little icon appear in the notification icon area. With this icon you can maximize the app or exit it.If you exit the app and start it again using the Menu (Start/programs etc) than the application start in minimized mode (and in this case I would like to have it in normal mode) because the setting autostart is still true.Is there a way you can detect when the application start when windows startup using the above registry or when people click on an icon in the programs menu (or desktop)?
I have a program that runs some code when i click a button on a form when done running the application ends. I want to automaticaly run the code when the users clicks on the exe. I have put the code that i want to run in the startup forms load event but that doesn't start
I have custom asynchronous WebRequest class that I am testing to find out how fast the request will be cancelled and found some odd results, that starting 6 WebRequests with TPL and cancelling them right away takes 25 sec, but when I used just regular background threads it took only 5 sec.
Update: Running them without cancelling takes with Task.Start 9 sec and Thread.Start 3 sec accordingly. Imports System.Net Imports System.Threading
I'm using Process.Start to start an external command line application and using the StartInfo.Arguments method to send parameters to the application. I imagine I'll need to use a loop... but I can't figure out exactly how yet.I need to send anywhere from 1 - an infinite number of files names to this application. Each file has to be sent one after the other. So once the first one is done, I need to loop back around and past the second one.I can probably use the Directory.GetFiles method to get all of the files, but I don't know how to assign them.
I created 3 timers, i want each timer to take turn start which means timer1 stop then timer2 start, once timer2 stop timer3 start. But my code seem to be running together once i click the play button.And is there any ways to easy control how my picturebox move? Because my code for controlling it movement need to keep finding the correct number for it to move.
I've commented out various things to limit it to specifically this command (example, I can swap mklink out with notepad and it works fine). The command runs fine from a DOS window, but can't be found when I use it this way. I also tried using the SHELL command just to test and I get the same results. No idea why it can't be found, as like I said it executes from the command prompt just fine.
I am confused with the terms Build ,rebuild ,start , start without debugging in VS.NET.After writing the code what actually we want to do .We have to run directly by pressing F5 key or we have to build the solution .Usually i tried to run the application after coding and if shows any any errors i will fix that and run again .I never used build or rebuild thing .What exactly meant by building the solution .What is meant by rebuild and start without debugging.
All functions done, but the main function, the autorun and auto hide didnt work like i wish. for this keylogger, im using checkbox to make it autorun when windows startup and another checkbox to autohide. i already placed the codes but nothing happen. when i tick those checkboxes n restart my pc, nothing happen. is it because im using checkbox?