Hello community, so this is my problem, I have 4 TextBoxes and 1 "serial number". What I want is:
When the user pastes the serial number into the first TextBox, the String will be divided into 4 digits for each text box, thus leaving 16 digits in all, however, 4 in each TextBox.
And finally, I...
I am trying to build a calculation that adds up the values depending on the percentage value. So if someone has 120 % attainment he gets 5250 + 1150 , if he gets 140 %, he gets pier for 100% + 120 % + 140% and so on.
Additional Money Earned...
Is it possible to convert code from vb.net to vbscript? I have, basically, a windows form in vb.net but it is only a dialog box. The dialog box just has a few labels on it, two buttons, and two textboxes. When the user hits "okay" (button) it uses the "System.IO.StreamWriter" to write a text...
I have been trying to create a set of grammar rules for a speech recognition program with an array, but cannot seem to accomplish this task. Here is the general idea:
Dim commandlist As New Recognition.SrgsGrammar.SrgsOneOf(websites(0), websites(1), websites(2))...
hi thanks for the help I'm writing a program and i need to have a button put a file into a folder, i know how the button works i already have it doing some other stuff. i just don't know the code to copy and past it to a folder.
Like the title, I want to know what implies to declare a function or a sub using public or directly Sub / Function i.e.:
Public Function Whatever()
I'm doing a class project, and I keep running into issues with the checkedlistbox.
So here's the scenerio:
I have a form with one CheckedListBox, one button, and one textbox.
I want that when you press the button that the items selected inside the CheckedListBox should be displayed...
I'm trying to make an vb.net project which generates data and then exports it to an excel spreadsheet complete with a chart representing the data.
I have Office 12 (Including Excel 2007) as well as windows SDK.
All the tutorials I've seen which explain how to create/modify an excel spreadsheet...
Basically i am trying to make a form which is in essence a switchboard. Just some buttons to launch some executables. Here is my code:
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click...
For one of my programs I need some code that will be able to capture a WebBrowser control on TabPage1 and then put that image into a PictureBox on TabPage2.
I've been struggling with finding examples of how to capture hidden windows and what I did find confuses me because I am not very a very...
Please could you help this code works fine:
Private Sub ButtonBrowse_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ButtonBrowse.Click
Shared Sub Save()
Dim Writer As StreamWriter = New...
Hey guys, i am currently working on a form that looks like this:
When i click on any textboxes under Plan Code, the plan form will pop up.
When i click on a field in lbType, field will appear in my lbCode.
When i click on a field lbCode, i want to be able to insert information into the...
Is there an alternative way to identify within a generic method the type that was passed in (of T) without having to create a bogus object and check typename?
Public Shared Function Create(Of T)() As iManager(Of T)
Dim BogusVar as T -- don't want to do it this way if possible to avoid...
Hi, I'm trying to get something done in vb.net which I've already done in vb6 (lost the code): creating a new desktop and switching to it. I have a C# code (written by somebody else, got it from http://www.Planet-Source-Code.com/vb/scripts/ShowCode.asp?txtCodeId=5277&lngWId=10) which works very...