199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for MrXortex

Hello. My registration system is complete, I made the activation function too. The activation link gets send to the email address, but when the user clicks the link, it says invalid code. However, I have set the code to random, and that random code should go to the email address …

Member Avatar for Zagga
0
317
Member Avatar for AmrReflection

Can any one give me a simple code for creating a forum in ASP.net Using the Microsoft Visual Studio 2012 RC Express for Web ???

Member Avatar for JorgeM
0
172
Member Avatar for akkbkht

Hello everyone. I would like to know that I wan to make a destop application. I would like that when program executes, the output screen (form1) should cover all the screen, means its a full screen application. It should cover the start menu behind it. and also that should be …

Member Avatar for akkbkht
0
491
Member Avatar for PHPuss

When I run this script , I have a error : Warning: Invalid argument supplied for foreach() in C:\Apache\test.php on line 28 <?php $conn =OCILogon("xxxx", "yyyy", "localhost/xe"); $query = 'SELECT *FROM TEST'; $stid = OCIParse($conn, $query); print '</br>'; $stmt=OCIParse($conn,'SELECT *FROM TEST'); $ret=OCIExecute($stmt); $nrows=OCIFetch($stmt,$results); if ($nrows>0) { echo "<table border='1' align='left' …

Member Avatar for PHPuss
0
117
Member Avatar for devianleong

this line of query run in php get the right result which is 4 but I use it in php will only get 1..how come? function totalrental(){ $result = mysql_query("SELECT SUM(Rent_time) FROM product") or die (mysql_error()); $count = mysql_num_rows($result); if ($count >= 1){ echo $count; }else{ echo "0"; } }

Member Avatar for JorgeM
0
100
Member Avatar for teachMyself

I am trying to learn C and have written a simple program that accepts the string from user and prints it. Would you loke to suggest me anything on my practices? I need to learn it very well. so please help me improving myself. Here goes my code: //Dynamic Array …

Member Avatar for WaltP
0
271
Member Avatar for nickslick

![Hi Daniweb forum, I've come across a problem in my panel_mousedown event. Now I initially have 3 pictureboxes Painted on panel1, and each picturebox Control is set to Visible = false; and only become visible again when using this code: private void panel1_MouseDown(object sender, MouseEventArgs e) { if (picturebox1.Bounds.Contains(e.Location) && …

0
136
Member Avatar for cwarn23

Hi, I am starting to learn Pascal as a personal project but need an IDE/compiler. Does anybody know of a good IDE+compiler in one that they use which has the usual features like line numbers and decent debuggers. Also I need a compiler which is not written in C or …

Member Avatar for finalist
0
1K
Member Avatar for VaibsBrainyStud

i am having problems in solving a few of my computer problems in 2d arrays.. for eg:- 1 2 3 4 8 7 6 5 9 10 11 12 16 15 14 13 what would be the javascript to print this?? please help..its urgent :)

Member Avatar for DavidB
0
102
Member Avatar for Khav

Hello , Can anybody tell me that is wrong in this statement `$data = mysql_query("SELECT Column1 FROM '$tbl_name' WHERE Column2 = '$image'");` I then tried `echo $data; ` - But no result Basically i want to retrieve the value of Column1 where the value of Column2 is equal to the …

Member Avatar for Khav
0
126
Member Avatar for mochiboo5

Hi everyone, this is my first post and I am new to C++. I am trying to figure out how to do this project. Newton’s method is an algorithm that can be used to solve an equation of the form f(x) = 0 using a sequence of approximations. Here’s how …

Member Avatar for DavidB
0
3K
Member Avatar for dschuett

I have a problem whith my .change() function firing twice on my onClick. First of all, I know jquery has a .click function, but since my table (results) are bing displayed/pulled in dynamically from an $.ajax call I don't know of a way to bind .click since the content doesn't …

Member Avatar for AleMonteiro
0
2K
Member Avatar for SolidSora

I have a photo gallery where there is a strip of thumbnails on the top and a full size image below. Basically when I click the thumbnails, it should show the full size image in the image placeholder known as "full" in my page. That works fine except I also …

Member Avatar for SolidSora
0
211
Member Avatar for kat*

Hi, I am building a basic shopping basket and the problem I find is that all the products, even with quantity of 0 are being displayed in the shopping basket. Please can anyone help!.. I don't know what I'm doing wrong. Thank you so much in advance! This is my …

Member Avatar for kat*
0
225
Member Avatar for ckchaudhary

Hi all, m a .net programmer, fairly new to php can anyone explain me (m not asking to explain in detail) this php code. its in the index.php of an application. I am not gonna irritate you by posting the whole code. so here's the outline: <?php if(!extension_loaded('ionCube Loader')){ $__oc=strtolower(substr(php_uname(),0,3)); …

Member Avatar for ckchaudhary
0
291
Member Avatar for cisumma

I am in the process of learning how I could use a JListDataListener to change JList elements at runtime: I am goggling this right now to collect examples: I would like to see some code on the subject if anyone has some examples -thanks Here is some code to create …

Member Avatar for NormR1
0
217
Member Avatar for mbabaali

hi everybody i have this code for selecting data from my sql database but when i outpot it it it looses align ment,can someone help me ,pliz,thanks [code]<?php //The code is for selecting all patients records in the database //This selects the database and connects to the database require_once('Connections/Database.php'); mysql_select_db($database_Database, …

Member Avatar for gopinathan
0
163
Member Avatar for macla

Hi, I have 2 GB file with 10 million lines. Is anyway to sort the file content without loading the full file content into memory

Member Avatar for WaltP
0
474
Member Avatar for Mahesh57

Hi,I have a PYTHON Task http://www.jjoseph.org/misc_projects/meter_reading_with_a_webcam and i need to chnage it to C# the Python code is available in the above mentioned task link or http://www.jjoseph.org/files/gasmeter/meterparser.py please help me as soon as possible i am begginer to C# code please responde as soon as possible.Thanks in Advance

Member Avatar for Gribouillis
0
397
Member Avatar for robanatilahun

hello everybody, it's my first time to ask on forums with hope of your very useful support. I have difficulty to access the value of my variable which i set in other page of anchor tag. here the code is; echo '<li><a title="' . $row['hot_name'] . '" href="1hot.php"?pg= "2">' .$row['hot_name'] …

Member Avatar for robanatilahun
0
224
Member Avatar for pooh1234qwerty

char str[]="qwerty"; char *p="qwerty"; str++; \\error *str='a'; \\works p++; \\works *p='k'; \\error whereas, char str[]="hello"; char *p="hello"; str="tell";\\ error p="tell"; \\works strings point to themselves like arrays then why is str="tell"; \\error an error?? is the case same for arrays?? please explain the reason for every line. also, why can't …

Member Avatar for deceptikon
0
125
Member Avatar for Ctechnology24

Help, I need a free hosting site! I have a website made of PHP that I need to upload to a web server and a VB.net application on my PC, I saw tutorials on how to connect my VB.net application to my database located in the web server with my …

Member Avatar for chrishea
0
195
Member Avatar for <M/>

I have a GoDaddy account and I want to connect dreamweaver to the mysql server... but I keep getting errors... no matter what I do... can someone assist me? I called GoDaddy, they couldn't answer me so they blamed Dreamweaver...

Member Avatar for <M/>
0
309
Member Avatar for faezshingeri

Hi, I am trying to search for a line in a file, comment that line using a " * " and finally append the range of corresponding lines extracted from the same file. The corresponding extracted range of lines maybe present before or after the line (which is to be …

Member Avatar for 2teez
0
216
Member Avatar for dre-logics

>I use MySQL database Two tables: Table 1 articles Field: article nb article description supplier cell 100 nails company 1 no 200 screws company 2 yes >Table 1 stock Field: article nb. barcode nb. barcodedescription instock 100 10011 nails 2 inch 5000 100 10012 nails 5 inch 0 200 20012 …

Member Avatar for dre-logics
0
278
Member Avatar for dwinn

Hi everyone, I have developed a site using VB.Net and Visual Studio 2010, that allows users to upload and download multiple files to an FTP server. I have recently been given a request to change this so that SFTP is used instead of FTP. I have downloaded WinSCP but am …

0
603
Member Avatar for peterparker

I have written the following code for Towers of Hanoi problem using non recursive approach. I guess it is not correct as the number of moves are not 2*n - 1, for eg, for 3 disks to be moved, it has to generate 7 moves. Thanks in advance. ###################### # …

Member Avatar for peterparker
0
2K
Member Avatar for Tjandra

Hi guys, I have setup a form (frmParent) that contains 1 TableLayoutPanel with 1 col & 2 rows. In the first row i put a DataGridView and on second row i put a Button. I set all controls' modifiers to Public. Then add a form (frmChild) that inherit from frmMaster. …

Member Avatar for s_prata
0
113
Member Avatar for shanki himanshu

#include<iostream> #include<conio.h> using namespace std; struct node { int info; node *left,*right; }; int main() { struct node *root; root=NULL; //root->info=NULL; //root = (struct node*)malloc(sizeof(struct node)); if(root==NULL) //cout<<root->info; cout<<root->info<< " "<<root->left<<" "<<root->right<<"\n"; getch(); return 0; } why it is giving an error?

Member Avatar for MonsieurPointer
0
92
Member Avatar for jeffadrian

This is my code from frame.php <FRAMESET rows="20, 200" FRAMEBORDER=NO FRAMESPACING=0 BORDER=0> <FRAME src="menu1.html"> <FRAME src="test1.php"> </FRAMESET> I am wondering if there's a way to block people from going to "test1.php" directly? I want people to stay on frame.php and if people try to go to " test1.php " directly, …

Member Avatar for shlokka
0
163
Member Avatar for pooja28

hi to all, i want to create user on student table IN ORACLE.... CREATE USER john IDENTIFIED BY out_standing DEFAULT TABLESPACE users QUOTA UNLIMITED ON users DEFAULT TABLESPACE temp QUOTA UNLIMITED ON system; but, oracle shows following error like...."insufficient priviveleges on password... please give some suggestion for creating user in …

Member Avatar for debasisdas
0
199
Member Avatar for trishtren

Hello, I am trying to recreate a data type in java used by adobe, it is an unsigned integer 30 bits long or U30 by the specification. Anyway i am having problems understanding the binary output, the definition states: "The variable-length encoding for u30 uses one to five bytes, depending …

Member Avatar for trishtren
0
193
Member Avatar for iamthwee

-What, how, why? Any things I need to be specifically aware of? Only pros answer please...

Member Avatar for blocblue
0
116
Member Avatar for wasim kazi

I have one menu toggle div manu which is slide up and down. For that I used jquery.Cookie plugin but still it's not working. here is my problem : http://jsfiddle.net/wasimkazi/fauNg/10/ please help me... $(document).ready(function() { $(".widget2").hide(); var $widget2 = $(".widget2"); readCookie('widget2') === 'open' ? $widget2.show() : $widget2.hide(); $(".box2").toggle(function() { $(this).next(".widget2").slideDown(200); …

Member Avatar for wasim kazi
0
2K
Member Avatar for babyhadem

i'm having problem in coding for my project i.e Hospital Management System ... plz refer me few sites which provide codes of vb.net i'v done only the code for the login form ...

Member Avatar for Mike Askew
0
114
Member Avatar for benscomputers

The following is the code from an assignment I am struggling with. I am supposed to change the GetGallons function procedure to a sub procedure in a class that i created in another project.. Here is the code from the original class: Public Class RectangularPool Private _decLength As Decimal Private …

Member Avatar for benscomputers
0
155
Member Avatar for MrXortex

Hello. I created a simple registeration code for my form but I seem to get this error. Parse error: syntax error, unexpected T_IF on line 130. I tried to change everything, double check it. But still I get the same error. if ($_POST['loginbtn']){ $user = $_POST['user']; $password = $_POST['password']; } …

Member Avatar for MrXortex
0
342
Member Avatar for rpv_sen

Hi Friends I am new to asp.net, i want to display menu title from database using VB in asp.net, the display should be done in list format while href tag, i am expecting the display as below menu1 menu2 menu3 Please can any one help me to solve this issue.

Member Avatar for rpv_sen
0
259
Member Avatar for gem.gonzales.9

think a program that you can combine decision ,looping,recursion,array and function i find it hard to think a program that you can incoperate it all.

Member Avatar for deceptikon
0
105
Member Avatar for finston

I am using Code::Blocks and mingcc to produce an executable from some heritage c code circa 1998. Compiles OK. Linking problems. Even though I can use the Code::Blocks IDE to see where the parameters are declared in header.h files and implemented in main code c files, I get "undefined reference" …

Member Avatar for deceptikon
0
281
Member Avatar for DrMAF

I need to merge these 3 properties in just a general one. How can I do it?? public class BonusImageHandler { private static IStorageProvider _BAstorageProvider; // 1 private static IStorageProvider _BAWP8storageProvider; // 2 private static IStorageProvider _M4MstorageProvider; // 3 private static IStorageProvider BAStorageProvider // for 1 { get { var …

Member Avatar for nakor77
0
134
Member Avatar for Majestics

http://www.daniweb.com/software-development/csharp/threads/202843/take-backup-of-sql-server-database-using-c Error : Back failed for Server I am using smo code from this thread , but it cant backup...

0
78
Member Avatar for ROSS679

I am having problems accessing the Data Set, when i would type DataSet ds = new DataSet(); i will always get the red arrow line underneith, I then right clicked on the data > choose items in the toolbox and it is already checked yet i cant create it in …

Member Avatar for ROSS679
0
154
Member Avatar for arcticM

I wanted to validate a string with preg_match but after a lot of struggle I just used if($str[0]!='x'.... but just out of curiosity I wonna know how to do this using preg_match I'm getting a string as an input- the 1st char in the string must be % the 2nd …

Member Avatar for arcticM
0
155
Member Avatar for mrabrar09

Hi to everyone. I have created jsp report in that date column is there where am showing the date format like this (02-01-2012) <% String Rcheckdate=""; SimpleDateFormat df = new SimpleDateFormat("dd-MM-yyyy"); Rcheckdate=df.format(rs.getDate("tr_dt")); %> <td align='center'><%=Rcheckdate%></td> In report i have given the excel button from there am exporting the data to …

Member Avatar for mrabrar09
0
311
Member Avatar for Khav

Greetings, i am doing a school project which basically deals with forms and an access database.I have various textboxes in a form.I want some textboxes to be filled automatically with a value when another textbox has been filled. For e.g , if the user fills in the 'Cost' textbox , …

Member Avatar for Khav
0
870
Member Avatar for lokesh.r.kandula

Hi Buddy, I have a requirement to convert the below shown input.xml into result.xml and the XSLT which I am trying with is shown at the end. input.xml: <match> <FieldMatcherResult> <FieldPair> <Context>A</Context> <Field1>A1</Field1> <Field2>A2</Field2> </FieldPair> <FieldPair> <Context>B</Context> <Field1>B1</Field1> <Field2>B2</Field2> </FieldPair> </FieldMatcherResult> </match> result.xml: <result> <FieldMatcherResult> <FieldPair> <Context>A</Context> <Field1>A1</Field1> <Field2>A2</Field2> </FieldPair> …

Member Avatar for Mike Askew
0
178
Member Avatar for jckb188

Hello, I have found lots of examples on how to display a form field onclick, but none if I want to display an entire form onclick of a button. I am having difficulty figuring out where to put the form along with all of its form fields, in the head …

Member Avatar for aspirina
0
3K
Member Avatar for mrabrar09

Why my javascript menu is structing after 5 minutes (measn the drop down menu is not coming ). For that i need to referesh the whole page that page is in jsp. Can anyone help me to overcome from this problem. below is the sample code <td WIDTH=150 onmouseover="awgMnBSpmc('awgMnBSpma0',1);awgMnBSpmd('awgMnBSpm11','awgMnBSpma0');" onmouseout="awgMnBSpmc('awgMnBSpma0',0);awgMnBSpme('awgMnBSpm11');" …

Member Avatar for dany12
0
120
Member Avatar for drjay1627

people in the forum who have jobs or who are recruiters or own a company (yes I'm referring to people such as sergey brin and lawrence page); what advice would you give to an entry level computer science student about what to put on resume and cover letters. i'm looking …

Member Avatar for AliyaDesouza
0
145

The End.