480 Topics

Member Avatar for
Member Avatar for hhm_pro992

HI! I CREATING A "POS" APPLICATION FOR MY SHOP I WANT TO KNOW THAT HOW TO PRINT OUT DATAGRIDVIEW DATA Like This: - ![036659558a64e3ca98e61bbafd08be33](/attachments/large/3/036659558a64e3ca98e61bbafd08be33.png "036659558a64e3ca98e61bbafd08be33") to this : ![82140f006783ff6fb594ba8cff295dbf](/attachments/large/3/82140f006783ff6fb594ba8cff295dbf.png "82140f006783ff6fb594ba8cff295dbf")

Member Avatar for ddanbe
0
971
Member Avatar for Sikander Nasar

I have a question that I want to print out the result that I have calculated using php.not confuse with(print or echo) I am asking for page print.

Member Avatar for nadiam
0
122
Member Avatar for nadiam

Hello. I just thought of adding the js print function to a page im building. from what i read i know it is pretty straight forward, use window.print. i was thinking about some of these sites that have this printing function that when a button or link is clicked a …

Member Avatar for nadiam
0
3K
Member Avatar for yaldoo

Okay, I have another problem that I can't figure out and it has to do with the I/O file stuff. This is the problem: Write a function, CountElement, that receives two arguments: a 2-dimensional char array and the size of the array. This function counts the number of digits, small …

Member Avatar for David W
0
305
Member Avatar for sandhya1202

[QUOTE]I would like to search for more than one word in a text file and if the word found i would like to save it to a group in which i have files belonging to English,Entertainment etc.The thing is Im unable to search for more than one string in a …

Member Avatar for Vikram Kolla
0
330
Member Avatar for loulou.skr

I have a large gff file 15,6 GB.. I wanna retrieve features from each record.. and for each subjectOrganism in the qualifier feature I will compare it with sorted list of species and get the index of this organism in sorted list. It work with a small data from the …

Member Avatar for ~s.o.s~
0
215
Member Avatar for lewashby

#!/usr/bin/env python3 import sys import re file = sys.argv[1] f = open(file, 'rb') seek_positoin = 0 artist_string = b'artist=' line = b'' f.seek(seek_positoin) while artist_string.upper() or artist_string.lower() not in line: line = f.readline() if artist_string.upper() or artist_string.lower() in line: seek_positoin = line.find(artist_string) f.seek(seek_positoin, 1) word = f.read(10) #line = str(line) …

Member Avatar for TrustyTony
0
382
Member Avatar for NuGG

I have been having trouble getting a result from this wondered if someone may be able to help me. I am trying to decode/parse this json output from a URL so that I can extract "result" and "success" and place them into variables. So far I cant even parse the …

Member Avatar for NuGG
0
317
Member Avatar for nicemedo1
Member Avatar for stultuske
-2
1K
Member Avatar for rowen_1

I need to print the output whereby when int x = 1, it will be show the first 4 elements in the arrayList. int x = 2, it will be show the first 6 elements in the arrayList. int x = 3, it will be show the first 8 elements …

Member Avatar for JamesCherrill
0
272
Member Avatar for supermastereu

Intend to carry out a simple online and print invoice to pdf. Suggestions are accepted ...

Member Avatar for NuGG
0
109
Member Avatar for bolfescu

hy i have question i have this code and i whant to print it one by one not all the page the script is <?php $qry=mysql_query("SELECT * FROM articles order by articles.id DESC ", $con); if(!$qry) { die("Query Failed: ". mysql_error()); } /* Fetching data from the field "title" */ …

Member Avatar for hericles
0
300
Member Avatar for Castellar

I have following code: # -*- coding: utf-8 -*- forbiddenWords=['for', 'and', 'nor', 'but', 'or', 'yet', 'so', 'not', 'a', 'the', 'an', 'of', 'in', 'to', 'for', 'with', 'on', 'at', 'from', 'by', 'about', 'as'] def clear_screen(): button2.destroy() button3.destroy() text.destroy() label.destroy() def main_page(): var = StringVar() global label label = Label( root, textvariable=var) var.set("Fill …

0
173
Member Avatar for SpottyBlue

I was doing the love tester program for my assignment. Then, I've encounted some problems after I run the program. Here is my code: public class SEAN_LAB3 { public static void main(String[] args) { int i; String [] bName = new String [5]; String [] gName = new String [5]; …

Member Avatar for JamesCherrill
0
296
Member Avatar for Jolie Tia

Hello, I am trying to create a function that will search a fixed line of text for a word or phrase. Once that is completed, I am to try and pass the line of text and the word as parameters. Can someone help lead me in the right direction. I …

Member Avatar for Jolie Tia
0
380
Member Avatar for keegansch

Hello! So, I'm taking some classes and learning how to write sample programs in Python, and I've stalled out pretty hard on one of the sample programs. The current exercise wants me to do the following: 1. Create an empty list home_prices 2. While loop asks for a home price …

Member Avatar for David W
0
357
Member Avatar for tubs1

Hi All, Im new to Python and doing a few basic exercises around modules and calling same. Can someone explain what par is in relation to this example? -------------- # Defining a module called support.py def print_func( par ): print "Hello : ", par return -------------- # Importing support.py module …

Member Avatar for Gribouillis
0
543
Member Avatar for Ploutarchos

Hello Guys Well I'm working on a lottery game and I would like to ask something because I don't know how to test the sequence of numbers before to print out!! All I need is to check the series of numbers in the arrays before the program prints out a …

Member Avatar for Ploutarchos
0
2K
Member Avatar for frankie198

I am new here and it's my first post, so I'm sorry if this is in the wrong place or is formatted wrong. I made my first Python code, which is extremely simple, but I have a few questions I need clarified: This program asks the user to enter 3 …

Member Avatar for David W
0
444
Member Avatar for laguardian

Hey guys! I'm writing this really long code for practice. Got really rusty with Java so I gotta get brain working again. Anyway, the first part of the code asks the user for the number of employees; the for loop then keeps asking the user to input employee names depending …

Member Avatar for Doogledude123
0
281
Member Avatar for abaddon2031

I have a block of code that i am wanting to turn into a function and i am very ocnfused on how to do it properly. If anyone could give me a lead on how to do this it would be a great help. The for statement is where i …

Member Avatar for abaddon2031
0
222
Member Avatar for nadiam

hello. i have a contact page that has a table populated by data from database. when a user clicks on a name a popup appears with that names data so user can edit/update. in that popup there is one drop down named salutations. say that drop down is not edited …

Member Avatar for nadiam
0
401
Member Avatar for madhatter777

I am trying to figure out why this one part of my program is not working. I am trying to count the number of the letter s a user types in when prompted using indexOf. For some reason it will not work correctly. Thanks for any help. import java.util.Scanner; public …

Member Avatar for Taywin
0
169
Member Avatar for hamdaalblooshi

import java.util.*; public class JavaApplication23{ /** * @param args the command line arguments */ static Scanner console = new Scanner(System.in); public static void main(String[] args) { //creat 5 arrays and declare String [] Student= new String [10]; int [] Quiz1 = new int [10]; int [] Quiz2 = new int …

Member Avatar for stultuske
0
233
Member Avatar for filipgothic

do anyone have example how this is done Define the array that is the result of the exam seven students who took the subject of Web services and have won 77, 98, 56, 87, 64, 55, 82 points. Print all of the results, the minimum and maximum number of points, …

Member Avatar for urtrivedi
0
215
Member Avatar for Ryan_11

I am in the process of completing a php program. The issue i am having is getting the data to display on a page after submission so that the data can be printed and handed to the customers. My current code is <?php if(isset($_POST['name'])) { $date = $_POST['date']; $name = …

Member Avatar for itisnot_me
0
283
Member Avatar for omar.ossama.11

` #include<stdio.h> #define MAXLINE 1000 int getline(char line[],int maxline); void copy(char to[],char from[]); /*print longest input line*/ main() { int len; /*current line length*/ int max; /*maximum length seen so far*/ char line[MAXLINE]; /*current input line*/ char longest[MAXLINE]; /*longest line saved here*/ max=0; while(len=getline(line,MAXLINE)>0) if(len>max) { max=len; copy(longest,line); } if …

Member Avatar for fahadkhan6302
0
167
Member Avatar for laguardian

Hey guys! So I'm writing a program that takes in a user input (1-3) and then executes the corresponding method. I keep getting the wrong output. For example, for prob1 when I input "john doe" it prints "Unauthorized!". And I'm like, foolish computer! I am your MASTER! How can I …

Member Avatar for JamesCherrill
0
227
Member Avatar for GuitarComet

Hi! I'm working on a hobby OS. Almost every time I try to link my files I get a 'undefined reference to' error. As I've been trying to compile with different compilers, the errors generated by the linker changes. I have only been using different ports of the GNU compilers. …

Member Avatar for Ömer
0
316
Member Avatar for laguardian

Hey guys! So I'm writing a code that takes 10 numbers from the user which is stored in a array. The user then inputs the problem number (1 or 2) depending on what they want to do to the array. Unfortunately, I'm getting and error on line `array[i].prob1(); `.. Here's …

Member Avatar for laguardian
1
240

The End.