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

Sort by Columnheader click

I want to make listview to be sorted by columnheader click. I made code like this. Code:     Class ListViewItemComparer         Implements IComparer         Private col As Integer         Private...

View Article


Connection string for connecting to a sql server 2008 express database on a LAN

I am using VB 2010 Express with a sql server 2008 express database for the first time. I am using windows authentication. The Sql server database is on a computer named "NewLaptop". This connection...

View Article


Image may be NSFW.
Clik here to view.

image gallery from database

hi i am attempting to create a image gallery using images stored in a vb database. now i know how to attach the image in a database BUT the issue is i have no idea were to start for the image gallery....

View Article

VS 2010 VB2010 : how to detect mouse collision with a point?

Use the following controls on form1: - button named button1 - picturebox named XY - checkbox named checkbox1 past the following code in the editor: Code: Public Class Form1     Public bmp As Bitmap...

View Article

VS 2012 Web Request Time Out

I am getting a timeout error from the following code: Code:     Public Function DoesHTTPFileExist(WebAddress As String) As Boolean         Dim HttpWReq As HttpWebRequest = _...

View Article


VS 2012 TryParse a Double

I have a variable (ApplicationVersionInformationArray(0)) that holds the following value: "1.0.0.1" What is the best way to determine if this value is larger than 1.0 Here is my current code...

View Article

[RESOLVED] Regex Problem in VS2012

Hi, I want to scrape some values from a html file and I can do this well using Regex in a regex editor but when I put the pattern in VB I get errors (VStudio will interpret the " from the pattern as...

View Article

Invoking webpage submit button

Hi all, I am having a bit of trouble invoking a button without any id or tag name from a webpage. Here is the html code. <div class="sbSubmit"><ul class="buttons floatRight"...

View Article


Image may be NSFW.
Clik here to view.

windows service hanging issue

windows service hangs while reading certain .doc document when it finds corrupt docs. is there any way to catch this error message and skip this file? Attached Images  

View Article


VS 2010 Why my Application is closing?

When I click on a button or LinkLabel my application closes automatically. Why is this happening?

View Article

VS 2012 Form Properties

Is it possible to set a forms text property at runtime, such that each time a form is loaded, the .text is shown that is the new value rather than the value set at design time?

View Article

Help with Skype Auto responder application

Hi all i am working on an skype auto responder application for a friend of mine. The application compiles and runs without error. However nothing happens when i recieve a message the sender is not...

View Article

VS 2010 Webbrowser not clicking login

Hi Guys, I'm trying to login to a site via the webbrowser control, i can set the user/pass fields fine but the "Login" button doesnt have an id: Code:                         <div...

View Article


Image may be NSFW.
Clik here to view.

VS 2012 PictureBox over PictureBox

I would like to know how to make a picturebox would not get on each other and can see both without some overlap. The only way I know is to pin down one picturebox Parent as the other but in this case,...

View Article

VS 2012 How to make a Cypher [Encrypting & Decrypting String]

I would like to know how to make a relatively basic Cypher using a basic algorithm. I have tried many times but fail miserably. I am very sorry I cannot provide you with a basis of code for you to work...

View Article


VS 2012 Resizing a groupbox

How do I write and where would I put the code to resize a groupbox immediately depending on what was selected from a combobox? Do I need to double click the groupbox and add the code there because I...

View Article

VS 2012 limit the number of characters in multiline text box

Need to know how to limit the number of characters a user can enter in a MulitLine textbox and display a countdown. Basically I would like to: 1 - Limit the text entry in a multiline textbox to 1500...

View Article


VS 2010 Dragging pictures from IE doesnt work while UAC is level 3 (defailt,...

Hello. I have a program that lets users drag pictures from Internet Explorer. I am testing it with VMware player windows 7\8 (not updated) While the User account control set to default (level 3), it...

View Article

VS 2010 Regex help extracting from table

Hey Guys, I'm having trouble wiht a small line of regex, i'm trying to parse the url from: Code: <td class="field_domain"><a href="/goto/16/akl4d/48/" target="_blank" rel="nofollow"...

View Article

sql parameterised query for Ms access

Please tell me what this sql query would be if it was parameterised. str = "SELECT * FROM Login WHERE username= '" & txtUsername.Text & "' and password ='" & txtPassword.Text & "'"

View Article
Browsing all 27036 articles
Browse latest View live


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