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 ArticleVS 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 ArticleVS 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 ArticleAdd 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 ArticleHow 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 ArticleVS 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 ArticleCrazy 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 ArticleVS 2010 Problems with Case Statement
I am very new to visual basic and I am having problems with my code. I think it is my case statement. Everything else is working fine. But when I try to calculate the commission it returns a $0.00...
View ArticleEditing text file issues
Using MVSE 2012 when use this code it says the file is still inuse after it loads not exactly sure how to fix this Code:     Dim line1, line2, line3, line4 As String     Dim path As String =...
View ArticleVS 2010 Game Controller on VB?
Is there a way to accepts button pushes & DPad control from a USB game controller? To have it tab over & select a new current active object or to move a picture on the screen? Is XNA the only...
View ArticleVS 2010 [RESOLVED] Detect % key on keydown
Hi there, I am using VS2010 vb.net, please help me out how to detect % symbol on keydown event. I want to calculate discount immediately after customer enters % sign, not on lostfocus. Please help me...
View ArticleVS 2010 how to calculate with figures from the database
Hi, Since I am brand new to the world of VB and willing to learn I would like to know how to retrieve data from 1 column from my database use this to calculate the difference and write it back to my...
View ArticleGPA calculator textbox issues
I have programmed a GPA calculator to where their are 8 textboxes to enter the course names, 8 textboxes for the number of hours each course is worth, and lastly 8 textboxes for the letter grade you...
View ArticleNeed Help with Making a +6 Loop on Visual Basic
Okay I've been trying to understand this question for hours and I am very desperate. The question is: Quote: Write a program segment in the following subroutine, that initially ask for a 2 digit...
View ArticleVS 2010 Need suggestion/advice on what method to use in my app.
OK, first, sorry for the title, but I couldn't say much there as I want to explain things better here. I have made this application called Dota Stats Simulator. You may or may not know, Dota is a game...
View ArticleVS 2010 Auto Updater adding string to list boxes and when selected results in...
I made a application that allows the user to download files from my program. The thing is constantly updating the program to add items into a listbox that when selected will insert a download link into...
View ArticleMaxlength Textbox validation
Hello All, I have the following statements for textbox validation, but the Statemet I use to validate maxlength doesn't work. Would you please help me take a look at it to see what i did wrong... Thank...
View Articlecan't understand the output of the program
Quote: Private Sub Button1_Click_1(sender As Object, e As EventArgs) Handles Button1.Click Dim no1 As Single = 4 Dim no2 As Double = 18 Dim result As Double Dim flag1 As Boolean = False TextBox1.Text...
View ArticleVS 2008 WebException in sync framework
hello, I have a project in smartdevice that uses the ado.net sync framework. when I sync to upload the changes made on the handheld device I always get the "TargetInvocationException-Webexception" this...
View ArticleVS 2008 How many backgroundworkers at the same time ?
Hi ! I have a app with 29 backgroundworkers, all are mentioned to work at the same time, all contain a loop scanning the process memory (1 loop takes ages, i split the memory to 29 parts and scan them...
View Article