VS 2010 Function problem !
HTML Code: Public Class login Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click If Register.TextBox1.Text = Me.TextBox.Text And...
View ArticleAdding values in a textfile
I'm trying to multiple two values in a textfile together and then add all the totals together into one value. This is my form: Attachment 99285 When someone clicks the "Values" in the menu bar, a drop...
View ArticleVS 2008 why i received this error in visual studio 2008
Hi. yesterday i was working in my project, suddenly i received a message to close the VS 2008. When i press the close button on that message then i received this message. Attachment 99287 Please tell...
View ArticleVS 2008 Automatic Type Inference not working in one project but works in another
I'm having this peculiar problem where the automatic type inference (ATI) for linq has stopped working in one of my projects. The project is of "Class Library" type. However if I create a new project...
View ArticleVS 2010 How Can I Disable Ctrl C, Ctrl A, Ctrl X Combinations from a text box
:wave: Hii Iam creating a program with VB 2010 And Want to disable Ctrl-C, Ctrl-A, Ctrl-X etc. combinations from a text box So that, the user cannot copy or cut or paste in that textbox but i couldn't...
View ArticleVS 2010 Selecting a Random items from a listbox and removing it.
What do I add to this when that random selection goes into lstBlue. I want it removed after it was added to lstBlue. I got the selecting random to work so far. Code: Dim selectRnd As New Random...
View ArticleVS 2012 Infix to Postfix Conversion
Hi, I am trying to write a program to convert an infix expression to a postfix expression. My task is as follows: To enter an expression, enter the numerical values in place of the variable names....
View ArticleHow to Unlock a Folder Locked by Another App
Hey all. I have been researching this problem and am basically coming up empty. I need to do in code what Unlocker essentially does as an app...That is, remove a lock on a folder that has been locked...
View ArticleModifying arrays
I have 3 Arrays Dim StudentNames() As String = {"Dave", "Brian", "Richard", "Phil", "Vlad"} Dim ClassTestScore() As Integer = {"0", "0", "0", "0", "0"} Dim ConicalBasketMark() As Integer = {"0", "0",...
View ArticleHow to include the same EmailModule in several different Projects in vb 2010...
Using vb 2010 Express. I have created a Public EmailModule that I pass values to which Sends out Emails. I would like to call this Public EmailModule from many different Windows Form Projects. How can...
View ArticleHow Can I Do This, And Is It Posible? please help me
Hello Guys! I need help with one thing. I don't know if it's posible, Thats why im asking you guys. So I am working on a project (just because of my laziness), the project is a program wich works like...
View ArticleError message
Hi .. When running a message appears Error message : NullReferenceException was unhandled code Code: Public Shared Function GetNonWorkingDevices() Dim pc As String = "." Dim wmi As...
View ArticleSequential Access file
Hi Everybody, I have been working on this assignment for quite a long time and now seeking help. I need to create a visual basic application where an organization needs to save each respondent's...
View ArticleSimple Question
I'm kind of new in Visual Basic but done a macros for some time. Ok so here is my problem. I have this code, it is a small code, basically what I want is if then number is below 133000 a message box to...
View ArticleVS 2010 Comparing values
Hello to you all fellow programmers ;) I'm working on a program for the local boyscouts. Some sort of beer stock exchange. Let's say we've got 5 type of drinks. The bartender presses one of the 5...
View ArticleVS 2008 Suppress form activated event
in a form , some code is written in form activated event if the form is open , and say for eg: and error or other information message dialog is displayed , immediately after the dialog is disappears...
View Articleusing selectItems for CalcDistance
I posted on this before and someone helped me but I just could not get it to work. I have been working on it but I have some mistakes that I don't know how to fix. Could someone please look at this and...
View ArticleVS 2010 Need webbrowser click event
Hello. I want to know if there is an option to detect a webbrowser event: every website I navigate, I need to know if user clicked a textbox, richbox etc (any object where user can write text), and...
View Article[RESOLVED] Turning off an Implementation
I have a form that implements System.Windows.Forms.IMessageFilter. The implementation of this interface requires a certain method that intercepts windows messages of certain types so that you can do...
View ArticleVS 2010 How to Update the access table rows with relative rows from another...
Dear All, I am creating a simple banking application for my college project in VB.net 2010 with access 2003 as back end. I have created four tables as CashDepositReg, CashDepositTran, CashWidrawReg,...
View Article