VS 2012 Help Fix Bug Usercontrol as child in FlowlayoutPanel
Hi.. Can anybody help mi fixing a bug using a Usercontrol as child in flowlayoutpanel? Usercontrol = Group The problem is only the dragging drop part where for example i have made Group1, Group2,...
View ArticleVS 2008 Picturebox IN ContextMenu
Hi Is it possible to add a pictureBox to a contextMenu. EG. To view a staff picture I can right click on their name in a form I've already created. This is instead of opening a sub form, which TBH...
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 Not All proxies working
I am coding a program with proxy support i want to ask suppose there are 10 working proxies all of them checked with proxy checker . Now when i use them in a program only few of them works so my...
View Article[RESOLVED] Execution of For loop skips to end of SyncLock
Hi Folks Im trying to make a timed scheduler in a threaded vb windows form application. With one job on the schedule everything works fine. But with two jobs on the schedule the main For loop inside...
View ArticleVS 2012 clear cookies and history
I tried to use Shell("RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 255", AppWinStyle.Hide) to clear cookies and history that will not show the progress of clearing but still it shows. What other...
View ArticleVS 2012 [RESOLVED] Not the last two characters but the penultimate.
Hi Guys! How to trim a string to make like: "Breakfast" to "Breakfat"? Thanks a lot!
View ArticleHow to return a ascii character?
What command(s) do I need to use to return the actual character into a variable. For example Chr(198)...I wish to retrieve it's symbol into a variable. Thanks,
View Article