20,285 Topics
![]() | |
Public Class Form1 Private decLabFee As Decimal ' To hold Lab fee. Private decMeds As Decimal 'To hold Medication cost. Private decSurgical As Decimal 'To hold Surgical cost. Private intLengthOfStay As Integer 'Amount of days stayed at hospital. Private decPhycical As Decimal 'Hold Amount of Physical Cost. Private Sub btnExit_Click(sender … | |
how to display msaccess data in vb.net textbox | |
Ok so you boot up a textbox class. Getting this in, in my eyes merely cosmetic. I used a module named programFunction with a string named tboxtext. A Couple of Functions that take a string argument. They do all the checking, making sure it is what was either in file … | |
Hi to all! I want to learn Vb.net,so i want to know the scope of vb.net. Actually i have a confusion, i heard many people saying that instead of vb.net you should learn C# because there is more demand of C# than Vb.net. is it true? Should i lean vb.net? … | |
Hey guys, here is how the text file looks now, FILEBEFORE Hello:.++.:something:.++.: bl ank:'++': 2Hello:.++.:2som ething:.++.:3b lank:'++': vdvdfv:.++.:bdfadf bfad:.++.: abfdabdabadfb:'++':Line4:.++.:So fh sj:.++.:sddsds:'++': If you actually see the lines which are blank has some spaces in them. It varies for each line, i want the lines in format, FILEAFTER Hello:.++.:some thing:.++.:bl … | |
hi guys can you help my project my system is Poit of sale and inventory i want to subtruct my itemsstock to quanty that i buy for every items cen u help me guys? thank!!! | |
This is my second attempt and for some reason won't Calculate. I get $0.00 as my result. VB tells me something is wrong wth CalcMiscCharge missing a return statement, but don't see where. Any Ideas? Public Class Form1 Private decLabFee As Decimal ' To hold Lab fee. Private decMeds As … | |
I need to create a program like Hangman... I did successfully the following: Bring a file into VB which has a list of 100 words --> ok Then, user enters a number --> ok VB identifies the number to a word--> ok Convert word into *****--> ok appear input box--> … | |
Having trouble when executed. Can someone point me the right direction? Public Class Form1 Private Sub btnEnterNumber_Click(sender As Object, e As EventArgs) Handles btnUserInput.Click 'This will sum of the numbers Dim strUserInput As Integer Dim intUserInput As Integer 'Number entered by user Dim intSum As Integer = 0 strUserInput = … | |
Morning all, I have some code which says if a text box is empty show a msgbox asking user to input data into this textfield. i then want only an O.K button to show on the msgbox but then no to continue with the sub. [CODE] If Me.txtLine2Rcon.Text = "" … | |
Good morning, I'm curious on how one would go about encoding the data for a UPS Maxicode barcode on a ZPL label. Currently we generate our own ZPL file using a template which we fill our data in with through a VB.NET program. The Maxicode barcode command is using all … | |
Greetings, I need help with basic cloak, which counts how many times will small and big pointer on the cloak cover each other, with first one starting at 12 cloak. I have idea of how to do it, but I can not realize it, so if you guys have some … | |
Hi Team, I'm stuck with my code and I found out this snippet to save(Export) an Excel file to **D:**. However, I would like to give a User an option to save it according to his/her necessity. Please find the Code Snippet below: Private Sub Button1_Click(sender As Object, e As … | |
Dim FrenchMark As Integer = 0 Dim GermanMark As Integer = 0 Dim SpanishMark As Integer = 0 Dim PercentageMark As Integer Private Sub Button1_Click(ByVal sender As Object, ByVal e As EventArgs) Handles Button1.Click EnterMarks() End Sub Private Sub EnterMarks() Try FrenchMark = InputBox("Please enter a whole number between 1 … | |
I have code for Enable or disable the comport in device manager through vb.net program in windows xp . but that code is not working in windows 7. Is there any common function for both os. | |
I have an Access database I've set up with two tables; Employee info, and earnings records. I'm supposed to generate a report based on those who worked a certain ammount of hours, or those who worked three months in a row. The hours part was easy, the 'who worked more … | |
Hello everyone!!!! Good Day ... I am having trouble on how to retrieve 2 fields of every tables in my Database .... I have 3 Tables saved in my MS Access, namely: RegularPassenger, DisablePassenger, and VIPPassenger ... and every tables has 2 fields each, which are SeatsNo and Filled .... … | |
Hello there, is anyone willing to help me converting some small php snippet to C# or vb.net please? | |
I have used several methods to save a program's settings in the past. * System Registry * INI files (Encrypted\Plain) * XML file as a resource or external file * XML app.config etc. I'm wondering either: 1. What's your preferred method for saving your program's settings? 2. Is there a … | |
I have this code: If e.Delta <> 0 Then If e.Delta <= 0 Then If PictureBox1.Width < 500 Then Exit Sub 'minimum 500? Else If PictureBox1.Width > 2000 Then Exit Sub 'maximum 2000? End If PictureBox1.Size = New System.Drawing.Size(PictureBox1.Width + e.Delta / 1, PictureBox1.Height + e.Delta / 1) PictureBox1.Location = … | |
Hello everyone, here i am again, asking for help .... please bear with me, I am a newbie of VB .... ahmmmm I just wanna ask if what codes is appropriate in holding the value that the user choose or select after clicking the ENTER Button? the scenario is this: … | |
hi everyone im really new to report viewer in vb.net and i wanto import the data from an excel file to the reportviewer in vb.net can anyone help me out? here is waht i tried so far: Private Sub ViewReport_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load ReportViewer1.ProcessingMode = Microsoft.Reporting.WinForms.ProcessingMode.Local … | |
Hello everyone!!! I need some help on how to put a word "RESERVED" on the "Filled" Column of the Access if the user will select a certain button (for example I have 5 Buttons, namely: A1, A2, A3, A4, A5) and select the ENTER button, a word "RESERVED" will be … | |
I'm currently working on a collection of sub-projects, one of which was a backup manager. I needed to be able to allow the user to specify a backup time and a repeat interval. After thinking about the solution, decided it would be best for the user to provide an Initial … | |
I need your help i'm using access database create simple login form in the database record Username is Admin or Password is Admin so i wanna need this add username and save record ask me record already available how to do this on vb.net 2010 or 2012 looks like this … | |
Hello everyone!!!! I need some help to make a condition that if a user will select or click more than 1 button, there would be a MsgBox("You can only select one seat for every Process") appeared.... The scenario is this: I have 5 buttons(A3, A4, A5, A6, A7) and on … | |
Hello... I have three textboxes on a form. The first two are for entering numbers for addition. And the third is for displaying the result of addition. I want the result of addition to appear in the third textbox as soon as I enter the numbers in the first two … | |
I have an Access Database on which I have tables with similar structure and columns name columnA and columnB.I can use the below query on tables created design time to get this output. Table | result -------|-------- SELECT "Table1" AS Table, SUM(a) - SUM(b) AS Result FROM table1 UNION SELECT … | |
I can't quite seem to get my head around this, i can load numbers in and add to an array then sort via bubble-sort but i cant seem to manage it with words. Any examples or help would be nice!! I need to load the word list from file then … | |
I need to load the contents of a text file (itemInfo.txt) into a list box, I am on the wrong track, can someone please help. [code=VB] Public Class MainForm Private path As String = "L:\Visual Basic\SequentialHW\" Private Sub MainForm_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load itemListBox.Items.Clear() itemListBox.Items.Add(path … |
The End.