199,114 Archived Topics
Remove Filter ![]() | |
I have a web site written in html. I want to have a warning mesage in my web page saying they are not allowed to copy any of my data. Also, if they do copy, how can i tell who copied my data? Pls advise. Thx. | |
I need a auto indent program for .pd's, .js's and html code what do you recommend? | |
Hello all, I have searched this forum to find the answer to my question however none of the answers seem relevant so here we go: I am building a member service however when coding the login.php script, I keep coming across this error: [QUOTE]Warning: mysql_num_rows() expects parameter 1 to be … | |
I just read in K&R that a function, even if not defined as void, need not return a value. To test I wrote a quick power function and I'm getting reproducible yet unexpected behaviour: [code]✈demios:cliC$ cat power.c #include <stdio.h> int power(int x, int y); int main() { printf("%d\n", power(2,5)); return … | |
Hi All, As shown below, I have already managed to disable all menu items from the QAT. However I would also like the menu option to be completely removed! [code] <customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui"> <commands> <command idMso="ApplicationOptionsDialog" enabled="false"/> <command idMso="FileExit" enabled="false"/> <command idMso="Help" enabled = "false"/> </commands> <ribbon startFromScratch="true"> <officeMenu> <button idMso="FileCompactAndRepairDatabase" … | |
Hello All, New to Python, I keep getting an indentation error after the if (yescheck == todcheck): line. Any suggestions? As far as my python knowledge goes, I've got it correctly aligned, but clearly not. Could some of you try running this, see if it goes? [code=python] import os yesfile … | |
Hi friends, I m a php coder and in one of my real estate portal I likes to use any one of best php frame work. Please advise / suggest me a best and easy learning one.. Thanks rajeesh | |
Either nobody in the world from the myriad of forums and discussion boards I have been to knows how to do this, (which seems unlikely, as this does not seem a complicated procedure) or none of those people know how to answer a question concisely and in a straightforward way. … ![]() | |
i am doing a project in which i simulate symmetric encryption in routers.so hav to store secret keys for mac encryption in a symmetric matrix.how do i do it?????????should i convert them to strings and then store strings in a matrix??????? URGENT HELP NEEDED!!!!!!!!! | |
This is actually not related to jsp.... Its related to the Apache tomcat server..... :icon_rolleyes: I run the startup.bat file where is located in bin folder.. than tomcat was started...it use 8080 port ([url]http://localhost:8080):icon_lol:[/url] after that I created the jsp page using netbeans & rut it.tomcat was started & run..... … | |
Hello to everyone! I am an engineering student and we have this class wherein we use Microsoft Access. Our instructor gave as a hands on homework using the MS Access. As I do it at home and inputing numbers and etc all that I need to input, suddenly this [COLOR="Red"][B]ERROR[/B][/COLOR] … | |
I want to display a multiple records from the database, 1 of the field needs to be displayed in a list format. i have managed to achieve this, the problem is that the list is duplicating and incrementing into the next record. Displays like this: Record 1: a, b Record … | |
I’ve created a dynamic page ([I]page.php[/I]) who’s content changes based on the incoming link, specifically by calling a GET on the ID in the URL. So, for example, someone visits [I][url]www.domain.com/page.php?id=310[/url][/I] and the content on the page changes queries the database and returns results for item 310. I’m in the … | |
I was trying to revise my linked list and implement it in C to check if there is a difference in performance... just as a sort of weird hobby.. In the absence of templates I'm trying to figure out how to pass a type as a parameter for this purpose. … ![]() | |
I find C# very well suited for doing math and all sorts of calculations, so here is an example. Just start a Console application and fill in the code. Have fun! The code also shows a use of delegates and some Console functions. If you don't know what the Newton-Raphson … | |
I use Visual Basic 2008 I use bound Datagridview I use mysql database If i run this code, everything on the screen ( in the datagridview) [COLOR="Green"]neatly Updated[/COLOR]. But when I look at records in the table [COLOR="Green"]"stock"[/COLOR] always the first row (0) of the DataGridView [COLOR="red"]not updated [/COLOR]in the … | |
Hi I am trying to implement a world cup 2010 database, but can't seem to find the best table structure. At the moment I have the following: Team TeadName PK group A with fixtures group B with fixtures group C with fixtures group D with fixtures group E with fixtures … | |
how to load content of panel to a another panel?? | |
Hi all, this my first post. I'm newbie in C# and ASP.NET so be patient with me, I have a problem when declare object in the try clause working in VS2010 Express: ex. [CODE] protected void Names() { string strQuery; OleDbDataReader myReader; strQuery = "SELECT TOP 1 Name FROM Names"; … | |
how i can check any text string in a doc file.the searchinh should be fast as i have to do other code if it found the string | |
how to hide some content on webpage from unregistered user ? I am using PHP Login Script from about.com [URL="http://php.about.com/od/finishedphp1/ss/php_login_code.htm"]http://php.about.com/od/finishedphp1/ss/php_login_code.htm[/URL] | |
Hi friends I have a chat program. Client.jar is uploaded to my website and Server.jar is executed on my system. Any visistor just have to click link and my Client.jar is downloaded in his system and chatting start properly. But problem arises when visitor don't have JRE installed in his … | |
I want to provide report facility in my software.... I have seen jasper reports , crystal reports and many other.... In all of them i like crystal reports because they are easy to make.... can anybody tell me how to connect crystal reports with java app.... I dont have any … | |
Hi there all, First of all, I need to say that I'm so happy to join you... Second, I have a problem... First I created a form page with a constructor that fills the listbox in it... As you can imagine all stuff begins after filling it... However, a friend … | |
Hi all, I got some little problem for Unicode: My Unicode were Chienese world => 你好, 有什么能协助您的吗? When the 1st time i insert it in to database it saved in this form -> "你 好 , 有 什 么 能 协 助 您 的 吗 ?" ( every &# 1234 … ![]() | |
i want to show friend request without pressing submit query button. please anyone help me .change the code without form <?php session_start(); mysql_connect("localhost", "root", ""); mysql_select_db("aa"); //START OF LOGIN if(!isset($_SESSION["logged"])) { if(isset($_POST["username"])) { $query = mysql_query("SELECT id FROM members WHERE username = '" . $_POST["username"] . "'"); if(mysql_num_rows($query) > 0) … ![]() | |
Hi, look into codes below: [CODE] Sub Main() Dim tmr As New Timers.Timer tmr.Interval = TimeSpan.FromMinutes(5).TotalMilliseconds tmr.Start() 'Do function End Sub [/CODE] As my program above, i set the time interval to every 5 minute which it will do the function. However, after 5 minites it does not affect any … | |
Hi, I am fetching data from the database & trying to print the data & export in to excel sheet.but don't know how to do. Please suggest. | |
#include<iostream> using namespace std; class polynomial { private: struct p { int degree; float coefficient; p *link; }*head; public: polynomial() { head=NULL; } void getdegree(); void getpolynomial(int d); void display(); void addition(polynomial p1,polynomial p2); }; void polynomial::getdegree() { int degree1; cout<<"\n Enter the highest degree of your polynomial:"; cin>>degree1; getpolynomial(degree1); … | |
[CODE] void findFacesInMesh() { multimap<indexPair, int> mapface; multimap<indexPair, int> ::iterator it, it2,it3; pair<multimap<indexPair, int> ::iterator,multimap<indexPair, int> ::iterator> rangeit; int ip1, ip2; for(int k=0; k!=cells.size(); k++) { for(int i=0; i< ( cells[k].getNbPoints() ); i++) { if(i== (cells[k].getNbPoints()-1) ){ ip1=cells[k].getListPointsIndex(i) ; ip2=cells[k].getListPointsIndex(0);} else {ip1=cells[k].getListPointsIndex(i); ip2=cells[k].getListPointsIndex(i+1); } mapface.insert( multimap<indexPair, int> ::value_type( indexPair(ip1,ip2), k) … | |
hello everyone.. 1)is there a way to print the data present in the griedview? 2)for the same, do we need to export the gridview data to excel for print purpose in web application? if yes, how to export that data... thank you | |
hello everyone i try to explain my problem by this following example i have a gridview binded to a table with columns as(name,rollno,status, and last column of the gridview contains a checkbox) now the problem is i want when i check the checkbox of a particular row...then the status column … | |
Hello, I'm trying to run an object on Python with ROS. When I run the code with a variable inside the object: [CODE]class lk(old_image): ....then some code def main(args): rospy.init_node('lk', anonymous=True) old_image = lk(old_image) try: rospy.spin() except KeyboardInterrupt: print "Shutting down" #cv.DestroyAllWindows() [/CODE] [ICODE]Traceback (most recent call last): File "/home/aadejare/ros/omnisensor/nodes/lk.py", … | |
hi I have create a table with 11 fields with field1 is primary key and auto incremented. In java i use prepared statement.The code is working well without auto increment that is i add this value from my program. when i change field1 auto incremented and use prepared statement for … | |
I am installing the application on user end And when i run the exe Its gives the following exception [B].Net Framework Initialisation Error[/B] To run this application you must first install one of the folloeing version of the .net framework But i have install few application previously and it was … | |
Can We Change Structure of aspx page using theme ? | |
Hi , I am new in core java. i have develop an application. in that i am used the combobox in combobox i am displaying roll no. of students from sqldatabase. now when i want to find rollno when keypress on combobox. ie. if i have enter 2 then display … | |
my program does allow it to build with no errors but when the answer is right or wrong, it doesn't actually draw the appropriate string. I coded it in a way that I feel like would make it work but after clicking on the check answer button, nothing happens. Any … | |
see this is the code that is written in c# in visual studio 2005........In visual studio w can connect sql(not mysql) with c# and can even see the sql table visually......... can we do that similarly in java in netbeans7.0..... how can i connect sql with java.......do i need to … | |
Hey, so I need to calculate and display the mode (most frequently occuring number) from a vector of ints. I already have the vector, and it can have any number of elements in it. So now i need to figure out a way to loop through my vector to figure … | |
I'm trying to understand how one might go about building a program with a spreadsheet widget and being able to save the data in that spreadsheet? (Just Conceptually). The basic aim here is to input data on a regular basis using a C++ GUI of some kind and having that … | |
Hello everyone, I have a std::map that includes individual ID and a struct that contains father and mother information, read from a file "ped.txt". This file has the format: ID - FATHER - MOTHER. Some fathers or mothers don't have IDs as individuals. The code bellow is an example to … | |
hey. i would really appreciate some help on an assignment i've been struggling with. i am supposed to: Write a calculator program. Each time the program starts, reset the current value to zero. The user will then enter an arithmetic operator (either +, -, * or /) and then a … | |
I am replacing an AutoHotkey script with a VB.net application. Part of the script involves sending keystrokes to an active application. VB uses SendInput and does send the keystrokes, but the application doesn't "get" them, but when AutoHotkey sends the same key to the same application, it works. I have … | |
On a webpage, I have a table (generated on page load through php/html) on the side that has several links (one on each row), and when you click any of them it calls a javascript function (href='javascript:newtable()') that uses an ajax requests to populate the table again (performed by a … | |
I need to read a .txt file into a list and then pass one element of the list to a method and return to the main loop, run through the loop again and pass in the next element... Thanks [code] File file = new File("pathToFile.txt"); List<String> contents = FileUtils.readLines(file); do … | |
Hello all, I have put together an inventory program and having problems getting it to compile and run. I am at my wits end, with it. I'm not sure what it is that I'm missing. Any help would be greatly appreciated. Thanks in advance. [CODE] #include <iostream> #include <string> #include … | |
Hello i want to get my computer time using c++ i googled, but i couldnt find anything that suits me... Time code should be able to use this function: if(hours == 10) { do something... } Can you help me? Thank you. | |
Friends, I'm rushing towards deadline and I think that makes me do childish mistakes. Here I have validation that requires regex and each time I input valid expression preg_match returns false. It is long now I'm trying to spot error but I cannot! I have googled and AFAICS, things seems … | |
OK, I admit I am completely clueless on how to perform this one. In one table I have a list zip codes and the user will select one or more from this list. Once I have those zip codes, I need to perform my query and this is where it … |
The End.