199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for tonyledenko

Hello, I would like to pass the values of multiple check boxes in a string, separated by a "^". For example: RAM-VB-162^RAM-VB-154^RAM-VB-133 When the page is submitted only the last value is passed to the next page: Here is the url [url]http://www.ram-mount.com/wizards/test5.htm[/url] [code=javascript] <script language="javascript" type="text/javascript"> function compilePartsList(form){ var i …

Member Avatar for essential
0
112
Member Avatar for guerilladong

hello,any greate man can tell me the difference between cxx and cpp,h and hxx? waiting the answer,thanks

Member Avatar for Ancient Dragon
0
61
Member Avatar for pardeep3dec

Hi friends, my query not worked. rc.open"select * from travel doj between #"& doj.text &"# AND #"& doj1.text &"#; suppose doj.text=01/09/2008 doj1.text=22/09/2008 but it shows july records also.

Member Avatar for venkatramasamy
0
71
Member Avatar for JimBeam

Couldn't find a search button so I'll ask: I'm running Freebsd v7.0 with the ratpoison window manager, and have installed free pascal from ports. I've been trying for hours to get either Lazarus or fpc-ide installed with no luck. Lazarus - gives message like menubar>>environment.>environment options>> etc etc etc. If …

Member Avatar for JimBeam
0
177
Member Avatar for vckicks

I've been going crazy with a problem lately and I was hoping someone could give me a little insight. Basically I have a database project in C# that I work on with two computers. One uses Vista and the other XP. So far I have transfered the project files between …

Member Avatar for vckicks
0
115
Member Avatar for R3B3L

Does anyone know what's C++'s SETW() Equivalent in Visual Basic .NET ? SETW: Sets the number of characters to be used as the field width for the next insertion operation. Is there anythign similar in VB.NET. Note: I want to use in a ListBox. I've tried using: [CODE] Dim fmtStr …

Member Avatar for selvaganapathy
0
262
Member Avatar for BooBooCat

As I am quite new at this web world, can anyone please be so kind and let me know what/how to use PHP so as to find the word of say bananas across ALL web pages on the internet? So I ultimately want at the end of the day, a …

Member Avatar for MVied
0
269
Member Avatar for CoolGamer48

Does mysql_real_escape_string() escape HTML character entities? I want people on my comment board to be able to post quotes in their comments, but they get escaped as raw ascii, so I run them through htmlentities() first, but it doesn't help. I only get it to work when I remove mysql_real_escape_string(), …

Member Avatar for Atli
0
162
Member Avatar for tonyledenko

Hello, I am trying to pass multiple values, via an implode function. However, it isnt working. Here is the code from the first page, then the second page. [code=php] <?php if(isset($_POST['numItems'])) { $checkboxes = $_POST['numItems']; $string = implode($value,"^"); echo $string; } ?> <form name='CartItem' action='https://www.ram-mount.com/RamCart/CartPutItem.php' method='POST'> <input type='checkbox' name='numItems[]' value='RAM-VB-162'> …

Member Avatar for Atli
0
126
Member Avatar for Clockowl

Is it possible to put compile-time conditional code in template functions? Kinda like, [code=cpp] template <class T> void print(T &foo){ cout << foo; #if T == float cout << " is a float." << endl; #endif }[/code] Something like that, I hope I made myself clear. Thanks in Advance,

Member Avatar for Clockowl
0
95
Member Avatar for showstopper2007

this is my first project n i need help in displaying images in imagebox this is the code to display the code which i am using to display images in imagebox Image1.Picture = LoadPicture("C:\images\" & Text3.Text & ".jpg") '<<this works fine>> in the above code the location is C:\images\ , …

Member Avatar for dickersonka
0
110
Member Avatar for Congartis

Greetings! My task is to impement [url=http://en.wikipedia.org/wiki/Bresenham%27s_line_algorithm]Bresenham's line algorithm[/url] by mapping floats to integers, but be able to draw lines of any slope, including horizontal (zero slope) and vertical (infinite slope) lines. (The near-bottom of the page has an integer-only version of this.) My implementation of the linked pseudocode works …

Member Avatar for Congartis
0
651
Member Avatar for asdengler

I'm working with Visual Studio.net and Access 2002 to build an interface to add, edit and delete records in the database. Eventually, I'd like to build a web page to be able to view the data. Currently, I'm trying to search for a particular record in the database using a …

Member Avatar for asdengler
0
296
Member Avatar for califguy

hi guys, I have a simple question and I am new to c, Would appreciate any advise I could get. Here's the doubt. [code=c] main() { char a[10],*a1,b[10],*b1; a1=&a[0]; b1=&b[0]; int x=0; for (x=0;x<=1-;x++0) { *a1++=*b1++; } } [/code] Basically if I had a string in b[10] it would get …

Member Avatar for califguy
0
87
Member Avatar for inim38

Hi, Can you plz help me in creating a file in C having columns rec_id (int), score (float), hour (int), no_clicks (int) with rec_id values ranging from 1 to 100, score values initialized to 0.11, hour values initialized to 0 and no_clicks values also initialized to 0. And then generating …

Member Avatar for inim38
0
120
Member Avatar for princess_19

I really need some help!! I do not understand anything! I do not even know how to start!!! Can any1 help plz!!! “Moore’s law describes a trend in the history of computer hardware. The number of transistors that can be inexpensively placed on an integrated circuit is increasing exponentially, doubling …

Member Avatar for Narue
0
146
Member Avatar for php2sheik

hai have one combo box and text box and one submit button in(page1.php). i want to search from DB for some records based one combo box item and text typed in textbox by clicking search button. i select one item from combo box, and type text in text box and …

Member Avatar for MVied
0
178
Member Avatar for owobass

Please I'm trying to create a sales management software and am experiencing problems trying to create a table like we have on spreadsheets for enterring sales data.I'm using the Win32 API.Could any one give me an idea on how to implement this ? owobass

Member Avatar for marco93
0
738
Member Avatar for praveen_dusari

hi all, i want to develop a shopping cart which uses only sessions to store products their id and prices etc. so, i thought of an idea to store products details in a multidimensional arrays and then into session my idea is like this [code]array( [productid1]=>array( [0]=>product name [1]=>productprice [2]=>product …

Member Avatar for MVied
0
78
Member Avatar for loligator

I'm pretty much a newb when it comes to PHP and MYSQL (taught myself, so I make a lot of mistakes :confused: ) So here's the code... [code] $query = "SELECT DISTINCT(t_tag) FROM tags ORDER BY t_tag desc LIMIT 50"; $results = mysql_query($query) or die(mysql_error()); while ($row = mysql_fetch_array($results)) { …

Member Avatar for MVied
0
208
Member Avatar for vocalstud69

I was wondering how Python would work with this program I wanted to make. I have very little experience with Python, so bare with me. What I wanted was to make a program that brought up quotes randomly from a .txt file and put them in a XP/Vista message bubble …

Member Avatar for zachabesh
0
3K
Member Avatar for khsater

Hey. I'm trying to make an activation script for a website, but for some reason my sql query is giving me errors. [CODE] $sql = 'UPDATE user SET active = 1 WHERE (password = "$_GET['hash']") AND (timestamp = ".base64_decode($_GET['stamp'].")'; $result = mysql_query ($sql) or die (mysql_error()); if( mysql_num_rows($result)==1 ) { …

Member Avatar for MVied
0
69
Member Avatar for jancho1911

Hi ! I am new to DaniWeb. I searched everything to find an answer but i can't. This is for my final project and i need it to get my bachelor degree. I have a text file that has this type of files: 2001.7.1.407 изутрината во тетовски 2003.5.3.20083 кзк ја …

Member Avatar for zachabesh
0
145
Member Avatar for TheNational22

I have a problem. I have a csv that stores data about checks in a private restaurant . Not CC's or anything, just table number, items, server number, blah. It repeats for every check a four lines that start with 1,4,5,6,7. I have a interface that picks up this csv …

Member Avatar for zachabesh
0
92
Member Avatar for Lordstr

I am using Eclipse to right there It is coming up with an error within the switch statement saying that the Clock.* has not been initialized. it says Description "The local variable Clock may not have been initialized" but doesn't that happen when i do "Stopwatch Clock;" I am still …

Member Avatar for Ezzaral
0
240
Member Avatar for adbox

I would like to have a price field populate with a price, based on conditions of a series of dynamic dropdown boxes. I have the dropdown boxes populating, but I cannot figure out what the function should be to add a value to a text box rather than a dropdown …

Member Avatar for adbox
0
135
Member Avatar for makubexiii

how can you make program using a linked list that displays your outputs in ascending alphabetical order? we are only allowed to use: #include<stdio.h> #include<conio.h> #include<stdlib.h> #include<string.h> TIA

Member Avatar for makubexiii
0
1K
Member Avatar for technicalganesh

I am having two servers viz., Windows and Linux. A service is running in Linux to produce a text file of around 8 MB per minute. If I would like to replicate (or copy) this text file to windows server which supports .Net as soon as the file is produced. …

Member Avatar for jwenting
0
119
Member Avatar for nizbit

I was wondering if this code is correct syntax for function parameters in a class? [CODE] class myclass { private: char mystring[50]; int length(char string[]); public: int yourlen(){ return length(_string, _string); [/CODE] I know later in my code, I would have something like this: [CODE] mystring A; char string[50], string2[50]; …

Member Avatar for Sky Diploma
0
124
Member Avatar for 3Dees

Hey, i am trying to display weight base on a age input without using a table vb.net. Say a age can be anyware from 1 to 18 yrs and weight at 1 = 11kg with a avg increase of 3kg per year. I thought of using a for loop but …

Member Avatar for samir_ibrahim
0
159
Member Avatar for kylcrow

Hi everyone. I wrote a Rock Paper Scissors program my first quarter of C++ two years ago, and now I have a job at a programming job. I showed someone my little easy program and they challenged me to make a verson 2.0 with AI and a gui. The Gui …

Member Avatar for kylcrow
0
322
Member Avatar for samir_ibrahim

Hi all, I new to vb.net, and I have alot of questions. so Get Ready :) I had added a forum and set the IsMdiContainer to True and I noticed that the backcolor has changed to darkgrey Is there a way to change back the backcolor to normal? TIA Samir …

Member Avatar for Dnx
0
158
Member Avatar for stockton

I have setup the following table:- [code] IF EXISTS(SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = 'TlHold') DROP TABLE THold GO CREATE TABLE THold ( pid int NOT NULL IDENTITY(1,1), TS NUMERIC(2,2) NOT NULL, TR NUMERIC(2,2) NOT NULL, TB NUMERIC(2,2) NOT NULL, TP NUMERIC(2,2) NOT NULL, TP2 NUMERIC(2,2) NOT NULL, filler1 …

Member Avatar for stockton
0
667
Member Avatar for guitarcrazy44

I have signed up for high school online c++ courses, which has proven to be a mistake, due to my inability to grasp the content. I would like to keep learning, but as the semester draws to an end, I must catch up on my work. This is a project …

Member Avatar for Sky Diploma
0
149
Member Avatar for viswa2009

I am using querstring to pass names from one page to another. For example if the name is "viswa murthy" it is only showing "viswa" in the querystring. I want to display the full name.

Member Avatar for dickersonka
0
57
Member Avatar for Umair.P

Hi there, I am developing a desktop application that has a form that shows Domain on a System/ Network.The System.Environment.UserDomainName only tells the current user's domain. I want to see all the available domains and all the users under those doamain. I want to know how can I read Domains …

Member Avatar for LizR
0
114
Member Avatar for websurfer

Hello, all: Wandering if anybody can help me with this: can I have more than one htaccess file in a site? as in having htaccess files in subdirectories to control or specify how files in that directory refer to "include" files? so that if I have a mini-site within a …

Member Avatar for websurfer
0
112
Member Avatar for TooMpa

Hi have a problem, this code should read a file and then save it in a linked list, just the <uid><name> from a lie looking like: <username>:<password>:<uid>:<gid>:<fullname>:<home dir>:<shell> I can't find the segmentation fault error atm, but hints on the code would be helpfull. Atfer the insert in user list …

Member Avatar for ArkM
0
204
Member Avatar for selvam543

how to get print dialog box through php. that's mean when i click the submit button named as print . then it will show the print dialog box.

Member Avatar for buddylee17
0
444
Member Avatar for rjrasmussen

I created a list and detail page using Developers Toolbox and from the detail page, I want to be able to get to a series of other pages, all using the ID from the detail page. So...here's my example. You login and search the mbrlist.php page for your user. Based …

Member Avatar for rjrasmussen
0
105
Member Avatar for clutchkiller

[url]http://www.mixsoftware.com/product/cpvideo.htm[/url] Can anyone tell me if this video and course work is helpful at all? Have any of you guys personally purchased this, or do you believe it to be a waste of time? Keep in mind im fairy new to programming. Thanks

Member Avatar for Ancient Dragon
0
155
Member Avatar for DeboJackson

Hello everyone. I know this is a C++ forum not MySQL forum but I need help with the C++ library for MySQL I am hoping that there will be people here who are knowledgeable about MySQL++. My problem is that I can't get the g++ compile to link to the …

Member Avatar for Normand Bedard
0
220
Member Avatar for skabaw

How to get the invoked command and parameters as one string instead of a list of argv-s (especially gcc under Linux)?

Member Avatar for Narue
0
72
Member Avatar for veledrom

Hi, I have 2 tables in each page. when i have more than 1 page, tables are breaking into other pages. Like, end of the one table appear in next page. How can i do it stable. Because, when i print, i want each page have 2 tables without any …

Member Avatar for Shanti C
0
115
Member Avatar for MAD_DOG

How long did it take you to learn C++ or C or VB. I learning some what C for my Linux class.

Member Avatar for Nick Evan
0
2K
Member Avatar for Raj.Acharya

Hi! I have to merge two pdf file in to one pdf file using TallPDF.Net 3.0 any one can guide me on this issue. Please reply anybody as early as possible. Thnks

Member Avatar for peter_budo
0
171
Member Avatar for kavithakesav

Hi, I am working on one website for that i need like floating window. (mean when visitor will open the website that window has to come and it should be timelimit aftr that it has to close atomatically. for that window more and close is required). Cheersssss, Kavithakesav

Member Avatar for essential
0
206
Member Avatar for TofiLuk

the frame is okay but the text2, textfield has occupy the whole frame. what's wrong with my code? image: [URL="http://img68.imageshack.us/my.php?image=73815503ku1.png"]http://img68.imageshack.us/my.php?image=73815503ku1.png[/URL] here's the code: [code=java] import javax.swing.*; import java.awt.*; import java.awt.event.*; public class JFrameTest extends JFrame implements ActionListener { JButton button; JLabel label1, label2, label3; JTextField text1, text2; Container con = …

Member Avatar for masijade
0
119
Member Avatar for man4ish

#include <iostream> #include<string> using namespace std; class substr { public: void getsubstr(char* b, char* db) { char* stpos = strstr(db,"gi|"); int pos = db-stpos; char* end = strstr(db,"|ref"); int endpos = abs(db-end); b= new char[endpos-pos+2]; int i=pos+3; for(;i<endpos;i++) { *b++=*(db+i); } *(b+i)='\0'; } }; int main() { substr* s; char* …

Member Avatar for iamthwee
0
82
Member Avatar for PrAsTiWaRi

Hello All, I am trying to compile the C++ program. But I am getting weired compilation error. ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1>------ Build started: Project: HelloPras, Configuration: Debug Win32 ------ 1>Compiling... 1>HelloPras.cpp 1>c:\documents and settings\prash\my documents\visual studio 2008\projects\hellopras\hellopras\hellopras.cpp(15) : error C2819: type 'JavaVM_' does not have an overloaded member 'operator ->' 1> c:\program …

Member Avatar for jencas
0
498

The End.