199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for shahid00704

Hello, I have three different string strings string attach1,attach2,attach3; string attachment="text1.txt,document.doc,text2.txt"; i want the above string should be split and each string after splitting it should store into three different strings ex: attach1="text1.txt"; attach2="document.doc"; attach3="text2.text"; there should be a check how many string are coming after splitting the comma and …

Member Avatar for shahid00704
0
120
Member Avatar for Japus

Hello I'm trying to copy a variable from a vector into an array (with a few steps in between) As you can see from the code, I take a random piece of equipment from the vector of equipments and insert it into the inventory (which is an array). The line …

Member Avatar for thelamb
0
2K
Member Avatar for pjnewberry

I'm inherited a jsp application and have loaded it to a shared web hosting platform. When I load the page, it works fine in Internet Explorer but in any other browser I see a listing of the source code. Obviuosly I have something missing or incorrect but I've never used …

Member Avatar for ~s.o.s~
0
2K
Member Avatar for Skeen

Okay, I'm making a game, and I need to use random inside a class, however I can't figure out how to seed the randomness into the class, so atm I'm getting the same random each time. I've tried stuff like srand(time) in main, however, that doesn't apply to the class, …

Member Avatar for Skeen
0
112
Member Avatar for vegaseat

The module tkSnack from our friends at KTH in Stockholm, Sweden allows you to play a variety of sound files using the Tkinter GUI. Supported sound files are WAV, MP3, AU, SND and AIFF formats.

Member Avatar for yvos91
0
1K
Member Avatar for kele1

I have to write a program that converts Fahrenheit from 0 to 212 to floating-point Celsius with 3 digit of precision. The output should be printed in two right-justified columns of 10 characters each and the Celsius should be preceded by sign for both positive and negative values. please help …

Member Avatar for kele1
0
310
Member Avatar for asmikwen

Hello, I have been looking for a data integration / transfer program able to help with Access. I have had some advice but have not found the right software yet. The main feature is being able to migrate important quantities of contacts and data on a daily basis. The migration …

Member Avatar for MeSampath
0
91
Member Avatar for kele1

I'm trying to change this program into a doubly linked list but i'm having a difficult time. Please help me out thank you.[CODE]#include <stdio.h> #include <stdlib.h> struct Node { char data; Node *next; Node *prev; }; //typedef struct node Node; typedef Node *NodePtr; void insert( NodePtr *dPtr, int value ); …

Member Avatar for kele1
0
143
Member Avatar for grafas7

hi, i have a task i dont understand, im working with C++ Borland 6. my task is to create array ,which will read text from .txt file (any text,with any number of words). What is important i need to count those letters by rating them, and then range (counted letters) …

Member Avatar for mrnutty
0
100
Member Avatar for kellnerq

Question- Write a function that displays at the left margin of the screen a solid square of asterisks whose side is specified in integer parameter side. For example, if side is 4, the function displays: Sample Screen Display **** **** **** **** i have come this far but i get …

Member Avatar for sidra 100
0
3K
Member Avatar for GoGames1315

I wont to know how to find Pascal actions (functions?) like, how would you find the CPU speed (if pascal can do that,) or how would you minimize the window. Do I have to look for hours on GOOGLE search to find the code I wont ? cant I just …

Member Avatar for GoGames1315
0
158
Member Avatar for nccsbim071

Hi I have beed developing an appliction that will start an executable on remote computer to zip the files. I provide the location of files to zip. Now the problem is that i want to start the executable on linux server that hosts the files. I want to start an …

Member Avatar for Medalgod
0
177
Member Avatar for jlego

im trying to determine if there is an item selected on the listview.. i have a listview that displays customers name with a .tag that holds there ID. how do you tell if the tag is 0 or empty before executing code? in vb6 i simply did [code] if .lstwhatever.selecteditem …

Member Avatar for jlego
0
109
Member Avatar for shanboy

I'm a beginner in .net programming environment.I am using c#. i have a text box(txtSearchKey) for user to enter the text key. i have a combo box(cmbSearchBy) to specify in which field of employee table ,search key should be used to retrieve data. when i use the above code i …

Member Avatar for sknake
0
141
Member Avatar for jlego

this is not a web design question, i'm actually using it in vb.net but they don't have a database forum in the software development section. what i am doing: i have two tables. customer and customer_phones my visual basic program has a search for customer option, which returns the customers …

Member Avatar for jlego
0
130
Member Avatar for Geek_Cyborg
Member Avatar for vb5prgrmr
0
105
Member Avatar for JBeginer7891

Someone please help! I'm writing a program that enable a user to search for a patient Info when patient number is given. here is the search code snippet [code] public ArrayList searchPatient(String patientNum) { try { String sql = "SELECT fname, sname, location, dob, dor, race, gender, status, initials, idnum …

Member Avatar for ~s.o.s~
0
113
Member Avatar for akim_atl

I am all confused, I don't where to start. This is my first programming class and i need some help please. Write a C program for an automatic teller machine that dispenses money. The user should enter the amount desired (a multiple of 10 dollars) and the machine dispenses this …

Member Avatar for virgo_norz
0
1K
Member Avatar for seam

Project 1 Leap year calculation (Leap year is a year that has 366 days, a year that has 365 days is not a leap year) Write a program that will accept a positive integer ( the year to be tested) from a user. If the user inputs a 0 or …

Member Avatar for seam
0
89
Member Avatar for rukshilag

Using following HTML Code please show me how to write PHP code to accept and delete the incoming data entered through the form below. from the following MySQL database and table. [B]Database[/B] = hrms [B]Table[/B] = Student [B]Fields[/B] = StdNo(Number), Name(String), Address(String), Contact No(String) [CODE] Student No<Input type='text' name='txtStdNo' /> …

Member Avatar for rukshilag
0
118
Member Avatar for shahzad429

i am using tiny_mce as a text editor for my CMS. buy now the problem is it add <p> tag with data so while retrieving the data for front end i get an extra space. so there is any why that i can remove <p> </p> from first paragraph. i …

Member Avatar for shahzad429
0
126
Member Avatar for plastic

hi hi, i have a .hex file and i have to read it and convert and sasve it in decimal format. any ideas plzzz

Member Avatar for ddanbe
0
2K
Member Avatar for prakash.pipil

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <?php $_REQUEST["chkhob"]; if(isset($_REQUEST["btnsubmit"])) { $choise = array("cricket","football","polo","tennies"); foreach($choise as $key => $val) { //var_dump($_REQUEST["chkhob"]); if(in_array($val, $_REQUEST["chkhob"])) { $chkbox[$key] = "CHECKED"; } } $result = implode(" , ", $_REQUEST["chkhob"]); echo "Your Hobies: $result"; …

0
55
Member Avatar for rutaba

i am using ASP.NET for developing a project of on line flight reservtaion system.. after making forms what should my next step be.. And what kind of fields should be there on the forms? hope my question is understandable.. Waiting for replies.. Regardz

Member Avatar for chandru7
0
115
Member Avatar for Iam3R

Hi, I used Enum constant as a case of swict statement and trying to select by using the pointer to the structure , which internally has a union and a enum member. the union member again internally have three structures. even i debugged the code. the value of the variable …

Member Avatar for Iam3R
0
94
Member Avatar for rs25

Hi, I'm learning Java/Jsp. I just started a project to learn and have some Practical knowledge. But I'm stuck and confused Kindly suggest me so that I can proceed further.- The Project is a Knowledge System. It stores Lots of Questions their answers which is listed by Categories. There's 2 …

Member Avatar for rs25
0
106
Member Avatar for gehring

Hi, I have the following examplde code. [CODE=C++] // TestProject.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include "TestProject.h" #include <iostream> #include <vector> #include <windows.h> #define UNICODDE using namespace std; int main(void) { CString test; std::vector<std::vector<CString> > your2darray; std::vector<CString> row; row.push_back("col 1.1"); row.push_back("col 1.2"); row.push_back("col …

Member Avatar for Ancient Dragon
0
298
Member Avatar for raff004

whats wrong with these code? the buttons don't add or remove the panel.. someone help me!??plss..:S [code=java] import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.event.*; public class addremove extends JPanel implements ActionListener{ private JButton addbut; private JButton revbut; private JPanel panel1; private JPanel panel2; public addremove() { addbut = new …

Member Avatar for HerrLehmann
0
124
Member Avatar for mani2009_it

I want to check in Date Field(Textbox), whether the input is Date Format or not (i.e) Date Format should be followed(YY/MM/DD) in C# windows applications. How can i check this?

Member Avatar for DanielGreen
0
94
Member Avatar for Flufferman

Hi, I'm looking for a method to get some information from another website ([url]http://contests.covers.com/sportscontests/picksByDate.aspx?date=11/2/2007&ur=265839&contestID=15253&sportID=9[/url]) in an automated way. I need to get the total value of a NBA game between boston and another team (variable team) and if Boston got WIN or LOSS in its row. I've tried this but …

Member Avatar for me655321
0
187
Member Avatar for michael123

I turned on php Domxml module in php.ini and restart apache server, I can read domxml is enabled in phpinfo, however when I try to load XML file: $dom = DOMDocument::load($_FILES['file']['tmp_name']); it shows me the error message: Fatal error: Call to undefined function: load() in c:\program files\apache group\apache\htdocs\bom\tool_rev_import.php on line …

Member Avatar for michelleradu
0
321
Member Avatar for warmmelody

Hi Guys, We bought a Job Portal from Easy Job Portal and made some changes in the design and uploaded before one month but when we tried to work on the portal we found out the following bug : 1. When ever we register as a candidate and then apply …

Member Avatar for warmmelody
0
95
Member Avatar for chunalt787

So I didn't know where to put this but I had somewhat of a newbie question. I am trying to create a blog for my friend. Its going to be a full fledged site and I want to store the blogs and be able to search on them later. I …

Member Avatar for stellamary
0
108
Member Avatar for alkeshtech

Hi guys, I am writing a method which given an instance of a class and a type (as a string), it will return an instance of the named type constructed from the instance if possible, null otherwise. So say, class A{ A(B b) { .. } .. } class B …

Member Avatar for javaAddict
0
99
Member Avatar for P00dle

I made a filechooser that enables the user to save a file. I used netbean's gui maker for it. I literally have just one thing stopping me from finishing my task: The save button does not actually do anything. You can click on it, but nothing happens. How do I …

Member Avatar for P00dle
0
186
Member Avatar for firoz.raj

Can anyone tell me the difference between Truncate and delete Command .Kindly let me know the idea.Any help would be highly appreciated.

Member Avatar for debasisdas
0
82
Member Avatar for sidra 100

hi i have created a code to merge two char arrays for assignment plz can u guide me is it ok.how much marks can i get 4 it out of 20. [CODE]#include <iostream> using namespace std; //declaring the functions void merge(char[],int, char[], int,char[],int); void sort(char[] ,int); void display(char[],int); main() { …

Member Avatar for sidra 100
0
102
Member Avatar for ziashahid

Hi, I am zipping a folder and an error occurred in below code which says : ==> AttributeError: 'builtin_function_or_method' object has no attribute 'tell' [B]zipfile.py:[/B] [CODE] def write(self, filename, arcname=None, compress_type=None): ... zinfo.header_offset = self.fp.tell() # Start of header bytes ... ... [/CODE] FYI:I have tried using "from zipfile import …

Member Avatar for baki100
0
1K
Member Avatar for Musab.Sust

hi all i am using oracle 10g with php (wamp server) but i try to connect that return this error : Call To Undefined Function oci_connect() plz help me that is so imp note : (extension=php_oci8.dll) is enable

Member Avatar for phpbeginners
0
2K
Member Avatar for apollokid

Hi all kinda new with php and forms so wondering if someone could help me out. I have a form with 4 text fields which are used to add the fields with the result in the 4th field. When i submit the field result the 4th field then displays the …

Member Avatar for phpbeginners
0
168
Member Avatar for jediahsan
Member Avatar for mania_comp

Hi.. I want to use SlideShowExtender in my website. For that I have created testing website. But its not working. I have tried both ways of defining GetSlides() method in same page as well as in WebSerice. But none of them is working.. I have attached my sample website in …

Member Avatar for mania_comp
0
82
Member Avatar for ampLife

hi, fellow programmers im currently using phpdev and windows xp as a platform. i've been developing this website and now im trying to test it in local network. i have already installed the apache and already set the index.php in the folder www. now my problem is i keep on …

Member Avatar for phpbeginners
0
173
Member Avatar for free_eagle

Hi there ! How r u? Ohh I really need your help great programmers ... I am new for programming and I am trying to do things by myself but here I need your help :-| I would like to draw something in C or C++ but I got no …

Member Avatar for peter_budo
0
4K
Member Avatar for ribot

Hello! My application is crashing randomly, and I thought it might have to do with it manipulating widgets that are not yet mapped, despite them being already gridded. Have you experienced this problem? I supply some code that shows that the print function happens before tkinter recognizes the button being …

Member Avatar for ribot
0
110
Member Avatar for lkegley

I am working on a programming that uses classes to complete several tasks. I have successfully created a program that reads in the opponent name, home score, and opponent score for a team's season. Now I'm trying to go back and write a method that can be used to output …

Member Avatar for jonsca
0
102
Member Avatar for NickT80

I have a project where I want to combine 2 different arrays and then be able to sort them with either the int or string values. This is what I have so far. int [] myRatingList = { 5, 2, 4, 3, 1 }; String [] myTitleList = {"Top Gun" …

Member Avatar for gunjannigam
0
121
Member Avatar for Sagitarian

I am using the following code to open a pdf document. The pdf document is stored outside of the root directory: [CODE] $file = $_GET['file']; $fileDir = '../../c_direc/'; if (file_exists($fileDir . $file)) { $contents = file_get_contents($fileDir . $file); header('Content-type: application/pdf'); echo $contents; } [/CODE] This code works (the pdf file …

Member Avatar for FlashCreations
0
533
Member Avatar for jumanaakram

Hi, I'm new member I saw this site and it is really interesting , I have new project I worked on it with html and php it is a web site for songs I built the whole site and now start programming the database for singers and songs what I …

Member Avatar for FlashCreations
0
110
Member Avatar for Shoh

Hi! When i try to see how work the ready programms from book, it is compile, run, and closes window right away. How stopped prog after it finished to see and analyse all? Thanks a lot. I have Vista, Dev C++ 4.9.9.2

Member Avatar for Shoh
0
122

The End.