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

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


VS 2008 Problem with adding hex

Hi ! I have one hex, &H0 and in a loop i add &H1 to it, but i have a problem.After it comes to 9, there comes "A" and it gives a error: Conversion from string "A" to type 'Integer' is not...

View Article

Moving a project to a new folder

I am trying to move my final project to a new folder without any luck. (using VB Express 2010) I used the "Save As" function to save the MainForm.vb to the new folder, and the rest of the files and...

View Article

Sub Pocedure problem

When the “Select Media and Estimated Fund” button is clicked, Estimated Budget should be calculated depending on your selection of funding resources (one or two). The calculated results should appear...

View Article


Setting up a authenication server like thing

i am really bad and no little to nothing about connection to internet with vb but i have always wanted to know how to add like a auth before using a program. basicly how it would work is you would...

View Article

need help with FileStream for writing text

I am new to using FileStream, it was introduced to me by a member here, dunfiddlin, when I had an issue with a project for a friend. I am now trying to expand my horizon more with a little program for...

View Article

VS 2010 Draw graphics on screen

I am using Visual Basic.Net and am drawing graphics on the screen. Here is my code: Code: Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click...

View Article


Having problems with my Array :(

Check the results of “Number of Agencies Needed” after clicking “Select Media and Estimated Fund.” Then select the names of the agencies from the agency listbox on the left and click “Add Agencies.”...

View Article


VS 2010 Add Delay To When A Process Has Exit

Me again, hmm scrap "displaying a %"......... how can i update label5 and set a 3/4 sec pause if the process has exited, i tried: Code:                     If (myProcess.HasExited) Then...

View Article

Assistance creating a Sub Procedure named “(FundingResource(Balance))” Visual...

I am working on a program that consists of three event procedures (in other words, three different task buttons: “Select Media and Estimated Fund,” “Add Agencies,” and “Generate Report”). When the...

View Article

VS 2008 Do Until/For Next loop return to start of the loop ?

Hi ! I need a fast help from you guys, i need to make a code that will work like this: Code: Do Until num1 > num2       If something Is Nothing Then         'Return to start of the loop, without...

View Article

VS 2010 Unhandled exception has occurred in your application

Hello guys! When my friend is clicking on a button he gets a error saying "unhandled exception has occurred in your application" how do i fix this? works for me, and btw it's a exe file. thanks

View Article


VS 2008 Why this doesnt work ? (memory scanning)

Hi ! Im making this program just to learn about memory etc, im trying to scan for a specified value in some process, and it works when i set the start point like 10 addressess before the address i want...

View Article

VS 2008 Problem with webbrowser control

Hi folks! I need some help with one simple code snipet. Goal is to make simple query on a site, site has one input field and one button. I am not a coder, so please dont judge me for code format, i...

View Article


Image may be NSFW.
Clik here to view.

VS 2008 Syncronize sort 2 Comboboxes

I have 2 Comboxes . I need to sort them. The one is numbers and the other is normal text. I need them to be syncronized. So Item 1 (MAN) in combobox1 should be syncronized with 1 in combobox2. I should...

View Article

VS 2010 Array index reference

Hi, using Visual Basic 2010 Express, I created a checkerboard using Dim Board(64) As PictureBox then assigned each cell an image and last added it to form1 in a loop Me.Controls.Add(board(x)). Worked...

View Article


VB 08 Auto Click on Submit Button?

Code:         WebBrowser1.Document.GetElementById("NewTag").SetAttribute("value", txtTurbo.Text)         WebBrowser1.Document.GetElementById("claimIt").InvokeMember("Click") So basically what this...

View Article

VS 2008 Youtube Player

Hi there! So, I have been trying to build a player that plays YouTube videos. But I don't know how to built the controls: ex.: Play/Pause,Stop,Back/Forward and Volume I saw three controls that could...

View Article

textbox - array - replace - sendkey

Code:     Dim newstr() As String = {"{!}", "{%}", "{/}", "{{}", "{}}"}     Dim oldstr() As String = {"!", "%", "/", "{", "}"}     Dim notreplaced As String     Dim text1 As String     Dim x As Integer...

View Article
Browsing all 27072 articles
Browse latest View live