199,112 Archived Topics
Remove Filter ![]() | |
Hi guys. I am having issues with the output of this program. Can somebody tell me what I have to do to make this work correctly? Here is the code I have so far: import java.util.Scanner; //text scanner to parse primitive types and strings using regular expressions. public class Operations … | |
#include <iostream.h> void main() { int d; int i=0,n,j,b[100]; cout<<"\n Press 1 for Decimal to Binary converstion"; cout<<"\n press 2 for Decimal to Octal converstion "; cout<<"\n press 3 for Decimal to Hexadecimal converstion"; cout<<"\n\nEnter your choice: "; cin>>d; switch(d) { case 1: cout<<"\nEnter decimal number: "; cin>>n; while (n>0) … | |
I would like to silently print PDF files from the hard drive to a named printer, which may or may not be the default printer. In the [URL="http://www.daniweb.com/techtalkforums/showthread.php?t=17156"]this thread[/URL], it shows how to silently print the PDF but it always goes to the default printer. Is there a command line … | |
I'm developing a medical software & I want to make an exe of this project. Pls tell me how to proceed. I have no idea about this | |
Android Application Development or iphone Application development??? Which Apps are more useful and cool??? | |
any one please explain me how to use cakephp framework or any MVC base framework . i have knowledge of php and WordPress | |
please help me with my problem in JAVA PROGRAMMING: this the problem. Write a program that will ask a user to input his/her name and the number of quizes he/she would like to enter. The program will then ask for the scores for quizes and will display the total and … | |
GUIdancer 3.2, the latest version of flagship automated GUI testing tool from Bredex, now "officially" supports Windows 7 and Vista, and includes additional enhancements to its library of pre-built test actions. It began shipping on Nov. 3. Before you decide that US$5785 is too much to pay for an automated … | |
Hi guys, I am doing a Java project. For now it's just a program but this program is to be used through the semester. I have hard time thinking what class to work. We need to create a class of anything like cheese, cars, rectangle etc that we will be … | |
Hi friends., I need one help from you all. Actually i am working asp.Net 4.0, i need to specify path in different folder in my project.so, i think if i place server.mappath in web.config is very useful for me how can i place it. tell me any sample or code … | |
hi.. i am working on an project where i will need to create pages dynamically.. Can anyone please guide me?? | |
What's the difference between "include", "include_once", "require", "require_once"? thanks. | |
number generator in c# not random numeber | |
Hello, I am making a dynamic vertical sidebar which uses PHP to fetch data from the database. However, as it is dynamic I have to make sure it will work properly even if it has 100 lines of text. But I am facing a problem that it is going below … ![]() | |
[CODE] <%-- Document : Login1 Created on : Jul 1, 2011, 1:16:12 AM Author : Dharmendra --%> <%@page contentType="text/html" pageEncoding="UTF-8"%> <%@page import="java.sql.*" %> <%@page import="com.p1.*" %> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>JSP Page</title> </head> <body><center> <form action=""> <br>UserID : <input type="text" … | |
Hi there all, I really need help on this one, I went away for a wedding for a week and missed a week of work and now I have a practical due for 1:00 10 tomorrow and I got back today, but I managed to complete all of the programming … | |
I want to make a Program that takes two inputs one initial number and one final number for example if I input 1 as the beginning number and 13 as the final, I would like the program to output the Fibonacci sequence: 1,1,2,3,5,8,13.. I hope someone understands it.. Pleease i … | |
i am problem with line 3462 ?! :@ [CODE]<?php function trigger_db_error($obj) { global $CFG; $error_arr = debug_backtrace(); $subject = 'Report bug - Sql error - {site_url}'; $content = '<u><b>Url :</b></u> {current_url} <u><b>Error File :</b></u> {file} <u><b>Error Line No :</b></u> {line} <u><b>Error Description:</b></u> {error}'; $frmobj = new FormHandler(); if(isset($CFG['site']['current_url'])) $frmobj->setEmailTemplateValue('current_url', $CFG['site']['current_url']); … ![]() | |
Hello, I am writing a program and I need to store important data like password, etc. What is the best way to store the password and where is the best way to store it? ![]() | |
Dear All, Please everybody help me!!! I wan to convert mp4 licence of skyview format to other format such as avi wmv... Could you make a sample program for me? please download link below: [CODE]http://www.fediz.com/Mpeg4player.zip[/CODE] 1. 1.mp4 (MP4 licence of skyview) 2. 2.mp4 (MP4 licence of skyview) 3. Codec_ENG.exe (it's … | |
Hi there guys! I've been stuck with this problem for quite a while now. I wanted to create a jsp which would upload files to sql database. I've used this code for my upload_page.jsp: [CODE] <%-- Document : upload_page Created on : Mar 6, 2011, 11:01:40 PM Author : Administrator … | |
Is there a cleaner way to close out of a GUI window in Java then just clicing the X in the upper right hand corner? When I do this I get a NullPointerException error. Is there a way to put an "Exit" button in a GUI window so that the … | |
What are the most useful keyboard shortcuts for visual c++ 2008? | |
I am learning C/C++/oracle/Unix? I am thinking of developing some application on my own, but I have no Idea what else is required. If you take an example of C++.I have very basic knowledge of it(data types, oops concepts,vectors,file handling,exception handling etc) I am not an expert though. I have … | |
hi can someone help how to make a program or exampel of program using two dimensional array. Or can someone help me to make program by this problem >Write a program using two dimensional array that searches a number and display the of times it occurs on the list of … | |
[CODE]using System; using System.Drawing; using System.Windows.Forms; namespace WindowsFormsApplication1 { public partial class Form1 : Form { private Panel panel1 = new Panel(); private PictureBox box = new PictureBox(); private Panel closeButton = new Panel(); private bool moveable; private Point currentPosition; private Image img; public Form1() { InitializeComponent(); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; … | |
Write a C program in to calculate the parking fare for customers who park their cars in a parking lot when the following information is given: A. A character showing the type of vehicle : C for car, B for bus, T for truck. B. An integer between 0 and … | |
hello all, I have database named 'Marketing', and want to bound DropDownList control with it using 'add connection' dialog box in the C#.net. I gave datasource: 'Microsoft SQL Server Database File (SqlClient)'. And when I give DataBase file name as 'C:\Program Files\Microsoft SQL Server\MSSQL\Data\Marketing_Data.MDF', I get error while testing the … | |
[B]I want to play mp3 song file in ubuntu using c++ [/B] suggest me is their any function to do this plz suggest me as simple as u can suggest any method.... plz give ur valueable suggestions..... | |
I am trying to make an ATM machine, while trying to teach myself how classes interact with each other. I feel as though the main idea of the program is correct, but as you can see, I am having a lot of syntax errors. If you guys see something that … | |
Im in dire help of needing to do the following: 1. Write a function which will take a grade as an argument and validate it for domain (in a valid range). Return true if valid, false if not. 2. Write a function which will take a grade as an argument … | |
[CODE]#include<stdio.h> #include<conio.h> #include<graphics.h> #include<dos.h> void main() { int gd=DETECT,gm,year,month,day,cy,cm,cd,i,j,maxx,maxy; int y,m,d; int midx, midy; int stangle = 0, endangle = 360; int xradius = 100, yradius = 50,xradius1 = 2, yradius1 = 2; int radius = 50; clrscr(); initgraph(&gd,&gm,"d:\\tc\\bgi"); maxx=getmaxx(); maxy=getmaxy(); for(i=0;i<10;i++) { setcolor(4); rectangle(i,i,maxx-i,maxy-i); rectangle(9,11+i,629,45-i); } for(i=0;i<315;i++) { delay(3); … | |
[CODE] <% response.buffer=True %> <!--#include file="inc-adovbs.asp"--> <!--#include file="DataStore.asp"--> <!--#include file="inc-nocache.asp"--> <!--#include file="func-conversions.asp"--> <!--#include file="error-catcher.asp"--> <!--#include file="func-getvars.asp"--> <% if userrights < 5 then response.redirect("default.asp") end if sort=wclng(request("sort")) delete=nonull(request.form("delete")) ' Set up the database connection Set ddConn=Server.CreateObject("ADODB.Connection") ddConn.Open strConnect Set ddRs=Server.CreateObject("ADODB.RecordSet") startdate=wcdate(request("sd")) enddate=wcdate(request("ed")) if startdate="" then startdate="09/01/2001" end if with response .write … | |
i tried searching for it for hours but cant find anything. | |
Private Sub txtsearch_Click() with data3.Recordset a = txtidno.Text .FindFirst "[id]'" & a & "" ' If .NoMatch Then MsgBox "Record Not Found", vbInformation, "Search" Else txtborrowname.Text = .Fields("borrower's name") txtcourse.Text = .Fields("course") txtyear.Text = .Fields("year") End If End With End Sub ("what is the lacking of my code of command … | |
How do you write the code using Scanner class to set up a menu (i.e 1 for something, 2 for something, and so on.) Then have the user to choose. Thanks | |
i am new to programming............i just want to create a linked list program plz check for error for me [code] #include<stdio.h> #include<conio.h> #include<malloc.h> void insertAtEnd(int no); void insertAtBegin(int no); void insertAtPos(int no,int pos); template <span= id="IL_AD" class="IL_AD">Display</span>(); <span id="IL_AD5" class="IL_AD">struct</span> LinkedList { int num; struct LinkedList *next; }; typedef struct … | |
The title of this thread pretty much says it all - I would like to know how to open an already created excel spreadsheet (I want the application to launch). Thanks so much to anyone who has time to respond to this. | |
inputs a string from the user and coverts all the capital letters to small letters and all the small letters to capital letters. Example: If the user enters string “HeLLo wOrLd”, the program will display it as “hElllO WoRlD” i have written following code.. please tell where im wrong..as it … | |
Can anybody help me in on how to connect my VB interface to a database. I have already designed the interface but I do not know how to connect it to Dbase. Damson | |
Hi All, I need some guidance here...How does one close or unload all open forms in VB.Net. Can someone please help me out in this regard? Thanks very much. | |
How can I call Crystal Report from VB 6.0 ? | |
Hi.. first of all, I want an answer in details if u dont mind.. When we use a class with Pointer data members,why do we need to: 1. include a destructor and a copy constructor in the class 1. overload an assignment operator which return pointer this for example: // … | |
This code calculates and the average waiting time of the process given acc to their burst time..It is a famous scheduling algorithm for process scheduling in operating sysytem . After calculating waiting time it also generates the gantt chart for the process given . | |
I keep on seeing Oracle as I delve into the world of IT. And apparently, by the looks, they no own Sun MicroSystems - IS that correct/true. So what do they do, there history, everything please. Thankyou very much fro your help. | |
I need chess game implemented in C++,it should be a 1 player game with AI techniques implemented for the computer. i m willing to pay. <snip,snip,snip> | |
[I]<< split from [URL="http://www.daniweb.com/techtalkforums/post301149.html#post301149"]here[/URL] >>[/I] I need help writing a pseuocode for the following statement: pseudocode that represents the logic of a program that allows a user to enter a value for the radius of a circle and then provides the user with a choice between printing either the diameter … | |
Hi dears. I want to send a string as sms in gsm modem witch mixed from english and unicode word. for example: "hello in persian is 'سلام' in arabic is 'السلام'." now, how I can make a pdu format from this string and what change I have to make in … |
The End.