199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for skill11

how i can write java programme like this out put Enter the number of minutes:*1000000000* 1000000000 minutes is approximately 1902 years and 214 days

Member Avatar for JamesCherrill
0
121
Member Avatar for murali2489

Hi All, I have an online screen in which a form filed is filled with Numeric Characters .. if the entered four digits are not numeric, it will throw an alert message saying "**Only numerics allowed**". Now the new requirement is it should accept alphanumeric characeters instead of Numeric Characters. …

Member Avatar for djjeavons
0
176
Member Avatar for altjen

Hello forum I have a question, is there any way how to make a software on vb which after uploading a pic into the software or clicking a button. it uploads the pic somewhere and get the link of the photo. and also would be great if could be able …

Member Avatar for OMER AHMED
0
112
Member Avatar for aneeqtariq_143

i want to create a form for my client. My client require to create a dynamic for him. suppose, i want to insert 1 record in main table of mysql, and record multiple records in secondary table which has reference key of main table. I dont know how many records …

Member Avatar for diafol
0
7K
Member Avatar for DS9596

I did it like this and it somewhat works but I have problem with the middle name such as Barrack Hussein Obama. How do I make it so it ignores the middle name and just gives me the last name??? #include <iostream> #include <iomanip> #include <string> using namespace std; int …

Member Avatar for Moschops
0
174
Member Avatar for asaidi

Hi sorry about i m stucked in foreach loop <?php error_reporting(0); $mysqli = new mysqli("localhost", "root", "root", "route"); if ($mysqli->connect_errno) { printf("Connect failed: %s\n", $mysqli->connect_error); exit(); } $array = $_POST['arrayorder'];====>array of id s sent from form $jour=$_POST['day'];======>array of days $c=array_combine($array,$jour); print_r(array_values($c)); if ($_POST['update'] == "update"){ //in my foreach i want …

Member Avatar for asaidi
0
353
Member Avatar for necrovore

Hi, I have a filestream enabled DB and a table to store the files. Until now i used to get the path of the file that has to be saved to DB. But due to some changes this was changed and now i get a byte array. my question here …

Member Avatar for necrovore
0
265
Member Avatar for terrymold

Hi everyone I have a bit of JavaScript code that I need a bit of help with. It concerns Local and Global scoped variables. In the code sample below, and in the function showLocation, are the two problem variables. If I un-comment the two document.writes, then obviously I can see …

Member Avatar for terrymold
0
278
Member Avatar for Farhanalee

Modify the previous program to read in a list of floating-point values. The end of the input is indicated by the user entering a sentinel value -999. The program will display the following: the average of the values, the largest of the values, The smallest of the values, the range, …

Member Avatar for stultuske
0
140
Member Avatar for baloch123

Hi Hope,everyone is doing good out there. I need some help regarding which strategy to use for one of my projects. Here are the project details I want to generate PDF forms, by gathering data from user.There are different questions to ask and based on each answer,we will ask next …

Member Avatar for baloch123
0
740
Member Avatar for socialmd

This is the report.php view [CODE] if(isset($_POST["addReport"])) { $report = new Report(); $report->employee_id = $_POST["employee_id"]; $report->date = $_POST["date"]; $report->job_id = $_POST["job_id"]; $report->description = $_POST["description"]; $report->attachment = file_get_contents($_FILES['attachment']['tmp_name']); for($i = 0; $i < count($_POST['date_range']); $i++) { $report->request_date[$i] = $_POST["request_date"]; } for($i = 0; $i < count($_POST['date_range']); $i++) { $report->quantity[$i] = $_POST["quantity"]; …

Member Avatar for Ashvin_1
0
5K
Member Avatar for Solution Hall

Hi ! I am working on a project in VB.NET 2010. I have to send email using outlook on runtime. The email body should be consisted of four portions ..... i. Header Text which will be fetched from a string variable. ii. Main Message which will be in a table …

Member Avatar for OMER AHMED
0
182
Member Avatar for M.I.Sahil

AOA, I m using vb6 with Access 2010 (DAO recordset) and Crystal Reports 9.22 I have developed a projet in vb6 it works fine at desing time but when i Install it (i mean after Package and deployment) and run the projet everything works fine but when i run reports …

Member Avatar for M.I.Sahil
0
2K
Member Avatar for Hidayat_1

Every programming language provides different features to make coding task easy. One of the main objectives is to keep things simple as possible. You have studied C++ in this course and have learnt many different concepts e.g. input/output, if-else statements, loops, arrays, functions etc. Looping constructs are needed when a …

Member Avatar for deceptikon
0
167
Member Avatar for JOSheaIV

Hello everyone, So today I wrote a small little application that reads in the bytes from a SerialPort object. While this worked successfully, it was completely local. The device I was reading from was plugged into my machine. Now, again while that worked, I need to use the same logic …

Member Avatar for JOSheaIV
0
152
Member Avatar for shubham2488

Hello i need help, I am creating a small social networking website in which i want dat a user can upload music files as well with some descriptions ,the description and file path should be stored in database and the mp3 file should be stored in a seprate folder i …

Member Avatar for diafol
0
285
Member Avatar for batoolhussain
Member Avatar for gusano79
0
80
Member Avatar for mdev

Form1.cs public partial class Form1 : Form { DataSet ds = new DataSet(); DataTable table = new DataTable(); //List<Pessoa> p = new List<Pessoa>(); public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { //Add Columns to DataTable (table) table.Columns.Add("Nome", typeof(string)); table.Columns.Add("Idade", typeof(string)); table.Columns.Add("Profissão", typeof(string)); table.Columns.Add("Signo", typeof(string)); table.Columns.Add("Morada", typeof(string)); …

Member Avatar for cgeier
0
374
Member Avatar for prabhjitsw

I am new to Dev C++ and i am creating a program of a game of snake. In Dev C++ the graphics open in WINDOWS BGI screen whereas the text gets shown in Text console(Dos). 1)i want to know how can i clear the WINDOWS BGI screen ? 2)how can …

Member Avatar for amit_26
0
1K
Member Avatar for Odyssey2001

Hello!First of all,I'm so sorry for this huge post!!I wrote the whole code from the book,that's why the post is so big!!I'm reading this book : Rapid Gui Programming with Python and Qt.And I have problem understanding some parts of the code.I would be really thankful if someone could help …

Member Avatar for Odyssey2001
0
608
Member Avatar for RanyaAnwar

write a function to calculate the maximum number of four numbers notice that the four numbers will be entered by the user

Member Avatar for RanyaAnwar
0
145
Member Avatar for cngerra

I'm still a noob in JavaFX, I can print the content of the table that I query, the problem is that I want the content to be placed inside the tableview. This is the code that I have done. public class TableViewController implements Initializable{ @FXML private TableView<studentInfo> tblViewer = new …

Member Avatar for bharath_5
0
7K
Member Avatar for Advaith_1

Hey guys... I have Borland C++ compiler with version 5.02. The problem is that once I run the code, it makes and just flashes and disappears. I mean, in a simple 'hello world program', the program just cout 'hello world' and closes itself. I tried getch(); and it did work, …

Member Avatar for svn74
0
271
Member Avatar for prem2

Dear all, I am using linux fedora os. But i cannot able to set the java Classpath command. Step 1: whereis java java: /usr/bin/java /etc/java /usr/lib/java /usr/share/java /usr/share/man/man1/java.1.gz Step 2: vi .bash_profile export JAVA_HOME=/usr/bin/java export PATH=$PATH:/usr/bin/java Step 3: java -version java version "1.6.0" OpenJDK Runtime Environment (build 1.6.0-b09) OpenJDK Server …

Member Avatar for sepp2k
0
2K
Member Avatar for asic_designer

I have a question about the assembly code generated by this small patch of C code that I wrote. The code patch is shown below, basically what I am doing is reading floating point values in from a hardware updated register and performing the arctan2f function on those values. #include …

Member Avatar for asic_designer
0
397
Member Avatar for Mr.M
Member Avatar for djjeavons
0
3K
Member Avatar for Farhanalee

Write a program that reads a word and prints the number of syllables in the word. For this exercise, assume that the syllables are determined as follows: Each sequence of adjacent vowels a, e, i, o, u, y, except for the last e in a word, is a syllable. However, …

Member Avatar for iamthwee
0
303
Member Avatar for alz3eem-94

Hi, Our teacher explains nothing, he expects us to learn from reading the book. I need help on how to start this assigment. I have attached the assigment.

Member Avatar for iamthwee
0
118
Member Avatar for SimonIoa

Hello i am trying to connect my mobile service with my database... this is the script public $username = "root"; public $password = ""; public $server = "localhost"; public $databasename = "rove"; public $port = "80"; public $connection; public function __construct () { $this->connection = mysqli_connect($this->server, $this->username, $this->password, $this->databasename); $this->throwExceptionOnError($this->connection); …

Member Avatar for SimonIoa
0
194
Member Avatar for Niloofar24

Hello. I have a Class in my python file. That Class contains some functions. How can i set the command of a Tkinter butten so that call a function of that class? I tried this but it didn't work: class calculating(object): def __inint__(self): self.current = 0 def addition(self, amount): self.current …

Member Avatar for HiHe
0
10K
Member Avatar for terryds

Is it good to declare a class with many methods ? Or, is it better to use flags ? Which one performs faster ? Example class Filter { public function filterspecialchar($input){;} public function filterurl($input){;} public function filteremail($input){;} } class Filter { CONST SPECIALCHAR = 1; CONST URL = 2; CONST …

Member Avatar for diafol
0
114
Member Avatar for phony

I need to check my code has all these requirements. The requirements for “main()” are: a. Use an object. b. Declare all required variables. c. Output user information. d. Input the radius 1 and radius 2 to be used to calculate the area of two circles. e. Use object Circle …

Member Avatar for NathanOliver
0
489
Member Avatar for biabia1
Member Avatar for AntonyRayan

In a form, I have a field called mode of transport: for that I used three radio buttons like own , private and public. If he clicks public radio button, it should show two radio buttons like pickup and drop. Otherwise it should not show it(pickup and drop). I don`t …

Member Avatar for diafol
0
125
Member Avatar for coder91

For the system I am creating there are various reports, some of which require input parameters from the user. I have my system working for reports thay require no parameters but can't seem to figure this out. One member of the team has written stored procedures, one being report lookup …

Member Avatar for coder91
0
210
Member Avatar for OMER AHMED

i want to design a teamviewer kind of application in vb.net from which i can able to remote thr pc and solve thr issues. but i tried to search online but find nothing. can anyone help me here

Member Avatar for JamesCherrill
0
928
Member Avatar for divinity02

hi guys I am practicing a java program and it goes like this. I am trying to this as a practice JAVA Object-Oriented program for a rental car company to create an inventory file(.txt) as a random access file which can easily be updated by users for the following specifications: …

Member Avatar for divinity02
0
180
Member Avatar for ihthishaam

Hi guys, I want to know how you pass a selected row value from one DatagridView to another Datagridview. Example : DatagridView 1 shows the students list. when one student record(row) is doubleclicked a new window opens with another datagridview where it shows the courses the student is attending to. …

Member Avatar for djjeavons
0
726
Member Avatar for Smalls

As searching has returned very little, my question is simple yet seems to have a complicated explaination. How does one go about processing and sending aspx pages that don't have a physical location (i.e. the apsx page is built in a string or is an embedded resource) to the client? …

Member Avatar for Smalls
0
385
Member Avatar for lena1990

hi all, i want to convert array of short to array of bytes in order to send it in Datagram Packet and then convert it from bytes to short

Member Avatar for JamesCherrill
0
366
Member Avatar for malatamil

in this double condition [else if($test1[0] == "Regular Project" && $test1[0] == "FSA Project")] is not working properly. this is the way to do . or in_array i have to use. $sql1 = "SELECT Select_Type,Prj_Id,Status FROM PROJECT_ACTIVE WHERE Memr_Id='$data[0]'"; $test = mysql_query($sql1); $test1 = mysql_fetch_array($test); /*echo "<select name='selecttype'>"; for($i=0;$i<3;$i++) { …

Member Avatar for malatamil
0
6K
Member Avatar for davy_yg

<?php session_start(); ?> line 39: <?php echo $_SESSION['banner']; ?> line 40: <?php echo $_SESSION['banner']; ?> Notice: Undefined index: banner in C:\xampp\htdocs\portal\administrator2\admin\dashboard.php on line 39 Notice: Undefined index: banner in C:\xampp\htdocs\portal\administrator2\admin\dashboard.php on line 40 How to fix the error?

Member Avatar for OsaMasw
0
196
Member Avatar for Fuad_1

var vergi=function taxCalculator(){ var income=5 var taxRate=0.04; var totalTax=income*taxRate; return totalTax ; document.write( '<p> totalTax </p>') } vergi() ________________________________________________________________ <body> <header> <h1>Sadelewtirilmiw vergi hesablayicisi</h1> </header> <form method="post"> Yekun Geliriniz <input type="text" name='gelir' id='gelir'> <input type="button" name='hesabla' id='hesabla' value='hesabla' onClick="vergi()"> </form> <h2></h2> <p></p> </body>

Member Avatar for DaniWebUser_1
0
215
Member Avatar for bd338

Hello everyone. I erased A86.exe, because I wanted to learn 32-bit Assembly. Now I want to program a little bit in 16-bit Assembly again. So I downloaded A86.exe, but now when I open my *.ASM files with it, nothing happens. Please help me :).

Member Avatar for Drew_1
0
188
Member Avatar for divinity02

hi guys havent been here for a while, but I have a question for you all. 1. how do you write a java object-oriented program 2. is it the same as a java program or different 3. does it have any similarities between both program

Member Avatar for divinity02
0
324
Member Avatar for gbhs

Hi My code below works fine to execute a SQL script. However I need to add a progress bar to indicate progress when the script is long and takes longer to execute. How do I implement it? thanks Newbie Public Class Form1 Public Sub ShellandWait(ByVal ProcessPath As String) Dim objProcess …

Member Avatar for gbhs
0
718
Member Avatar for Anuj877

I am using the Html2pdf(dompdf) library for codeigniter,Its working fine but i cannot get images in pdf files. this is the url where i download the library. https://www.google.co.in/url?sa=t&rct=j&q=&esrc=s&source=web&cd=2&cad=rja&uact=8&ved=0CCgQFjAB&url=https%3A%2F%2Fgithub.com%2Faiwmedia%2FHTML2PDF-CI&ei=wijjVID8GIqWuATqnYBY&usg=AFQjCNFGnkCMd1t5K55fApAyeca4dCE-mQ&sig2=-ix5k0Vhj81f6BkzIY5pPQ&bvm=bv.85970519,d.c2E

Member Avatar for cereal
0
2K
Member Avatar for coder91

Hi I have a datatable that returns 3 columns, what I am trying to do is to return the second column of a row when a variable matches the first. It's probably really simple but I can't get it to work. Thanks in advance.

Member Avatar for coder91
0
154
Member Avatar for DS9596

It lets me continue the loop but it won't let me enter a sentence the second time?? #include <iostream> #include <iomanip> #include <string> #include <cctype> using namespace std; int main() { char c, response; int Uc = 0, Dc=0, Vc=0, Wc=0; string vowels("aeiouAEIOU"); cout << "I can count the number …

Member Avatar for NathanOliver
0
459
Member Avatar for phony

I need to output the smallest number that is entered. I can't seem to figure out how to do it though. Thanks in advance. small.cpp #include <iostream> #include <algorithm> #include "arrayListType.h" using namespace std; int main() { arrayListType<int> intList(100); // int min(int first, int last); int counter; int number; cout<< …

Member Avatar for NathanOliver
0
400

The End.