Display A Webcam Property Page With Avicap32?
Feb 13, 2011how do you display a webcam property page with avicap32? I am sending this message SendMessage(hHwnd, WM_CAP_EDIT_COPY, 0, 0) but the windows does not open
View 1 Replieshow do you display a webcam property page with avicap32? I am sending this message SendMessage(hHwnd, WM_CAP_EDIT_COPY, 0, 0) but the windows does not open
View 1 RepliesWe are using avicap32.dll for capturing Pictures from Webcam,and we want to display the list of connected Webcam names but we are only able to get the driver name for webcam by using capGetDriverDescriptionA method. Is there any method to get the name of the webcam like "asus W120"
View 5 RepliesI would like to do a program to capture a picture from webcam and display it.
View 1 RepliesI have a logitech webcam that I use to take pictures of customers to submit to a server/database. Utilizing AVICAP32.DLL calls, I was able to modify my VB.NET program to take these pictures via a button in my program.
My question is, it would me more convenient to my intended users to click the webcam button, instead of clicking on the button in my program.
Is this possible to do in VB.NET? and how can I do this?
If this is not possible to do with my logitech webcam than is there a Microsoft Webcam that can do this?
I am using the avicap32.dll to capture images and videos from the webcam. but for some reason the code refuses to save the video files. I searched already on DIC and google and I found some topics on it, but I don't find the answer for my question
View 2 RepliesThe following is code is for a windows form that I took straight from the code project website. Everything is working fine except when I stop recording, it's not saving where I want it to. I think the problem is the very last sub, but I cannot figure out what it is.
[Code]...
How to make a picturebox display "broadcast" from webcam, I want to take a picture and then save this. I've read lots of different proposals, however they are in VB6 or C# or any other but Visual Basic 2005
View 12 Replieswhen i record a video with avicap32 all become unresponsive what is the best way to procede?
how do u force avicap32 to record on a separated thread
1) how do you stop recording with avicap32.dll without saving the file?
2) How do you remove the recorded file
3) Where the recorded file is stored during recording? is it possible to give an address before starting to record?
I have a web cam connected through USB,I capturing and saving video it with avicap32.dll and user32.dll.But in the same time I need to starting other hardware and working with it trough COM port during capturing. And here appearing a problem, because then I send a command for start video capturing:
SendMessage(hWnd, WM_CAP_SEQUENCE, 0, 0) ' start video capture
the executing code stops at this line until I click to stop to capture. But in the capturing time I need to work with my hardware, to obtain the data from it, and after that to stop capturing.To make to work simultaneous video capturing and my hardware or its impossible to do that with avicap32.dll and user32.dll.
The Property Page of the VS.Net IDE can be a worthy alternative to a tabcontrol, tried searching for any controls that has such look and feel but did not find any. Could someone here point me out on ideas on how I could imitate it or perhaps some links that has a similar control?
View 6 RepliesI have an app that uses the Tabcontrol. Can the page under the tab have the property set for a scrollbar? I can see the autoscroll, but thats not what I need.
View 5 Repliesin vb 5 there was an add in wizard that helped create a property page for usercontrols. Is there something similar for vb2008. I thought I found it once but can't find it again?
View 2 RepliesWhen I right click on the ToolBox and click on Choose Items Error while loading property page comes up, and my toolbox is disabled, Also in the output this text appears:The Windows Forms Designer Package ({7494682B-37A0-11D2-A273-00C04F8EF4FF}) did not load because of previous errors. For assistance, contact the package vendor. To attempt to load this package again, type 'VBExpress /resetskippkgs' at the command prompt.
View 10 RepliesI'm in the process of making a usercontrol and i've run into the problem of how to make a property page. Obviously this makes setting up you control nicer and more importantly to my program makes loading the form faster (setting the properties in the load event vs property page). I was trying to find something to start on but i didn't find a propety page in the "New Item" menu or even something like the "Property Pages" property of a usercontrol in vb6 where i've done this before. How can i make the equivalent of the vb6 property page in vb.net? Maybe with a form or a dialog?
View 6 RepliesTrying to access a property from the parent page on my user control.
Here's the start of my default.asp codebehind:
Partial Class _Default
Inherits System.Web.UI.Page
Private _selectedID As String = "74251BK3232"
[Code].....
I'm getting the error "selectedID is not a member of System.Web.UI.Page"
I have a drop downList and I have it listing colors. When a color is selected I want to change the background color of the page itself.
I am using Visual Studio 2008 and using VB.Net.
I have seen it somewhere ages ago but cannot find the link... I want to create a custom drop-down "property page" like the one that pops out when you click on the down arrow in the property grid to set the anchoring.
View 5 RepliesI have:
Page.aspx
Page.aspx.vb
TestClass.vb
I'm trying to access a shared property of the TestClass class from the Page.aspx.This code works fine:
<head>
<script language="JavaScript">
<% if System.Globalization.CultureInfo.CurrentCulture.Name.ToLower = "pt-br" Then %>[code]......
In my Site.Master.vb file, I have a custom User object:[code]Now in one of the content pages, I want to be able to see if a user is logged in. I figured if the object u was declared in the Site Master, I could use it in the pages that derive from the Site Master. For example, I want to do:[code]
View 2 RepliesOn my .aspx page i want to be able to show and hide certain panels depending on user selections (radiobuttonlists).
For example in my aspx page i have;
<form id="form1" runat="server">
<asp:RadioButtonList ID="RadioButtonList1" runat="server" AutoPostBack="True">
<asp:ListItem>1</asp:ListItem>
[Code].....
How can I check the 'Checked' property of a dynamically-created checkbox during the Page_Load subroutine? Basically, I have a VB.NET page that creates some table rows dynamically, based on a number selected by the user. So, for example, if the user selects "3" from a dropdown list, the page posts back and creates three table rows. Each row contains a couple of textboxes, a dropdown list, and a checkbox (which are all .NET form controls rather than plain HTML controls, I should point out).Typically, the user would enter a few details into the form controls, and click the 'Submit' button, after which the page iterates through each row, and inserts the data into a SQL Server table.But if the user ticks the checkbox for that row, this signifies that the page is to ignore that row, and NOT insert that row of data into the database when the user clicks 'Submit'. This works well, but there is a problem. If the user clicks 'Submit' and some of the values entered into the form controls are invalid (so, for example, the user didn't enter their name) then the page won't submit the data, and instead, shows an error to the user informing them of the values they need to change. But if the user creates three rows, for example, but decides to "ignore" the third row (by ticking the checkbox) then when the page posts back, finds some invalid entries, and re-shows the form to the user to allow them to correct any errors, I'd rather the page didn't render the third row altogether. After all, they chose to create three rows originally, but then decided that they only needed two. So it makes sense that the third row is not recreated.
But what seemed to happen was that objCheckbox.Checked was always returning False, even when the checkbox was ticked. Once the page had loaded, the table rows had rendered again, and the tick was present in the checkbox, so it's not like the value was lost on postback. But at the point I check whether the checkbox is ticked, it always returns False, rendering a table row that the user doesn't need.Does anyone know how to get round this problem? I've read lots of articles about the .NET ViewState, and the page lifecycle, but I've yet to find a solution that works. I simply need to be able to check if a checkbox is ticked before re-creating some dynamic controls. [code] But then I basically found out that you can't override a protected member with a public one.
I want to generate a one page report from the database e.g. a school report, and then dispay results on a document viewer or similar, for easy scrolling. The report page has controls such as the stackpanel or grid. Is this possible? How? Any alternative approach
View 1 RepliesI want to launch an instance of InternetExplorer from my application. I also need to modify contents of specific web pages before the pages are displayed based on user settings (e.g., bold certain phrases within the page and/or include user-specific data on the page).
Public WithEvents IE As SHDocVw.InternetExplorer
Public Sub ShowIE()
Me.IE = DirectCast(Microsoft.VisualBasic.CreateObject("InternetExplorer.Application"), SHDocVw.InternetExplorer)
Me.IE.Visible = True
End Sub
[code]....
I make a panel visible that has a tab control on it.
The panel becomes visible - I can see all three tab pages.
But the contents of the tab page is blank - until I actually click a tab heading.
I have a tab control with 4 tabs. At form load time I determine which tab I need to have the focus (which one to select). I have tried using TabControl.TabIndex = 2 to set the desired index and TabControl.SelectedTab = TabControl.TabPages(2) as well as TabControl.SelectTab(SoftwareUpdateTabPage), however, none of these seem to work at load time. The tab enter of the first tab always seems to be called. Is there a way for me to select the tab I want in my form load function?
The second part is how do I disable (so the user cannot change to another tab) the other tabs at form load time?
I'm running:
a)Vista 64BIT and UAC is turned off with IE8 and
b)Win XP 32 bit with IE 6
Under b) I can display a specific webpage (which includes som JS and Ajax) without any problems Under a) I can't display the page
Are there any known security issues? Do I enable some security settings within Vista or IE8?
I built a VB ASP.NET 1.1 Web User Control that contains several properties. I want these properties to display in the VS2003 IDE Properties window, for easy manipulation. However, none of the properties appear! How do I make them show in the IDE?I am a C# guy, and not very familiar with VB, so this is probably a no-brainer. Here's a property, including attributes:
Private _priceHigh As String = "2000"
<Browsable(True), Category("SearchProperties"), Description("Foo"), DefaultValue("2000")> _
Public Property PriceHigh() As String
[code].....
I am just making the switch from WebForms to MVC and would like to ask what are the best ways of hiding particular fields in the view. Assuming we have a model named WishList that has a list of gifts kids want for Christmas and the child's name. We want the elves to view the list of gifts, but only Santa Claus can view the child's name. Would it be best to have two views for the WishList (one for Santa and one for the elves) or is there another way to handle this? My concern is that the number of views can start piling as high as the snow does in the North Pole by the time I enforce all of the visibility settings required in my application.
View 1 Repliesi am designing sites in sharepoint 2010 and i need to use the javascript in vb.net and how to display an alert message in a web page using vb.net!?!
View 1 Replies