64,152 Solved Topics
Remove Filter ![]() | |
Hi, I am having a string like below. What I need to do is to process the string in such a way that I could get the output in a format like below.The problem I am facing here is that some elements have commas(,) within itself , so it is … | |
Hi. I want to GRANT privileges on two tables, but I dont know why error, but on one table it is ok. what is wrong? [CODE]GRANT SELECT ON mysql.db, mysql.user TO 'user'@'localhost' IDENTIFIED BY 'password';[/CODE] I dont know why it is not working on two tables??? | |
A some point in my program, it is necessary for me to start a child process (Im on linux, btw, ubuntu gutsy). The process streams DV to stdout, but can be controlled in an "interactive mode" through commands to stdin. How does one establish streams going both ways? If you … | |
Hi. I am using WAMP with following tools: 1. PHP 5... 2. MySQL 5... 3. Apache 2... 1. I don't have REMOTE_USER variable in my php.ini file, How can I include it in my php.ini 2. How to change the variable REMOTE_USER in php.ini, through PHP script? Thanks | |
Hi. I am using WAMP package, which has the following tools: MySQL 5... PHP 5... Apache2... and I my own computer as client and server, and I like to test the [B]mail function[/B] of PHP. PROBLEM: Is it possible to use the mail function of PHP on my own computer? … | |
I'm getting this error message [B]An exception occured while executing a Transact-SQL statement or batch (Microsoft.SqlServer.Express.ConnectionInfo) CREATE DATABASE permission denied in database 'master'. (Microsoft SQL Server, Error:262)[/B] When I try to create a new database from the right click option on the master DB. I think this is a permission … | |
Hi, My nephew has a school assignment (7th grade I think) where he has to interview a video game developer (or someone in that industry) who has at least some knowledge of the process. He emailed me a list of questions in hopes that I would be able to answer … | |
Hi There, I'm a begginer in C++. In the program below the value must be returned to display the appropriate message. I expiriencing problems trying to compile the program. The erro message: [Warning] In function `bool passOrNot(char)': non-lvalue in assignment Can you help. Thanks #include <iostream> using namespace std; int … | |
Hi: I made a simple game using java and I would like to know if there's anyway that I can make the file an executable so that my little game runs on the command windows so I can share with my friends? | |
Hi all in here, It is said that system("PAUSE"), automatically generated by dev-c++ for console application, to prevent console window of disappearing instantly would be not standard c++, furthermore it would be consume much of a computers resources. What is a good replacement for it? I have been experimenting with … | |
Hi, I have an application in which we have button to create textboxes dynamically. On clicking on button named Addnew ,we get textbox in a table. The problem is that when the page is refreshed,data entered is vanished. I want to get data from texboxes on submit click. Can any … | |
Help Me with this code. i JUST installed code::Blocks and am not familiar with the errors , I wanted to know what is going wrong with this? [CODE=CPLUSPLUS] #include <iostream> using namespace std; int f(); class Date{ int d,m,y; static Date default_date; public: void set_default(int dd,int mm,int yy); Date(int,int,int); Date& … | |
Hi I am working on array and made some good improvement into my code. Now I am just having one problem. I want the number to display in my text box area starting from 0 to 1000 I know how to do it for alert but not to display in … | |
Hi in my country we can phone anyone by only 7 number... Eg 2345897 and sometimes we represent it in this format 234-5897 by a - (negative).. i want to tell the txtPhoneNumber that after 3 numbers ahve been entered a negative should be place and it should comes automatically … | |
I am using html and javascript for a simple application. I made a dropdown list on one page say "homepage.html" I want that the value selected from the dropdown be passed to a new page say "newpage.html" and appear in a text area there. I don't want to use php … | |
Hi, I am a newbie to PHP and HTML and over here i am trying to display my sql results in a table format like this, ID. Name. Contact --------------------------------------------- ----ROW1---------------------------------- ----ROW2---------------------------------- any site recommendations where i can get help from? thanks alot. | |
hi guyzz... i have a code here about chatting using winsock, but it is not working and I tried 2 surf in net but the error cant be solvd cleared.. .i have a runtime error 40006(wrong protocol or connection state....) and the error is refer to the senddata properties... plzz … | |
How we can allow only excel sheet to be uploaded in file uppload functionality. | |
Hello, all: Say have 3 separate landing pages on my site (or more even), but they all end up at one common destination, how can i make it so each visitor can then go back to landing page they came from? here's the scenario: Say I have links from Google, … | |
I am using a status bar in a program that i am working on for VB.net 2003, i am trying to have some text scroll or marquee across the screen from right to left, can someone please help me with the code. | |
I keep getting this error: [QUOTE] debug/moc_funccntrlparams.o: In function `qt_noop()': /home/f07/xxx/QT/include/QtCore/qglobal.h:1425: multiple definition of `FuncCntrlParams::type_pairPotList' debug/interpotcntrlparams.o:/net/home/f07/xxx/workspace/tramontoGUI/interpotcntrlparams.cpp:95: first defined here [/QUOTE] But I'm not defining type_pairPotList any where in the interpotcntrlparams.cpp file. This is what my code looks like at line 95 in interpotcntrlparams.cpp. [CODE] #include "funccntrlparams.h" . . //line 91 … | |
HI I was having a look into classes and i noticed i saw a lot of things like [code] class fruitcake(object): pass [/code] my question is what is the point of the "object" being in the class arguments as it is a Built In Function and i couldn't work out … | |
mm.., hello. First, i'm kinda new to this... kinda, anyway, i'm supposed to write a prog that handles large numbers, like 200 digits long, by storing them in a string of characters. it's supposed to have a class with functions for all the mathematical operations, reading, and writing, maybe into … | |
How can I convert char* to a char value? can someone reply me asap | |
1.Dim d As String 2.d = Format(Now(), "dddd, yyyy mmmm dd") 3. MsgBox (d) 4.If Dir("c:/", Photos & d) = "" Then 5.rspCreate = MsgBox("Directory doesn't exist, do you wish to create it?", vbYesNo) 6.If rspCreate = vbYes Then 7. MkDir "My Documents/swapna" 8. End If i want to create … | |
Hi, [code]Label6.Caption = rcsetFran.Fields("franchiseid")[/code] generates an error"Method item of object Fields failed". If i do [code]Label6.Caption = rcsetFran(0)[/code] then doesn't accept '0', i need to give '1'. In this case i can't return first column in the table. 1 returns second column. How can i solve this problem. Thanks | |
Hi. My flash form that uses a php mail script is sending the text formatting along with the data making it impossible to read. How can I strip all the formatting and just have the data left over in a readable format? Here is how the email looks: Name : … | |
I currently have a database that is just one table with products and is using the myisam engine for the fulltext capabilities on two columns. The question I have is that this database has about 390,000 rows with a lot of duplicate entries namely manufacturer, price. I have been searching … | |
I have a login page where I have my own label and texboxes which take input username and password, and there is a function in which there is a SP which validates username and password stored in the database. My code in Login.aspx.cs is such that I call that function … | |
Hi, Following is my code : i=3 j=3 while [ $i -le $count1 ] do i=`expr $i + 3` head -n 60 file1.imp >> s27.txt [COLOR="Red"]while [ $j -le 60 ] [/COLOR] do head -n 3 file2.imp >> s27.imp ./prog1 s27.txt > result.txt if grep OUT result.txt then head -n … | |
Hello all I am beginner in C++ and i have some questions In many languages there are included libraries for many uses such as libraries for downloading files / uploading files using ftp connection ...etc but in C++ i cant find these libraries my question ....... must I use libraries … | |
Hello, I have a page consisting of two frames. The top frame holds instructions, the bottom frame holds a form. I need the top frame to disappear after the form is submitted. Could someone kindly tell me how I can do this? Note: The frames are parts of the requirements. … | |
How do I set the session on a page, so that if I were to type the direct link for the page into the address bar, it doesn't display, instead the user would be redirected to the homepage or login page? | |
Hi, I have the following class and main method: [code=cplusplus] class Employee { vector<string> v; string name; int i; public: Employee(){} Employee(string &n): name(n), i(0){} void read(vector<string *> &vec) { string n; for(int i = 0; i !=3; i++) { cin>>n; Employee e(n); vec.push_back(&n); } } }; int main() { … | |
Help - I am having the following errors repeatedly so I know it is a consistent mistake I am making but I just can’t see what it is. I already fixed many other errors and now it’s just this.....so close...... :confused: My errors are the following. I did not put … | |
I am confused as to display information from my contact table depending on who logged in. also, should I change my admin table name to users? Admin Table [code] `id` int(11) NOT NULL auto_increment primary key `username` varchar(40) default NULL, `password` varchar(40) default NULL, `level` char(1) default NULL, `email` varchar(255) … | |
Hi I have the source of a webpage that tells the weather and i want to extract the data and my only hurdle left to jump is to remove all the formatting HTML marks inside and including the <> bracket. I have the web page source stored as a string … | |
Hello All, first. I would like to say this is first time in forums, so if I show bad manners/form, please let me know. I do learn quickly! I have created a small utility that removes software from the system. At the present time, the app will download and install … | |
I have a code like below that when pressing a button, panel1 and labelText1 should be seen. Then I will put the process to "Sleep". After this, labelText1 should be emty ("") and labelText2 should write "TextMessage2": Then I wil put the process to "Sleep" again. And last put panel1 … | |
Hi, Can anyone help me in writing a script for polls or voting.There are many scripts available,download them and use,but I wanted to write my own script.I have a question and 4 optins for that.I wanted to display the results in percentile and a color bar.Do I need to use … | |
How can I type cast char* to a long value? e.g. char * abc ; long xyz; xyz = abc???? | |
Hi I'm a bit confused but I think I know what Im missing. Story goes, I have a website which allows users to upload logos - I want them to be able to upload new logos if they want to... but the page that allows them to change their logo … | |
I am trying to get a script to work on a new server. The script was written by someone else, but it doesn't seem to work after I changed to another server. The script involves the submitting of articles, and uploading of a photo to each article written and submitted. … | |
Hi everyone, I am proud of myself, I am finally finish. It took me too weeks working with this day and night, but I am finally finish. The only thing is that I have a bug in my code. I have a getbyelement section that has the visibility to be … | |
Just starting Python and I have a question about how to run it just by double-clicking. With simple things like [ICODE]print "Hello World"[/ICODE] the wait for user input clause can be added and it will run by double clicking and give the desired output, but when I try it with … | |
Hey guys again, but i got another question. With this code here: [CODE]if choice == 'help' or '/help': print "Test"[/CODE] what if you entered anything else besides '/help' or 'help' and you have defined other things in the code you want to go to from input? any ideas/suggestions, Thanks | |
I have been searching for days to find an Http Client in C++ that I can use. I am assisting in a research group involving camera recording based on sensor detection and am responsible for making the interface with the cameras. I have some work that was done before I … | |
Below is my line item - it returns 'meeting times'. However, there are some cases in my DB where the meeting time is not known and the field is null. I'm wondering if I can completly remove the 'echo' on my page if the field is null? echo "<p<b>Meetings:</b> $variable21</p>"; | |
Hi everybody - first post. I did look around a bit but couldn't find a relevant answer, if it's a duplicate post apologies! Anyway, using Ubuntu 7.10, NetBeans and MySQL libmysql-java 5.0.4+dfsg-2 installed ( JDBC drivers ) I also downloaded mysql-connector-java-5.1.6.tar.gz but not quite sure what to do with it. … |
The End.