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

VS 2010 Draw a line in VB.NET (VS2012)

Hi all, It drives me crazy but I can't get a line drawn into a form. The form keeps blank. I'm sure it's easy but I'm still a junior developer so excuses me for that. Code: Imports System.Drawing...

View Article


VS 2008 Put string to a Byte() ?

Hi ! I need a fast help, i have a string like "&HC5" and i ned to put it to a Byte() (it will be byte C5 because it needs to be hex) when i just make it like this: Code:             Dim mystring =...

View Article


Image may be NSFW.
Clik here to view.

Any help with this error ?

Attachment 98007 Any help ? Full code for this part with the error. Code:             Dim requestListenerT As New Thread(Function()                                                   While running...

View Article

VS 2010 How to reset a form when .hide? and shown again. (Fresh like a new...

I have a question how can I reset a form when it will be hide? like its thread started and etc. I just want my form back to normal just like a fresh new launched form when .show again after .hide. Is...

View Article

What is the Proper way to display code in a Thread so that it is formatted

Someone told me before but I can't remember.

View Article


VS 2010 how to add/update jpg keywords tag data

We currently have a large amount of images that we would like to add specific product name text to the image 'Keywords tag'. Currently the images do not have this info so will need to be added. Using...

View Article

Extracting Part of a String

Hey, basically I have a string that contains information about a product, it is all stored as one long string. in order of appearance, it contains.... Product ID Product Description Product Cost...

View Article

VS 2010 Inserting user input text to form texbox in website

I need to copy the texbox value that the user inputs from the vb application I am creato to the webform textboxes ej. name, last name and then submit this information that the form will return from a...

View Article


Decrypt docum. with x509Certificate2, preset passw. to suppress passw. dialog

Hi, I want to decrypt an Document with the matching private key under Windows high security conditions. But everytime the CSP asks for the password to grant access. I need to suppress the password...

View Article


If Statement VB via Excel

Hi Was wondering if somebody could help I am struggling with some code I have a form with a update button and once pressed i need it to do the following. Hope this makes sense If combobox1 = worksheet1...

View Article

Need help in ComboBox Custom Class

Hi I am using VB 2010 Express. I have the need for a Custom ComboBox where there is a TextBox placed on top of the ComboBox (replacing the ComboBox Text Area). I created the Class as shown: Code:...

View Article

Setting curser position in range object

Quick question: When setting up a bookmark.range in a MS Word doc. Instead of setting a absoulte insertion point via code as in .range(0,0) how do I capture the current curser position so that the...

View Article

VS 2010 Help:for each loop and for next loop

Hi, i am looking to display folders of a particular directory in a listbox. below is the code for the same using 'for each loop' Private Sub btnForEachLoop_Click(sender As Object, e As EventArgs)...

View Article


I can't find why I can't get 'Text Align' to work.

Hi, I've been strugglin' with this bit of code for too long now... I can't find what I'm doing wrong or missing here... Everything else seems to work fine, but Line 16 makes no difference whatever...

View Article

Simple Voice Recognition help!!

Hi guys, A little background first... I've dabbled in loads of programming languages on a recreational basis.. But not much more than than! My work is based entirely around the SAS programming...

View Article


VS 2010 Getting values between brackets where anothe value exists

Hey Everyone I have a program that is designed to allow users to buy and sell models (as a small computing project). The user has to register an account which is stored in a database separately. They...

View Article

Image may be NSFW.
Clik here to view.

Buttons not moving with the Window Frame

I hope this is the correct place to post this at, I have VB Studio 2008 Pro. Please move if I posted in the incorrect forum. Thank You. I'm just starting to learn VB and some of its fun. I've read over...

View Article


Send keys

Hello! Code: text = TextBox1.Text SendKeys.Send(text) SendKeys.Send("{enter}") Problem: It works fine, but when symbols like '%' '/' ... are written into textbox1, it gives an error I tried this: Code:...

View Article

urgent help needed: mysql/sql database, checking for duplicates/adding line

Let's call my program FortuneSender.exe, it's made to send Fortune cookie messages to my forum members. Currently it sends 1 fortune to each member per month via forum PM function. They have to contact...

View Article

[RESOLVED] somestring.chars() not yielding correct results

Code: Private Sub Button1_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click txtbox.text = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" dim pos as string = txtbox.text...

View Article
Browsing all 27349 articles
Browse latest View live


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