I have tried to register the .dll but I get an error message like "DllRegister" was not found, not a valid DLL or OCX file.... Not sure what this means but I've tried this both on the development machine and on the client machine.
Right - chances are then that the actual Virtual PC client isn't installed on the end users machine. Basically, your DLL is a wrapper for the COM calls - it's not a COM component so you don't need to register it, but it does need the actual COM object registered; in this case Virtual PC.
*pre-emptive celebratory nipple tassle jiggle* - Sean Ewington
I need to create a small program to
A. go to a website and login
B. Download a pdf to specified folder.
C. strip the pdf, drop that data to a database(SQL)
I am not looking for a gimme codezz.. just if anybody has a link to a couple of tutorials or articles that would show me the basics? I have not found any as of yet.(possible that my Google foo is down today its been a rough morning.) Mainly the first two parts that I have issues with, the last one I have something that somewhat works already.(but wouldn't hurt to understand it better.)
Thanks in advance for any suggestions given..
Let's face it, after Monday and Tuesday, even the calendar says WTF!
Be careful which toes you step on today, they might be connected to the foot that kicks your butt tomorrow.
B. is easy if you could use a HttpWebRequest in step A, a WebBrowser control again likes to get in your way and makes things hard.
Ok typically that would look like:
Create a HttpWebRequest, point it towards the submit location of the login form, change the method to POST, use a CookieContainer, write some data (with percent encoding), then get the response.
Then just download the file with an other HttpWebRequest. Don't bother navigating. But send the cookies, otherwise you're not logged in anymore.
I have downloaded the TaskScheduler library and I'm able to use it without an issue. My problem is that I created a job in my Scheduled Tasks but when I run the command GetTaskNames(), the function returns just two system create jobs. Looking at the code I saw that the function only returns scheduled tasks that have a .job extension. How do I create a job that I can get access to via the TaskScheduler library.
You did NOT download the API's for the Windows Task Scheduler. You downloaded a wrapper for the API's that makes it easier to use them in your own code. The API's are part of Windows, not something you downloaded.
The wrapper you downloaded only wraps the Task Scheduler 1.0 API. It will still create jobs that work under XP, Vista, and 7, but you will not be able to see those jobs and modify them using any tools that use the Task Scheduler 2.0 API, that includes System Tools -> Task Scheduler.