199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for oliflorence

Hi, i am working on a project where I have to read a .txt file for a feed and parse the data line by line. I am using FSO in ASP to do this and it is working fine on small versions of the file, unfortunatly, the actual file is …

Member Avatar for closetosane
0
215
Member Avatar for mahela007

What is a parser and what does it do? For example, what would an HTML parser do in python?

Member Avatar for mahela007
0
337
Member Avatar for k.vijayakumar

i am using vb.net and i dont know anything about paypal. i want paypal in my onlineeducation project.can u explain about it give code for that.whether we have to buy anything for that service.please give complete info about paypal. thank you in advance

Member Avatar for ericstenson
0
113
Member Avatar for JameB

HI, I was trying to learn more about I/O with files in C++ and I can't figure out why this program can't output to the file... [code=cplusplus] #include<iostream> #include<string> #include<fstream> #include<algorithm> using namespace std; char userinp; void print_interface() { cout << "Enter E to Encrypt" << endl << "Enter D …

Member Avatar for vmanes
0
130
Member Avatar for AdventDeo

Hello, I have a MySQL database and I'm trying to make a dropdown list using PHP based on the value stored in my DB. So far I have this (copied, pasted, and edited from another forum): [CODE] <form action="maintest2.php" method="POST"> <table border="0" cellpadding="2" width="100%"> <tr> <td><b>Main Category:</b></td> <td> <select name="Name"> …

Member Avatar for AdventDeo
0
145
Member Avatar for VBNick

Hello! I have a piece of software called X-Mouse Button Control, and its able to intercept mouse events. The website for my mouse had this instead of a driver specifically for the mouse. In the program, I am able to "Intercept" the functions of Leftclick, Rightclick, ect, globally for windows. …

Member Avatar for VBNick
0
2K
Member Avatar for alsoumhi

hi guys, I am doing online form project, I get problem with navigation. the user can forword and back the page . I need to prevent user from that. I mean that once user gets new page , he can't get the prevouis page , but it asks him to …

Member Avatar for alsoumhi
0
83
Member Avatar for sathishmarappan

hi, I have more than two form in my vb.net project. please let me know, how to run(load) or debug my current form?. For Ex: consider forms like, form1,fom2......if i run the project means, it start from the first form, but i have to run only the second form.

Member Avatar for GeekByChoiCe
0
113
Member Avatar for Natique

Hi! I'm trying to write a code where I call a number of programs, with each program's output being the input for the next program. [code] WinExec(run11, SW_SHOWNORMAL); //to execute program1 WinExec (replace2, SW_SHOWNORMAL); //to execute program2 [/code] Now the problem is, program2 starts running before program1 finishes, and therefore …

Member Avatar for Natique
0
196
Member Avatar for momoh

Got a small detail problem that I cannot get to understand myself. The program, see attachments draws dots on the screen. There is a dot class for the details of the dots to be stored, that is size, colour, shape (square or round) Problem is with the colour...Cannot get other …

Member Avatar for momoh
0
168
Member Avatar for herms14

Im having some trouble in forking. All i want to do is to create a child process and under the child process i need to create a grand child..here's my code #include<stdio.h> #include<stdlib.h> #include<unistd.h> int main(int argc, char *argcv[]) { int val; val =fork(); if(val==0){ printf("Child process running\n"); printf("Child:%d PID:%d\n",val,getpid()); …

Member Avatar for herms14
0
3K
Member Avatar for acplus

Hey, guys! I need little help for finished my code. I have created the code for analize my text file. I have text file with 2 lines. The program counts the lines of my txt file, length of each line, upper and lower case letters. Code works perfect without errors. …

Member Avatar for mrnutty
0
148
Member Avatar for EvilOrange

every thing works till the fopen, the sprintf works as i'm printing to check that. i just doing know what is causing this not to work it prints "cannot open (null)" but the filename var does have something assigned to it. any help will be welcomed [CODE="c"] char tmpfilename[10]; char …

Member Avatar for EvilOrange
0
260
Member Avatar for cchris

I'm writing my first program. It's a C# console program. I need to connect to a database I've created as part of the project in VS Express. I've added the tables as Data Sources for the project. I'm writing to ask about the basics of dealing with databases. Like what …

Member Avatar for cchris
0
102
Member Avatar for thebluestar

Here is my source code of inputting and print the matrix: [CODE=C]#include<stdio.h> int main(void) { unsigned int m,n; int a[10][10]; int i,j; int temp; printf("Plz enter the number of rows of Matrix:\n"); scanf("%d",&m); printf("Plz enter the number of columns of Matrix:\n"); scanf("%d",&n); printf("Enter elements for the Matrix:\n"); for(i=0; i<m ;i++) …

Member Avatar for mrnutty
0
105
Member Avatar for Mnkyman1030

Hi, I need to write a program that counts how many total iterations are processed in a heap sort. I wrote the program but I don't think it is working properly. I have an array 32 numbers. The sort should go through a total of 160 iterations, right? Since it …

Member Avatar for mrnutty
0
224
Member Avatar for and12

Edit: Title - java access denied on graphic file Edit: I didn't realize i didn't finish typing the title before submitting. I put my applet on the web but it says not initialized and the error is complaining about my graphic. Am i not allowed to have graphics? How can …

Member Avatar for VernonDozier
0
221
Member Avatar for brando|away

I need to store data in this format: [code] category1 { "line of text1" "line of text2" "line of text3" ... } category2 { "line of text1" "line of text2" "line of text3" ... } .... [/code] I also need to be able to add and delete categorys, and "lines …

Member Avatar for sknake
0
132
Member Avatar for z_zendegi

I want to convert my measures taht is in pixels to cm in c# but I can't I search MSDN but can't find useful information Please help me

Member Avatar for ddanbe
0
102
Member Avatar for codester

I'm new at scripting and I need help with converting multiple ".TXT" files to one ".CSV" file. Each file will have a different number of lines, then after the last line there is a blank line then more data, I don't want to use the data after the blank line. …

Member Avatar for codester
0
201
Member Avatar for jooa

Hi I found a class ReadingPixels someone wrote on the net which given an image it dispays the x,y,r,g,b values as the mouse is over the image. I have a separate class I want to add the panel to. I can add the panel to my frame however I think …

Member Avatar for jooa
0
113
Member Avatar for sara khan

Hi, I have seen a program in a thread that write a program which displays its own source code... How this can be done??

Member Avatar for rahul8590
0
96
Member Avatar for coud_ren_26

Can somebody show me how to create a simple two column for strings? I need a sample code. Thank you for those who will help me.

Member Avatar for javaAddict
0
75
Member Avatar for Ouais

How are these new URLs such as mail.yahoo.com or groups.google.com made? is it some sort of URL rewriting? or ?? any help about how to make such a thing or a tleast a guide towards it is appreciated. Thanks in advance.

Member Avatar for Aravind.pk
0
337
Member Avatar for amazing_grace

hi, whenever i try to write records into the file, only the first piece of records can be written. even some simple program like the following cant work properly. [ICODE]type thing=record name:string; end; var f:file of thing; data:array [1..2] of thing; i:integer; begin assign(f, 'infile.txt'); rewrite(f); data[1].name:='name'; data[2].name:='second'; for i:= …

Member Avatar for Duoas
0
350
Member Avatar for vibs123

hi,,,, all can anyone help me getting some topic for c++ project..... i m not getting an idea on which i can work and make a program or project in c++.... vibhu

Member Avatar for tux4life
0
132
Member Avatar for DealthRune

I am making 2 cookies, but when they are set, it shows me this error "Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\forum\index.php:4) in C:\xampp\htdocs\forum\index.php on line 81" But I dont have any headers?? Here is the code [CODE]$expire=time()+60*60*24*30; setcookie('username',$u,$expire); setcookie('password',$p,$expire);[/CODE] I made a …

Member Avatar for Josh Connerty
0
347
Member Avatar for deathknell

Hi all, I try to make a system where client can send their sms (contained contact file in it that compressed) to server using sms gateway concept. In this case, server must handle 3 condition : registration, request sending file to server (by client), and request take file in server …

Member Avatar for deathknell
0
622
Member Avatar for lorenb

Hi, I have a string (str1) which contain a special symbol (you can see attached). I want to check if this symbol exists, so I have declared this special symbol: string str = char.ConvertFromUtf32(135); and did the following: if (str1.Contains (str)) { // do some stuff here... } It doesn't …

Member Avatar for sknake
0
136
Member Avatar for Nogat21

i'm with a question related to string comparing...i'm trying to compare two strings (well char pointers in fact :)), im using _stricmp for case insensitive comparison, but even with the conventional strcmp i'm not getting the result i want. [code=cpp] if(_stricmp(value,gen_arr[i])== 0){ file.seekp(-1,ios::end); file.put((i)); file.flush(); file.close(); printf("Editing of field %s …

Member Avatar for Nogat21
0
110
Member Avatar for gretty

Hello I have a program that prints a menu & the user is prompted to input a choice(1,2 or 3) if they input anything else, the output should be "Invalid Choice". [B] My Problem[/B] is that if a user inputs anything other than 1,2 or 3, then the program crashes, …

Member Avatar for mrnutty
0
232
Member Avatar for arcticM

Hello everybody. I'm a [U]beginner[/U] and I need your help. I have a GUI programme and I need to make it run from an icon on the desktop. can you help me with an easy way to do so?

Member Avatar for JamesCherrill
0
84
Member Avatar for tyliang

I need to print to data stream to an output file but I'm not sure how to catch the data. Given example inputfile.txt has 20 data with a structure Michael 000000 m [email]abc@123.com[/email] 50 60 70 [code] #include <stdio.h> #include <string.h> void scanData(struct student data[]); void avgMaths(struct student data[]); void …

Member Avatar for jianna
0
120
Member Avatar for weblover

hi all ...i'am having a problem ..i'm working on an asp.net & silverlight project ....but the data base contain the (unique identifier) type ..and i don't know how to handles this type ...and also i can't add data to my data base coz this type is giving me alot of …

Member Avatar for sknake
0
100
Member Avatar for dennis.wu

A const member function is not supposed to operate the data member. However, it can operate the data member if it is a reference data type. Why can operate the reference data member even if the member function is constant? It is shown below: two classes: Bird & BirdHouse BirdHouse …

Member Avatar for dennis.wu
0
149
Member Avatar for gn00495555

Create a tic-tac-toe game. 1.First display a welcome message to the game. A player enters her or his name, selects to play first or not, and then start to plays the game. 2.Display a 3 by 3 tic-tac-toe board. 3. The player selects the cell to mark. The computer randomly …

Member Avatar for yellowSnow
0
158
Member Avatar for D.JOHN

Guys, I have this question, when I run this program, the program suddenly stop and tell me it cannot be runned, could your please tell me my error thanks. Here is the code: [code=cplusplus]#include <iostream> using namespace std; int main() { int student,subject; int marks[student][subject]; int i,count; student=5; subject=3; //Getting …

Member Avatar for D.JOHN
0
157
Member Avatar for atch

Hi, I've just came across declaration of this form: [code=c++] void fun() throw(); [/code] Could anyone explain what is the pourpose of this and maybe someone knows good book with thorough explanaition on this subject. Thank you

Member Avatar for atch
0
121
Member Avatar for abu taher

I made data report with condition. I want to input a student id number in a text box and press a button to show all data of this student, but a problem when i input a number in the text box (and press the button) for show the report a …

Member Avatar for jhai_salvador
0
127
Member Avatar for kelela

Please Help me!!! I know this is a stupid newbie error, but I am a newbie. My program compiles and runs, but I can't get the interestP and the principalP to pass to the other class to fill the graph. I have worked on this non-stop all day. [code] import …

Member Avatar for JamesCherrill
0
149
Member Avatar for Ricky80

hi VB Master, I'm building an application using VB6, MS Access 2003 as database, and crystal report ocx for printing and report. Right now I'm using ms dao (database files) to connect crystal with access. But it is very slow, when I want to show 1 record out of 1000, …

Member Avatar for jhai_salvador
0
161
Member Avatar for limbo_cow

Hey folks, I could use a wee bit of help on this one... At the moment I'm trying to code something of a fluid effect using a collection of variably transparent rectangles and an two dimensional array of "densities" expressed in an integer from 0 - 255. Simple enough – …

Member Avatar for limbo_cow
0
169
Member Avatar for bryangarcia

hey there, good day, i have a problem regarding a csae study, im a newbie and i dont know what's the problem of my source code...help is badly needed,thanks

Member Avatar for yellowSnow
0
103
Member Avatar for q8_dreamy
Member Avatar for SeriousTyro

I've learned Java, C++, and most recently C ( Fall of last year). Seeing how there is a great deal of threads for C++ I'm thinking that I should go for C++. Which language do you suggest?

Member Avatar for Salem
0
149
Member Avatar for JameB

Hi, is there any function or algorithm that can completely remove a string array element? For example, string mystring = 'x', 'xx', 'xx', 'xxx'; if I want to remove 'xx' and I know the position of 'xx' in the array, I want this : mystring = 'x', 'xxx'; Anything? I …

Member Avatar for JameB
0
5K
Member Avatar for umarmaqsood

Before i start my question, i must say i am very sorry for starting another thread for a similar question, as i have read many threads but i didnt really catch the exact answer i wanted. and again i am new and very sorry.(first post) i have been reading C++ …

Member Avatar for gkaykck
0
135
Member Avatar for gretty

Hello I have a function that should store random numbers in an array and also check if there are any repeated numbers. [B]My problem[/B] is that I cannot figure out how to 'repair'/get rid of repeated numbers & make them ...unrepeated numbers? :P Any advice on how I can alter …

Member Avatar for Sky Diploma
0
127
Member Avatar for abu taher

in msflexgrid I have one fixed row. and 5 or more data show in 5 row. If I write code like:`txt1.Text = MSFlexGrid1.TextMatrix(MSFlexGrid1.Row, 1)` then when I click on a row then only one text box show that data. but I want I click a button then all data of …

Member Avatar for abu taher
0
101
Member Avatar for defiant91
Member Avatar for GeekByChoiCe
0
131

The End.