199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for abu taher

in data environment i write Select * from item where date and date between DTFr.value and DTTo.vlaue In button I write Load DataEnvironment1 With DataEnvironment1 If .rscmborder.State <> 0 Then .rscmborder.Close .cmborder Format(DTFr.Value, "dd/mm/yyyy"), Format(DTTo.Value, "dd/mm/yyyy") End With drorder.Show but the report show all item from 1st date. it not …

Member Avatar for AndreRet
0
113
Member Avatar for ssreevidya.m

Hi, I just need to get all the months or monthid between 2 dates like '02/04/2012' and '08/07/2013'. I search it for a long time. But i get only the date difference. Can i get this in asp.net. regards, sreevidya

Member Avatar for ssreevidya.m
0
158
Member Avatar for Transcendent

I have a form where someone can send me a message but I do not seem to get the e-mail. here is the html file: <!DOCTYPE HTML> <html> <head> <title>Financial E-mail: Send us questions.</title> <hr/> <style type="text/css"> body { background-color: rgb(98,21,153);; background-position: top; background-repeat: no-repeat; color: gold; } a:link {color:rgb(255,215,0);}/* …

Member Avatar for diafol
0
227
Member Avatar for mani508

hello i want to file attach only specific format and restrict size on file and also remove file option. how its possible.? i used uploadfile control of asp.net but remove file option and size of file not there.. kindly tell me how can do this. advance thanks...

Member Avatar for mani508
0
266
Member Avatar for Valiantangel

Just need some understanding on the various Prime number calculations.Please explain 1. verify by brute force that a number is evenly divisible only by 1 and itself.(dont implement the Sieve of Eratosthenes algorithm) 2. writing and running the program with upper limits of n/2 and the square root of n. …

Member Avatar for TrustyTony
0
123
Member Avatar for lewashby

#include <Stdafx.h> #include <iostream> #include <math.h> #include <stdlib.h> #include <time.h> using namespace std; int rand_0toN1(int n); int main() { int n, i; int r; srand(time(NULL)); // set a seed for random-number generation. cout<< "Enter number of dice to roll: "; cin>> n; for(i = 1; i <= n; i++) { …

Member Avatar for ravenous
0
153
Member Avatar for gopi17

I'm having trouble deleting this file... keep getting this error : Warning: unlink(Gate_pass.csv) [function.unlink]: Permission denied in C:\wamp\www\SVS\copydata.php on line 31 i search trough some sites, they said replace the $myFile with the orginal name Gate_pass.csv, but still getting the same error...can someone guide me on this matter. thank you …

Member Avatar for gopi17
0
140
Member Avatar for hwoarang69

Deprecated: Function split() is deprecated in C:\xampp\htdocs\login_test\class.phpmailer.php on line 470 this error is coming from $mail->AddAddress(tester@hotmail.com); //is this same as To: require_once('class.phpmailer.php'); $mail = new PHPMailer(); $mail->AddAddress("test@hotmail.com"); //To: $mail->Subject = "test1"; //html body $body = "HEllow ikhlas"; $body .= "rest of boey"; $body .= "Sincerely,<br/>"; $body .= "test"; $mail->From = …

Member Avatar for hwoarang69
0
683
Member Avatar for Webville312

Hello all, I am trying to have my Midlet access a website address, but whenever I run it in the emulator, I get a "Null Pointer exception" Here is the code I am using: import java.io.DataOutputStream; import java.io.IOException; import java.io.InputStream; import javax.microedition.io.Connector; import javax.microedition.io.HttpConnection; import javax.microedition.io.InputConnection; import javax.microedition.lcdui.Display; /* * …

0
105
Member Avatar for eltonpiko

hi i trying to work on a lunch monthly order form.what i want to do is create a table just like a calendar with 30 cells label 1 to 30 days and in each cell the same food item with checkbox next to it generated from mysql. the user put …

Member Avatar for diafol
0
1K
Member Avatar for hwoarang69

les a user come on index.php page. he sees login form. but he forgot his password. so he click forgot password. on forgotpassword.php page he fills a form. <form action = 'forgotpassword.php' method = 'post'> Username: <input type='username' name='username'><br/> E-Mail: <input type='email' name = 'email'><br/> <input type='submit' value='get password'> <a …

Member Avatar for vibhaJ
0
127
Member Avatar for mehnihma

I am trying to cast vector to a string players = (Vector<Player>) inStream.readObject(); And I get error: java.lang.ClassCastException: java.util.Vector cannot be cast to java.lang.String Can someone tell me is there a way to do it? Thanks

Member Avatar for mehnihma
0
533
Member Avatar for sentongogray
Member Avatar for Rsimpson105

I keep getting the warning "Warning: Cannot modify header information - headers already sent by (output started at /home/camelarc/public_html/contactform.php:11) in /home/camelarc/public_html/contactform.php on line 33" The warning occurs after i fill out a form on my website and press submit. The warning appears, but the php file still sends an email …

Member Avatar for senthilvignesh
0
245
Member Avatar for hwoarang69

so i tried this first. every thing works and get a message echo"message successfully, sent". but when i check my email nothing comes. //$email is the user email $to = $email; $subject = "Forgot password"; $message = "Hi $firstname_db,\n Your password is $password_db"; $headers = "from: text@hotmail.com"; if(mail($to, $subject, $message, …

Member Avatar for hwoarang69
0
365
Member Avatar for lhsunshine

For my sign up page, i want detect user exist so that no repeated username. BUT fail. There is no error in my coding. BUT cannot detect.... HELP. tHAnk you if (IsPostBack) { SqlConnection con = new SqlConnection(ConfigurationManager.ConnectionStrings["RegConnectionString"].ConnectionString); con.Open(); string cmdStr = "Select count(*) from Reg where Username = '" …

Member Avatar for kvprajapati
0
166
Member Avatar for shean1488

Hi everybody, I just start learning python, and beacuse of that I don't really know all usefull packages and methods, that this language has. But I would like to know how would you write this program, or how would you change it (or may be some part of it) to …

Member Avatar for shean1488
0
133
Member Avatar for vinnitro

I want to create a game on my own. But I dont know which products I should use I have downloaded Engine001. But are they great enough. I dont have any knowledge about game creation & just need to make an easy game on my story just thought that what …

Member Avatar for Dasttann777
0
167
Member Avatar for Jigs28

Hi, I am confused between razor and asp.net coding. Asp.net code itself is a server side code so why it is said that razor code is server side embedding code for creating dynamic web pages? Normal asp.net code also runs at server side so what is the need for razor …

Member Avatar for internet_red
0
261
Member Avatar for sciwizeh

So this is mainly a Design/Clean Coding sort of question, I know I've read something about this previously but I can't find it, I believe it's in one of my reference books on C/C++ so it wouldn't likely be useful to my predicament. This question includes a lot of Java …

Member Avatar for sciwizeh
0
253
Member Avatar for bestbird7788

Hi, everybody I need to conduct a large amount of data analysis on database. Could anyone recommend an interactive application for data analysis? The requirements are: 1. Able to cope with the unexpected requirement rapidly. 2. Able to perform further computations on results interactively. 3. Easy to confront even a …

Member Avatar for bestbird7788
0
242
Member Avatar for mie.ilani

i have problem with query the database. i want to add data into two table that share same Primary key. here my code error message :The changes you requested to the table were not successful because they would create duplicate values in the index, primary key, or relationship. Change the …

Member Avatar for Reverend Jim
0
347
Member Avatar for poolet

Hello, Well I am trying to finished the following progam and I need help with 2 functions [i]reverse book(s)[/i] and [i]return book[/i]... If someone can told me points where to start I will appritieate:: below is my code, note that I don't know if the [i]customer_book_count[/i] is work since I …

Member Avatar for mike_2000_17
0
173
Member Avatar for kimmi_baby

Hi, I've created a template in wordpress where the child pages of one page are displayed on the page. What is displayed is the thumbnail (feature item) of each page and the content of each page. The problem I'm having is that in Safari, the third (last page) is not …

Member Avatar for diafol
0
194
Member Avatar for slpefanis

Hey all. I am busy writing a application that i can set up a list of files to copy from one location to a remote network drive. THe program has a list of "jobs" in a datagrid that it loops through and executes in sequence. What i have now is …

Member Avatar for Begginnerdev
0
218
Member Avatar for priebd1

I have a csv file with the following data: DATA1-1 DATA1-2 DATA1-3 DATA2-1 DATA2-2 DATA2-3 DATA3-1 DATA3-2 DATA3-3 I need to append more data to the file so it will look like this: DATA1-1 DATA1-2 DATA1-3 DATA1-4 DATA1-5 DATA2-1 DATA2-2 DATA2-3 AAAAAAA BBBBBBB DATA3-1 DATA3-2 DATA3-3 AAAAAAA BBBBBBB I have …

Member Avatar for priebd1
0
3K
Member Avatar for thiemebr

Hi, I have a static sqlparameter default value which I need to display in a label but I can't get it to work. I tried: lblDefaultRate.Text = SqlDataSource1.SelectParameters["rate"].ToString but didn't work. Any idea what is wrong? Thanks

Member Avatar for Begginnerdev
0
99
Member Avatar for ramganesht

I have question in creating a dynamic menu items. my require ment is as below. In my web site the menu items are 'Education' 'Leasure' 'Quotes' In Education i have sub menu items like colleges, schools, science, maths. In Leasure i have sub menu items like movies, resorts, parks, lakes. …

Member Avatar for diafol
0
153
Member Avatar for fafa70

hi. i have a piece of code that i wanna know that in how many miliseconds it would be run. Public Sub TurnLeft(ByVal speed As Single) Dim timer As Single If Not IsNothing(Me._DriveActor) Then 'command below Me._DriveActor.Turn(speed) End If End Sub i know that we have timer class but you …

Member Avatar for fafa70
0
138
Member Avatar for hwoarang69

trying to build a database for user can upload images and stuff. i want to do so that 1-user can upload image 2-name image 3-discribe image 4-how many views that image have 5-how many fav image have 6-list all the messages(comments) 7-number of comments so i could need 9 fields? …

Member Avatar for adam_k
0
172
Member Avatar for stephen_UK

I have 2 versions of the same database. One uses M/S Access and is installed on stand alone laptops, the second is web based MySQL/HTML/PHP. The database is simple ie a single table with cuirrent 8000 records with 32 fields/record which is expanding at around 1000 records per year. What …

Member Avatar for stephen_UK
0
170
Member Avatar for speakon

Hello, I need to create a JDBC that connects to a mySQL database, retrieves the data from a table and displays it into a JTable. I have done this successfully, but have ran into a problem. The initial values I entered into the database (for testing) are permament. If I …

Member Avatar for speakon
0
377
Member Avatar for beforetheyknew

Hi guys, I’ve written an application and I’m trying to utilise a database behind it. I’ve created a mysql database, and table which all appears to work correctly. I appear to have connected to the db correctly too. And hit a bit of a brick wall. As a side-note, within …

Member Avatar for lolafuertes
0
341
Member Avatar for altec64

Hi there this is my first post here :) So I got an assignment about TicTacToe project here's a basic header and main file of my project I think i should made a basic one before adding some "advanced" features please help with the logic of the command undo thank …

Member Avatar for mrnutty
0
1K
Member Avatar for HiWorld

I am stuck on a problem, and can't seem to figure out why this isn't working, when I am pretty sure it should be... I am trying to get my code to delete users from the dropdown list after the admin hits the delete button within the page. The form's …

Member Avatar for HiWorld
0
361
Member Avatar for abathurst

Hi, I need some help extracting information from a XML file. So far I am able to extract data from elements that look like the following: <element1>Element Information</element1> <element2 attribute=”Element 2 Attribute Information” /> But I have come across an element that has got me stumped: <element3><![CDATA[Information that I need …

Member Avatar for PatSharbaugh
0
279
Member Avatar for BoB3R

Hello, I want to edit record in mysql and ive got problem with UPDATE command its giving me syntex problem here is the code: <?php $con = mysql_connect("localhost","root",""); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("dbname", $con); $sql="UPDATE users SET (userid, firstname, lastname, email, username, password, role) …

Member Avatar for BoB3R
0
173
Member Avatar for chromatinpt

Hi, I have a List containing double values and a double mean. I need to check and store all 5 consecutive values (in indivuals lists) that are higher that mean value. At this moment my solution always clear my aux List :( any ideas? double media = 1.8815; List<double> lista …

Member Avatar for Mitja Bonca
0
159
Member Avatar for BigEEter

Hi. I am wondering if a log file can be created in a header which is associated with a try-catch block. Below is my stripped down code for the log_header.h and log_test.cpp Here is log_header.h #include<fstream> #include<iostream> using namespace std; class thrower{ //fstream myfile2; public: void errormessage(); }; void thrower::errormessage(){ …

Member Avatar for BigEEter
0
394
Member Avatar for GTTravis

hi Guys, i am planning to teach myself ASP.net using vb and c# via the visual studio 2010 ide. my issue is that many books keep recommeding visual web developer as the tool to use but i want to use Visual Studio 2010 and hence can somebody point me in …

Member Avatar for thines01
0
141
Member Avatar for vammy

Guys, Need your help here please.. I have a windows form where i have a requirement to convert money entered as integer into string format.. like : if amt entered was 5000,it shld be converted to five thousand rupees only.. please help..

Member Avatar for salman_hundekar
0
142
Member Avatar for salman_hundekar

how to insert special character in sql database like wise" @#$%^&&*" plz mail me ans at salman_hundekar@rediff.com

Member Avatar for salman_hundekar
0
96
Member Avatar for dippyes

Hello i need some help for a function that I'm creating, it should perform some of the fuctions of the operand "printf". The problem I have with the funcion, is that I am unable to read the "Float" and "Double" type parameters, also i want to create a function that …

Member Avatar for deceptikon
0
134
Member Avatar for shanaka995

**HI** I created a blog on blogger.After creating it I changed its URL to [shanaka95.tk](http://www.shanaka95.tk). Now I want to use [**rss graffiti** app on facebook](http://www.beta.rssgraffiti.com) and see my latest blog posts on facebook account.But that app asking me the **RSS Feed URL** of my blog.I tried using this URL http://www.shanaka95.tk/feeds/posts/default. …

0
306
Member Avatar for arunkumars

Hi, We have been using Log4Net to log errors and exception in my application, its a pretty huge project, and I know the messages are logged Asynchronously, but for a few cases the method and message that is getting logged is empty, Ex : Date:09-05-2012 22:16:13,Level:ERROR,Message:,Method:MonitorTimer,ClassName:ABC.DEF.BO.SchedulerBO.Scheduler,Parameters:,User:Admin, The Message is empty, …

Member Avatar for thines01
0
122
Member Avatar for asif49

Why is it that a perceptron or a single layered neural network can't solve the XOR problem, or problems that are linearly inseparable. Before someone tells me to use google, I have. All the neural network guides that are online or in books are so overly complicated with masses of …

Member Avatar for asif49
0
681
Member Avatar for ak47carbon

diffrentialte btween function, variavble,constant and string in php tell me $_file[] is function or variable

Member Avatar for cereal
0
148
Member Avatar for dre-logics

I use Visual Basic 2008 Database is Mysql Three tables: 1. table article fields: item number, item description, color number, month number 100 chair 2 3 2. table colors fields: color number, color description 1 red 2 blue 3. table months fields: month number, month description 1 January 2 February …

Member Avatar for dre-logics
0
192
Member Avatar for natri1991

Everyone watch my code and help me. I'm building a simple program like Paint the windows. Here, I just do the free drawing button. But when I press the button and draw freehand drawing, then the panel draw the toolbar to copy the image above and press a button every …

Member Avatar for NormR1
0
423
Member Avatar for hwoarang69

for some reason when i hit submit button it doesnt go run php code. i have this form below. when i hit sumbit button it should start the php code. <form action="" method="post"> <?php //print errors if(array_key_exists('reg_error', $_SESSION) && !empty($_SESSION['reg_error'])) { echo $_SESSION['reg_error']; unset($_SESSION['reg_error']); } ?> Firstname: <input class = …

Member Avatar for |-|x
0
1K

The End.