How Can I Prevent Users From Uninstalling My Program?
Hello,
First and foremost, I am NOT attempting to create spyware, or so...
I am creating a program that hides sensitive data, so logically I have to forbid anyone from uninstalling the program except the person who had install it first.
So my question is:
How I can prevent the client from uninstalling my program unless he log in with a password to the program, then he can uninstall it from inside.
I want if he tries to uninstall it from the control panel, a message box pop ups asking him to uninstall the software from from inside. I saw many program does it.
Please tell me; is it done by code or registry or what?
Your help is greatly appreciated.
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
How Can I Prevent Users From Uninstalling My Program?
Hello,
First and foremost, I am NOT attempting to create spyware, or so...
I am creating a program that hides sensitive data, so logically I have to forbid anyone from uninstalling the program except the person who had install it first.
So my question is:
How I can prevent the client from uninstalling my program unless he log in with a password to the program, then he can uninstall it from inside.
I want if he tries to uninstall it from the control panel, a message box pop ups asking him to uninstall the software from from inside. I saw many program does it.
Please tell me; is it done by code or registry or what?
Your help is greatly appreciated.
How Do I Prevent Users From Changing Data From Other Users Using The Function?
There's something that I don't understand.
If you have a program that several users can access at the same time. Then how do I prevent users from changing the outcome of functions and procedures of users which are also using those functions at the same time?
Let's say that user 1 is in a directory which has 20 files. and user 1 starts a function which retrieves the directory listing. He calls the function RetrieveDir(user) where user is 1.
The function then retrieves the list and stores:
Dim x
User(user).file(x) = filename1 x=x+1)
User(user).file(x) = filename2 x=x+1)
etc. etc.
This would work fine, but what if user 2 calls the same function in a directory with ony 4 files
while the function is still working on User(1) file 5?
wouldn't user(2) then get files 5-20 from user(1) while there are only 4 files, and wouldn't user(1) never exit that function?
And doesn't the Dim X that user(2) triggers reset the value of X that user(1) was still using?
um... is it a little clear what my problem is?
How can I make a function so that everyone can access it no matter when and the outcome would be correct even if other users are in that same function at the same time?
Remotely Uninstalling A Program
Hi everyone,
Does anyone know how to uninstall a program on a remote network computer from the comfort of your own machine? (provided you have domain admin rights)
Listview Properties...how To Prevent Users From Messing It Up
Now I'm using a listview on the main form in my app (thanks guys) but I have another problem. I'm able to delete the contents of the listview (this obviously doesn't delete them from the DB) and it's pretty irritating.
The only property I could think of that I can see is Enabled, so I set it to false and obviously was barking up the wrong tree.
Can someone point me in the right direction?
Prevent Users From Accessing And/or Editing Text File?
My program displays different sections of a large text file(appox. 350KB) in several different text boxes. P&D Wizard installs the file to Program Files/ApplicationPath. The file can be accessed and edited with Word Pad through Windows Explorer. This will corrupt the display within the VB program if the text is changed in any way and the only way to correct is to remove and reinstall the program. Is there a way to prevent users from accessing and/or editing this text file?
How To Prevent Users From Importing The SWF File Inside The VB EXE File?
Hello all..
If I put the SWF file inside a VB EXE program.. can any user get the SWF file inside that EXE file?
If yes then how to prevent the user from getting that SWF file?
I'm using LoadMovie and MD5 inside that SWF file.. but I want to prevent users from importing that SWF file from the EXE file.
The VB EXE file is a program that preview the lessons from the server after connecting with mySQL and PHP.. so I want to know any way to prevent the user from that..
Waiting your powerful help..
Regads & cheers..
Prevent Reopening Of Program
Hi,
if i need to open outlook when i run my program, what code can i include so that if outlook is already open, it will not open again?
Regards,
Prevent Program Close
Is there any way to prevent my program from being closed?
It is a program that needs to be running on all company computers and will detect most ways to bypass it except Process List -> End Process.
I do not want employees simply end processing the program.
Maybe a way to stop the ending or make a log of when/how the program was closed.
ive already made the VB program not allow the user to use the task manager, but I wouldn't mind giving them the ability to use the task manager if i could just prevent them from closing the program.
Thanks
Prevent Program Fom Being Closed
Hello Guys
I am working on a little windows application with vb6.00. The main requirement is that the user of the computer shoul never be able to shut down the program as long as windows is running.
How can I do that?
(Win 98 and XP).
Thanks in advance.
SaharaWizard
VB Program Prevent Shutdown Of PC
I have a VB program running on a PC (XP). Some other program is also running (nonVB). This program wants to shutdown the PC using an shutdown API, but my program doesn't allow this (using the mild version of this API). How can I add code to tell, when I will accept a shutdown? Will a shutdown overrule a writing to the disk?
Thanks in advance.
Prevent Second Start Program
Hi,
I suppose there is a way to prevent that a VB6 program several times can be started. It should be only one time.
I forgot the way to do this.
Can anyone refresh my memory please.
Charles
Is It Possible To Prevent A Program From Closing.
Sony's station Launchpad is really annoying when it comes to playing games. If you want to play you must log in and then select the game you wish to play, which is fine, but once you select that game the launchpad closes... so if you want to play a different game on it, you must reopen it, relogin, etc etc... so I was wonding if there was a way to prevent it from closing at the last minute?
Prevent The Unloading A Program
I have this form which brings some data from a database with the option of inserting (into textboxes) and printing custom data. The problem is, if the user closes the main form while some textboxes has already changed, the info in this textboxes will update in database over the initial data. How can I prevent this from happening? I tried
Code:
Private Sub Form_Unload(Cancel As Integer)
datCodes.Recordset.Edit
datCodes.Recordset.CancelUpdate
End Sub 'Form_Unload
but it doesn't work. Thanks for any answers.
How Can I Prevent Ending My VB Program ?
Dear Programmers,
Take my regards. For some reason, I have to make a program that will hide itself from the user so that no one can terminate it. But, the problem is any one can end it from task manager. Can I hide it ? Or is there any solution of hiding it from users view ?
Please let me know soon. Its urgent.
Thanks....
Md Emran Hasan
Prevent Key Input For Specific Program
Hi guys, i am using a global keyhook to hook into a game for a special chatting feature so people can chat on msn while inside a game. I've got all my code working but i was wondering how could i interrupt and stop all messages apart from those such as escape, control alt and delete etc.
I am using a global key hook so they can type but i want to prevent key strokes from being sent to the game while they are in typing mode. I've been researching and found perhaps API such as PostMessage and SendMessage might be helpful.
Any help you can give is appreciated.
Easy Way To Prevent Program Copying?
I'm working on a small project that I will probably try to sell in the near future. I was wondering though if an easy way existed for making sure that people didn't "burn" multiple copies of the program on there own for distribution. Is there an easy way? Also, once the program is complete, I will be sending it off to an individual to evaluate. He owns a web site so I don't know if it is possible to "link" the software to his site with some sort of registration procedure. I was also thinking that I could make the user e-mail me once they receive the program for a unique registration key (hard code individual key numbers for comparison in the program) and then have it write the key out to a file for comparison each time the program starts. If the user attempted to load it on another machine it would not work unless they kept the original key that was e-mailed to them. Just throwing some ideas out. Looking to implement a simple procedure. Any help appreciated. Thanks.
How To Prevent Multiple Instances Of A Program
1. How to prevent multiple instances of my vb program?
2. I want to convert my program into a package file and distribute it in a cd. I am running a batch file which contains a .exe file and my vb.exe program file. How can I include a batch file in my setup package and distribute it.
Thanx in Advance...
Prevent User From Opening Another Program?
Is there any way to prevent a user from opening MS Access while using my program?
I don't want to create integrity errors from direct modification of the database while my program is open.
Prevent More Than One Instance Of Program Running?
I have an application that a few people in my office use. One user is making us crazy, opening one instance after another of the program and constanly getting confused as to which she is working with.
I know there's a programmatical way to check if there's already an instance running and cancel the newly-started instance, but don't remember how to do it and it isn't in any of my books. Can anyone help me out here? Thanks.
Or if there's a switch in the compiler that will disallow that, that's good too.
CraigHartz
Something That Will Prevent User From Loading My Program Twice
ok look, if i run my program once, it shows up, but if i run it again it shows up again and again and again, finally i can have 100s of same program running...how do I make it so that if my program had been loaded, user can't load it again, unless he closes the original (1st one)
How To Prevent A Program From Beeing Showed In Systray
There is a small program which appears in the systray. But the program keeps repainting itself so a nice animation is shown in the systray. I found out that this costs a pretty amount of CPU so I want to 1: prevent this program from having an icon there (which seems impossible because it keeps drawing it, if it was just drawn once then it would be possible I think, so my program has to prevent the other program from calling the specific API which updates the systrayicon) or 2: remove the whole systray or 3 shutdown explorer.exe. I don't want to do number 3 because I still want to work with my computer. I would like to do 2 but I can't find any documentation on how to do this.
Anyone knows or has other ideas how to fix this?
(Actually, it is explorer.exe which takes all the CPU for drawing the picture, so I'm not even sure if disabling the systray would help. Perhaps explorer isn't that smart :S)
tnx!
Background Program To Prevent System Lockout
Hi All,
Can somebody please give me some tips on how I can write a very simple vb app, that will continually loop in the background of windows thus preventing windowsxp from timing out and forcing the user to re-logon due to security settings.
Ideally this program would occupy as little cpu time and memory as possible.
Thanks
Scott
Graph9.exe; Do Users Need It To Use My Program?
I have just created an EXE which has numerous graphs in it. I originally used those from MSCHART, but found this very limited. I then switched to MSGRAPH which is alot more functional. However I noticed, that when I run my program, GRAPH9.exe (from the Microsoft Office Directory) is launched in the background. Does this mean that potential users of this program must have Office and or GRAPH9 installed on their PC. I was really hoping to make this a completely independant program. Would using MSCHART be any different.
Thanks in advance
Program With Users, And Passwords
hey guys, what's up? this is my first post on any forum at all, so i really need some help! here's the story. i am trying to create a program sorta like the logon screen of windows 2000. i have a place for a user name, and password. i have 3 users, and 3 passwords. you can select the user name by a drop down box. the problem i am having is that the computer isn't able to know which username belongs to which password. so is there a way to determine that? i was told that it might work through ADORecordSet, but wasn't quite sure what that was. eventually i want to build up on my program with several more users. ALSO, is there a way that you can COMPLETELY LOG everything that someone does with your program? if there is please let me know! thanks!
dan
Making A Program Run For All Users
Right now I add my programs to run under LOCAL MACHINE at startup. The problem is if you switch users without the first one logging off, then the program is not running for the second person. I can only have one instance of this software running at a time. For XP I tell users to turn off Fast User Switching in windows. For Vista there is no such option.
Any suggestions?
My Program Won't Fit On The Users Screen!
So you read the title, and you're thinking "man, this guy is thick. It's the screen resoloution". Haha
Anyways....
I installed my app on a few computers today and some of them don't display the screen properly. I developed the app using 1024 x 768 resolution so naturally anyone using 800 x 600 will have issues. However, these computers are using the correct resolution. For some reason though everything looks as though it's set to 800 x 600.
I think it has something to do with the font. The offending computers seem to have much larger font and it also shows up in a different style. I've encountered and fixed this problem before (long ago), but I forget what it could be.
Help?
Program Start Up With All Users
hi, i have a vb program that monitors the time users log in and off, i have it start up in the start up but it only starts up when my account logs in (windows saved my preferences) how can i have it start up using vb with all users?
Program For Morpheus Users
Here is a program I posted to remove the ads from the file sharing application Music City Morpheus:
http://www.vbforums.com/showthread.p...hreadid=145751
Find Other Users Using Program
Is there a way to get a list of all other programs open without a central server? It should just search for other running copies of the program ofver the internet.
Time Counting, And How To Prevent Double Program Running On Task Manager??
i have a bit problem here with almost all of my project
1. i'm still working to find the best way to count time of a process
for example
=========================
private sub cmd_button1()
call process1
end sub
=========================
i wanna count how long do the cpu need to do process1 (in seconds)
2. most of my project can run more than 1 times, for example i have project called database.exe, how to prevent this program running double in 1 computer???
3. how to make the program end if i click the close button at the top right corner?? becouse if i click the close button the program wont terminate at the task monitor and the status is still runing
thx for ur attention
-daniel-
vb newbie
Storing Users For Netsend Program
i have made a program like netsend for my network, but how can i make it so i dont have to type there user name ' 05hughesm' i can just type their normal name 'mike' and it will send it to that user??
is there a way of storng some user names in my prog, and wehn you type their name it refers to them?
Thanks in Advance
Create One Instance Of A Program When Switching Users In Windows
Hi,
Does any1 know how to startup a program when windows loads then when you switch users the same instance of the program is working in the background .
For example for Prog A:
windows starts
user1 logs into windows
progA is loaded
then if you switch user to user 2 using the windows function
progA is still running in the background for both
and if the 2nd user needs to run prog A it will load the same application as was loaded in user1's environment, instead of creating a new instance of prog A
I know I could startup my program using either the current user or local machine in registry but they seem to open a new instance of the same program when you use the switch user function . I am also using windows XP
thanks
DISPLAY USERS IN MY LAN(CREATE MY OWN CHAT PROGRAM)(RESOLVeD)
hi all...i think of creating my own so called chatting program for my usage within my LAN (to chat with my housemates.) currently, we are all using Yahoo Messanger and i think its difficult,messy and "heavy". i just want a light program that can send msg and also files over our LAN. i know there is a lot of chatting program out there that do the work. but im think to create my own, serverless chat program(and maybe learn new things as well). my questions are:
1) how can i display all the users in my LAN.(do i have to use winsock to scan the IPs range? and display it?)
2) how can i make my program "serverless".
i need your opinions and guides. thanx in advance!
Edited by - sintaq on 8/28/2007 11:18:47 AM
Domain Based Users - Program Cannot Insert Or Update A Record
Hi guys,
I would like to ask for your help because my problem is freaking me out...
I have this application written in vb6. This app connects to the SQL server 2k complete with the latest SPs. The SQL server is installed in NT 4 server, also with the latest updates. Usually, our SYSADMIN updates our machines everytime there's an update available from Microsoft.
My application was written at home on a win2k pro machine(stand alone) with SP3,vb sp5 and mdac 2.8. I tested my app before delivering at it was fine. I tested it on XP and it worked fine after I register some DLLs manually.
The problem I have is on the networked environment. The users on this network is on, let's say, domain A. So users are actually created on the NT server. A PC local account(ordinary not admin) is also different. When I connect to the database, I get this error that I'm not allowed to update the database when I try to update a value. I also unable to insert a record but I can read the records. I already set the permissions for the database user.
My additional questions are:
1. Do I need to specify a (SQL) user name on my ado connection string. Is this better than using trusted connection? Security wise, I know this is better.
2. Is having multiple domains affects the read write process of the SQL server? I think the sysADMIN wants to integrate the domain user account to the SQL user accounts.
And one more thing. Why is it that in my app, datagrids of my app installed on XP machines can show the records and those in win 2k cannot? I copied and registered the DLLs from my XP machine to WIN2K pro and it is still not working. MS Visual Studio Installer should copy and register DLLs for us, shouldn't it?
Thanks a lot!
Regards,
Uninstalling VB 6.0?
I seem to have made a mess / corrupted my VB 6.0. I wish to uninstall and then re-install...
However, well, I can't find any Uninstall routine. Can I simply safely reinstall right over it??
Any ideas on how to do this safely? Thanks all in advance!
-- Mike
Uninstalling Self
I’m trying to create an uninstall program for my application. I can remove everything except the program that’s doing the removing. (error code 70 permission denied). How do they get around this problem?
Uninstalling
hi
i use inno setup compiler to pack and deploy my program. Which does a pretty good job but when u run the uninstall, it doesn't fully uninstall the program it leaves some ocx files still in the folder which it created. How do i get it to fully uninstall everything
Uninstalling Vb App
I've made a vb app that installs via cd rom, how do you add an 'uninstall' feature? i used the package and deployment wizard to make the install app.
Thanks.
|