|
Anyone can help me,I need Visual Basic 2005 coding to capture image using webcam...Please help me...
|
|
|
|
|
I just googled "vb.net webcam":
Try:
http://www.codeproject.com/KB/dotnet/wiascriptingdotnet.aspx[^]">Code Project
Although I think it is in C# it will still be helpful.
Lloyd J. Atkinson
"Logic will get you from A to B, but imagination will take you everywhere" - ALbert Einstein
I look at Microsoft, and turn to my poster on the wall saying: "Bang head here in case of stress".
|
|
|
|
|
abipuni wrote: need Visual Basic 2005 coding to capture image using webcam...Please help me..
Will not provide code, but suggest you do a search to help generate some ideas.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
Hi All,
So How to Get the Focus window Name.
I m developing an application for how many application are opened and what is the caption of them.
Thanks
|
|
|
|
|
To interact with what window has focus, you will have to resort to WinAPI.
Regards,
Thomas Stockwell
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Visit my homepage Oracle Studios
Discounted or Free Software for Students:
DreamSpark - downloads.channel8.msdn.com
MSDN Academic Alliance - www.msdnaa.com
|
|
|
|
|
|
Dear Gurus,
Thanks to Thomas Stockwell Guru for giving me some useful hints. But please explain whether VB.NET Express edition is inferior or superior to VSTO 2005 SE. I have been looking into the various documentation and could not come to a good decision or use VSTO 2005.
Please help me.
My original question below:
----------------------------------------------
Is it possible to add a windows form inside the publisher 2003 application as a toolbar.
So far i have got some success in linking and doing small manipulations. The purpose is to create a wide panelike toolbar structure to include many wider controls, for which the best design can only be done in Windows forms.
As i am a newbie, please explain in details and i will be very thankful to you.
modified on Monday, August 4, 2008 12:57 PM
|
|
|
|
|
First off, a form cannot be embedded inside a toolbar period. Second, you will have to look into VSTO and see if it is capable of interacting with publisher. Third, you might want to look into taskpane extensions (VSTO can do this with other Office applications). Fourth, you are able of adding buttons to toolbars/taskpanes and then making .NET forms appear.
I don't personally work with VSTO or office integration, but these suggestions will lead you in the right direction.
Regards,
Thomas Stockwell
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Visit my homepage Oracle Studios
Discounted or Free Software for Students:
DreamSpark - downloads.channel8.msdn.com
MSDN Academic Alliance - www.msdnaa.com
|
|
|
|
|
Hi All,
How to Get the running other application file path.
Like: I m opening Notepad then the Program will display Application Path is "C:\Windows\Notepad.exe"
Thanks in Adv
|
|
|
|
|
WinAPI or System.Diagnostics.Process class
Regards,
Thomas Stockwell
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Visit my homepage Oracle Studios
Discounted or Free Software for Students:
DreamSpark - downloads.channel8.msdn.com
MSDN Academic Alliance - www.msdnaa.com
|
|
|
|
|
hi all,
am using VB.NET 2.0 , in my application it shows
Failed to convert parameter value from a String to a Int32.
Regards
Vidhish
Regards
Vidhish
|
|
|
|
|
Hi All ,
i have one issue to convert string to int
am following this way convert.tonint32(appno) is this correct way???
pls help me
Regards
Vidhish
|
|
|
|
|
If you correct the spelling, it's the correct way.
If the Convert.ToInt32 method fails to convert the string, it's simply because the string doesn't contain digits (or contains too many digits to fit in an Integer).
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
Or is in the wrong format
Regards,
Thomas Stockwell
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Visit my Blog
|
|
|
|
|
Hello Everybody,
I stucked up with a problem tht I can't generate Monthly attendnace report using crystel report in the following manner
May-08
name 1 2 3 4 5 6 7 8 ---------------Days in a month
arun P P P P P A A P
binoy P P P P A A A A
Can anybody help me plz..........am using vb.net and Sql Server
Thanks,
Hygee
|
|
|
|
|
What have you done so far? Without any partial code, database schemas, or sql statements it is not really possible to help you out.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
I don't even know if anyone will have any idea how to do this. I am having trouble when i invalidate a control, it will update but will flicker in the process. Is there any way to do something like suspend the control from updating on the screen until after it has fully refreshed? I know there must be some way to do what i am wanting.
|
|
|
|
|
Do SuspenseLayout and ResumeLayout help?
|
|
|
|
|
I think you still get the flicker when you resume.
Be sure this is not when you close a dialog, 1.0 and 1.1 (and it may still be there) had a dramatic flicker if you use the DialogResult to manage the closing of a dialog, always explicitly close a dialog.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
A few suggestions:
- Only do paint routines in the proper painting events (OnPaint). Do not alter the painting in mouse events or any other events.
- Use the SetStyle of custom controls to allow for DoubleBuffering/more precise painting control/paint event mapping. DoubleBuffering is a key in reducing flickering.
- This sort of ties with my first point, but be sure that your logic is separate from your actual painting. One of my articles Basics of Falling Blocks in VB 2005[^] has helped many people reduce flickering in their programs because of the painting concepts discussed.
Regards,
Thomas Stockwell
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Visit my homepage Oracle Studios
Discounted or Free Software for Students:
DreamSpark - downloads.channel8.msdn.com
MSDN Academic Alliance - www.msdnaa.com
|
|
|
|
|
I hope someone can guide me a bit. I wrote a pice of code that send data over the serial port to a servo controller. here is a piece that matters the most
Private Sub trackBarMiniSSC_Scroll(ByVal sender As Object, ByVal e As EventArgs) Handles trackBarMiniSSC.Scroll
Dim servo As Integer = Convert.ToInt32(trackBarMiniSSC.Value)
Dim baudRate As Integer = Convert.ToInt32(comboBoxBaudRate.Text)
Dim comPort As String = comboBoxCOMPort.Text
serialPort1.MiniSSC(comPort, baudRate, 0 , servo)
serialPort1.MiniSSC(comPort, baudRate, 1, servo)
End Sub
-----------
as you can seethis send my track bar's value to the serial servo controller and moves my servo in location 0. (8 channel controller) I also want it to send the same data to location 1 as well at the same time. Am I doing it right by writing 2 lines?? Or there's an easier (faster) way of doing it. unfortunatelly the project is very speed sensitive.
Thanx
|
|
|
|
|
Since no one has replied, I'll make a guess... Since the com port can only send one command at a time, that's the fastest it can be sent. Even if you put the send statements in their own threads to execute concurrently, only one command can be sent out the port at once.
Now if someone out there knows better and can straighten me out, please do!
|
|
|
|
|
I am working on making a specialized custom control that contains 3 other controls in it.
One of the Fields is a group box. I have set it up so that the user can set what the group box text property says however every time you run the application the control is in it reverts to the text that is in the group box instead of what the user typed in.
The property i use to get the text in the application is as follows.
<browsableattribute(true)> _<br />
Public Shadows Property Text() As String<br />
Get<br />
Return gbContainer.Text<br />
End Get<br />
Set(ByVal value As String)<br />
gbContainer.Text = value<br />
End Set<br />
End Property
The value in the group box text is ""
Has anyone found a solution for this?
|
|
|
|
|
You are obviously not storing/restoring the user input between sessions. Were you under the impression when you changed to text it was stored somewhere, possibly the compiled exe maybe.
You can either use the project settings with a user scope and let the system store it in the config table or create your own settings.xml and store user settings there. When you open the form you need to go to the settings store and get the group box text.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Hi
I am displaying locations on dropdownlist so the problem is if i have selected record which is not in the database it gives me this error" 'ddlLocation' has a SelectedValue which is invalid because it does not exist in the list of items.
Parameter name: value "
here is my code and is working perfect if the record is in the database
If strPerNo = "" Then
Session("samacc") = HttpContext.Current.User.Identity.Name.ToLower
emp = cEmp.GetEmp(Session("samacc"))
'empPhoto = cEmp.DisplayPhoto(emp.perno)
Else
emp = cEmp.GetEmpByPerNo(strPerNo)
'btnAdmin.Text = "UPDATE"
End If
If emp.perno = "" Then
Response.Write(Session("samacc") + " not found")
Else
Session("perno") = emp.perno
Response.Write(emp.name + " " + emp.surname)
Session("ImgPerNr") = emp.perno
txtFirstname.Text = emp.name
txtLastname.Text = emp.surname
txtDivision.Text = emp.BsUnit
lblBU.Text = emp.BsUnit
txtBlock.Text = emp.block
txtFloor.Text = emp.floorno
txtRoom.Text = emp.roomno
txtInt.Text = emp.Int1
txtTel.Text = emp.tel
txtAltTelNo.Text = emp.alttel
txtCell.Text = emp.cellno
txtAltCell.Text = emp.altcellno
txtEmail.Text = emp.email
txtFax.Text = emp.fax
txtAltEmail.Text = emp.altemail
If ddlLocation.SelectedValue <> "0" Then
ddlLocation.SelectedValue = emp.LocID
Else
ddlLocation.SelectedValue = 0
End If
Mamphekgo
|
|
|
|