Get username on a remote computer
Hi Guys, Where I work, we have some remote computers which we can use to run heavy tasks without slowing down our own computers. So usually I use mstsc to access the computer and enter my username and...
View ArticleVS 2010 Extracting information from a multidimensional array ?
I've tried just about every possible combination of code to extract just the first name from a multidimensional array set for only the first and last name. All I can get is the first name "Bob" which...
View Articlefile dialog
can someone help with my file saving dialog. I have attached what I have so far. I have to be able to save this dialog then be able to reopen it in the output form, but I cant not even get it to save...
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 2012 Panel inside Usercontrol
I have a Panel on a UserControl - and I'd like to be able to drop controls, at design time, on to that Panel when the UserControl is on my form. I can drop controls on to my UserControl fine, I just...
View ArticleVS 2010 Locating the Smallest number in a .txt file
Hello All, I'm working on some homework and have myself stuck on a problem. I have to read a text file and find the following:Display the number of numbers in the file *Complete Display the largest...
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 Article