Answer Questions
Michael Herman - Parallelspace How can I get video from a usb webcam? (IN VISUAL BASIC .NET !!! )
Is there any way that I can get the video from a webcam (usb) to preview it and then save it In VB please and please dont show me the links from a1vbcode and Coding 4 Fun cause I dont understand how it works there (and pasting the code isn't really easy (Idont know what is for what) ) MSDN links would do good (i searched but I didn't find anything). But still, Any help would be great It opens up the web cam setting window. I have an example of opening a preview window and capturing an image on the vb-tips website . I am very new to VB i tried using ur sample for one of my assignment. I figured out the save file dialog already. now the rob is when i start the prog this msg came out: ...Show All
HeathM Sum on a listview
I've the following code to populate a listview with records from my database: Private Sub preencherListView() Dim lstItem As ListViewItem Call conexao() sSQL = "SELECT * FROM [TempoTotalFamiliaQuery] WHERE (Data LIKE'" & dtpDataRelatorio.Text & "')" da = New OleDb.OleDbDataAdapter(sSQL, con) da.Fill(ds, "TempoTotalFamiliaQuery") For i As Integer = 0 To ds.Tables("TempoTotalFamiliaQuery").Rows.Count - 1 lstItem = New ListViewItem() lstItem.Text = (ds.Tables("TempoTotalFamiliaQuery").Rows(i).Item(0)) lstItem.SubItems.Add(ds.Tables("TempoTotalFamiliaQuery").Rows(i).Item(1)) lstFamilias.Items.Add(lstItem) Next l ...Show All
MikeHiland How to retrive from a databbase using vb.net
i want to make a search box and when the user for something i want it to search it the databse and show the resultat. can someone help me how we do this with the code. tanks k, tanks but what do i have to write in this field (theSQLCommand) Check out the SQL Server start kits. The kits are fully functional applications once built and are targetted to help people learn via example. Here is the link to the Starter Kits . Choose the one which best fits your needs. Good luck. I have given an example in my code ;-) To me it seems you do not know SQL Server, so I would suggest you learn about it :-) It is mandatory these days to know SQL Server. a SQL Server query is just a query which returns results (f ...Show All
jmodares.com Getting the caller procedure name from the called procedure
Hello, I'm developing in a VS2003 environment using VB.NET. I suppose the thingh I'm trying to do is possible and has a trivial solution ... but after searching all day long the Internet I cannot figure out "how"..... Is it possible to get the name of the caller procedure (or function) from inside the called Procedure (or function). If yes what Class/Variable do I have to refer to I mean ... Proc_A calls Proc_B with no parms and Proc_B should be able to say " Hello Proc_A ... ask me for anything you like and I'll do it for you ..... " Thank in advance Daniele Balducci This may help ... http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=566842&SiteID=1 ...Show All
Pete_M Cannot open existing form in Designer HELP! - VB 2005 Express Edition Beta
This is so aggravating because I'm sure it's a simple thing! Using the new Visual Basic 2005 Express Edition Beta. Created a project, form, controls, etc. Worked great. Love it, compiled perfectly. Saved everything, closed the program, went to bed. Woke up, opened the project, but now CAN NOT open the form (form1.vb) in Designer mode!! I can open the code, it's all there, exactly as I left it, but cannot get back to the designer mode to (easily) add more controls to it! F7 just opens the code, right-click just gives me code option, not designer option. This is amazingly frustrating...what am I doing wrong Thank you! Laura - GoingGreyFast ...Show All
Febin textbox in date format in a form....
can anyone pls tell me how to get date format in form designing but date and time picker. i mean i want to use date in a form without using date and time picker but using a simple textbox with date format... this will be very useful to me..... pls help me... If you want a textbox that shows the current date + time when designing it, then you'll have to create a customized textbox - add this to your form1's code nogChoco wrote: If you want a textbox that shows the current date + time when designing it, then you'll have to create a customized textbox - add this to your form1's code Public Class Form1 End Class Public Class TimeDateTextBox Inherits System.Windows.Forms.TextBox Sub New() &nb ...Show All
Vidhan Scroll event for the ListBox control
I have a ListBox control on a form in a Windows Forms app. The list contains more items than it can display, so the vertical scroll bar appears automatically. My question is, does any event fire when a user scrolls the list I know the TopIndex property reflects the index of the top-most displayed item, but it doesn't appear to have a change event associated with it either. If there are no events that fire when the displayed list has changed (Layout and Paint don't work), does anyone have any ideas on how to detect that in code TIA- Thanks Larry, works like a charm. I needed to sync two listboxes, and this took care of it. Never would have figured that out in 10^6 years... Thanks again- ...Show All
Ri-Karou VS 2005 Project selection
Hi all, In VS .Net, there used to have various distributed application templates for enterprise template projects when creating new project. Is anything like that retains in VS 2005 professional I tried search through the menu but didn't see anything. Can someone please advise Thanks TM The following templates are provided for VB in different editions http://msdn2.microsoft.com/en-us/library/b4z62wxz(VS.80).aspx ...Show All
John_Mac Using String.Contains with case-insensitive arguments.
Is there any way to use Dim Str as String = "UPPERlower" Str.Contains("UpperLower") and have it return true The following will return true Option Compare Text Public Class Form1 Private Sub StartButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim Str As String = "UPPERlower" Dim b As Boolean = InStr(Str, "UpperLower") End Sub End Class What about in C#, besides uppercasing or lowercasing both the target and the source That is exactly what I needed. Thank you very much. ...Show All
Joe Kehnast Wierd build error
I created a single form called 'StartForm' and a Dialog form called 'CountDown'. After debuging it - I added a deployment project. At my first build - I get a compile error with my original program. I deleted the deployment project, but I still get the same error. Recreating on a new project and copying my code from the old file reproduces the error. In my project properties - The only start form I can select is "CountDown'. 'StartForm' is no longer recognised is a form. The compile error is - Error 1 'StartForm' is a type in 'SchoolBells' and cannot be used as an expression. C:\Documents and Settings\Dean\My Documents\Visual Studio 2005\Projects\School Bell\School Bell\My Project\Application.Designer.vb 35 27 The error in Ap ...Show All
GraemeWhelan subquery in VS2005
Hey guys I am hoping someone can help me out with a problem that I cant seem to solve... I need to make a query in VS2005 Query Designer that selects all the part numbers from one table (for a given product category), but excludes part numbers already in another table. That is to say, I only want to see parts that are not already assigned in a 'lineup'. The following SQL works perfectly in the Query Designer. However, as soon as I exit the Query Designer, the query somehow forgets that it has 2 parameters to input, and only allows me to enter one parameter. Then it gives an error saying that it is missing a parameter, but there was nowhere I could have entered it. SELECT PartNumber FROM &nb ...Show All
ACCOUNTINGONLINE.US How do you make the enter key work like the tab key?
I have a simple application with a windows form that has multiple controls. I want the enter key to move the focus to the next control on the form (Just like if tab were pressed). How do I do this I can't find the override. Actually, to be more specific, I want the enter key to move to the next control on the form only if the current control is an edit control and is not empty. Oh, this is VB 2003/2005. Thanks for any help, Scott Is this a school assignment somewhere Asked already: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=907116&SiteID=1 ...Show All
Thase Copying MS Outlook Folders
Looking for assistance in completing a script that will copy MS Outlook folders (calendar; contacts; inbox; journal; tasks; etc...) to a new Personal Folders File (PST). My goal is automate the process that currently requires the user to right-click on each folder and select "Copy to folder". This is what I have compiled so far: Const FOF_CREATEPROGRESSDLG = &H0& Set objOutlook = CreateObject("Outlook.Application") Set objNameSpace = objOutlook.GetNamespace("MAPI") objNameSpace.AddStore "C:\" & objNameSpace.CurrentUser & ".pst" Set objNameSpace = Nothing Set objOutlook = Nothing ' I figured this would be the best place to insert the the script to copy Outlook data to ...Show All
SpunkyMan How do I get the current keyboard key being pressed?
Basically what I want to to is make a sub for a key being pressed and do something like If [key being pressed] = [key] Then .... End if but I dont know how to write it. Thanks i could not get this to work the way you provided. can u explain how to: if user presses the enter key inside a text box after typing somthing, then it does something (like brings a messegebox up saying "hi" or w/e) ohh ok. thanks :) i was trying to do it the exact way the other guy said (keypress event)... guess i did something wrong or it doesnt work that way. im assuming the "e" means "event", keycode is an arg for event "keydown", and the keys.enter specifies which ke ...Show All
abhas clickOnce install Question
Is it really true that clickOnce applications are installed on a unknown location on your hard drive We can only access it from it's short cut I would really like to know! Thank you. Yes, that is correct. ...Show All
