199,114 Archived Topics
Remove Filter ![]() | |
Is there any way to clear the screen in a console app? I noticed that System does not even appear to have a system call similar to the system("COMMAND"); of C++. Any ideas? | |
150 html files are in a folder on a windows machine.Among them,content of some files (not the file names)contain the sentence "Hello World??". How to count no of such files using java program | |
Hi! I'm just having a problem in displaying strings of line in the command prompt. My program is to search a string and enclose it with three asterisks both sides. Though it's functioning... But the problem is the program show only those lines where the strings are present. Thr program … | |
I'm on developing a project regarding Random access(Hashing function), specifically in Folding. Now my problem is, if i enter a key values, how can i isolate each single values for me to control it. for example: i enter key value 12345 i need to choose the 2nd entry which is … | |
Hi all. I've written a bit of code to open a file and read from it. The simple version works: [code=cplusplus] ifstream conFile("code/constants.h", ios::in); while (getline(conFile, line)) { //etc. Process file.......... [/code] However, I really want the program to look for the file constants.h in the current directory and if … | |
here is the code i am trying to read ascii value which is string and print , but execution stops at file open file print statement :( [code] import os import sys import string filename = "c:\\test.exe" try: f = open(filename,"rb") except IOError: print'cannot open the file' sys.exit(0) print'file is … | |
I have wrote a simple program in c++ that will constantly read a record from a database. Once there is a change in a field the program will open a executable file. An instance of this program or a copy of this program has to run in [B]at least[/B] 80 … | |
How to pass String object as an argument? Whenever I try to pass any String as an argument error msg occur as - ')' expected | |
i want to know how to convert pdu mode sms to text usivg java. pls anyone help me. thnks. | |
I need to do something like this: [code] ifstream infile(Filename.c_str()); //ifstream infile(Filename.c_str(), ios::binary); string line; ///////////// Read Header //////////// //read magic number getline(infine, line); while(line[0] == "#") getline(infile, line); MagicNumber_ = line; //more ascii stuff ...... //start reading binary data int m; infile.read(reinterpret_cast < char * > (&m), sizeof(m)); [/code] … | |
hi , PHP Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in C:\Domains\eazygurus.com\wwwroot\courses.php on line 45 im getting this error please help me out from this. im attaching the php file and copying my database values........ Table structure for table `course` -- [code=sql]CREATE TABLE `course` ( `id` … | |
hi, i need help how to handle php error in my site.. i have created some pages. it is showing some warning... so i want to error handling in php... | |
hai friends how and where to download the DLL Crystal.Decision.crystal report.engine 11.6.360 thank's in advance | |
Thanks in advance. I want to develop iPhone web application using asp.net can any one guide me how to develop iPhone application in asp.net | |
The DefaultListSelectionModel provides the method setSelectionInterval(int start, int end) to select an interval. But how can I select multiple intervals? | |
public class Calculator { public static void main(String[] args) { String s; // string that holds the expression s = JOptionPane.showInputDialog("Enter a simple infix expression: "); } } public static String infixToPrefix(String result){ JOptionPane.showMessageDialog(null,"Invalid character in expression: " + c); } hello guyz,,actually this is not my whole code,,i just … | |
Hi All, Please help with the below Valet Parking Problem. Let me know if you need more info. The valet parking problem: Some fancy restaurants (i.e. ones without a drive-through window) offer a valet parking service with which one of the restaurant's employees will park your car for you as … | |
Hi, I need some help to enable a contact form I've been using to handle Japanese input. I'm not a PHP programmer or developer and really appreciate any feedback. The form was a download from a free resource. I have inserted some statements into the code, but have not been … | |
i have create a database and a form. i need to check the input data before store it into the database. so that, there are no overlap data in my database. its in Asp langauge. thanks for your help. | |
hi guys need some help im doing a website with database support. ive already created the html page with css styling ...with the normal layout wit div tags and rollovers and stuff... I need to make it a jsp page but when i copied the html as it is to … | |
Hi! My code is to search for the strings. Example when you type srtool.exe -s in -f sample.txt (in the command prompt), all the words containing "in" will be changed to ***in*** My problem is all words containing in will change to ** (one asterisk per word) instead of ***in*** … ![]() | |
Hi All, I urgently need help creating reports using vb.net 2008 build in reporting tool. I just want an example of how to pass a dataset to the report. I know how to do this using Crystal Reports, but I am clueless of how to do this using the build … | |
Hi Guys I want to change the values in first combo box1 according to values in combo box2.I wore followign coding but it did nt work.I wrote in under SelectedIndexChanged in combo box Pls give me idea how to slove this problem [ICODE]private void comboBox2_SelectedIndexChanged(object sender, EventArgs e) { SqlConnection … | |
| |
I have mini project about client-server connection and i'm using TCP Socket to do a connection. The server wants to know if a client has a 'notepad.exe' application running on the client machine. I already have list of running process on client machine, and i have an algorithm to detect … | |
hi,i've read a lot of tutorial about how to make .rpt from VB.net Just use add new item menu..and the crystal report will appear at template... but my problem is when i click add new item, i cannot found crystal report in template..so how to add crystal report to template? … | |
The problem: Will not compile, i get the following errors: "invalid conversion from char to char*" "invalid conversion from char to const char*" Program Description: Opens a file and read each character into a linked list [code] #include <iostream> #include <fstream> using namespace std; const int MAX = 30; struct … | |
hi i need to get input of mail body in textbox. how can i get it formated in html? plz guide. thanks in advance. | |
Hi guys. I need to create an application which allow the user to read a line of text, and then be able to record and store an audio version of this text in a wav file. Can someone please help with how i should go about this. I am coding … | |
Hi, A newbie to VB6, I have to plot a graph using the picturebox control. I have drawn the 3 line graphs using the "Line" method and using relevant data. I have to shade the triangular portion marked "X" ( resulting from the lines B & C crossing the line … | |
Hi All, I want some interesting Advanced data structures problems. Could you please let me know the link or the actual problem statements? If possible, you can send some hints to solve that problem. This would be very helpful for me. | |
Hey guys, I've done some google searches today but didn't find a clear cut answer to this. I've got a function that I would like to return an array of strings. Any ideas anyone? | |
Thanks to Dani for adding Python to the scripting languages category! ...I haven't heard many people mention Python around here... Am I the only Python fan here? I know its usage isn't as widespread as Perl, but it is, IMHO, as powerful and useful as Perl, for general scripting, web … | |
Basically, I am trying to solve a problem a textbook. The book requires me to use karel J robot to develop programming principles. So the problem is correctly the following code so that the robot will do this: attached This is the code I am suppose to fix. Currently the … | |
I'm having a problem with my for loops. The program is supposed to get a number from the user and when button is pressed add 1 and skip a line until the tenth number is reached. I fell like I almost have it but I'm missing something. Please help. [code=VB] … | |
I've just started on my first AJAX project and I've just run into my first problem. Basically I have a textarea field generated by ajax and it needs to submit that value to itself using post. I tried using a getElementById but it always returns null. Here is the code: … | |
Hi, I have to create this program and I am having difficulty doing it. Develop a Visual C++ program that will determine whether a department-store customer has exceeded the credit limit on a charge account. For each customer, the following facts are entered via a keyboard: a. Account number (an … | |
Hi everybody, I have been writing a windows console application in c#. I want it to read all keys pressed and write them all into a text file when a specific window is active in windows xp environment. Now, I can find the active window, but I failed to read … | |
My Code has a problem, either if my first void is static or not i get a error that i cant seem to fix. This is the error i get if the void is static [CODE]Java Compiler By Noj All underpreciated java will soon apear All errors within java files … | |
Hey Everyone! I'm having trouble with a C++ program I'm trying to write. I need to input a text file into a 2D array and sort it into 13 rows, 5 columns using strtok. I need to use strtok because some of the words are separated by ws, others by … | |
Hello Everyone, I am having some trouble with a VBA application I am writing for work. I am using ADODB to connect to an Oracle database and return and I want to return a 2-D array from my function. The problem I am having seems to be determining how big … | |
Guys i am going crazy here I dont know what I am doing wrong here, it renders in blank the page. I apreciatte very much your help. Oma [code] <?php //include("functions.php"); //dbConnect(); //ADD YOUR OWN DB CONNECTION HERE ?> <html> <head> <meta http-equiv="content-type" content="text/html;charset=utf-8" /> <meta name="generator" content="Adobe GoLive" /> … | |
I set up a server with SQL 2005 Standard and another server with SQL Reporting Services. Now my boss wants to upgrade to SQL 2005 Enterprise Edition. What would be the procedure for this upgrade and any caveats or problems that might arise, not only with SQL 2005 Std to … | |
I compiled this at school and swear it ran like a week ago. That was on a PC using Textpad, now I am on a mac using TextMate and I keep getting this error: class Checkerboard is public, should be declared in a file named Checkerboard.java public class Checkerboard extends … | |
I made a win32 application in Visual C++ 2008 using the Windows Forms Application. But for opening files, and saving eventually, havn't gotten to it yet, I was creating some basic classes in other files. The odd thing is the [i]stdio.h[/i] file seems to be working differently in VC. I … | |
hi i was wondering how much i should use classes in C++. Should i use it as much as possible? | |
Hi All, Below is the code I use in an Unix environment to connect to my organization's mail server(This is to read mails in my Inbox). [code=Java] import javax.mail.*; import java.sql.*; import javax.mail.internet.*; import java.util.*; public class readm { public static void main(String args[]) throws MessagingException { //Properties props = … | |
Hi, i am using VB6 with Access databse after a long time and have forgotten some syntax. I am using ADODC connection (the dirty method) wherein one makes a connection using ADODC component and setting its properties (ODBC and selecting table/ query). I need to display the fields of a … | |
Hi all, I'm stuck - it might be easy but I don't work with VB6 much. I have a form that is open and has a button on it which opens a second form overtop of it. when the second form opens it locks the first form. Upon exit from … |
The End.