VS 2008 Listview, copy all items where subitem contains string ?
Hi, i have a listview full of items. Subitem(3) is alive, dead, timedout or failed. How would i copy all items where subitem(3) = alive to my clipboard without removing items from the listview ? Thanks...
View ArticleVS 2008 I am confused... and must be stupit too.. trying to use delegate subs...
I am completely confused... ok... I am not what you might call a seasoned programmer... but I can do what I gotta do when I gotta do it.. Anywho... I am really confused. I built a simple Telnet app...
View ArticleVS 2010 Help with CMAnimation / ProcessAnimation
Hello group. In my search for a control that would allow me to display some animation while my program was working I came across this Dll / control. I cannot remember where or how I got it and I have...
View ArticleVS 2008 Assignment help in visual basic
Hello I have a visual basic assignment in visual studio that I am stuck on. The assignment is to create a coffee shop system. I am give four drinks with fixed prices. The user inputs the orders and it...
View ArticleVb.net Linq query add where clause
Hi I created this query which work 100% fine in vb.net light switch {See Code below} I wanting to add a where clause to say where GrnDetails.GrnNo.Id for the insert dunno how to add a where clause in...
View ArticleVS 2008 DataGridView Update Problem
Good Evening All I recently received some help on here from some of the guys in regards to updating a datagridview & saving the changes back to my database & they sorted the problem straight...
View ArticleVS 2010 Prevent command button being selected?
Hi there, I have a form that runs code on a arrow keys keydown event so that a label is moved around a container. This has been working perfectly until I added my first command button. Now, the arrow...
View ArticleVS 2010 [RESOLVED] Linq updating datatable weird
Hello I have a .net page where I am pulling a report from the database, altering the data slightly, and then emailing it out. The report from the database takes a bit to run, so I built the page to...
View ArticleOracle query
I have a table that keep information by date. So sometime I will need certain by date on a daily base. So how can I do a query that lookup by previous date? My query is below SELECT (PROATE)as...
View ArticleVS 2010 Display text in listbox, but via query method?
I'm well aware of the traditional method to display text in a listbox: Code: lstOutput.Items.Add("Some text.") However, I need that same type of function to occur via a query: Code:...
View ArticleSmall Details on Custom Controls.
I've been trying to enhance a few custom controls that I'm working on. There are a few things I want to do, but I can't seem to find the right search terms to get any samples or tutorials on the...
View ArticleVS 2008 Form icon & text lost
often i am experiencing that the form text ( caption ) & set form icon are missing i need to rest it why it is so happening ?
View ArticleVS 2008 Listbox from form to form
how to put the name that i pick from a listbox in my form 1,into the person's picture in a form 2 Like when he picks a name from the listbox (in form1) he sees that person picture in form 2. Thank you
View ArticleVS 2005 VB.NET 2005 Windows Forms Datagridview Context Menu positioning
I am enhancing a previously written VB.NET WIndows forms application. In one of the forms, there is a DataGridView populated from a stored procedure at Form Load. If the user has the privileges, when...
View ArticleCombine Columns in Sql
How can I combine Columns in Sql. I have the columns combined, but I dont wont to comine all text in the row. I dont know how to only get the first 8 text in each row. Can someone please help? select...
View ArticleVS 2010 How to navigate records from XML File?
This code creates XML File Code: Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim connetionString As String Dim connection...
View ArticleVS 2005 why combobox is not updated with last entered value
Hi. This is my ProdInfo form Submit Button Code. Quote: Dim insProd As String = "insert into ProdInfo (Prod_Name, Prod_Pri, Prod_Desc, Prod_Made) values (@Prod_Name, @Prod_Pri, @Prod_Desc, @Prod_Made)"...
View ArticleVS 2008 Static text in a non readonly textbox ?
Hi ! I need to make a textbox that will look like a console input (CMD/terminal etc) and i want it to be when i write like: "input: here_i_can_write_text" and i write my text after input:, but i cant...
View ArticleVS 2010 Return value from frmLogin to frmMain
Hello, I created two forms called 'frmMain' and 'frmLogin'. I call the 'frmLogin' form up this way: Code: Dim checkStatus As Integer checkStatus = frmLogin.ShowDialog() If checkStatus = 1 Then '...
View ArticleRandom strings...
Currently using this Code: Public Shared Function generateRandomString(ByVal length As Integer) Dim _allowedChars As String = "0123456789" Dim randomNumber As New Random()...
View Article