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

VS 2010 Textbox

Hello everyone, Just a quick question, how do I get it so the textbox has dots at the bottom and each time I press a key, the key that I pressed adds the letter on top of the dot, very hard to explain,...

View Article


TableLayoutPanel - detecting if label inside table is "too long" to fit

Hi all, new to using TableLayoutPanel ... I am inserting labels into cells programatically, but have run into cases where the label is too long to fit... so it is truncated. With variable width fonts,...

View Article


Send keys to game using visual basic application

Hi I'm sorry to ask this but I like cheating in games Ive completed and creating trainers for the games so here is what I'm trying to do. I have started a project in visual basic 2008. It has two...

View Article

My friend got this error: Error 1 Unable to copy file obj\x86\Debug\blala

Hi! Can some1 help my friend? He gets the error "My friend got this error: Error 1 Unable to copy file obj\x86\Debug\blala" Thx.

View Article

VS 2010 [RESOLVED] Saving an Array to a file

I have a 2d array of boolean data that I want to save to a a file and then later read it back, when I re-start my program. Is there a really easy way to do this? I have tried the following, but have...

View Article


VS 2010 (Noob Question) Set automatic download location

Hey, im very new to Vbasic and i just learned this code: My.Computer.Network.DownloadFile("http://connectnigeria.com/articles/wp-content/uploads/2012/12/Google.jpg",...

View Article

modify email function

The below function retrieves a pop3 email message once the server is connected. I'd like to modify this function so that it doesn't download any email attachments. I'm trying to write some code to just...

View Article

VS 2010 Project research

Hello everyone, I would like to gather some opinions about a project idea we are working on. The idea: We would like to create an application that is basically a virtual city map (with some extras)....

View Article


VS 2008 Checking against dates in a SQl database

Hello everyone I am writing a program for someone else to use and it use's a SQL database. It has 3 query's (2 I have already done) the database has 12 columns and 3 of them are columns with dates in...

View Article


excel functions in vb.net

Hi All, I want to do some calculating in vb.net and for this I would like to know if there are simular functions that I used to use in excel available in VB.net what I am looking for is sum.ifs count...

View Article

Reading .txt file into text boxes?

I'm new to the forum and VB. I have a text file with 10 fields per line formatted like: name, address, city, state, zip, blah, blah, blah, blah, blah I have 6 lines total. I have created a form with...

View Article

Image may be NSFW.
Clik here to view.

VS 2008 printing

I am converting some VB 6 code to vb2008 code, and I am trying to print a table of data to a page (see the attached pdf). I have never coded printing code before. One line of the old vb6 code is...

View Article

Populate Cells in Excel Using Loop

I'm going to start tomorrow on a project which will populate two cells in an Excel spreadsheet. Based on the entry of these two cells some calculations are made on another sheet and then the results of...

View Article


VS 2010 Question about Config files for DLLs

I am writing a dll to handle error reporting and some other functionality. This dll is indended to be shared across several different web sites and some non web stuff like console apps. This dll will...

View Article

VS 2008 How to catch exception in this code?

What is the best way to catch the exception from this code? I have put the Try Catch in there but it is still crashing after a few attempts. It works fine on an asp.net website for the first few times...

View Article


VS 2010 MessageBox.show does not get focus

Hi, I will explain my situation, sorry for my english. I got a MDIPARENT form with some childForm. When i press close in the MDIPAREND, i will close all the childform. Code: Private Sub...

View Article

Add list to Word template with table :)

Hey Guys, My current goal is to take a list that I have and simply populate a table I have in a word template. The only question I have is how do I take a hold of the table? Once I declare Code: Dim...

View Article


How to show the drawing in the image??

Now I am doing paint application but the problem that i had is when i open an image to my picture box and i choose to draw on it or use other tools in my paint its didn't show but the strange thing is...

View Article

VS 2008 [RESOLVED] VB dynamic array from objects

Hi, I'm working on some automation for MS Reporting services and I have following problem, I need to convert array of objects into array of object with dynamic size. Original working code is: Dim...

View Article

Crazy conversion of unique integer to alphabetical string

Hey guys, got another crazy idea to throw at you :) I have a string that is comprised from two separate unique numbers (Only Numbers, that are random lengths) Code: Dim PrePhrase As String =...

View Article
Browsing all 27459 articles
Browse latest View live


Latest Images