Quantcast
Channel: VBForums - Visual Basic .NET
Browsing all 27159 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

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 Article


VS 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 Article

VS 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 Article


ListBox 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 Article

Fastest 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 Article

VS 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 Article


Can'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 Article


Treeview 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 Article

Form 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 Article

Detect 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 Article

VS 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 Article


dropdownlist 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 Article

Skype 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 Article


VS 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 Article


VS 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 Article

VS 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 Article

How 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
Browsing all 27159 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>