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

VS 2010 add text to begin/end of each line

Hello, I'm new here and i need a quick help. i want to add some to my Textbox lines Code: line1 line2 line3 line4 now I press a button. The output should be (for example): Code: txt1 line1 txt2 txt3...

View Article


Generate Class.vb File Programmatically

Hello, I want to create a class builder which will get the tables from the specified database and build my [className].vb file - at the push of a button! For example: Code:         Dim strBuilder As...

View Article


VS 2010 Can someone complete this Decimal to Binary code? NEED HELP

For the code I want someone to complete the code but make it so that only the Binary conversion is shown from the loop, and so that none of the input = input / 2 working out is shown(i tried to use 2...

View Article

VS 2010 "Force" websites to display mobile?

I've done some research but can't really find anything about this. My application is meant to be the only thing running, but sometimes you need to look something up and it's a pain in the ass to open a...

View Article

Getting information from a textbox created in code

Hi Can anyone tell me why this piece of code doesn't work? Private Sub btnUpdate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnUpdate.Click For i = 1 To WNew.intCount If...

View Article


VS 2010 Minimize animation lost?

Ok, my problem is I have a form with the 'FormBorderStyle' property set to 'none'. So I made my own minimize/maximize/exit buttons, but the problem is when I click my minimize button, there is no...

View Article

VS 2010 ImageList throws exception

Hi, I have an ImageList that throws an exception when it's initialized. I put an imagelist on form1, and populated it with 3 images. The "Images Collectionj Editor" shows they are given index numbers...

View Article

GoTo

Ok, in Batch the command looks like this: :A CODE GoTo :A Making it go to a certain spot after the code is ran. How do I utilize this in VB.Net?

View Article


VS 2010 need help with error

I received an "InvalidOperationException was unhandled" Error Here's what it states: An error occurred creating the form. See Exception.InnerException for details. The error is: The form referred to...

View Article


Image may be NSFW.
Clik here to view.

HWND finding child elements

Hi all, I'm trying to find a way to find all the child elements under a program called Voucher when I give the parent id I already grabbed the procress id from it ("2B0A5E") and it's child ("140B24")...

View Article

Image may be NSFW.
Clik here to view.

Trying 2 Grab HTML by using httpwebrequest, But grabs "QOUTES" from webpage,...

Edited Again, Pasted Wrong Code first time: Hi everyone, I am using httpwebrequest to get a TEXT from a Webpage into a TextBox, But I get also "QOUTES" from the webpage incl. the name. Below is the...

View Article

Image may be NSFW.
Clik here to view.

VS 2010 Pasting parts of Clipboard

So I'm currently coding a program, and for one part of the program I have a button that finds your ip, but then I want to be able to paste the ip into 4 separate text box's excluding the periods, so it...

View Article

Image may be NSFW.
Clik here to view.

VS2010 application ...

hi... I've made VB application in VS2010 that uses a 2010 Access database it was working fine but when install the application on Windows 7 Ihad problems , I am using a datagridview and groupbox but...

View Article


VB 2010 express Picturebox array help...

I'm trying to convert my VB6 program to Net and one of the forms has 18 Pictureboxes in an array that I load from a flexgrid containing hundreds of image paths. Basically the user "turns the page" with...

View Article

VS 2010 Req: How to use enter key for result and clear field

This is the code for the search command when hitting the button Code:     Private Sub btnMobileDeviceFilter_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles...

View Article


VS 2010 Exception of type 'System.OutOfMemoryException' was thrown.

Code: Dim filelist As New List(Of Byte)(IO.File.ReadAllBytes(OpenFileDialog1.FileName)) The file I'm trying to open is 1.5gb. Basically what I want to do is open the file and then dump from certain...

View Article

Image may be NSFW.
Clik here to view.

How can define background color of titel contextmenustrip

Hi How can define background color of titel contextmenustrip ? Attachment 97319 I need Orange in top location Attached Images  

View Article


Auto login site with Firefox

Hello world, I'm new here, before posting this thread I've been looking for a similar topic with a topic I wanted to ask, but I still can't find the answer :( The process is simple: - Form with 2...

View Article

VS 2010 Inserting Table at The End of a Word Dovument

Hi, I am using VB to automatically populate a word document that has bookmarks setup in it. This works fine but where I am stuck is that at the end of the document I would like to dynamically create...

View Article

VS 2005 [RESOLVED] How can i access a controls Events from a list(of T)

Hi, im putting controls for a toolbar into a list Code: Dim Buttons As New List(of CommandBarButtons) when it comes to trying to get the events, there not listed. there should be a Click event for the...

View Article
Browsing all 27186 articles
Browse latest View live