|
You can use a service like dyndns to get a static IP.
|
|
|
|
|
|
If your server has a static IP, your clients can broadcast their IP to that known location.
|
|
|
|
|
|
PREMSONBABY wrote: and i dont have a static ip for both c1,c2.
So, once a client is connected to the server, the server needs to publish other client IP addresses.
|
|
|
|
|
|
Aarrgghhh !!!
Seriously, what is so confusing to you ?
PREMSONBABY wrote:
server will not be able to publish the ip of other client also , because none of my client have static ip.
You're just plain wrong. As the server has a static IP, the client can transmit their IP to the server when they connect, and so the server can publish a list. How do you think that Napster used to work ?
|
|
|
|
|
PREMSONBABY wrote: server will not be able to publish the ip of other client also , because none of my client have static ip.
They are static enough for to communicate in one session - that session can last for days or months! When the client disconnects the server stops publishing the IP address. When the client connects again (possibly with a new IP address) the server can publish that new IP address.
What is so difficult about that?
|
|
|
|
|
hi,
I get some signals from COM port in binary number ( 8 bit ) . I also write code to change them into decimal number . But i don ' t know how to draw them ( like a sound wave ).Can anyone help me ?
Sorry if my English is bad .
Thanks .
|
|
|
|
|
Look into the Graphics and Bitmap classes, they will tell you all you need to know for how to draw stuff. The specifics of how you want to represent your data is up to you.
|
|
|
|
|
Hi everyone,
I am working on a Id printing system.. the system should be able to take picture of the person with the camera and save it to a database so as to be able to retrieve it later for printing..How do i call the digital camera and take a picture and save that picture..can anyone help me..please..
Nab
|
|
|
|
|
Canon cameras have an SDK, which is in C. The older cameras ( which you can't buy anymore ) have a C# wrapper you could use, if you can buy a used camera. Some other cameras have some sort of SDK support, but none as good as Canon.
You could write a wrapper for the new SDK, and buy an A640, that's the one that has SDK support now.
|
|
|
|
|
hi,
anyone know how to create multiple textbox using for loop in vb.net?
Dim i As Integer
For i = 0 To i <= 10
Dim textBox(i) As TextBox
textBox(i).Multiline = True
textBox(i).ScrollBars = ScrollBars.Vertical
textBox(i).AcceptsReturn = True
textBox(i).AcceptsTab = True
textBox(i).WordWrap = True
textBox(i).Text = "Welcome!"
textBox(i).Visible = True
Me.Controls.Add(textBox(i))
Next
I have write the above coding but it's look not successfully and didn't appear any textbox comeout!!!
So, anyone know please help!
charleslau2855
|
|
|
|
|
You have not set a position for the textbox. It probably exists, but not in the visible area of the form.
|
|
|
|
|
Thanks, Christian Graus!
the following code:
Dim i As Integer
For i = 0 To i <= 10
Dim textBox(i) As TextBox
dim e as integer
textBox(i).Multiline = True
textBox(i).ScrollBars = ScrollBars.Vertical
textBox(i).AcceptsReturn = True
textBox(i).AcceptsTab = True
textBox(i).WordWrap = True
textBox(i).Text = "Welcome!"
textBox(i).Visible = True
textBox(i).Location = New Point(16 + e, 32)
Me.Controls.Add(textBox(i))
i = i + 1
e = e + 5
Next
Note: but after i set the position but It's also didn't comeout the textbox? then how to get the textbox comeout?
charleslau2855
|
|
|
|
|
charleslau2855 wrote: i = i + 1
Doesn't think mean that i is increased twice per loop ?
Have you tried stepping through and checking things like the Size and Location property after it's added to the controls collection ?
|
|
|
|
|
How do you expose all objects of directshow. All I found is to reference quartz.dll, that only gives limited.
Mark Thibodeaux
|
|
|
|
|
If you download the latest platform SDK, DirectShow has a managed interface. Or, there are wrappers on the web, including at least one on CP.
|
|
|
|
|
Hi,
I am new to vb.net, i would like to play a video, and during certain time frames within the video add text to it.
for example after 10secs into a video clip some message should pop up and then the video should continue to play. is this possible, and if so how? Im assuming i will need the windows SDK stuff.
I would much appreciate anybodies help.
|
|
|
|
|
Playing a video is easy. Titles are more tricky, unless you use WPF ( .NET 3.0 ). In that case, it's quite easy. Otherwise, it's pretty involved, and I don't know exactly how it's done.
|
|
|
|
|
hi
thanks for the reply, but how exactly do I play a video? i was hoping you could show me how to do this.
Im looking for a windows media player embedded form or something along these lines so whilst playing the video the user has the ability to play, fast forward, rewind, pause, stop etc.
|
|
|
|
|
jady84 wrote: i was hoping you could show me how to do this.
OK, I assumed you'd googled to find out how to do that, and wanted to know how to do titles.
You add WMP to your control list, and then you can drag it onto your form. You can specify how much UI it shows, and you can do your own buttons if you prefer.
|
|
|
|
|
Hi,
Sorry about being a pest here, but I am new to this whole thing, how exactly do I go about adding WMP to the control list? (where is the control list?)
|
|
|
|
|
In the toolbox, right click and choose 'choose items'
|
|
|
|
|
when i right click i get to 'add/remove' items, iguessthats what you meant so i try to search to WMP but it's not there. i have windows mediaplayer SDK and windows media encoder already installed on the PC, also i have triedto browse but i cannot seem to add WMP to the control box, is there another way?
|
|
|
|