Hi all. The cisco vpn software has a built in "applicatio n launcher" function which I cannot get to work. As a work around I created a batch file which calls a vb script doing the job perfectly! I intend to go a bit further to automate this process and wondering if someone could guide me in the right direction or inform me of resources explaining windows processes and c++. I'm coding using DEV-C++ program which builds win32 apps/consoles. In a nutshell, my goal is to vpn from home to domain. Once connected to the domain, the script will call the batch and vbs file on domain, validate login credentials, then execute code.
//set my variables
//define functions
if(this windows process starts){
call domain script and validate credentials;
if(credentials == credentials){
execute correct code;
}
do while(loginAtte mps !=exceedlimit){
if(login fails){
error...bad usr and or pwd;
try again();
}
else if(logingAttemp ts == exceedLimit{
account locked;
contact admin;
quit:
}
else{
quit;
}
}
I am not sure if it's also a good idea to do this in c++ or do a vbscript and dump in the users' startup folder. I would gladly accept all comments, ideas, thoughts and suggestions.
//set my variables
//define functions
if(this windows process starts){
call domain script and validate credentials;
if(credentials == credentials){
execute correct code;
}
do while(loginAtte mps !=exceedlimit){
if(login fails){
error...bad usr and or pwd;
try again();
}
else if(logingAttemp ts == exceedLimit{
account locked;
contact admin;
quit:
}
else{
quit;
}
}
I am not sure if it's also a good idea to do this in c++ or do a vbscript and dump in the users' startup folder. I would gladly accept all comments, ideas, thoughts and suggestions.