|
-
Jun 17th, 2012, 03:40 AM
#1
Thread Starter
Lively Member
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
-
Jun 17th, 2012, 08:05 AM
#2
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.
-
Jun 17th, 2012, 09:46 AM
#3
Thread Starter
Lively Member
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
-
Jun 18th, 2012, 02:48 AM
#4
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
-
Jun 18th, 2012, 07:25 AM
#5
Thread Starter
Lively Member
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...
-
Jun 18th, 2012, 08:14 AM
#6
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.
-
Jun 18th, 2012, 08:34 AM
#7
Thread Starter
Lively Member
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?
-
Jun 18th, 2012, 08:48 AM
#8
Re: Voice chat Ip to Ip vb6.0
Google, rentacoder, other
-
Jun 18th, 2012, 05:24 PM
#9
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.
-
Jun 19th, 2012, 02:49 PM
#10
Thread Starter
Lively Member
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
-
Jun 19th, 2012, 02:55 PM
#11
Thread Starter
Lively Member
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....
-
Jun 19th, 2012, 03:17 PM
#12
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.
-
Jun 20th, 2012, 05:49 AM
#13
Thread Starter
Lively Member
Re: Voice chat Ip to Ip vb6.0
ok sir i am waiting if good ip to ip talk with server can be possible
-
Jun 21st, 2012, 11:47 AM
#14
Thread Starter
Lively Member
Re: Voice chat Ip to Ip vb6.0
-
Jun 21st, 2012, 12:14 PM
#15
Re: Voice chat Ip to Ip vb6.0
 Originally Posted by masta9205990
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.
-
Jun 21st, 2012, 12:31 PM
#16
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.
-
Jun 21st, 2012, 12:41 PM
#17
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.
-
Jun 21st, 2012, 12:47 PM
#18
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).
 Originally Posted by DataMiser
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)
-
Jun 21st, 2012, 12:48 PM
#19
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
-
Jun 21st, 2012, 01:34 PM
#20
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.
-
Jun 21st, 2012, 01:57 PM
#21
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
-
Jun 21st, 2012, 01:58 PM
#22
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.
-
Jun 21st, 2012, 02:28 PM
#23
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.
-
Jun 21st, 2012, 03:38 PM
#24
Re: Voice chat Ip to Ip vb6.0
 Originally Posted by masta9205990
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.
-
Jun 21st, 2012, 04:57 PM
#25
Thread Starter
Lively Member
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.
-
Jun 21st, 2012, 04:58 PM
#26
Thread Starter
Lively Member
Re: Voice chat Ip to Ip vb6.0
Post what u work , it will help me, where is downloading link or attach file?
-
Jun 21st, 2012, 05:25 PM
#27
Re: Voice chat Ip to Ip vb6.0
 Originally Posted by masta9205990
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.
-
Jun 21st, 2012, 05:34 PM
#28
Thread Starter
Lively Member
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......
-
Jun 21st, 2012, 05:38 PM
#29
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.
-
Jun 21st, 2012, 05:38 PM
#30
Thread Starter
Lively Member
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?
-
Jun 21st, 2012, 05:40 PM
#31
Thread Starter
Lively Member
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.....
-
Jun 21st, 2012, 05:42 PM
#32
Re: Voice chat Ip to Ip vb6.0
 Originally Posted by masta9205990
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.
-
Jun 21st, 2012, 05:43 PM
#33
Re: Voice chat Ip to Ip vb6.0
 Originally Posted by masta9205990
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.
-
Jun 21st, 2012, 05:47 PM
#34
Thread Starter
Lively Member
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 ...
-
Jun 21st, 2012, 05:47 PM
#35
Re: Voice chat Ip to Ip vb6.0
 Originally Posted by masta9205990
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.
-
Jun 21st, 2012, 05:48 PM
#36
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.
-
Jun 21st, 2012, 05:52 PM
#37
Thread Starter
Lively Member
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.
-
Jun 21st, 2012, 05:54 PM
#38
Thread Starter
Lively Member
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...
-
Jun 21st, 2012, 06:01 PM
#39
Re: Voice chat Ip to Ip vb6.0
 Originally Posted by masta9205990
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.
-
Jun 21st, 2012, 06:04 PM
#40
Thread Starter
Lively Member
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|