Page 1 of 2 12 LastLast
Results 1 to 40 of 68

Thread: Voice chat Ip to Ip vb6.0

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Dec 2011
    Posts
    64

    Resolved Voice chat Ip to Ip vb6.0

    hello any one have a project source ip to ip Voice chat
    where one person can talk ...with each other....
    please i need an example in vb6.0
    any one please post it..
    Last edited by si_the_geek; Jun 17th, 2012 at 08:03 AM. Reason: removed email address

  2. #2
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: Voice chat Ip to Ip vb6.0

    Welcome to VBForums

    Thread moved from the 'CodeBank VB6' forum (which is for you to post working code examples, not questions) to the 'VB6 and earlier' forum

    I have removed your email address to protect you from spam bots. If other members want to contact you, they can do so via the forum software.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Dec 2011
    Posts
    64

    Re: Voice chat Ip to Ip vb6.0

    Sir/medam please help to ip to ip Voice Talk ,
    Please any one Post an Example for that ,
    thank you very much sir

  4. #4
    PowerPoster Nightwalker83's Avatar
    Join Date
    Dec 2001
    Location
    Adelaide, Australia
    Posts
    13,344

    Re: Voice chat Ip to Ip vb6.0

    You might find an vb6 example if you search the forum.
    when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
    If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
    https://get.cryptobrowser.site/30/4111672

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Dec 2011
    Posts
    64

    Re: Voice chat Ip to Ip vb6.0

    Sir i not found any example , thats why i need ur help for ip to ip talk example..... can you made it for me...

  6. #6
    PowerPoster
    Join Date
    Feb 2012
    Location
    West Virginia
    Posts
    14,206

    Re: Voice chat Ip to Ip vb6.0

    This forum is for asking questions and getting help with your coding problems. We do not write software for you. If you are looking for something that is already written then you should use a google search or hire a programmer.

  7. #7

    Thread Starter
    Lively Member
    Join Date
    Dec 2011
    Posts
    64

    Re: Voice chat Ip to Ip vb6.0

    but how to hire a programmer for my application ??? please tell me.... in which selection or link?

  8. #8
    PowerPoster
    Join Date
    Feb 2012
    Location
    West Virginia
    Posts
    14,206

    Re: Voice chat Ip to Ip vb6.0

    Google, rentacoder, other

  9. #9
    PowerPoster
    Join Date
    Jan 2008
    Posts
    11,074

    Re: Voice chat Ip to Ip vb6.0

    The only thing I could find was this:

    http://voice.software.informer.com/d...c-source-code/

    I did not download the sample code to test it so I don't know what it is or how it works of if it's what you are looking for. My guess is that in addition to a chat program using Winsock you are also going to need to incorporate sound using some APIs that deal with sound. Basically it looks like what you will need to do is to send voice data like you will speak into a mic and your program stores up the sound data and then sends it through the IP connection as normal binary data and the other end receives it and sends it to a sound player.

    I have not done a voice IP but have a telephone answering application which answers the caller and sends a message through the phone line and accepts dial-tone input but it isn't a two-way conversation but it might be re-built to do so. I will look for it and post it if you are interested. The application uses TAPI (for the phone stuff which would be replaced with Winsock for Intenet) and sound APIs for the messages that you hear through the phone and not the PC speakers
    Last edited by jmsrickland; Jun 19th, 2012 at 01:02 PM.


    Anything I post is an example only and is not intended to be the only solution, the total solution nor the final solution to your request nor do I claim that it is. If you find it useful then it is entirely up to you to make whatever changes necessary you feel are adequate for your purposes.

  10. #10

    Thread Starter
    Lively Member
    Join Date
    Dec 2011
    Posts
    64

    Re: Voice chat Ip to Ip vb6.0

    Sir You Please See this Example
    i want to make 1 server folder to run , and 1 i want to do a client folder but this voip is giving difficulty for me
    Can you please see this example for voip Voice.................
    here is a downloading Link
    http://www.2shared.com/file/ZNkZIwEO/ip_to_ip_v.html

  11. #11

    Thread Starter
    Lively Member
    Join Date
    Dec 2011
    Posts
    64

    Re: Voice chat Ip to Ip vb6.0

    Actually we do Client and Server Folder , but on above source that is done in ONE....i have a vps to check it for server.exe but i dont know that Voice is going to trasmit or not....

  12. #12
    PowerPoster
    Join Date
    Jan 2008
    Posts
    11,074

    Re: Voice chat Ip to Ip vb6.0

    In the module WaveStream.cls the below code is at the very beginning and it causes an error when the app is run. Error invalid outside procedure. If I remove it then project wont run.

    [code]

    VERSION 1.0 CLASS
    BEGIN
    MultiUse = -1 'True
    Persistable = 0 'NotPersistable
    DataBindingBehavior = 0 'vbNone
    DataSourceBehavior = 0 'vbNone
    MTSTransactionMode = 0 'NotAnMTSObject
    END
    Attribute VB_Name = "WaveStream"
    Attribute VB_GlobalNameSpace = False
    Attribute VB_Creatable = True
    Attribute VB_PredeclaredId = False
    Attribute VB_Exposed = False
    '
    '
    '
    {/code]


    Anything I post is an example only and is not intended to be the only solution, the total solution nor the final solution to your request nor do I claim that it is. If you find it useful then it is entirely up to you to make whatever changes necessary you feel are adequate for your purposes.

  13. #13

    Thread Starter
    Lively Member
    Join Date
    Dec 2011
    Posts
    64

    Re: Voice chat Ip to Ip vb6.0

    ok sir i am waiting if good ip to ip talk with server can be possible

  14. #14

    Thread Starter
    Lively Member
    Join Date
    Dec 2011
    Posts
    64

    Re: Voice chat Ip to Ip vb6.0

    any help?

  15. #15
    PowerPoster
    Join Date
    Feb 2012
    Location
    West Virginia
    Posts
    14,206

    Re: Voice chat Ip to Ip vb6.0

    Quote Originally Posted by masta9205990 View Post
    ok sir i am waiting if good ip to ip talk with server can be possible
    Rather than waiting for someone else to find the info for you you should be searching for it yourself. If it exsits then a few google searches should turn up some info.

  16. #16
    PowerPoster
    Join Date
    Jan 2008
    Posts
    11,074

    Re: Voice chat Ip to Ip vb6.0

    He posted a link in post 10. I downloaded the example but had a problem with it so I posted the problem in post 12. It has to do with the class module which I don't understand why I am getting that partial stuff.

    The class module has some text at the beginning which I didn't put in it. I think VB is adding that to the class module. See red stuff.

    Code:
    VERSION 1.0 CLASS
    BEGIN
      MultiUse = -1  'True
      Persistable = 0  'NotPersistable
      DataBindingBehavior = 0  'vbNone
      DataSourceBehavior  = 0  'vbNone
      MTSTransactionMode  = 0  'NotAnMTSObject
    END
    Attribute VB_Name = "WaveStream"
    Attribute VB_GlobalNameSpace = False
    Attribute VB_Creatable = False
    Attribute VB_PredeclaredId = False
    Attribute VB_Exposed = True
    
    Option Explicit
    ' Public Variable Declarations
    Public Recording As Boolean             ' Public Recording Status Indicator...
    Public RecDeviceFree As Boolean         ' Public Recording Device Status Indicator...
    Public Playing As Boolean               ' Public Recording Status Indicator...
    Public PlayDeviceFree As Boolean        ' Public Recording Device Status Indicator...
    Public waveChunkSize As Long            ' size of wave data buffer
       '
       '
       '
    But when I try to run the project I get an compile error Invalid outside of procedure. If I remove it then I can't run the project

    Code:
    
      MultiUse = -1  'True
      Persistable = 0  'NotPersistable
      DataBindingBehavior = 0  'vbNone
      DataSourceBehavior = 0   'vbNone
      MTSTransactionMode = 0   'NotAnMTSObject
    End
    
    Option Explicit
    ' Public Variable Declarations
    Public Recording As Boolean             ' Public Recording Status Indicator...
    Public RecDeviceFree As Boolean         ' Public Recording Device Status Indicator...
    Public Playing As Boolean               ' Public Recording Status Indicator...
    Public PlayDeviceFree As Boolean        ' Public Recording Device Status Indicator...
    Public waveChunkSize As Long            ' size of wave data buffer
    Public waveCodec As Long                ' acm codec compression format
    Public TIMESLICE As Single              ' recording interval...
    Private Const MINSTREAM = 1
       '
       '


    Anything I post is an example only and is not intended to be the only solution, the total solution nor the final solution to your request nor do I claim that it is. If you find it useful then it is entirely up to you to make whatever changes necessary you feel are adequate for your purposes.

  17. #17
    PowerPoster
    Join Date
    Feb 2012
    Location
    West Virginia
    Posts
    14,206

    Re: Voice chat Ip to Ip vb6.0

    That is odd, those look more like settings for an activex dll or exe

    That does not exist anywhere in what I just downloaded. I even searched the folder for any file containing DataBindingBehavior and there were no matches.

    The project group loads and runs on my system as is.

  18. #18
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: Voice chat Ip to Ip vb6.0

    That text is supposed to be there... it is the header info, which VB uses to set various properties etc. Like most file types, many VB file types (including .frm, .ctl, etc) have headers.

    I don't know what, but you (or the software on your computer) are doing something wrong.

    If you open the .cls file in VB, it should open normally without displaying that text (and it did for me).

    Quote Originally Posted by DataMiser View Post
    That does not exist anywhere in what I just downloaded. I even searched the folder for any file containing DataBindingBehavior and there were no matches.
    Your search isn't working fully (which unfortunately is the default in Windows these days), it is in the first few lines of the file WaveStream.cls (you'll need to open it in something like NotePad to see)

  19. #19
    PowerPoster
    Join Date
    Feb 2012
    Location
    West Virginia
    Posts
    14,206

    Re: Voice chat Ip to Ip vb6.0

    That is weird, I tried the search again and it returns no matches but if I open that class file with UltraEdit I see the lines you mention at the top, they must be hidden in the VB editor and are settings for the class. It is very odd that when I search for a file containing word or phrase that it does not show up as a match though

  20. #20
    PowerPoster
    Join Date
    Jan 2008
    Posts
    11,074

    Re: Voice chat Ip to Ip vb6.0

    I downloaded the zip from the link posted in 10 and just clicked on the .vbg file and everything loaded up OK. But when I clicked on Run I got that partial header stuff in the class module and thus the error.

    What I do to look at a class module I just rename it to classmodule.cls.txt and look at it in Notepad then rename it back to .cls afterwards


    Anything I post is an example only and is not intended to be the only solution, the total solution nor the final solution to your request nor do I claim that it is. If you find it useful then it is entirely up to you to make whatever changes necessary you feel are adequate for your purposes.

  21. #21
    PowerPoster
    Join Date
    Feb 2012
    Location
    West Virginia
    Posts
    14,206

    Re: Voice chat Ip to Ip vb6.0

    You can open it with notepad or any other text editor, it's just a plain text file, no need to rename anything right click and choose open with then browse for notepad.

    That class info that you posted should not be visible in the VB editor but it is in a text editor.

    if I open it in Ultra Edit the top of the file looks like
    Code:
    VERSION 1.0 CLASS
    BEGIN
      MultiUse = -1  'True
      Persistable = 0  'NotPersistable
      DataBindingBehavior = 0  'vbNone
      DataSourceBehavior  = 0  'vbNone
      MTSTransactionMode  = 0  'NotAnMTSObject
    END
    Attribute VB_Name = "WaveStream"
    Attribute VB_GlobalNameSpace = False
    Attribute VB_Creatable = True
    Attribute VB_PredeclaredId = False
    Attribute VB_Exposed = False
    
    Option Explicit
    ' Public Variable Declarations
    Public Recording As Boolean             ' Public Recording Status Indicator...
    Public RecDeviceFree As Boolean         ' Public Recording Device Status Indicator...
    Public Playing As Boolean               ' Public Recording Status Indicator...
    Public PlayDeviceFree As Boolean        ' Public Recording Device Status Indicator...
    Public waveChunkSize As Long            ' size of wave data buffer
    Public waveCodec As Long                ' acm codec compression format
    Public TIMESLICE As Single              ' recording interval...
    If I open it with VB it looks like this
    Code:
    Option Explicit
    ' Public Variable Declarations
    Public Recording As Boolean             ' Public Recording Status Indicator...
    Public RecDeviceFree As Boolean         ' Public Recording Device Status Indicator...
    Public Playing As Boolean               ' Public Recording Status Indicator...
    Public PlayDeviceFree As Boolean        ' Public Recording Device Status Indicator...
    Public waveChunkSize As Long            ' size of wave data buffer
    Public waveCodec As Long                ' acm codec compression format
    Public TIMESLICE As Single              ' recording interval...
    Private Const MINSTREAM = 1

  22. #22
    PowerPoster
    Join Date
    Feb 2012
    Location
    West Virginia
    Posts
    14,206

    Re: Voice chat Ip to Ip vb6.0

    In order to create a single project you would first need to build the user control in project 2 then add that control to your toolbox and place that on the form in project 1


    btw if you find a need to look at text files or other files in text mode very often then a simple way to do this and the way I do it is simply add a shortcut to notepad in your sendto menu then when you right click on any file you have an option to send to notepad. I use this quite a lot, very handy for this kind of thing.

  23. #23
    PowerPoster
    Join Date
    Jan 2008
    Posts
    11,074

    Re: Voice chat Ip to Ip vb6.0

    I already made a single project out of it. I just copied all the components to a folder (Form1, Module1,2, and 3, WaveStream.cls, and UserControl.ctl) Open new project and add all components.


    Anything I post is an example only and is not intended to be the only solution, the total solution nor the final solution to your request nor do I claim that it is. If you find it useful then it is entirely up to you to make whatever changes necessary you feel are adequate for your purposes.

  24. #24
    PowerPoster
    Join Date
    Jan 2008
    Posts
    11,074

    Re: Voice chat Ip to Ip vb6.0

    Quote Originally Posted by masta9205990 View Post
    Sir You Please See this Example
    i want to make 1 server folder to run , and 1 i want to do a client folder but this voip is giving difficulty for me
    Can you please see this example for voip Voice.................
    here is a downloading Link
    http://www.2shared.com/file/ZNkZIwEO/ip_to_ip_v.html
    Why don't you download it yourself and use it. If you did then doesn't it work?


    Anything I post is an example only and is not intended to be the only solution, the total solution nor the final solution to your request nor do I claim that it is. If you find it useful then it is entirely up to you to make whatever changes necessary you feel are adequate for your purposes.

  25. #25

    Thread Starter
    Lively Member
    Join Date
    Dec 2011
    Posts
    64

    Re: Voice chat Ip to Ip vb6.0

    jmsrickland Can you tell me how i will do this project? i just came here for help me this, please please please help me out , can you post ur work on it? on a file , what you did with it in coding?
    coz this forum is for help.

  26. #26

    Thread Starter
    Lively Member
    Join Date
    Dec 2011
    Posts
    64

    Re: Voice chat Ip to Ip vb6.0

    Post what u work , it will help me, where is downloading link or attach file?

  27. #27
    PowerPoster
    Join Date
    Jan 2008
    Posts
    11,074

    Re: Voice chat Ip to Ip vb6.0

    Quote Originally Posted by masta9205990 View Post
    Post what u work , it will help me, where is downloading link or attach file?
    You are the one that posted the link (your post #10). I just downloaded it. I have no idea if it works. You need to download it and test it out. I can't test it because I do not have any sound software on my PC.
    Last edited by jmsrickland; Jun 21st, 2012 at 05:38 PM.


    Anything I post is an example only and is not intended to be the only solution, the total solution nor the final solution to your request nor do I claim that it is. If you find it useful then it is entirely up to you to make whatever changes necessary you feel are adequate for your purposes.

  28. #28

    Thread Starter
    Lively Member
    Join Date
    Dec 2011
    Posts
    64

    Re: Voice chat Ip to Ip vb6.0

    Sir .... what to say .... u take this Vps and check it out
    Main IP Address: 184.22.197.44
    Username: Administrator
    Password: mafia2remember
    this vps has a Sound Card also......

  29. #29
    PowerPoster
    Join Date
    Jan 2008
    Posts
    11,074

    Re: Voice chat Ip to Ip vb6.0

    1 i want to do a client folder but this voip is giving difficulty for me

    Explain what difficulty it is giving you. I have the code. It runs OK but like I said until I install a sound software I can't tell how it behaves with the sound part.


    Anything I post is an example only and is not intended to be the only solution, the total solution nor the final solution to your request nor do I claim that it is. If you find it useful then it is entirely up to you to make whatever changes necessary you feel are adequate for your purposes.

  30. #30

    Thread Starter
    Lively Member
    Join Date
    Dec 2011
    Posts
    64

    Re: Voice chat Ip to Ip vb6.0

    i dont know why you guys not provided me the good service, even if i wana buy a programming services from a programmer, then who to higher for a little voice project?

  31. #31

    Thread Starter
    Lively Member
    Join Date
    Dec 2011
    Posts
    64

    Re: Voice chat Ip to Ip vb6.0

    look sir i want to Talk with ip to ip where 2 person can voice chat with each other.....
    for that i need a sample project , a good one and fixed one with my desires.....

  32. #32
    PowerPoster
    Join Date
    Jan 2008
    Posts
    11,074

    Re: Voice chat Ip to Ip vb6.0

    Quote Originally Posted by masta9205990 View Post
    Sir .... what to say .... u take this Vps and check it out
    Main IP Address: 184.22.197.44
    Username: Administrator
    Password: mafia2remember
    this vps has a Sound Card also......
    What is VPS? What do you mean it has a sound card? I don't have sound on my PC so how can I hear anything?

    Just tell me what is happening when you use it. Do you hear voice? Is the voice messed up or what?


    Anything I post is an example only and is not intended to be the only solution, the total solution nor the final solution to your request nor do I claim that it is. If you find it useful then it is entirely up to you to make whatever changes necessary you feel are adequate for your purposes.

  33. #33
    PowerPoster
    Join Date
    Jan 2008
    Posts
    11,074

    Re: Voice chat Ip to Ip vb6.0

    Quote Originally Posted by masta9205990 View Post
    look sir i want to Talk with ip to ip where 2 person can voice chat with each other.....
    for that i need a sample project , a good one and fixed one with my desires.....
    You need to help us to help you. If I can't hear what's going on then what do you want me to do? You run and test it and tell me what happens.


    Anything I post is an example only and is not intended to be the only solution, the total solution nor the final solution to your request nor do I claim that it is. If you find it useful then it is entirely up to you to make whatever changes necessary you feel are adequate for your purposes.

  34. #34

    Thread Starter
    Lively Member
    Join Date
    Dec 2011
    Posts
    64

    Re: Voice chat Ip to Ip vb6.0

    Sir look Simple i wana do this .... on client and server folder....
    where 2 person can chat with each other
    Take a look ...

  35. #35
    PowerPoster
    Join Date
    Jan 2008
    Posts
    11,074

    Re: Voice chat Ip to Ip vb6.0

    Quote Originally Posted by masta9205990 View Post
    i dont know why you guys not provided me the good service, even if i wana buy a programming services from a programmer, then who to higher for a little voice project?
    Because we are not God. I just cannot snap my fingers and give you a perfect working example. I have to know what to fix. You tell me what problem is.


    Anything I post is an example only and is not intended to be the only solution, the total solution nor the final solution to your request nor do I claim that it is. If you find it useful then it is entirely up to you to make whatever changes necessary you feel are adequate for your purposes.

  36. #36
    PowerPoster
    Join Date
    Jan 2008
    Posts
    11,074

    Re: Voice chat Ip to Ip vb6.0

    I know what you want to do so stop telling me that. I want you to tell me what problems you are having with the code not what you want to do.


    Anything I post is an example only and is not intended to be the only solution, the total solution nor the final solution to your request nor do I claim that it is. If you find it useful then it is entirely up to you to make whatever changes necessary you feel are adequate for your purposes.

  37. #37

    Thread Starter
    Lively Member
    Join Date
    Dec 2011
    Posts
    64

    Re: Voice chat Ip to Ip vb6.0

    its main problem is both voice are not doing....and also there is not clear voice....
    Last edited by masta9205990; Jun 21st, 2012 at 05:56 PM.

  38. #38

    Thread Starter
    Lively Member
    Join Date
    Dec 2011
    Posts
    64

    Re: Voice chat Ip to Ip vb6.0

    So thats why i want some one make me a custom example for voice talk where just i can put an ip on a text box and other client can hear with simple 2 IPS talk...

  39. #39
    PowerPoster
    Join Date
    Jan 2008
    Posts
    11,074

    Re: Voice chat Ip to Ip vb6.0

    Quote Originally Posted by masta9205990 View Post
    its main problem is both voice are doing....and also there is not clear voice....
    So you are saying that it works but the voice is not clear like it is fuzzy, mumble jumbo, scratchy, or something other than clear and sharp>

    Problem could be at your end with your sound card, your sound software or it could be in the program not sending the .wav data good.

    If you say "Hello" how does it sound on the other PC? Explain it like is it choppy, is it muttered, is it scratchy, or what the best you can describe the sound


    Anything I post is an example only and is not intended to be the only solution, the total solution nor the final solution to your request nor do I claim that it is. If you find it useful then it is entirely up to you to make whatever changes necessary you feel are adequate for your purposes.

  40. #40

    Thread Starter
    Lively Member
    Join Date
    Dec 2011
    Posts
    64

    Re: Voice chat Ip to Ip vb6.0

    Echo Sound ............ also it ........ why you not make a little example for me.....
    like this
    please make a custom example..........i request you sir...
    that is bad example , i want a good example from you sir and its request
    Last edited by masta9205990; Jun 21st, 2012 at 06:08 PM.

Page 1 of 2 12 LastLast

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