VS 2010 Random item select in Listview
Hey! This is my code to select a random item in a listview: Code: Dim tmp As Integer tmp = Rnd() * ListView2.Items.Count - 1 ListView2.Items(tmp).Selected = True ListView2.EnsureVisible(tmp) It works...
View ArticleVS 2010 Writing a class to a text file
Okay, so this is for my A-Level computing coursework. I have a form which is an entry form, so the user enters their details. I already have this, I have also made a class, because it's required to get...
View Article[RESOLVED] Saving the clipboard to a file
Is there a simple way to save the contents of the clipboard to a file? .txt.gif.jpg?
View ArticleVS 2008 Can anyone please help me with my problem...
I cant figure out why this code always jumping to Catch ex As Exception MsgBox("error") My plan for this code is if the employee already pressed the IN BUTTON then I will restrict him to click again to...
View ArticleVS 2010 [Help] Working With Threads To Create New Form & Using It
Hello :) Am Trying to develop chat application but i have a little problem in my application there's server & client server in user's Pc & the client in admin Pc when i Receive a msg from the...
View Articlevb.net: editing, saving, updating and deleting on the same form
HI I am a developing a vb.net project. Some of the forms will need the client to ‘delete, save, update and edit, should I do all this in one form or create different forms? Please what would be the...
View ArticleVS 2010 Trouble with array
I'm reading text from a file, and i can't seem to get this to work. I need to read a line into an array using the following code; Private Sub LoadDataFile() With Me fileReader =...
View ArticleWeb Browser in VB
Hello! I was wondering if it is possible to make a web browser in VB(VS 2012) withot using the WebBrowser controll. If it is, can anyone point me to an existing thread about this topic or something...
View ArticleVS 2010 won't do the math
I was wondering if someone could please look at this and show me why it will not do the math. It shows all answers to be 0's. Here is what I have. Public Class Form1 Private Sub Button1_Click(sender As...
View Articleget data from string
hi! how do get address.text from below string dim dummy as string dummy = %FLtampa^reester$robert$^1801 SE 18TH AVE^ how do i get address.text = 1801 SE 18TH AVE thanks
View Articlegenerate random number from a selected item in a combo box
i am trying to generate 3, 7 or 12 random numbers when i select either small, medium, or large consectively from a combo box and then insert those random numbers into a list box. I keep getting this...
View ArticleVS 2008 WebBrowser AutoComplete With ComboBox
I'm making a web browser in Visual Basic 2008. I am trying to use the Combobox's AutoComplete feature to have items "drop down" that the person has recently visited. I set the AutoComplete property to...
View ArticleVS 2010 problem in digit grouping at textchanged event
hi i am making a custom textbox with realtime digit grouping property my problem is the "." in decimal numbers that formatnumber or other functions don't format number correctly Code: Private Sub...
View ArticleVS 2010 Quick question
On my login for my program i wanna hide the login when form2 shows i should i use me.hide ? but how do i suppose to fix it when they close the program in it runs in the task manger
View Article[RESOLVED] Freaky thing with Point type.
I've just noticed after all my time in VB.Net that the Point structure has a constructor that takes no parameters. The really freaky thing is that such a thing is supposed to be illegal. VB.Net doesn't...
View ArticleRunning a vb.net application online/ in web browser
Hi there, I didn't think this post was quite asp.net related as its a vb.net application that I have programmed and need to run on a web browser. I'm basically looking at a simple method for...
View ArticleVS 2008 Web Browser History
Hi, I have entered this code into my web browser's DocumentCompleted event. "Listbox1.items.add(webbrowser1.url.tostring) My.settings.history.add(webbrowser1.url.tostring)" Also, the history settings...
View ArticleVS 2008 Express Service pack1 Download
I have spent the past two days searching for an SP1 for VS 2008 Express. I need to install the Management Studio which requires the SP1. Is it possible to upgrade VS 2008 Express with an SP1? If not,...
View Articlequestion - VB 6 codes and Visual Studio 2010
good morning everyone .. i have a question :) please if anyone can solve it :) please do my question is what do i have to change in VB 6 codes to make it appropriate to visual studio 2010 .. ? can VB 6...
View ArticleVS 2008 [RESOLVED] Function that retrives a datatable from a sql statement...
Hi All i need a bit of help with the code in this function. basically what the function does is return a datatable which is a result of the Sql query that is sent to the function Although it works, I...
View Article