geting an error msdxm.ocx
Im trying to load up my program and an error came up saying that in need to Register MSXM.OCX. so I did that. (regsvr32 "c:\testprograme\MSDXM.OCX And I get this error The module...
View ArticleMenu On Multiple Forms, Same Code?
Hi, I have a menu on my form and all the code is done. Currently I have this code and menu on multiple forms but every time I want to change anything I have to change it on each form. Anyway I can have...
View ArticleIm trying to write a script for HTA to make folder increments...
to open a word document and also create a folder and sub folder in ascending order as well as group them into 100 folder blocks. I know Im not being super clear so I will try to explain: For example I...
View ArticleApp security: installation and code
Hi, I'm a basic user of Visual Basic and now i'm working on my own apps and i want to know how to have some security to my app, like: 1 - Secure the installation with for example a serial or activity...
View ArticleVS 2010 DotNetZip - Don't Include Directories
I use DotNetZip to zip and unzip files in my application. It works with almost no problems. But if I do this: Code: Dim ZIPFILE As New ZipFile...
View ArticleVS 2008 Help with ClickOnce Deployment
I have migrated my project over from 2005 to 2008 and its been a while since I last deployed the project. I have made some updates and want to re-deploy it. do I need a "Certificate" I am a bit...
View ArticleI can't close the form until i change a combobox selected index
I have a form which has a combobox loading some data from database in the form load and i try to close the form it does not end this is the code that fill the combobox Code: Using conn As New...
View ArticleVS 2005 Machine dependent error
I have a .Net 2005 program that runs fine on two of the three machines in the clients office. I get and "indexoutofrange" error when "FormClosing" is executed, the index number changes depending where...
View ArticleHelp! Word counter for tabbed text editor?
I have this that I took from another forum post: Code: Dim tempArray()  As String   Dim lngWordCount  As Long   Dim lngCharCount  As Long   Dim lngCharCountS  As Long   Dim strTemp As...
View ArticleTrying to limit a textbox to a certain number range
Hello, I am using Visual Basic 2010 Express. I am trying to limit a textbox to a certain range of numbers. I want someone to be able to type in a number from 0-20. I have a code snippet that somewhat...
View ArticleHaving trouble switching endians
I am trying to learn some basics in how to read and write lseek functions. I am having an issue with endians. I found a source code that is supposed to work, however it is reading everything backwards...
View ArticleVS 2010 How do I fix this code to output correctly?
I have code which will calculate the total price and then the change to be given back. For example when the total is $1.00 and the payment given is $5.00, the change given back is $4.00 < works fine...
View ArticleVisual Basic Homework Question
Hello All, We're using VB 2010 in class and I have listed the homework problem below 6. Write a program to provide information on the height of a ball thrown straight up into the air. The program...
View ArticleType mismatch error trying to removing item from listbox.
Hi everyone. I am working on an activity to help students match instruments to sounds. I have them in a list called InstrumentList, and the student answer is in StudentAnswerLBL.caption. I thought this...
View ArticleVB error- cannot cast to a number unless it is less than infinity
Hi, I'm a student who's taking a computer programming class that uses VB 2010. I have no earlier experience with VB so I'm still a beginner even though I've been in the class for about 2 months now. We...
View Articleload data into form where double click on data grid view
Hey Everyone I currently have a data grid view on on form (Form 1). The data grid has 4 visible columns on it (First Name, Last Name, Age, DOB) and 1 hidden column (ID). Can someone show me show code...
View ArticleStoring and Displaying an Array
I need to store an array for 5 string values, (Names) then I need to store 2 separate numbers (test scores) to each name and display these in a output text box.. the names have to already be in the...
View ArticleVS 2010 how to display text in columns collection headertext in datagridview
hi i have a datagridview and i want to display a text that user choose from a combobox to header text in a column in columns collection property. Dim gpData As GridPanel = grvAirFlow.PrimaryGrid Dim...
View ArticleVS 2010 ListBox - Remove Duplicates, Alphabetize, Reverse Order
Populate lstOriginal with the given list of items: In lstDupes, remove all duplicates contained in lstOriginal In lstAlphabetized, arrange all items in the alphabetical order In lstReverse, reverse the...
View ArticleTic tac toe question using arrays
I am very new to programming and we have recently started into arrays, which by the way, I really don't fully understand at all. We are writing a tic tac toe game in which you have to use an array. I...
View Article