VS 2012 My aplication uses 100% of a CPU core even if idle.
I'm developig a simple aplication with vb.net on visual studio 2012 but it's very CPU consuming, i'm running it on a I5 with 4 cores and always cosumes exactly 25% of the CPU, one full core, even if...
View ArticleVS 2010 Diff btw
Code:     HTML Code:     Public Class Person     Public personid As integer             Public Sub New(ByVal id As integer)       Me.personid=id     End Sub End Class...
View ArticleVS 2008 Save Checkbox Value in Access databse thru SQL
Hey bro., Please help me to save the checkbox value into access database. below is my code to save one record. Thanks, vb kid Code: Â Â Private Sub btnAdd_Click(ByVal sender As System.Object, ByVal e...
View ArticleVS 2012 [RESOLVED] Get data mismatch with sql statement
Hi, I have been struggling with this sql statement for my vb application and was hoping someone could offer me a bit of help please? What I'm trying to is basically count all Bookingnumbers that = 1...
View ArticleNot a valid Win32 Appliation
i created a small billing software for my friend, the software is connected to an 2007 MS Excel File. Everything was complete and i copied the .exe file from my laptop to his computer. But it did not...
View Article[RESOLVED] Which Form Event to use on re-entry to a form?
I have a Windows app that has a login form. Within this form, another form is called and then eventually returns to the calling form. What I need to know is what Form Event is the best to use when...
View ArticleVS 2010 [RESOLVED] InvalidCastException but is it?
I am trying to raise an event upon detection in changes to my EWS PullSubscription. This is my code. vbNET Code: Public Delegate Sub pullSubscriptionEventHandler(ByVal subscription As pullsubscription,...
View Article[VB2010] - by some reason i think that i lose the text cursor position:(
i have 1 'if' that if i key press any key(can't be a number or a letter) the last word writed(where is the text cursor) must be colored and upper cased(the 1st letter). these code works. but if i edit...
View ArticleListBox takes too long time to show
I have a Form2 with ListBox, i fill the listbox with the content of big size text file, this isn't the problem but the problem is occur when showing Form2, the form take long time to show. Code:...
View ArticleFastest way to populate Unbound DataGridView from 2D Array of Strings
Hey Folks, I have an Unbound DataGridView that will display roughly 700 columns and 50 rows of unbound data (it gets calculated by the code and is not a lookup from a database of some sort). Right now,...
View ArticleVS 2010 [RESOLVED] If selection problem
Hi Guys, I never thought i would need help here it looked so simple lol code: Code:       For Each itm As String In formMain.ListBoxMain.Items         Dim arraySplit As String() =...
View ArticleCan't get the ValueMember property to set for a ComboBox?
I have several ComboBox controls on a form. I am loading them manually using a For Loop. When each ComboBox is finished loading, I set the ValueMember/DisplayMember properties. However, when I go to...
View ArticleTreeview problem
From MasaSam's excellent tree view sample Why does this work --> Public Sub New() Me.New("My Computer") End Sub Public Sub New(ByVal text As String) MyBase.New(FileSystemNodeType.Computer, Text)...
View ArticleForm does not center screen
I am building this form dynamically, and even though I put in - Code: Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen It still fails to center on start up. I have no idea why it...
View ArticleDetect Key Press while Form is minimized (Visual Studio 2012)
Hi everyone, I can't find the way to detect when a key is pressed while the form is minimized, help please? I got this piece of code: Code: Private Sub Form1_KeyDown(ByVal sender As System.Object,...
View ArticleVS 2012 Exception Handling
I have many Try, Catch blocks in many of my functions. My question is this: Is it possible to turn off the exception handling in my project temporarily? I see that there is a Debug->Exceptions menu,...
View Articledropdownlist duplicates when refilling dataset
I have a dropdown list that fills correctly when I first create the datatable with the first pull of data for a locatioin. When I go back and choose a different location, it still is holding the...
View ArticleSkype URIs in winforms?
Anyone know how to use Skype URIs in a visual studio winform application. I cannot find a single line of code after hours of search. Thanks.
View ArticleVS 2010 Save file in visual basic 2010
Hi, How can i save something like this? Name(1,0) = "jona" Name(1,1) = "helena" My xmlserialization wont work for this because its a multiple array. Thanks in advance
View ArticleDatatable:xml query for xml column
If i load xml datatype column to a datatable then can i perform xml query on it? SQL server supports queries like .exist, .value on xml columns. I am trying those kind of queries on datatable. Below is...
View Article