199,114 Archived Topics
Remove Filter ![]() | |
Hi, I'm trying to use command line stuff with C++. I've read that you do it with System(); Is that the best way? My main question however, is how do you read in the results from the command? I think I can do 'thecommand > file' to output the results … ![]() | |
Hi, Could anyone please help a n00b girl on this one? Thx:) [php] <?php session_start(); //allows session include('config.php'); if($admin == 6) { echo "Admin"; } ?> include "includes/header_account.php"; if($logged[id]) { //welcomes the member <div id="mainContent"> <div id="profile" class="clearfix"> <div id="col-left"> <div class="profile-section"> <a href='editprofile.php' class="manage">Uredi svoj Profil</a> <h2>echo "Živjo $logged[username]</h2>"; … ![]() | |
[COLOR="Green"]Table Name => PropDocument Column1 => propertyid ( foreign key from Property table ) Column2 => documentid ( foreign key from Document table ) The error ( in the attached image ) comes when I try to delete the record. This error comes often when there are 2 records with … | |
Hi all, I have written a program in pascal, but am having problems remembering how to validate my code, the user is asked to enter a number, but they are only allowed to enter 1,2, or 3. How do i write the code so that if any other number is … | |
This is code I've taken from another website, and adapted to work with the JFileChooser. I got it working so that someone could select a java file with the chooser, and I'd send a "java -jar FILENAME" to the console and the app would launch. However as soon as I … | |
There is this function: [CODE] function disguise_curl($url) { $curl = curl_init(); // setup headers - used the same headers from Firefox version 2.0.0.6 // below was split up because php.net said the line was too long. :/ $header[0] = "Accept: text/xml,application/xml,application/xhtml+xml,"; $header[0] .= "text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5"; $header[] = "Cache-Control: max-age=0"; $header[] = … | |
Hi, I have a website on NET 2.0, there I have a textbox and after I change the text on it with a js function, try to save on the DB (I have to click on a imagebutton to save it), but on the postback the textbox.text property has the … | |
Hey there all. I wanted to know if there was a way to use php to validate form. Well in more detail, I wanted to know if it was possible to print a msgbox using php telling the user he has missed some thing rather than having to display a … | |
I am trying to do a very large recursive operation, but it just hangs up. IS there any way of pausing t for some time, then make it continue? Thanks in advance. | |
Hey i have so far set up a form to save data into a database and i am using: [code] con.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0.;" & _ "Data Source = F:\Database1.mdb" con.Open() [/code] I tried saving the database as i did with images in the resource folder and used my.resources but this … | |
Hello, I have to make a very basic paintlike program for school, and I've ran into a problem I have no clue how to solve. I hope one of you friendly forum-goers can help me out. Here's the problem: I have a class called Figuur (shape in Dutch) and * … | |
Hello there, Im trying to write a query where if a query is run on a set of tables and the result of that query is null then i want it to run a different query based on different tables. i.e. [CODE]SELECT CASE WHEN (Resulting Value from this query is … | |
Hi, i have a access database with two tables, one for customer and one for booking. I then have a form application i made in VS 2008 which lets a user enter details such as their name phone number ect into text boxes. All of the information the person enters … | |
Hi Everyone, How are we all? Im pretty new to vb.net but have worked with alot of vbs scripts. I have used vb scripts in past that prompts to change a computer name & joins it to a inputed domain name... i am currently working on little app in .net … | |
which software i need to install to run a code started as follows: [CODE]from appuifw import * from e32 import *[/CODE] can anyone help me? | |
[quote=peter_budo;269339]another think to keep in mind, if you take that script from somebody site it may not work properly/ at all because it need some data[/quote] hi,, i'm whinkz,,hmm juz wanna ask u how to run javascript program properly?,,,,i was juz doing a school report,,, i dont have any idea … | |
Hi Daniwebteam, I want to upload a file size which is greater than 2 MB.The default file size of php is 2MB. So,i have used the following coding, [code=php] ini_set('upload_max_filesize','7M'); [/code] or ini_set('upload_max_filesize','7000'); But still i did not able to upload a file size which is greater than 2mb.When i … | |
can I have 2 form share the same progress bar? If so how does this work? | |
I used QB in the early 90's, but I seem to have forgotten most of what I knew then. I have just installed QB 4.5 on XP and I get QB in a short 640 wide window that's too small to work in. I've set the pif to "maximum", but … | |
hi! I'm starting creating theme in wordpress. I study the default theme in wordpress. The problems are the files. I only know the header.php,footer.php,sidebar.php,function.php, index.php and style.css. Some files like archive.php and the others, i don't know the use of them. me i know why they are part in wordpress … | |
When I run my code, I get "Run-Time Check Failure #2 - Stack around the variable 'string' was corrupted." I have looked everywhere in my code for a source of this error, and I can't find one, I've also looked where a buffer overrun could occur. The variable string is … | |
My project is simple desktop application. I want to transfer(upload) a file from my desktop to the another machine which is server of my machine.(One machine to another ) There is nothing to do with web service. Can anybody send me help ? Thanks in advance. | |
Hi, i wrote a patch system. It check the links and download them, if the files not same with the users files. All steps are working, i have only one problem. First download is perfectly complated, but when DownloadFileAsycn fired second times, its don't work. It creates strange file of … | |
Hi, I have two projects and Both have GUI. I want that when user run one project the second project automatically run.And both have parallel processing not sequential. I am two confuse about it.Please help me to figure it . | |
Hi guys... I need a PHP code which will display a hyperlink only between 8:00 am - 8:00 pm. Thanks. | |
hi there, i have two datetime picker in the form that i have created. i added the below code for the datetime picker.one dpSDate and the other dpEDate. [CODE] private void dpStartD_Validating(object sender, CancelEventArgs e) { if (dpStartD.Value < System.DateTime.Now.Date) { dpStartD.Value = System.DateTime.Now; MessageBox.Show("Enter a valid date for start … | |
Python works fine in the console, but I'm having problems using python in a Java program. In case someone here has any ideas, I'm posting a link back to my original post (please reply there and not here): [url]http://www.daniweb.com/forums/post1246152.html#post1246152[/url] Thanks! | |
Hi everyone I want to know what is __END__ mean , is this the end of the file. For what this is used in PERL? Thanks | |
hello,,, pls help me on how to disable/ donot show the dropdown list even if we click the dropdown button.. help me pls... | |
Hi every one i just want a payroll software only for printing pay slip it is very urgent any give me a payroll project as my requirment change software my self please help me . It is increse my salary | |
I'm developing an application that generates mobile GSM numbers, but i need to find a way to make sure each generated number (e.g: +23408068576645 begin_of_the_skype_highlighting +23408068576645 end_of_the_skype_highlighting) is in use and importantly the CellID or location parameters of the number: the software is not a mobile app, but rather a Desktop app. … | |
I have a problem with my images in my java project. The project is a simple chess program for human players only. The problem is that it works fine in JCreator Lite's Apllet viewer but when I try to open it in an HTML it gives me the error mentioned … | |
Hey peeps. I'm currently working on a level editor for my game. and the part im working on at the moment is like, the sprite editor for it, where you can load a bitmap from a preset directory 'Sprites' in the games directory, set the collision points and then use … | |
Hello all! I am having a bit of a problem with the grasps of Open CV and thought i may be able to request some of your help. Though I'm not completely sure that this is the right category. I have been playing around with openCV to try and provide … | |
Hi Guys, I am reading a text file and i want to store that file ina string, below is my code, can anyone tell me what am i doing wrong [code] private void toolStripButton1_Click(object sender, EventArgs e) { // OpenFileDialog dialog = new OpenFileDialog(); FolderBrowserDialog dialog1 = new FolderBrowserDialog(); parser … | |
Hi people, I'm trying to compile my C++ project under Windows, which it should be able to. I've got a whole bunch of dependency libraries. When I compile everything seems fine until these error pop up: [CODE]1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\rpc.h(27) : error C2598: linkage specification must be at global scope 1>C:\Program … | |
Hello everyone, i have a problem in my code. I want to make 2D vector with type char and the char read from a file, because i want to make it as dynamic array regarding the size of input can be different. Here is my file: bla.txt ------------------------------ K1, K2. … | |
I have a table with a bunch of check boxes, this is not a plug: (found at [url snipped]), I am trying to figure out how to store each checkbox's value in real time (there is no "Submit" button). I run jQuery through my site and was thinking that PHP/jQuery … | |
I just created a code in c++ and i was wondering if there is any way a can convert that into a excel document. ![]() | |
Alright, the issue I'm having is figuring out whether or not I'm causing memory leaks. I'm considering three situations which might or might not be the same: 1) If I declare a variable in a block of code as a character array, I'm making a pointer to it. But when … | |
I was wondering if anyone knows how to print out the contents of an array into a text file(i.e myfile.txt) What i have is an array full of strings and my goal is to print each of them onto a seperate line in a text file. I kno how to … | |
I'm toying around with a script to allow users to search for other users based on certain criteria contained in their profiles. Anyhow, some of the attributes on the user profiles are things like what they are seeking like dating, someone to talk to, etc. I decided to serialize the … | |
Hello, I am saving my data in a text file. I can successfully access my file and add records in it and even search it. but when it comes to del a record i dont know how to do it. Can some one please advice. Regards, Vishal | |
how does the compiler, running program ? know how much memory to delete with the delete[] because if there is no reference to the size that the developer can access, is it the compiler that tell the delete[] operator how much to delete ? or is it within the running … | |
Excuse, I need to work with data bases. In a little research I made, I found that python has a library call sqlite3 but I don't find information of how I use it. So if anyone can explain it to me I'll be so thankful. PD: I need this because … | |
I had a look at this [URL="http://code.google.com/p/php-smtp-email-validation/"]PHP SMTP Email Validation[/URL] and found it pretty useful. [B]How would I be able to post results to a MySQL database, [/B] the info posted to the screen wont help if you have 100's of thousands of email addresses to validate. [QUOTE]>>> HELO example.com … | |
I'm using python and I want to be able to create an object of a base class and have it initialize the object using the __init__ of a subclass. I use a function defined outside of the classes to determine which subclass' __init__ method should be called. I found a … | |
Hello I have a form where I have a lot of code perheps about 1000 pages. Now in an event I have 160 lines of this code that I show below. I am showing 2 lines to give an example here: [code] for(int i = 0; i < 6; i++ … | |
Is there any free C++ programme that I could use as Im trying to learn this? |
The End.