Results 1 to 8 of 8

Thread: how to : use winsock

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2004
    Posts
    5

    how to : use winsock

    I'm a newbie in coding VB and my english is not good. I have some questions, plz help me :
    I want to make a program that run in a network which have some computers like this :
    1) The computer of boss.
    2) The secretary's computer.
    3) Some computers of the workers.
    - When the office receive a letter or a mail, the secretary will scan it (if it's a letter) or copy and paste the text to Microsoft Word (if it's a mail) and send to the boss. The boss will view and sign "accepted " then send back to the secretary. After that ,the secretary can send that document (file .pdf or file .doc) to other computers (workers' computer ).
    - OR the secretary write a document and send it to the boss. The boss edit it end send it back to the secrectary . After that it will be sent to other computers.
    Can I use winsock to transfer file ? How can I make a signature for the boss which can not be faked ? How to arrange documents in a scientific way.

  2. #2
    PowerPoster Halsafar's Avatar
    Join Date
    Jun 2004
    Location
    Saskatoon, SK
    Posts
    2,339

    Re: how to : use winsock

    All that can be done in VB quite easily.
    Well a signature pure to the boss only -- also possible but someone could easily fake it no matter how perfect you make it, if someone wants to, they can.

    An explanation is unworthy since you asked 5 questions all which are quite complicated.
    If you do not understand how to Winsock in VB then google for some tutorials.

    Or, ask 1-2 questions at a time instead of 5.

    If you wait long enough I am going to write a tutorial for Winsock in C++.
    "From what was there, and was meant to be, but not of that was faded away." - - Steve Damm

    "The polar opposite of nothingness is existance. When existance calls apon nothingness it shall return to nothingness." - - Steve Damm

    "When you do things right, people won't be sure if you did anything at all." - - God from Futurama

  3. #3
    Frenzied Member
    Join Date
    Aug 2000
    Location
    O!
    Posts
    1,177

    Re: how to : use winsock

    If I understand you correctly, you could do all that with email. Unless the document requires a real signature. In that case, the boss would have to create a hard copy of the document, sign it, rescan it and then return it to the secretary.

    If you can get by with an image of the signature, then the boss could edit the document and paste in a .jpg (or whatever) image of his/her signature before returning the document to the secretary. If access to the boss's pc is restricted properly, the signature image should be secure.

  4. #4

    Thread Starter
    New Member
    Join Date
    Nov 2004
    Posts
    5

    Re: how to : use winsock

    thank for your advice Halsafar ! I just want some codes that can send file to another computer ( every types of files, and the size up to 100 MB ). It can run on every computer , don't have client or server. And it sounds "beep" when receive file. Can u help me ?
    thank you ccoder ! But login and download file from a mail server is less safe and take more times than internal transfering files . And an important thing is it is not right that all the computers can connect to internet.

  5. #5
    Frenzied Member
    Join Date
    Aug 2000
    Location
    O!
    Posts
    1,177

    Re: how to : use winsock

    Quote Originally Posted by simboy
    thank you ccoder ! But login and download file from a mail server is less safe and take more times than internal transfering files . And an important thing is it is not right that all the computers can connect to internet.
    From what you are saying, I have to assume that your company does not have its own internal mail server like MS Exchange, etc. Then yes, it isn't as safe as a file transfer.

    On another note, I would display a message box rather than sound a beep when the computer recieves a file. If someone is away from their desk when the file arrives, they won't hear the beep.

  6. #6

    Thread Starter
    New Member
    Join Date
    Nov 2004
    Posts
    5

    Re: how to : use winsock

    I don't know about "MS Exchange". Maybe I will find more inforamtion about it.
    "sound a beep " is just an sample. Its easy to edit it and replace with a msgbox. So I will thank u much if u help me some code than finding my mistake .

  7. #7
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: how to : use winsock

    Hopefully you will find this handy...Winsock

  8. #8
    PowerPoster
    Join Date
    Dec 2003
    Posts
    4,787

    Re: how to : use winsock


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width