i'm trying to make price lable printer and i was able to print a single page for a single id, but my problem is when i'm trying to print more that one id i was not able to make it work, i'm still learning but i was hoping that someone can give me idea how to make it work Imports MySql.Data.MySqlClient Public Module thisModule 'Info for the Price Lable Public NameV As String Public IdV As String Public DiscV As String Public ArDiscV As String Public PriceV As String Public SalesPriceV As String End Module Public Class Form1 Dim connection …

Member Avatar
Member Avatar
+1 forum 1

i need a code for authentefication user and password with c languge the user and password should be filled first in a .text

Member Avatar
Member Avatar
+0 forum 1

I want to create a game that computer guesses the number that i think between 0-500 but i am a beginner and i do not know what to do could you help me please ?

Member Avatar
Member Avatar
+0 forum 1

I am trying to implement a MIPS code that preforms unsigned integer divide but i couldn't figure out how. if D == 0, report an error and terminate. Q = 0 # Q is the quotient, initialized to zero R = 0 # R is the remainder, also initialized to zero n = the number of bits in the numerator N # That is, the number 3710 is 1001012 has 6 bits. # Shift through the bits of N to find the # position of its most significant 1 bit. # Write a separate function to determine “n”. for i …

Member Avatar
Member Avatar
+0 forum 1

Hi Is there any simple way or online website that can convert The numerical string like"123-322-14365" to regular expression?

Member Avatar
Member Avatar
+0 forum 10

I'm trying to compare 2 different CSV files, mark those differences respectively, then produce it as an output. However, my code seems to be only reading the last part of the lines from sample1.csv and sample2.csv as you can see below: Sample1.csv Planet,Account,Name,Station,City Earth,1234,Pete,Nebula,Phoenix Earth,1234,Pete,Nebula,Phoenix Earth,1234,Pete,Nebula,Phoenix Sample2.csv Planet,Account,Name,Station,City Earth,1234,Pete,Nebula,Wakanda Earth,1234,Pete,Nebula,Montgomery Earth,1234,Pete,Nebula,Carlo Current Output History,Planet,Account,Name,Station,City Changed,Earth,1234,Pete,Nebula,Carlo Expected Output History,Planet,Account,Name,Station,City Changed,Earth,1234,Pete,Nebula,Wakanda Changed,Earth,1234,Pete,Nebula,Montgomery Changed,Earth,1234,Pete,Nebula,Carlo Here is the code I have: import csv with open('old.csv', newline='') as f_old: csv_old = csv.reader(f_old, delimiter=',') header = next(csv_old) old_data = {row[0] : row for row in csv_old} with open('new.csv', newline='') as f_new: csv_new = csv.reader(f_new, delimiter=',') header …

Member Avatar
Member Avatar
+0 forum 6

Hi, I would like to know how to get IP Address of the devices connected to the hotspot of my PC using a VB program that will run on the same PC where the hotspot is running. I have no idea how to get it strated. I searched internet but I what I am seeing is that there is an external router. Thank you very much.

Member Avatar
Member Avatar
+0 forum 2

How do I process the xamarin forms that connect to SQL Server and export data to the listView ? I'm looking for this simple example. What do I find on google ?

Member Avatar
+0 forum 0

hello sir how can I get my system short date format in a label in vb. net. I try this code : Label1.Text = System.Globalization.CultureInfo.CurrentUICulture.DateTimeFormat.ShortDatePattern() but show wrong data. all time show "M/d/yyyy" format. I change it(to "dd/MM/yyyy") manually and by coding result is same("M/d/yyyy") please help me..... For Change the Format: Microsoft.Win32.Registry.SetValue("HKEY_CURRENT_USER\Control Panel\International", "sShortDate", "dd/MM/yyyy")

Member Avatar
Member Avatar
+1 forum 3

For the past several years I have been feeling quite embarrassed about my coding abilities. I've been self studying most nights trying to catch up to my peers but I feel like I have a moving target. I feel like my years of work experience does not reflect my coding ability at all. This post will go over my programming history, then how I am currently studying to improve my technical skills, then finally what I think my weaknesses are as a developer. What I am trying to get out of this post is how I can improve as a …

Member Avatar
Member Avatar
+7 forum 8

Hi, I am currently working on a VB form for a college assignment. I am trying to add quantities from a ListBox and then display the result in a TextBox for a pizza delivery order by using a button. So far, the Listbox shows: pizza type Quantity pizza price Total pizza price The Total pizza price is the value that I want to add together and then show in a TextBox as an Order Price. This is my form and Code for the button: ![form1.PNG](/attachments/small/4/3da7c8769c68d4284e57a3e1644c9627.PNG "align-left") ![form.PNG](/attachments/small/4/a41c26183938bc03cb984f467c5bb361.PNG "align-left") ![form1_buttoncode.PNG](/attachments/small/4/710dcd869220381dab6204948dc6f362.PNG "allign right") The code is a work in progress and as …

Member Avatar
Member Avatar
+0 forum 5

Ok I have a workbook that have 5 worksheets for a 5 year span. On each of the worksheets are there is a list of countries that make up the combobox (which works perfectly). On my userform I have a frame on the userform that represent each worksheet. **My problem is that I can't get the textboxes to populate based on the combobox selection. If that country is on three of the sheets I need for it to populate according to the year.** This code works perfectly with the exception of populating my label boxes with line one starting with …

Member Avatar
Member Avatar
+0 forum 6

hello there. i needed a little help in writing coding for reading multiple lines of data from a .txt file that are seperated by commas. Student Name, Student ID, Mark Ada Lovelace , S001 , 99 Barbara Liskov , S0123 , 44 Carol Shaw, S0023 , 55 Donna Dubinsky , S8333 , 33 Shafi Goldwasser , S934 , 77 Sophie Wilson , S11813 , 22 Frances Elizabeth Allen , S8254 , 66 After reading the data, the data has to be graded and sorted by name, id and grade. i would very much appreciate your guys help in this

Member Avatar
Member Avatar
+0 forum 7

i want to convert my old desktop windows program to a language that is independent of microsoft .. don't ask why. ----------------------------------------------------------- .. my old program is written in visual-basic (vb.net) and works with microsoft access databases. .. the old program contains about 20 different forms for data input/output. .. the old program contains about 70,000 lines of code. .. it is distributed to my windows users for installation using a standard (.exe) or (.msi) file. .. it contains numerous modules or sub-routines which require global variables. .. it uses arrays. .. it uses list boxes (tables), checkboxes, radio buttons, …

Member Avatar
Member Avatar
+2 forum 3

I am very new at programming in Java. Could somebody help me out with programming a Tic Tac Toe game? I would love to have to have the code for a game that can be played against the CPU. The assignment is to write the tic tac toe game using arrays. Thanks in advance.

Member Avatar
Member Avatar
+0 forum 26

Take a closer look at some common misconceptions that prevent hiring managers from even considering a DevOps consultant. Great Article "https://medium.com/prodopsio/devops-consultant-vs-devops-employee-69fd011455fe" --> https://medium.com/prodopsio/devops-consultant-vs-devops-employee-69fd011455fe

Member Avatar
Member Avatar
+0 forum 1

I am working on the workshop selector in Visual Basics 7th Edition chapter 5 and I just can't get the calculate total button to work after trying numerous different codes. Here is the criteria for the program. 3 list boxes, 4 buttons, 2 labels. The application allows the user to select a workshop from lstWorkshop, Then select a location from lstLocation. Next btnAdd takes the selected workshop and location attached to a set amount of days and a registration fee and multiplies the days by a Lodging fee and outputs this number in dollar form. After multiple workshops/locations have been …

Member Avatar
Member Avatar
+0 forum 1

Write a Marie subroutine that take a range of numbers and prints the prime numbers of this range.

Member Avatar
Member Avatar
-2 forum 1

Hello, all. I am trying to calculate entropy, and I cannot get the calculations correct, or match the results with the assigned if-statements. I get a number that differentiates a bit from the answer that I want. So far, this is my code: #include <iostream> using namespace std; float Entropy(float z, float z1, float e1, float z0, float e0){ float e; e= e0 + (e1-e0)*((z-z0)/(z1-z0)); return e; } int main() { float z,e,z1,e1,z0,e0; cout << "Enter temp between 150 - 500: "; cin >> z; if(z==150){ e=7.2810; } else if(z==200){ e=7.5081; } else if(z==250){ e=7.7710; } else if(z==300){ e=7.8941; } …

Member Avatar
Member Avatar
+0 forum 4

Hello, I am building a calculator in c++ windows application form, i want the calculator to handle multiple operator precedence (for example, 2+4*5/3). but i am not sure how to write the following code on my windows form project. Any suggestions would appreciated . #include <iostream> #include <conio.h> using namespace std; int main() { int num1 = 0, num2 = 0, num3 = 0, num4 = 0, num5 = 0; char op1, op2, op3, op4; int total1 = 0, total2 = 0, total3 = 0, total4 = 0; cout << "Enter five values with operator to calculate=>"; cin >> num1 …

Member Avatar
Member Avatar
+0 forum 6

Hi! We need some help and advice, which salesforce partner to work with. We are going to work with salesforce and it is very important to start with the right cooperation. Would be greatful for any help and any your experience!

Member Avatar
Member Avatar
+0 forum 1

Anyone have a shell script to remove controlM character from all the files in a directory

Member Avatar
Member Avatar
+0 forum 14

Hi guys. My task is to write a wombat 1 machine language program in CPUSIM that outputs the radix(only base 2 to 8 inclusive) reperesentation of a number. We have to ask the user for 2 inputs - first is the value to convert(cannot be negative) and second is the radix base. Then do division and note each remainder and display in the correct order. We were also told that not all values will be able to be converted and that we have the choice of how many spaces to set aside for the remainders. I've managed to get a …

Member Avatar
Member Avatar
+0 forum 7

hi how can change the size of image: from CSS for three pages using dreamweaver ? how can i (position and reposition something in the page)? i tried this tag, but nothing change: img.resiz{width:200px;height:1000px; what is missing ?? should i include the img link? and what will be the correct tag for that!!! i want to resize the omg size in all pages :)

Member Avatar
Member Avatar
+0 forum 2

Hi guys, I have a problem. I'm using CPUSim Wombat 1 to write a program. The goal is to display the numbers that the user has entered in the order they've been entered. What I'm stuck on is the storages. It's currently in a loop. The sentinel value is 0. If I create a storage for one number, the contents will be overwritten when the user enters the next number and the previous number will be lost. I've thought of jumping out of the loop and creating permanent storages but the problem is that only one number can be stored. …

Member Avatar
+0 forum 0

Hey guys, I'm having trouble with a program that I can't seem to get to work. It's supposed to be able to give you back your change in $130 bills, $55 bills, $25 bills, $5 bills, $1 bills, $.75 cent coins, $.30 cent coints, and $.01 cent coints. My program works for the most part in java but my outputs for the pennies are always off by one. Can anyone tell me what's wrong with my code or how to fix it? public static void main(String [] args) { System.out.println("What is the cost of the item?"); double cost=IO.readDouble(); System.out.println("How much …

Member Avatar
Member Avatar
+0 forum 1

Good evening ladies and gentlemen. i have a serious problem. Despite my best efforts to follow the principles of object orienting design, i noticed that my child classes are not getting any variables derived from their respective parent class stored with their values from user input to be used in each phase of the program. if you look at this code and run it in your compiler you will see clearly what i mean: using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Student_application{ class student { protected string first_name,last_name; protected int age,Year_of_Birth; public student(){ string first_name; string last_name; int …

Member Avatar
Member Avatar
+0 forum 2

Hi, I’m currently looking to write a program, most likely in Python. Now, I have an odd question. Is it possible to limit this program to running on specific hardware? Could I prevent it from running on a computer that doesn’t have a certain piece of hardware?

Member Avatar
Member Avatar
+0 forum 3

To be calculated with the accuracy of the term that after the absolute value is less than the size of 10^-5 on the interval [a,b] with step h , sum of the series 1-X^2/2!+X^4/4!-x^6/6!+x^8/8!-x^10/10! ... in C Interval [a,b] : [Pi/ 12; 11Pi / 12] Function: cosx

Member Avatar
Member Avatar
+0 forum 1

Hello guys!! I really need your help, I'm starting to use python and I have to write a program that counts the letters of a sentence entered by the user. This is what I have so far, but I don't know why it is not working.. Please help, thank you def main(): phrase = input("Enter a sentence:") words = phrase.split wordCount = len(words) print("The total word count is:") main()

Member Avatar
Member Avatar
+0 forum 14

The End.