199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for HTMLperson5

Ok, I'm confused, what is the difference between print "stuff" and print("stuff") They both have the same output!

Member Avatar for Gribouillis
0
215
Member Avatar for superjj

hoi I would like to learn how to work with databases. does anyone know a good tutorials or sites? because at this moment I know nothing about it. thanks in advance

Member Avatar for superjj
0
334
Member Avatar for Doogledude123

when trying to output the string of a variable to a text file, the string try's to run and therefore pops up like this, %localDrive% 2>>fileCompare.log 'C:' is not recognized as an internal or external command, operable program or batch file. Any ideas?

Member Avatar for HTMLperson5
0
259
Member Avatar for Macilath

Howdy, I'm trying to write a program that will copy files from one destination to another. After some reasearch it was suggested that I use SHFileOperation, and SHFILEOPSTRUCT. I'm trying to set the struct members accordance with [MSDN](http://msdn.microsoft.com/en-us/library/bb759795%28v=vs.85%29.aspx), however, I run into a problem with pTo and pFrom. The error …

Member Avatar for nullptr
0
1K
Member Avatar for sri.

window.print method not working in ie browser **mycode:** <html> <head> <title>main</title> </head> <body> <h1>Pop & print</h1> <button onclick="pop();">Pop</button> <script type="text/javascript"> var POP; function pop() { POP = window.open('', '', 'width=350,height=350'); POP.document.write(" message content message content message content message content message content <br/>"+"<a href='JavaScript:window.close()' style='float:right;'>Close</a><a href='JavaScript:window.print()' style='float:left; text-decoration:none;'><input type='button' value='Print this …

Member Avatar for dany12
0
315
Member Avatar for macca84

Hi, im trying to query an oracle db set up of table is all done and filling it is fine but when i try to send a query to the db using a resultset to store the outcome im getting the error "cannot convert int to ResultSet" ive looked at …

Member Avatar for lain00
0
758
Member Avatar for txikiting

Hi everybody, I'm trying to make a program to get the file creation or access or modification date, but the program always is returning me this date "Thu Jan 1 01:00:00 1970". I tried lots of codes and heelps from the forum, of posts from other users, but the result …

Member Avatar for txikiting
0
224
Member Avatar for kartiki.mahadik

how to add email adress validation code so the validation will dispaly after immideately entered email adress in text box of email adress

Member Avatar for tyson567
0
140
Member Avatar for anuran

can someone help me to begin with face expression detection in c++,i want to detect basic facial expression via camera in realtime.like this http://www.youtube.com/watch?v=n8wJ8tjmnmU

Member Avatar for rubberman
0
502
Member Avatar for ronhymes

Hello, I have PHP code that updates a record in my database. I need to run that code when an <a href="mailto....> link is clicked on, before the email client runs. Thanks for the assistance.

Member Avatar for ronhymes
0
197
Member Avatar for Thropian

Trying my hand a Javascript, I came across an issue with XMLHttpRequest. This is probably something I'm doing wrong, so any help would be appreciated. reader = new XMLHttpRequest() reader.open("GET","Votes.xml") alert(reader.readyState) reader.send() alert(reader.readyState) when I run this, it alerts that the readyState is 1 (Send has not been called) and …

Member Avatar for rileyganimator
0
164
Member Avatar for zaphoenix

Hi, I am trying to write a code that will calculate easter date within a year range.The problem i have is that no matter what date i put either within or outside the range i get the same output.Here is the code #A programme to calculate date of easter def …

Member Avatar for ZZucker
0
189
Member Avatar for Dani

So I just discovered a crazy bug that has been keeping visitors of the Opera web browser from using DaniWeb. Apparently there's a problem with CodeIgniter's CSRF protection that makes it not work with Opera, and I'm unsure of why. It works perfectly fine with IE, Firefox, Chrome, etc. I …

Member Avatar for diafol
0
312
Member Avatar for eskavvas

Hey broskis! I've only taken one class in introductory programming and my internship wants me to organize some excel data (it's in txt now). We never went over files in my c programming class so I'm struggling with this code a bit. For practicing purposes my text looks like this. …

Member Avatar for eskavvas
0
182
Member Avatar for ravidaniweb

HI i am getting error on lbl.Visible = true and command.ExecuteNonQuery(); plz check and paste correct coding i doing new project plz help me. protected void Button1_Click1(object sender, EventArgs e) { SqlConnection conn = new SqlConnection("Data Source=RAVI-PCSQLEXPRESS;Initial Catalog=personals;User ID=sa;password=sa;Integrated Security=True"); SqlDataAdapter da = new SqlDataAdapter(" select * from table_2", conn); …

Member Avatar for hericles
0
146
Member Avatar for itgrowsind

I am trying to set up a a program that gets four numbers from the user, also a random generator to get four numbers compare if any were the same and print out how many numbers were matching this is what I have so far... using System; class Program { …

Member Avatar for hericles
0
158
Member Avatar for UzuNarU

Hey everyone, I'm having a little trouble with creating a 'dynamic' calendar with events called from a MySQL database. So basically I would like to have the Month automatically change when the month changes, and highlight the days which have events scheduled, and make those days links to my thickbox …

Member Avatar for UzuNarU
0
791
Member Avatar for drumichael87

I am developing in WordPress plugins and I would like to know.if someone could guide Me with this issue. I would like to know what's the easier method.of declaring a global variable that I can use. As of now I am not using classes, mostly because i'm not sure how …

Member Avatar for drumichael87
0
181
Member Avatar for SummerNight

I just installed Windows 8 Release Preview and my existing wampserver does not work. I tried installing easyphp and after the service was successfully started it can't find the localhost. Is there any fix to this or other local servers to run php and phpmyAdmin the easy way ? Thanks …

Member Avatar for cuonic
0
153
Member Avatar for tpowell0201

Okay, so I have been trying to get this to work all night, but I can't find anything actually wrong with it. I just thought maybe someone else might be able to just look at it and see the answer... as it's probablly in plain sight. <?php session_start(); mysql_connect("powellintellabs.com", "******", …

Member Avatar for akmozo
0
156
Member Avatar for bunnyboy

How can I cast a base class to a derived on at runtime. What I am trying to do is the following: I need a system which will hold the subscriptions, where a certain type of message, has an assigned Subscriber. When a message is received, it will bi forwarded …

Member Avatar for bunnyboy
0
238
Member Avatar for Brickmack

I'm trying to write a program that needs to detect key presses, which I've already done using this code I found online: TERMIOS = termios def getkey(): fd = sys.stdin.fileno() old = termios.tcgetattr(fd) new = termios.tcgetattr(fd) new[3] = new[3] & ~TERMIOS.ICANON & ~TERMIOS.ECHO new[6][TERMIOS.VMIN] = 1 new[6][TERMIOS.VTIME] = 0 termios.tcsetattr(fd, …

Member Avatar for Brickmack
0
333
Member Avatar for skiabox

I have some files, consisting of end of day stock data in the following format : Filename: NYSE_20120116.txt <ticker>,<date>,<open>,<high>,<low>,<close>,<vol> A,20120116,36.15,36.36,35.59,36.19,3327400 AA,20120116,10.73,10.78,10.53,10.64,20457600 How can I create files for every symbol? For example for the company A Filename : A.txt <ticker>,<date>,<open>,<high>,<low>,<close>,<vol> A,20120116,36.15,36.36,35.59,36.19,3327400 A,20120117,39.76,40.39,39.7,39.99,4157900 (I don't want A.txt to contain the first line …

Member Avatar for skiabox
0
197
Member Avatar for thiemebr

Hi, I have 2 ddl, ddlCountry and ddlState, on selecting ddlCountry, the ddlState IS updated based on the chosen country BUT... when I select ddlState, the selected item in ddlState is not being masked as selected, thus I can't get the selected value. Here is the code: <asp:DropDownList ID="ddlReceiverCountry" runat="server" …

Member Avatar for thiemebr
0
1K
Member Avatar for hastingo
Member Avatar for mbarandao

Good day All: I was wondering if anyone have had experience dealing with the browser history inside an Iframe. Specifically, how to navigate with the back button throught the history inside the Iframe ONLY, and not the entire page. I have an Iframe that is called inside my page like …

Member Avatar for mbarandao
0
9K
Member Avatar for werydude

Hello. I am a python noob asking a probably obvious question. I am making sort of a question game, although its still in the debugging stage. The problem is below. (Way below) #A simple game of common knowledge. #Dependecies import time start = "" lv1 = False lv2 = False …

Member Avatar for werydude
0
256
Member Avatar for richasr1

Im having a bit of trouble converting the delphi code below into c++, i'm sure I need to use a Switch statement but I seem to be getting it wrong. Basically, I have 6 panels mounted on a larger Panel, each caption will contain a random number. A button then …

Member Avatar for IvanC
0
560
Member Avatar for dinhpham1991

Write a program that reads a set of measurements from a file called sensorDataRaw.txt. There are two columns of data in the file; the first is time in minutes and the second is height in feet. The program should read all of the data into two arrays, and then sort …

Member Avatar for sfuo
0
197
Member Avatar for triumphost

I'm having a huge problem trying to learn how to export classes from a DLL. I can do some functions just fine but the classes are mangled :S I've tried from .def file, I've used extern "C" but when I did, it threw errors and won't export the class at …

Member Avatar for mike_2000_17
0
2K
Member Avatar for *sharath*

can anyone explain this lines please. private ArrayList<View> history; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); this.history = new ArrayList<View>(); group = this; View view = getLocalActivityManager().startActivity("Sales", new Intent(this, SalesRouteActivity.class).addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP)) .getDecorView(); replaceView(view); } public void replaceView(View v) { history.add(v); setContentView(v); } what does the line View view = getLocalActivityManager().startActivity("Sales", new …

Member Avatar for peter_budo
0
112
Member Avatar for *sharath*

can anyone help me out in displaying a calender. I tried out using date and time picker. But i need a way to make the user click a button and on the click of it a calender gets displayed. Any help would be appreciatable. Thanks in advance.

Member Avatar for peter_budo
0
130
Member Avatar for hszforu

This is my code: //VariableArguments3.java public class VariableArguments3 { static void test(String s,int ...v) { System.out.println("length:"+v.length+" String:" +s); for(int x:v) System.out.println("x="+x); } static void test(String s,double ...d) { System.out.println("length:"+d.length+" String:" +s); for(double x:d) System.out.println("x="+x); } } and //VariableArguments3.java public class VariableArguments3Test { public static void main(String args[]) { VariableArguments3.test("harshal",33,43,34,23,24); VariableArguments3.test("hosha",43,442); …

Member Avatar for hszforu
0
167
Member Avatar for theonlylos

I currently have a client who came to me asking me how to build a system for him where he can give varying levels of discounts to events based on the number of people who get referred via a unique affiliate link/cookie. The key stumbling block for this project isn't …

Member Avatar for cuonic
0
299
Member Avatar for grh1107

I'm Creating a class that I want to call a recursive function within it. However, the complier says i cant declare a function within a method, I was wondering how I could Recursively call that function, in the method, or how to recursively call that method, with out declaring the …

Member Avatar for mike_2000_17
0
3K
Member Avatar for poloblue

Good Afternoon, How would you solve a question that states: assume an array of structure is in order by studentID field of the record, where student IDs go from 101 to 500. Write the pseudocode to find the record with a specific studentID if every single student ID from 101 …

Member Avatar for NathanOliver
0
280
Member Avatar for aasi007onfire

in our college we have a repeated C aptitude question... which goes like this.... [code] int i=5 printf("%d %d %d", i--,i,i++) [/code] and the answer given to us was 5,6,5.... when asked it was said that the compiler evaluates printf from right to left...... can somebody throw some light on …

Member Avatar for deceptikon
0
278
Member Avatar for LastMitch

Hi I'm having problems trying to echo the array, that I created. I'm trying to create a 3-D array. Here is the file: $futures = array(array(array("GC", "Gold", 1,605) (array("SI", "Silver", 27) (array("PL", "Platinum", 1475) (array("HG", "Copper", 3.48)), (array(array("CCS", "Corn", 707) (array("SNS", "Soybeans", 1,525) (array("WCS", "Wheat", 846)), (array(array("CJ", "Cocoa ", 2,335) …

Member Avatar for blocblue
0
364
Member Avatar for hszforu

This is my code: //VariableArguments1.java public class VariableArguments1 { static void test(int ...v) { System.out.println("length:"+v.length); for(int x:v) { System.out.println("x="+x); } } } and //VariableArguments1Test.java public class VariableArguments1Test { public static void main(String args[]) { test(33,43,34,23,24); test(43,442); test(); } } Following are the errors i am getting: VariableArguments1Test.java:5: cannot find symbol …

Member Avatar for hszforu
0
133
Member Avatar for libathos

Hi,I'm writing a Java/Android application which consumes web services(these web services are written in .Net) from a certain URL.My problem is that some web services return to my application objects which are defined in .NET.Is there anyway my application can manipulate those objects?

0
93
Member Avatar for massivefermion

I've read that C# compiler's name is csc.exe I have MonoDevelop3 And can't find a file with that name. Also can find nothing which looks like a compiler in MonoDevelop's directories. The documentations didn't help too. Could you help? Thanks

Member Avatar for massivefermion
0
153
Member Avatar for sri.
Member Avatar for sri.
0
5K
Member Avatar for on93
Member Avatar for L7Sqr
0
150
Member Avatar for zychos

I am trying to create a where clause that loops through my foreach loop. The idea is to have a search with four possible values depending on which values the user fills in. ,<?php $fname = $_GET['fname']; $lname = $_GET['lname']; $nature =$_GET['nature']; $ticket_id = $_GET['ticket_id']; $nbsp = " "; $fields …

Member Avatar for zychos
0
292
Member Avatar for thiemebr

Anyone has any idea why this error is happening? The weird thing is that this page works in one server but not in another. Parameter is not valid. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about …

Member Avatar for thiemebr
0
496
Member Avatar for gemini88

class Program { static int localVariable = 0; static int PropertyOne { get { return localVariable; } } static void set_PropertyOne(int newValue) { localVariable = newValue; } static void Main(string[] args) { } } **Error: already defines a member called 'set_PropertyOne' with the same parameter type** please give me reason …

Member Avatar for gemini88
0
204
Member Avatar for mydreamgirl

I installed Apache Tomcat 7.0.28 in my JBuilder6. I use JDK 1.6.0_32 (jre6). I can get http://localhost:8080/ page. However, when I tried to run my JSP file, I encountered following error: org.apache.catalina.startup.Bootstrap start -config "C:\Documents and Settings\user\jbproject\whoznextdoor\conf\server8080.xml" -nonaming Jun 23, 2012 8:22:47 AM org.apache.catalina.startup.Bootstrap main WARNING: Bootstrap: command "-nonaming" does …

Member Avatar for mydreamgirl
0
368
Member Avatar for David2012

In an HTML form when I use a radio button how will the php program where the data goes to will know the correct option chosen? in HTML the script will be like: <form action='abc.php' method='post'> <LABLE>YES</LABLE> <input type='radio' name='agree'> <LABLE>NO</LABLE> <input type='radio' name='agree'> </form> Now since both options have …

Member Avatar for David2012
0
16K
Member Avatar for MaddTechwf

I'm trying to develope a Javascript fuction that will show the current funds raised. I'm needing to be able to specify a Start Dollar Amount ($0), Goal Dollar Amount ($XXX,XXX,XXX), and a Current Dollar Amount ($XX,XXX). I would like to have this show up as numerical amount and then also …

Member Avatar for rotten69
0
244
Member Avatar for dwinn

Hi Everyone, I am programming an ordering site in VB.Net and ASP.Net. I start with the main ordering form and the idea is that the user will select a subject from the drop down list and then click a button to retrieve all modules associated with that subject in a …

Member Avatar for dwinn
0
2K

The End.