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
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Storing Images 'in' The Program?
Hello,
I'm trying to make a card game, but that is simple enough. I'm just wondering if there is a way I can embed the card images into the program itself. Just because it's cluttering to have 53+ images sitting in a folder.
Thanks.
Storing Program Passwords
Can anyone tell me what the best way to store a password (such as a login password)for a program. I currently have it in the registry but its not encoded or anything so thats probly not a good way of doing it Thanks
Suggestions For Storing Program Settings
Alright, so I need some advice for storing settings that my program uses. What I'm using currently is I'm storing settings in an excel spread sheet that is hidden from the user (sure, someone crafty could get into it and tweak it, but that's on their hands).
What I'm trying to do right now is remove hard coding to make the program more universal and I stumbled upon a problem today. My employers changed the server folder which is what prompted me to work on this program. I hard code in the folder where all the spread sheets with settings are stored. What makes this become an issue is that I would like to store the location of the folder in my settings, but without being able to get the location of the settings already, I can't get the address.
I guess what I'm looking for is some sort of suggestion on how to store the address, if this makes sense at all I'm confused and I tried to describe it. I'll put some code and show you what my dilemma is, maybe that will help a little more.
Code:
Set sfol = fsetbook.sheets(1).cells(1,1).value
If Err = 76 Then
MsgBox "The main folder has been moved, please immediately go into options and change the directory to reflect the change", vbCritical, "Error"
GoTo endl
End If
Set fsetbook = oexcel.Workbooks.Open(sfol & "fset.xls")
fsetbook contains all my settings, including the location of the top folder, and I dont want to hardcode in the folder location...rargh, what I'm thinking I might have to do is put a file in with the directory of the program, but if there is another way, please let me know!
Storing Data To The Program File Itself !!!
hi,
i know other methods for storing information. like storing to the registry or to a txt file or to a database..
but i think storing an encrypted information in the program file itself will be safer..
i need it to store a flag value to check if the user have a registered version or not, but how can i store data to the program .exe file itself???
any code?
thank u..
Storing Data In Actual Program
i know how to store data in text files and stuff... is it possible to store data in the actual program? that way it doesn't write external files? i don't want anyone to read the file that will be written, but i don't want to have to write encryption or anything... i'd prefer it to stay in the program itself..
is this possible? or is my idea trash?
Storing And Saving Data Inside Of VB Program
not sure if this is possible. but lets say there is some stuff i bring into a listbox while running the VB prog
but i want to keep it there -- i dont want to ship it out to some external source.
before List1 said
hi there 123
but while i am using the prog when done it says
hi there 123
hey you 456
so i want to save the contents inside of List1 as is, and not have to export to a txt file, db, or registry, etc
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.
[Answered - Thank You] Storing Long Lists Of Data In My Program
What's the best way to store long lists of data in my program? For a shorter list an array or a Listbox would be fine but I'll looking for a simple was of storing several hundred thousand strings that need to be available to the program without loading them from a separate file.
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 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.
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
Netsend
Is it possible to send and receive netsend messages with winsock?
thnxc in advance
Netsend
Is there any way to send pictures over a network using the netsend api calls. plz help
Netsend
ima beginner...so for all you pros out here this should be easy. I made a messaging program thru VB that goes through netsend. its cool it works at my school. i wanna know what to type in so that itll send the same message to everyone logged on the server. i thought it might be Shell "net send " & /users & " " & txtMessage.Text but that produces a syntax error. where am i going wrong?
Netsend ?
Hi, would it be possible to create a vb program to use the net send command to send messages to Active directory's Organizational units. Basically send messages to specific OU's. If possible , could anyone give me some information on where I could find out how to do this ? Any help would be greatly appreciated.
thanks !
Netsend Help
im making anetsend prog. i got an error.
i got 2 text boxes.. 1 for the comp name other for the comp msg
i want to be able to read the comp name and msg in 1 lin ebut i get an error.
i think im doing something wrong
Private Sub Timer1_Timer()
Shell "net send" + txtno.Name + txtmsg.Text
End Sub
Which part is wrong
Also if u can tell me how to work the interval with a timer.. cos if ppl put1.. it will be interval 1.. and i want it to be 1000 .. but not having them have to type 1000.
i attached the form
NetSend API
Ok, I've done a few searches on this forum and on the net and can't seem to find the API which sends a windows message accross a network to a user or user group.
I know it's here somewhere - can anyone help?...
NetSend
I have noticed that the NetSend function is becoming more and more popular for advertisers on NT systems. Does anyone know the NetSend API?
Help On Netsend............
Hi gurus
i m using NetMessageBufferSend Function to send a message over LAN to other computer.
but i want to hide my computer name from message
i.e. sender computer name
Code:
Private Declare Function NetMessageBufferSend Lib "netapi32.dll" (servername As Any, _
msgname As Byte, fromname As Any, buf As Byte, ByVal buflen As Long) As Long
how can it be done ???????
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,
Make NETSEND?
Hello guys! I got another question! We use NETSEND command to send messages to other computers, using windows messaging system.
Can I use winsock to do this! What is the port used for this! And what are the commands! I want to send a message wihout showing senders computer name!
Thanks
NetSend Via Mailslots
There has been a sudden rash of questions concerning Net Send. Heres a small example I have used around my network to communicate. It uses mailslots native to Windows to communicate. Usualy Mailslots are used for interproccess communication, but can also be used across a network. To use the mailslot, you open it up and write data to it, like a normal file. Once written the message is sent (but with no way of knowing whether it got there or not), the handle is closed.
This works on most varieties of Windows: 95, 98, ME, NT, 2000, and XP. To work on 9x/ME though, you must have WinPopup service enabled. This is not necessary for NT, 2000, or XP.
The Messenger Service must be enabled as well.
Hope everyone likes it.
NetSend Question
Okay, i was working on a small project for a small community college and I was just asked if I could some how send a message to all the network computers when there will be an update made in the program.
I have a program that will send a message to all the network computers when an update is made but it requires that you have your messenger registry settings enabled. If the computer has this disabled then the message will not appear.
So my question is what exactly should I do? I know i could always ask them to set the value to enabled but would this be the best thing to do "SECURITY WISE"? I know they do have a firewall but would this prevent any hackers from sending messages to the campus computers?
NetSend Messages
NetSend Messages
Guy's
I hope to help me in this idea
I'm trying to make code to send NetSend Message to some IP address's in my Local Network
First
I'll define all the IP's in Text File then I'll save it in C Driver "name of the text file is IPs.txt"
as you see below
Well , now I'll make the form
I want from the form when I Press to Send to send NetSend message to all the defined IPs that were defined in text file "IPs.txt"
it's possible , how to can I start to make this code ?
Netsend Query
Hey Everybody!
I see all the up-and-comers are into netsend. It's all netsend this and netsend that. My stupid jerk friend hasn't given me an example of how to actually perform netsend, but he said something about creating batch file and going
VB Code:
Shell "NET SEND blah blah blah"
Could someone show me a concrete example of netsend whether with the API or with this batch stuff? I'm freaking losing sleep over this! (Yeah, that's Right! Losing Sleep!)
NETSEND Application In VB6
Hello,
I am bored with the NETSEND Command Line interface. Hence, I have
written a NetSend application using VB6. This program internally
calls the Shell command to send the message. How can I know the
SUCCESS/FAILURE of the NETSEND command from VB? If the msg was not
sent successfully, I want to trap it and give an alert in my NetSend
User Interface.
Any help on the above would be appreciated. Is there any other way to
develop the NET SEND application in better way.
Regards,
Kamlesh
Netsend Using Shell Comand
hi,
just a quick question,
if i were to shell the dos prompt(cmd) could i use that same shell command to send a netsend message?
Any thoughts would be gretaly appreciated
Netsend Security Question
What are some security issues when using netsend? Like, other than net spam what other types of hacking can occur when the messenger is enabled?
Macroing NetSend Over The Internet
Is there a way to use the netsend command over the internet to another computer?
If so I need help to get the code but I also don't want to be able to see the windows CMD pop-up while it is doing it.
Any help?
Thanks
Send Message With NetSend Through LAN?
hi guys, I m trying to make a little program in VB that will send messages across a LAN via netsend.
I want a text box where they type the IP of the computer they wish to send a message to, then i want a text box that they can type their message into and then the click send and it sends it via netsend to the address, but i really dont know how i can link what they type in my programs text box to what they type in Command Prompt????
/edit i need what they type in my programs text boxes to come up in Command Prompt.
Any help greatly appreciated
Catching Netsend Message
Using the function NetMessageBufferSend
in the NETAPI32.dll i've been able to send
a message to another pc.
(look in VB-World - Internet Programming - Broadcasting a Message)
(Note in this htm there r two FromName variables
need to change one of them, else getting compile error)
Now is it possible to catch this message at
the receiving end and diplay it in my window
rather than the usual dull messagebox?
Working With NetSend 2001
Has anyone worked with NetSend2001 through VB code? I have created a database that runs the network version of NetSend.
The company that I am creating the databases has recently purchased NetSend2001 and I am trying to incorporate this program into the database.
This new program will be replacing the network version. I have tried CreateObject function and this does not want to work.
Does anyone have any ideas or suggestions?
Thank,
crpjaviman
Storing Images In SQL Vs. Storing Path To Image File
I'm writing a document management application whereby users will be able to scan documents into the application. Then from within the applicaiton the users will be able to access the scanned documents.
So the debate is whether I should store the image directly in SQL Server (7.0) or simply store the path to the image and put the image on a network folder.
I have heard people recommend storing only the path and not the image itself but I don't know the reasons.
Obviously the database would be quite large but can't SQL server handle it? Backups would have to be performed either way so... I suppose if the database was corrupted then all images would be lost as opposed to single image files being corrupted on the harddrive.
I guess I'd like to hear what others have done in the past, their opinions, etc.
Thanks in advance.
|