199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for randomFIRE

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 …

Member Avatar for iamthwee
0
282
Member Avatar for darja22

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>"; …

Member Avatar for diafol
0
165
Member Avatar for Nitin Daphale

[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 …

Member Avatar for Nitin Daphale
0
95
Member Avatar for Pascal123

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 …

Member Avatar for Wolfgan
0
2K
Member Avatar for leiger

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 …

Member Avatar for Gribouillis
0
648
Member Avatar for knkk

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[] = …

Member Avatar for knkk
0
2K
Member Avatar for culebrin

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 …

Member Avatar for ja3_bhende
0
2K
Member Avatar for krea2r

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 …

Member Avatar for jaini817
0
196
Member Avatar for nickguletskii

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.

Member Avatar for nickguletskii
0
91
Member Avatar for Ebisu

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 …

Member Avatar for Teme64
0
2K
Member Avatar for Feanorith

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 * …

Member Avatar for Feanorith
0
148
Member Avatar for jammiedude

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 …

Member Avatar for pritaeas
0
130
Member Avatar for Ebisu

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 …

Member Avatar for finito
0
232
Member Avatar for Sidiq

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 …

Member Avatar for Teme64
0
802
Member Avatar for ppp88

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?

Member Avatar for TrustyTony
0
77
Member Avatar for whinkz_zl16

[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 …

Member Avatar for dibakar borgoha
0
135
Member Avatar for prem2

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 …

Member Avatar for BanneyHill
0
146
Member Avatar for homeryansta
Member Avatar for Teme64
0
208
Member Avatar for outpost

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 …

Member Avatar for LarryBrown
0
168
Member Avatar for canterorist

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 …

Member Avatar for canterorist
0
156
Member Avatar for tomtetlaw

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 …

Member Avatar for tomtetlaw
0
163
Member Avatar for Nitin Daphale

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.

Member Avatar for Nitin Daphale
0
317
Member Avatar for wlalth

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 …

0
53
Member Avatar for onlinessp

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 .

Member Avatar for onlinessp
0
99
Member Avatar for jpakerla

Hi guys... I need a PHP code which will display a hyperlink only between 8:00 am - 8:00 pm. Thanks.

Member Avatar for matthewl
0
74
Member Avatar for judithSampathwa

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 …

Member Avatar for pabloh007
0
733
Member Avatar for leiger

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!

Member Avatar for leiger
0
154
Member Avatar for kishore5001

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

Member Avatar for afbach
0
2K
Member Avatar for xirosen

hello,,, pls help me on how to disable/ donot show the dropdown list even if we click the dropdown button.. help me pls...

Member Avatar for jhai_salvador
0
102
Member Avatar for VINOD_2553

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

Member Avatar for jhai_salvador
0
643
Member Avatar for agu.chux

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. …

Member Avatar for agu.chux
0
231
Member Avatar for nagyonbalogh

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 …

Member Avatar for mitch9654
0
388
Member Avatar for XAaronX

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 …

Member Avatar for XAaronX
0
85
Member Avatar for starkman

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 …

Member Avatar for megamanexp
0
234
Member Avatar for sdhawan

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 …

Member Avatar for kdcorp87
0
102
Member Avatar for Excizted

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 …

Member Avatar for Excizted
0
916
Member Avatar for sasTReSS

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. …

Member Avatar for sasTReSS
0
204
Member Avatar for SerjSagan

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 …

Member Avatar for SerjSagan
0
314
Member Avatar for j-green.10

I just created a code in c++ and i was wondering if there is any way a can convert that into a excel document.

Member Avatar for iamthwee
0
79
Member Avatar for anjagma
Member Avatar for FierceLeming

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 …

Member Avatar for Radical Edward
0
144
Member Avatar for Code_GrasssHopp

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 …

Member Avatar for Code_GrasssHopp
0
708
Member Avatar for CFROG

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 …

Member Avatar for CFROG
0
93
Member Avatar for vishalkhialani

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

Member Avatar for 1988Rhythm
0
182
Member Avatar for genux

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 …

Member Avatar for genux
0
94
Member Avatar for jv_05

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 …

Member Avatar for vegaseat
0
363
Member Avatar for json101

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 …

Member Avatar for json101
0
129
Member Avatar for alphaOri

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 …

Member Avatar for alphaOri
0
151
Member Avatar for Jennifer84

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++ …

Member Avatar for Jennifer84
0
652
Member Avatar for Wakesta
Member Avatar for ctaylo21
0
97

The End.