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

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


[RESOLVED] 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 [RESOLVED] 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 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 Article


Datatable: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

VS 2012 If textbox is tab stopped

Hi Guys! How to say; TextBox1.Selection = 0 If got focus with Tab button. What I want is, there is a ready-text in that textbox but I don't want the all text to be selected when it is focused with tab....

View Article

VS 2010 HTTP Web Request multi-threading time out

Hello, I have a multithreaded application that communicates with a web service by HTTP GETs. when the program began to experience moderate load, it began to throw "The Operation Has Timed Out" errors...

View Article

VS 2010 Running an Audio file on a remote terminal

Hello hope someone out there can help. First abit about the situation. I'm working for a company that has a nation wide V.P.N. This V.P.N is prone to massive amounts of lag due to the way its been...

View Article


VS 2010 [RESOLVED] NullReferenceException and I don't know why.

I am getting a nullreferenceexception when I try running this code below. vbNET Code: Private _listOfItems As List(Of Item)     ''' <summary>    ''' This will check for ItemAttachments and then...

View Article

VS 2008 String mask - Last 4 SSN

New to VB.net . I need to mask a string that contains a SSN (123-45-6789) to the last 4 digits. I would link the output in this example ***-**-6789 . Need to replace the first 6 chars (no matter what...

View Article


VS 2012 Send a vCalendar item via IIS

Hello All, I am working with VB.NET VS2012 and I have a simple calendar with the ability to send a icalendar request via email. (Using SMTPClient) The frame work is working with a few problems... Here...

View Article

VS 2010 Printing Form into 2 Parts/ Side 1 & Side 2 May be as a Page Break ...

I am using VB.Net I am need to print a ID Card, so after looking out for ways to do that and also not getting help from anywhere I am finally trying to designed it in a single form & divide it as...

View Article


VS 2012 Multidimensional array

This is the first time I've ever used a multidimensional array so bare with me. I'm trying to have a list of lists, I have a combobox that when selected it populates a listbox. So the combobox is the...

View Article

VS 2010 Posting Data in ASP.Net Site - Params Values

Hey, I am ecommerce website that is designed to get IPN notification from payment system. While it works fine.. But due to some constraint i cant use in that way, instead i need to use web service in...

View Article

VS 2012 [RESOLVED] Trouble with Func(TResult).

Ok, bear with me on this one. I am sure I am just messing up something very simple. I have this declared: vb.net Code: Property CheckStateCondition As Func(Of Boolean) Then, I use it like so: vb.net...

View Article
Browsing all 27346 articles
Browse latest View live


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