I've have a video capture drive installed on a computer which I can access
from VB... so far, so good.
One of the properties of the capture driver is the IP address it uses to
reach out over the network and watch a video stream. Again, good.
I need the VB program to programatically change the IP address the capture
driver is using. But so far, the only way I can see to change that value is
to use the AVICap callback function WM_CAP_SET_CALLBACK_STATUS. This opens a
dialogue box associated with that particular capture drive, and one of the
fields in the box allows the user to enter an IP address to be viewed (and
thereby capture an image from).
But what we need is to push an IP address to the driver instead. I don't
know if this can be done, requires particular info regarding the driver from
the author, can be worked-around, or is some other clever solution which
eludes me...
Anyone out there know how to do this?
For what it's worth, this particular capture driver is the one included as
part of VBrick's StreamPlayer Plus software.
Thanks
Pat 2 1487
Hi Pat,
Since I do not the exact device you are using, I am giving a possible work
around
1. Do the stuff you are doing to get the device driver window
2. Use the FindWindow API to get the handle to the window
3. Loop thru the windows inside this to get to the IP textbox
4. Use the Settext to set the right IP.
5. Close the window saving the setting.
This should do the needful and most probably is fast enough that the user
just sees a flicker.
--
Rgds,
Anand http://www.dotnetindia.com
"Pat Furrie" wrote:
I've have a video capture drive installed on a computer which I can access
from VB... so far, so good.
One of the properties of the capture driver is the IP address it uses to
reach out over the network and watch a video stream. Again, good.
I need the VB program to programatically change the IP address the capture
driver is using. But so far, the only way I can see to change that value is
to use the AVICap callback function WM_CAP_SET_CALLBACK_STATUS. This opens a
dialogue box associated with that particular capture drive, and one of the
fields in the box allows the user to enter an IP address to be viewed (and
thereby capture an image from).
But what we need is to push an IP address to the driver instead. I don't
know if this can be done, requires particular info regarding the driver from
the author, can be worked-around, or is some other clever solution which
eludes me...
Anyone out there know how to do this?
For what it's worth, this particular capture driver is the one included as
part of VBrick's StreamPlayer Plus software.
Thanks
Pat
Anand,
Thank you for the great suggestion. Since no user will be watching the
program, any flicker is beside the point (in other words, no problem). I'll
give it a try and see how it turns out.
Thanks again!
Pat
"Anand Mukundan" wrote:
Hi Pat,
Since I do not the exact device you are using, I am giving a possible work
around
1. Do the stuff you are doing to get the device driver window
2. Use the FindWindow API to get the handle to the window
3. Loop thru the windows inside this to get to the IP textbox
4. Use the Settext to set the right IP.
5. Close the window saving the setting.
This should do the needful and most probably is fast enough that the user
just sees a flicker.
--
Rgds,
Anand http://www.dotnetindia.com
"Pat Furrie" wrote:
I've have a video capture drive installed on a computer which I can access
from VB... so far, so good.
One of the properties of the capture driver is the IP address it uses to
reach out over the network and watch a video stream. Again, good.
I need the VB program to programatically change the IP address the capture
driver is using. But so far, the only way I can see to change that value is
to use the AVICap callback function WM_CAP_SET_CALLBACK_STATUS. This opens a
dialogue box associated with that particular capture drive, and one of the
fields in the box allows the user to enter an IP address to be viewed (and
thereby capture an image from).
But what we need is to push an IP address to the driver instead. I don't
know if this can be done, requires particular info regarding the driver from
the author, can be worked-around, or is some other clever solution which
eludes me...
Anyone out there know how to do this?
For what it's worth, this particular capture driver is the one included as
part of VBrick's StreamPlayer Plus software.
Thanks
Pat
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Raymond H. |
last post by:
Hello,
I tried the line in vb but it open the dialogue box (I'd like not to
open this box; I'd like save without viewing a dialogue box).
WebBrowser1.ExecWB OLECMDID_SAVEAS,...
|
by: kevinm3574 |
last post by:
So, I'm doing the following in a php script so that I can fire a
download dialogue AND redirect the page (after clicking submit in a
form). I'm doing it this way because of the problem with...
|
by: Andrew Fox |
last post by:
I have been working on this for a while, and unless I have missed a
vital part of Access then I think it is very difficult to do.
I have a database with two main tables:
Drivers: Driver Details...
|
by: kevin |
last post by:
Hi,
Any help with this would be really appreciated!
I'm trying to download a file from a remote server. The access
permissions is okay but the problem I'm facing is that the file is
getting...
|
by: Ger |
last post by:
My dialogue form (sometimes partly, sometimes as a whole) remains visible
during a fairly long processing job.
The dialogue asks the user to enter some data for the job to follow, and
after OK,...
|
by: sasan3 |
last post by:
Please read below for my collective response to recent posts on this
topic.
First a repeat of my suggestion:
"Anytime you feel you are in a position to answer a question, but
don't
feel like...
|
by: edski |
last post by:
Using a technique I found here:
http://www.vertexwerks.com/tests/sidebox/
I created these "dialogue" boxes:
http://www.ebph.org/test.htm
In IE6, the text does not wrap correctly around the...
|
by: UltimateNickFury |
last post by:
Hello,
I am trying to display the "Printer Settings" dialogue in vb.net. I have
found the code for performing this in VB6 but am wondering how this is done
in vb.net. Thanks.
|
by: Donn Ingle |
last post by:
Hi,
Okay, so I am in the mood to try this: Inform the user about what modules
the app requires in a graphical dialogue that can vary depending on what
the system already has installed. (It will...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |