20,285 Topics

Member Avatar for
Member Avatar for Soutta

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 …

Member Avatar for Mr.M
0
152
Member Avatar for dce12022
Member Avatar for Michael_9

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 …

Member Avatar for Michael_9
0
365
Member Avatar for Saboor880

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? …

Member Avatar for cgeier
0
313
Member Avatar for kks21199

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 …

Member Avatar for Oxiegen
0
1K
Member Avatar for leomax09

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!!!

Member Avatar for Santanu Das
0
123
Member Avatar for Soutta

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 …

Member Avatar for Santanu Das
0
173
Member Avatar for rgrgrg

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--> …

Member Avatar for oussama_1
0
177
Member Avatar for Soutta

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 = …

Member Avatar for Soutta
0
361
Member Avatar for Mike Bishop

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 = "" …

Member Avatar for Deep Modi
0
259
Member Avatar for rianbattle

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 …

Member Avatar for rianbattle
0
2K
Member Avatar for filipgothic

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 …

Member Avatar for J.C. SolvoTerra
0
310
Member Avatar for Dudestreet

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 …

Member Avatar for hericles
0
317
Member Avatar for Danny_7

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 …

Member Avatar for Reverend Jim
0
689
Member Avatar for swathi sajja

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.

Member Avatar for cgeier
0
935
Member Avatar for 404notfound

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 …

Member Avatar for Santanu Das
0
223
Member Avatar for William_14

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 .... …

Member Avatar for Santanu Das
0
495
Member Avatar for Trle94

Hello there, is anyone willing to help me converting some small php snippet to C# or vb.net please?

Member Avatar for Trle94
0
259
Member Avatar for J.C. SolvoTerra

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 …

Member Avatar for J.C. SolvoTerra
1
404
Member Avatar for Start4me

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 = …

Member Avatar for Reverend Jim
0
2K
Member Avatar for William_14

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: …

Member Avatar for William_14
0
160
Member Avatar for Jeline_1

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 …

Member Avatar for Santanu Das
0
2K
Member Avatar for William_14

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 …

Member Avatar for Santanu Das
0
254
Member Avatar for J.C. SolvoTerra

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 …

Member Avatar for J.C. SolvoTerra
1
691
Member Avatar for nikunjkacha

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 …

Member Avatar for Santanu Das
0
148
Member Avatar for William_14

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 …

Member Avatar for William_14
0
2K
Member Avatar for ak24

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 …

Member Avatar for Santanu Das
0
7K
Member Avatar for rony001

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 …

0
170
Member Avatar for The-noob

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 …

Member Avatar for Reverend Jim
0
297
Member Avatar for bpacheco1227

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 …

Member Avatar for Cherrielane
0
2K

The End.