VS 2010 : Multiple Connections To Single Webcam?

Nov 11, 2011

I have written a program that uses directshowlib to capture a stream from a webcam and save as an AVI whenever a bird lands on the experiment platform for behavioral research. What I would like is to be able to allow another program or connection to the same webcam at the same time simply for preview purposes, is this possible?

Basically I want my app to still be able to record on demand when a bird interacts but I would also like a IP cam program like webcamXP/Webcam7 to be able to stream a live feed to the internet so we can have a live view of the platform. I had found some articles about connecting multiple streams from one webcam but am not sure how to go about it. If I have to I will simply mount a 2nd cam in the Bird colony and dedicate it to the web stream but if I can use the same cam as the recording cam that would be great.

View 2 Replies


ADVERTISEMENT

VS 2010 Single Or Multiple Datasources?

Sep 23, 2010

Is it better to add just one datasource to your project that holds all your database tables and queries that you use as typed datasets. Or, create a datasource for each individual form or situation where your using the database tables as typed datasets. It seems simplier to have just one datasource but is there a down side. We're talking about @25 database tables/queries.

View 8 Replies

VS 2010 : Add Multiple Labels In A Single Panel?

Oct 4, 2010

im trying to add multiple labels in a single panel via code and not design thats what i got so far :

Controls.Add(hoveritem)
hoveritem.BringToFront()
hoveritem.AutoSize = True

[code]....

both test1 and test2 are registered as labels , when i hover over a picture i see only the test1 label and i dont know how to put the test2 under test1.

View 1 Replies

VS 2010 Debug.Print Multiple Values On Single Line?

Sep 25, 2010

In VB6 you can debug.print multiple values from a loop to a single line by simply adding the ";" or "," chars.

[Code]...

View 1 Replies

Is Running Multiple Threads Faster Then A Single Thread On A Single Core Cpu

Dec 23, 2009

Say I have a code with 3 methods that do some pretty intensive work. Would executing these methods on 3 seperate threads be faster then executing them one after the other on a single core cpu? And what if it's a dual core or HT?

View 8 Replies

Multiple Socket Connections?

Nov 14, 2010

OK here is some code I nicked from web and I have changed some things, it works but only accepting one client, how do I make this accept multiple clients?

[Code]...

View 2 Replies

.NET - DataGridView - Multiple Connections And Queries?

Oct 8, 2010

I am new(ish) to Visual Basic and i have learned from looking at old VB6 code for programs that have been made for us in the past, this includes using the old ADODB connections and FlexGrids which both have been changed in VB.Net to OLEDB and DataGridView.I have started to understand the way the connections and datasets etc are created but i am struggling to get to where i was with the old code (I am trying to completely upgrade the code from FlexGrid).This is the VB6 Code i am trying to upgrade from:

[Code]...

View 14 Replies

Multiple Socket Connections Per Thread?

Sep 8, 2011

We are using VB.NET 2010. Our application receives client connection through socket, and currently each client has its own thread and socket. We would like to have multiple socket connections per thread, but we are having a problem doing it.

Below is our current program where each client has itsown tread and socket.
Public class frmMyForm:
Private Sub AcceptSocket(ByVal Sock As SocketTools.SocketWrench)
Try
Dim oSession As SessionClass
Dim oThread As Threading.Thread
[Code] .....

View 1 Replies

Sql - Multiple Database Connections Within 1 Application - .NET?

Mar 16, 2012

This may have been answered but my search hasn't found what I was looking for. Basically, I am developing an application which allows the user to build a query at design time, i.e. for users with no prerequisite knowledge of SQL The application thus far allows the user to select which table(s) from the database they wish to start querying (I won't go into the details of the rest for now)

My confusion is this; I already have the connection to the database in a subroutine which obtains the schema information and filters it to display only the available tables within the database, which then compiles the data into a listbox, here is that sub:

[Code]...

View 1 Replies

C# - Disable Multiple Network Connections, Only Allow One Simultaneously?

Feb 17, 2011

We are looking to design a security application that does the following on laptops:If the ethernet adapter is used (cable plugged in) disable/block all other network connections (wireless WIFI, mobile broadband (PPP), virtual VPN adapters etc)When ethernet adapter is not being used again, all connections allowed.We have looked in the WMI a lot but there are no good ways of doing this. Only disabling the network connection is not secure enough because most mobile broadband applications try to re-establish the connection. This should be an application that works on all laptop vendors without any user interaction (such as choosing interfaces etc..).

View 3 Replies

Multiple Socket Connections - Address Of Parameters?

Mar 2, 2012

I am writing a socket client into my application. I have multiple socket connections to make to different servers.
ClientSocket(1).BeginConnect(endpoint1, AddressOf Connected, Nothing)
ClientSocket(2).BeginConnect(endpoint2, AddressOf Connected, Nothing)
Both clients call the connected sub... how do I know which one is which?
Private Sub Connected(ByVal ar As IAsyncResult)

View 3 Replies

Instantiate Multiple Sql Connections To The Same Database Via Threading Without Getting An Error?

Apr 8, 2011

I'm running a program where I call a function which creates a database connection and then runs a stored procedure. I call this function four times from four separate threads. I get an error (Login failed for user 'sa'. The user is not associated with a trusted SQL Server connection.

Exception Source:
.Net SqlClient Data Provider)
when I use multiple threads, but if I have the threads run one after another I have no

[code].....

View 1 Replies

Cyberproj - Connections From Multiple Clients To A Server Having Winsock Control

May 17, 2010

I am developing project on cyber cafe using vb .net 2005 and winsock i don't know how to accept connections from multiple clients to a server having winsock control

View 2 Replies

.Net SQLClient Connections And SQL Server - Active Connections Reflect Even Though All Closed?

Jul 19, 2011

Using VB.Net and SQL Server 2008 R2: I have recently had a database that using sp_who2 reflects a connection ".Net SqlClient Data Provider" is still active even though the .Net application has closed and disposed of all connections.

[Code]...

View 1 Replies

VS 2010 Excel / Access 2010 And Connections

Apr 27, 2011

In my application, users can establish connections to one or more databases in order to pull in data, thus a read-only connection is sufficient. I use the following connection string syntax when connecting to an Excel 2010 database:

[Code]...

View 1 Replies

Taking Pictures With Webcam Via Webcam Button?

Mar 28, 2012

I 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?

View 1 Replies

VS 2010 SQL Server Connections

Aug 24, 2011

I'm pretty new to VB.NET and connecting to SQL Server.What is considered best practice when building an app that needs to connect frequently to a SQL Server DB to fetch, write, delete and update records?Should a connection be opened at app startup (a connection at start is opened to validate the user) and left open for subsequent transactions or should a connection be opened, closed and disposed of each time a read/write to the DB is required?

View 3 Replies

VS 2010 Is There Secret To Getting UDP To Do Connections Over Internet Vs LAN

Nov 8, 2011

On a lan, the server and multiple clients work correctly.but over the internet, the server and client can't hear each other(we tried several different host computers, and several different hardware configurations)Is there a secret to getting UDP to do connections over The Internet vs a LAN?

View 9 Replies

VS 2010 How To Make SQL Connections Work On Other User

Sep 30, 2009

I have a little Windows Form application that uses sql database.My application works on my computer, but when I install the app to another computer I get this errorSystem.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was noccessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)

View 21 Replies

Merging Multiple Sheets From Multiple Workbooks Into New Sheets In A Single Work Book

Dec 13, 2011

I am looking for the code to consolidate multiple .xls sheets from within multiple work books in a file all containing the same format of information. Each sheet needs to be coppied to a new sheet within a single work book.

Once in a single sheet I need to then copy data from a range of fields into one consolidated sheet.

View 1 Replies

VS 2010 Get Comprehensive Webcam List

May 15, 2012

There's lots of code samples around to get a list of webcams (or other video capture devices) in VB.NET:

Declare Function capGetDriverDescriptionA Lib "avicap32.dll" (ByVal wDriver As Short, ByVal lpszName As String, ByVal cbName As Integer, ByVal lpszVer As String, ByVal cbVer As Integer) As Boolean

[Code]....

I have two webcams installed on my PC but I only get one entry: "Microsoft WDM Image Capture (Win32)".

If I run Skype > Tools > Options > Video Settings I see "Logitech HD Webcam C270" and "Microsoft LifeCam VX-2000". I can click on each camera and it's output is correctly shown in the preview window.

how to get this full description of each camera device? Having done that, I will need to be able to select that device as the source for my image grabbing routine. Perhaps each entry can provide a GUID?

View 1 Replies

VS 2010 Webcam Image Capture

Nov 20, 2011

webcam drivers were installed using its cd drivers.[code]after skipping the errors in compile (f5) the program works, how to cancel the errors? moreover, when the program is run via the .exe file in the bin folder no errors fire up

View 3 Replies

Capture And Save Still Image Through Webcam In Vb 2010?

Jun 4, 2012

how to capture and save still image through webcam in vb 2010

View 4 Replies

VS 2010 Useing Webcam To Detect Motion

Nov 10, 2009

I am new in VB.NET. I want to use VB.NET to develop a program that will use a webcam to detect motion and trigger an alarm form PC.

View 9 Replies

VS 2010 WebCam Capture Image Under Win7?

May 2, 2011

I tried to code using WIA, and it is working fine.But when I tried my codes under Win 7 OS, it failed to capture.It seems that it is only working on XP. I also tried some code sample found here. And still failed under win7.Is there any good link where I can get some info to work with regarding to web cam capture...I tried also Avicap.dll?

View 1 Replies

VS 2010 Webcam To Take Captures Of Items And Then Save Them According To The Item Name

Oct 2, 2010

I'm a computer science student and I have a project to do where I need to have VB connected to a webcam to take captures of items and then save them according to the item name that stores them into either a dbase or access database. I have knowledge of oledb using vb to retrieve and modify access databse so it might be better to head in that direction, but I have no clue how to get the webcam talking to vb and see the live feed from the cam until you take a picture and save.

View 1 Replies

C# - .NET Multiple Namespaces For Single Class

Sep 27, 2010

Is it possible to have a single class reside within two name-spaces and how can I do this?

To clarify: We have a class library (let say root namespace is classLib1), which has grown over time (more classes) and I want to logically group classes into different namespaces. However some of the older classes need to be grouped into these new namespaces (e.g classLib1.section1) and doing so will break legacy code in other assemblys that use this class library. So I want to be able to refer to a class using both name-spaces until we can phase the old ones out.

I can't find any information on this, which suggests there is a reason that people would not want to do this!?!

View 3 Replies

C# - Using A Single DataSource On Multiple .NET Forms

Sep 16, 2010

My program has two forms which get data from the same data source. After binding controls to tables and fields on both forms, I noticed each form has it's own apparently duplicate DataSet. Is it standard practice for each form to have its own DataSet even though they use the same ConnectionString and connect to the same database at the same time?

View 1 Replies

Combining Multiple Projects Into A Single One

Apr 19, 2008

I originally developed a simple application software [VB.Net + MS Access] (Lets call this project A) but now I want to include more functionality in it. I have an encryption/ decryption software utility (Lets call this project B ) and a Text to speech generation utility(Lets call this project C) . That is, I want to add Projects B and C to project A. [Such that clicking on the main form of project A calls a form from project B or C as desired].In solution explorer, I right clicked--Add Existing Project--and added both the above mentioned projects 1 by 1. (Added B and C to the solution explorer with the already present A).As the application software's (Project A's) main form is the main form of my project, I want to have a menu option on the main form (Of Project A) so that a user could click on one of the menu options and the main form of my other projects ( Project B or Project C or Encrypt/Decrypt or Voice Generation) should open by him doing so. To this effect, I tried the following:

1. I dragged the form simply from one of the projects (From B or C ) into the folder of my Application Software (Project A).This generated a lot of Build errors and the Voice Generation utility (Prj. C) would not work like this.

2. Tried to reference a dll, however the authors of Projects B and C did not include a dll in their projects.

3. Now I came to know that to call a form residing in another project folder or even another folder within the same project, you have to give a path for the form. HOW DO WE DO THIS?

As you can understand, I cannot copy the entire code of the 3 projects here....I will try attaching my project here though..Here it is: http: rapidshare.co...MY_Prj.zip.html[Dear Administrator: The downloading option on the webpage does not allow files bigger than I mb, thts why I used an external link]As I said, in the application, Project A is TMS.NET ; Project B is EncryptFile and Project is C.I encountered a problem while adding project C [spoken word], so the project contains only projects B and A. I will try to attach project C seperately.That is, TMS contains proj A+B and Speech contains C.

View 4 Replies

How To Combine Multiple Matrices Into A Single One

Jan 12, 2011

I am trying to understand transformation matrices (not just their implementation in VB, but in general) and I've put about 3 full days into this so far. I believe I have the data in my matrices correct. Applying any single matrix to an array of points does a correct transformation.I am wondering if I understand how to combine multiple matrices into a single one.I understand you just have to multiply them together.I took this to mean you just have to multiply each element with its corresponding element in the second to make a third matrix?[code]

View 5 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved