Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
 
  HOME    TRACKER    Visual Basic




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?




View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread
Making Available Addins Etc To Other Users
How do I make available my custom buttons, macros, add-ins, functions etc. (all through VBA or direct in sheet) in my file I am sending to others? Is there any tutorials or guidelines for making custom add-ins etc.?

Need Help Making A Macro To Log Users Time
i am tring to creat a macro that when i log in it will track the time that i am loged in and once i log out it will display the time i was loged into the excel feild. I am hoping to use this as an effective punch clock for my work please help if you can or just point me in the write dircetion. Thanks for your help.

Making A Users Input Become A AutoNum Field
I have document that has 3 sections in it which i have set eaction section number as an autonum so that if a user deletes say section 2, section 3 will become section 2 etc.

I have created a form that i want a user to add new sections to the document. The users enters in the new section number and title of section.

How do i make the section number that the user types into the form a autonum field?

The output after user clicks ok shows "Section <2> - Name of Section"
How do i make <2> an autonum???...

Any help would be appreciated.
Cheers

Making Something Happen When Users Maximizes/minimizes?
What would I have to do in order to make some certiain even happen when the user tries to maximize or minimize a frame?

Problems With Multiple Users Making Updates In Access
Hi,

I'm running into some problems with an Access application where multiple users are using one Access Database for Data Entry.

The users use multiple checkboxes on a form, to fill a seperate table based on which checkboxes are checked. I loop through all of controls on the form and update my table as required. The problem is that when all of the users (approx. 10) are using the form, the system starts to lag to the point where their updates are taking up to 7 minutes. Here is the Code that I'm using to fill the table.

<code> For Each myControl In Form.Controls
     
        If TypeOf myControl Is CheckBox Then
            If myControl.Value <> True Then
                strQueryString = "insert into tbl select '" + myControl.name + "' as value2,
     
                CurrentDb.Execute strQueryString
     
            End If
        End If

    Next myControl
</code>
I've tried CurrentDB.Close but it doesn't seem to help. Any thoughts??

X Users Currently Using This Program
How can you get a total amount of people currently using your program (using the least amount of ram possible)

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

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.

Scripting Program For Adv. Vb Users
Has any one made a very simple, I mean very simple, scripting program? If so would you be willing to post it or portions of it? Thanx

How Do I Create A Program That Can Log Off Users?
How can I create a program that I can leave on the desktop to log off Windows 98 users?

Possible To NOT Allow My Users To Run Multiple Instances Of My Program ?
can i check whether my program is running already ?

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.

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

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.

 

Making Setup Program For Program Which Use API Functions
I have program which use API functions. When I use P&D Wizard for make a setup program must add (include) the *.dll files (eg user32.dll) of API functions?
Thanks

Allowing Users To Change Pass For Program
How would I go about making a area for users to change the password for there copy of the program?

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,

Making Program To Program Communication
how do i send from program anyprogram.exe to anyprogram2.exe something like Form1.Caption = "dude"

Making Program With Another Program Activex ??
Hi,

I have this viewing picture files program that beside the viewer when you install it, you install an activex (ocx)named by this program , and you are able to use it in vb6.

My problem is that I made a vb program containing this viewer activex , but the problem is when I want to make a package (setup file of my program) - I get problems with this activex when I try to install my program in other computers.

I think that it regard to the dependency of this ocx (activeX) I think that f I want to use my vb program in other computer I need to install this viewer program too, can you help me ?

Thanks , moyalt .

p.s I don't want to install the viewer in other computers , only my vb program (that contain the viewer activex).

Making A Program
Im starting a new program, its kinda like a popup and im just messing around with new code and stuff. Im trying to click a button and have a new window pop up in its place while the old one closes. Im also trying to add sound when the new window pops up. I was also trying to get something like confetti falling from the top of the screen or somthing. SO if someone could help itd be great. THanks

Need Help With Making Program..:)
First of all I would like to make somthing like: http://www25.brinkster.com/habbohavo...amacrotool.zip (not mine). How it works you open http://www.habbohotel.com/popupframe.html?123 (a chat based program in shockwave) and when you type somthing in the hobbamacrotool it says it on habbo... you will get my drift when you use it . Anyway i was wondring were I start making somthing a bit like that of my own......

I can make only small programs in visual 6.0 that why I need a little help

Thanks, SW5

edit:
http://www.xtremevbtalk.com/show...threadid=55113

This One Program I Am Making
Im making this one program for quake 3. It’s to add colors to your name. In quake the code to make your names into color is basically a "^" sign with the numbers 1 through 6 for different colors. for example "^1" makes your name red, and “^1Hello ^2Bob” would make Hello red and Bob green. In the program I want it to do this. I have a rich text box linked with command buttons that tell it to change the selected text in the textbox the color of the button you click on. How would I do the coding? I am thinking it would be a lot of If and Then statements. I have a text box at the bottom that when you press create it should write the code into the txtCode textbox. Any ideas?

Making A New Program...
hi

i'm currently starting to create (another) program but this time i would just like to find out whether visual basic is the best choice:

basically i am designing a program which i would like to store on CD and to automatically load up when the disc is inserted. the actual content will include flash files and information from a database...

i know some VB, C/C++ and am prepared to learn what i have to, so can anybody offer any advice on whether choosing VB ideal.

thanks alot

also if there is anybody out there who would like to keep in touch and help develop the program then plz contact me

®

Making An .exe Program
I was just wondering how would I go about making my program an exe so I can install and run it on other systems that may not have visual c++. I've got this program but I can only run it with visual c++ I know visual basic has where you can make your program an exe but does visual c++? if so where and how?

I Am Making A Program And...
hi

i am in the process of designing my program and now am ready to begin contstructing it on VB.

what i am working on at the moment is adding a button using the HoverCommand UserControl which i obtained from a link provided to me on this site.

i only have 2 questions - firstly i intend to use my program for commercial purposes (if possible) and i understand that i need to display some information about the original coders of the HoverCommand control >>> can anybody tell me what i should include in code or maybe within the program itself (like in help section...maybe?)

secondly i am actually not sure how to add the user control to my new project - is it a case of putting the control file into the same folder as my project and then copying the code over or what? i've never done this before and would like to know how i can begin putting it on my app immediately.

otherwise thx,

Need Help Making A Program
i have been trying 2 make a exe that when some one clicks on it will open a certin web page and have it start up every time the person starts there computer. here is the code that i have been puting in:

Private Sub Form_Load()
Shell "C:Program FilesInternet Exploreriexplorer.exe http://www. * * * * * * * * * * */page.php?x=1731571"
End Sub

when i do that it gives me an error " Run-time error 53 file can not be found" can some help me fix this problem or give me another code.

I Need Help Making A Program!!!!
hey people, could ne of u tell me the code to generate a random number ???

thanx kevin_P_

Making An AIM Program
I want to make a simple program with 2 textboxes and a button on a form. When you hit the button, it sends a message(designated by Text1) to a user on AIM(Designated by text2).

How would I do this? Would I need to learn how to Hook or would I need to learn to subclass? Or is there an alternative method? (Whatever is easiest)

Thanks in advance,
-Vinx

Need Help Making A Program
I'm not asking anyone to give me the whole source code for the application (unless you want to) but I need some help on how to do something.

I want to put together a small application that can read all of the desktop icon's property boxes and change the Target: location and the Start In: location.

Can this be done in VB? If so, what do I need (like API's, for example) and the general algo for it?

Making Of A Program
ok i didn't know, in which topic to post, so i posted here, because here is the most posts .

im interested in making a problem, which could go to some internet site, and click on one button, and that it would repeat doing it all the time like at every half an hour... so im interested, if it is possible to make it, and if any of you can make it, or at least teach me to do it ( but i never programmed, so that would be the hardest part to do)

thx, pakec

Help Making A Program
this is my first post and it will makes me look like a lazy guy but im really desesperated i want to make a program in visual basic 6.0 that makes any geometrical figure i really dont find a way to do it the program needs to ask you for the measures of the geometrical figure of your choice i have looking for any documentation that helps me with no success i know some of you are vb gurus and visual 6.0 may be obsolete for you and oudated but im a begginer and i need this for my school class.

thanks in advanced

Help Making A Program
I am making a program using Visual Basic. This program is going to be an IQ test and i was wondering...what would the easiest way be? I am an amateur programmer so i wont know how to do advanced coding. I can do simple/medium difficulty things. I was thinking about makeing a question using a Label and then everytime they hit the next button to switch the question. I would also have choices using the option button. I dont really know how to make it keep switching the question. Please help me figure out a better method or how to solve this problem.

Making VB Run A Program
I need to have VB run a totally seperate program....this program is not a VB program.

Wht is the command to run another program

Help is appreciated..thanks


-Hacker

Making A Program Run On Another Pc
HI
I have reasently completed an hnc in computing and as part of the course we were taught VB. the only thing that our tutor didnt tell us was how to get our newly written program off of my computer and working on someone elses. I have just written a small database program for a friend and would apprieciate any assistance that anyone can give me inorder that i can pass the finnished program to my friend.

Alan

Making A Program That...
Hey all. I am a hardcore level editor for a game Drakan: Order of The Flame. I have recently found a way to do something with the character files that allows new vertecies to be added to them using an ASCII editor. This process takes a long time and I am fairly new to Visual Basic Programming. I want to know If anyone would have a general Idea of what I need to do to make a program that:

1) Allows you to enter the Vertecies of one file

2) Merges or allows you to copy+paste them into another file

3) Creates and Saves a new file.


As of now, It takes about 2 hours to just add and texture one of these modified files. I am the only one that currently knows this technique but If I can make this program It could allow all other PCL creators to make new characters. I don't know if this is enough information for you to help me but if you need more Info I can give it.

I posted one of the files that I would like to be a "Production" of this program. They are the REC files and can be opened with any text editor.

Thank You,



Mage150

Making Help For My Program
I'm trying to make a robust help system for my program. Although, I'm not satisfied with the .hlp help files. Can anyone help with .chm files. I have created help in .html, how can I link this to my program. Such that if help is chosen from the Help Menu, it opens this .html file. Please help!

Help With Making A 2 Second Program..
In text1.text, theres some text:

"Hello" "test" hi hi "hi"

How can I replace each '"' with Chr$(34)?

So, it would look like
Chr$(34)HelloChr$(34) Chr$(34)testChr$(34) hi hi Chr$(34)hiChr$(34)

I&#039;m Making A Program And I Need Your Help!
i have made a program that remembers your passwords and username for a site called neopets i was wondering how i could save it as like a save button

Making A Program That Looks A Little Like VB
Hey all. I'm working on a program that looks a little like VB. I need help for two things:
1) How do you make a certain word turn a certain color [eg in VB "Else" -> blue]?
2) How do you make the "Auto-Complete" menus [eg when you type text1.te and vb suggests .text]

Thanks a lot, any code or links to pages about these topics would be great, i have been scouring the net for ages already!

Making A Program Just With Api
HEHE...... sorry but I still know so little about API, and still got much to learn.

Okay.... i know how to make buttons and forms with just API, but what I want to know.... is how can you make a command for it, like, if they click the button..... APIs doesn't have stuff like "Command1_Click", "Text1_Change" etc.. How would you make one in API?

If you can't explain, any codes would be good enough..... or both should be perfect..... If none of the above then, "WHERE ARE THE API GURUs!?!?! HELP ME OUT!"

Thank you.

Help Me...Program Making For IE
Hi, I need help that in my program that goes like this:
Private Sub Command1_Click()
A = shell("C:@IEie.exe", 1)
AppActivate A
MsgBox "Please go to the website and enter the details, tab to go to sent button!"
Check = True: Counter = 0
Do
SendKeys "~", True
Do While Counter < 101
SendKeys "~", True
PauseTime = 10
Start = Timer
Do While Timer < Start + PauseTime
Loop
Finish = Timer
SendKeys "%{LEFT}", True
Counter = Counter + 1
If Counter = 100 Then
Check = False
Exit Do
End If
Loop
Loop Until Check = False
MsgBox "Done 100x"
End Sub


There is a problem in thius program as this is my first time using vb4 and my vb6 can't work as there say that I need to reinstall MSDN eventhough I fully installed it! (This is the 2nd problem I hope people can help me too...)

Firsty of all, this program has a click button, when clicked, will first activate the internet explorer, then stop to alert me and allow me to go to the website i want and go to the "submit" button on the website, then i can fill in what i want, then i press "ok" from the msgbox to continue the program and let it send "enter" to the "submit" button in the IE5.5 and then wait 10secs for the website to submit the details and then autorefers to another page in IE, after my vb wait 10sec, it will then SendKeys "%{LEFT}", True and so IE would go back to the "submit" page again. and the process repeats again for 100 times.

the problem i met in win98 is that IE keeps opening and opening and doesn't give me time to input the info on the website and i'm not sure if the keystrokes is working.

hope that someone can help me correct the thing above or at least suggest an alternatives...


this program which i want to create, main objective is to submit information on a website 100x. hope that someone can help me on that.

thanks alot

Making Your Program The....
How would I put the correct information to the registry that would make any files with a certain extension (.tov for example) open up in my program each time they are click on...

Copyright © 2005-08 www.BigResource.com, All rights reserved