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

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

VS 2010 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 [RESOLVED] 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 2012 Relocating groupbox based on selection

Code: Private Sub CmbTieSize_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CmbTieSize.SelectedIndexChanged         LblTieColorDisplay.Text =...

View Article

VS 2010 [RESOLVED] Measuring the size of contents of a richtextbox to equal...

Just wondering out there if there is a better way to measure the contents of a richtextbox so you know how many printed pages there will be. What I really want is for a message to appear saying "You...

View Article


draw a semi transparent rectangle over image box

i have made my own image box class all is working fine but i am attempting to draw a black rectangle over the image box and set the alpha to make it semi transparent to give a diming kind of effect....

View Article

runtime button creation & saving changes in design

Thanks for taking a moment to look at my post. I am writing a little program that I want to populates a tabpage with user generated buttons during runtime. The user will click on a button that will...

View Article

generate thumbnail from documents and other files

So i have done alot of research on google and found no answer for this question. How do you create a thumbnail image of all file types to use in a image box. there were plenty of posts found on google...

View Article
Browsing all 27514 articles
Browse latest View live


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