199,114 Archived Topics
Remove Filter ![]() | |
Hi! I am a bit newbie in the web development world. In our company I am assigned to handle the newsletter. I would like to ask for a tutorial in how to make a newsletter and to how to embed or attach pictures and animation to it. Please do help … | |
Hi, guys I need good program in procedural programming language which shows there is no importance to the data It should explain the exact drawback of the procedural programming language | |
Hi… I want to use graphics and I don’t know how. All want is few lines… | |
Hi i have kept the array of values in a session so how to retrieve those values from the session in the next page .........can anybody help me [code=php] $result = mysql_query("SELECT * FROM services "); while($row = mysql_fetch_array($result)) { ?><input type="Checkbox" id="c[]" value="servicess"> <?echo $row['servicess']; echo "<br />"; $c[i]=$row['servicess']; … | |
I am stuck on problem 7 that is outlined clearly. I am trying to create a process that changes all of the non-prime number elements of a 65,000 element array to 1. Then I would like to verify that array was marked correctly so that only prime numbers have 0's … | |
Hi. I'm using AJAX to make a menu for a guy's website I'm making for him. Anyway, he has a sports memorabilia store. I have a simple menu. There is a drop down box that you click on to select the sports league you want. Then below it is another … | |
Hi Im really in need of some help here. I'm doing a website for a sports team and have nearly finished it. However the last thing i need to do is create a slideshow (very fancy) at the top of each page. I know it sounds mad a slideshow at … | |
Hi guys, Me again, I have just noticed something which i cant figure out whats going on. Below the query pulls back and account type from my db however the result which is coming back does have the account type but has a number 1 after it eg: Current Account … | |
I have an html file and I am parsing it with regular expressions. I don't want to use any python html libraries, because I am not using it as a website, but as a configuration type file. I am making a basic bookmarks system, the parser works fine, so I … | |
Hey all! I've been struggling with a problem for a week now, and it seems that I'm stuck. PROBLEM ONE: I'm trying to make a "Dynamic" Combobox? Well, I'm trying to read in an XML file, and based on the number of Nodes in that file, i wish to create … | |
I have seen a lot of type LPSTR(and other like LPCSTR, etc) when coding using MFC. I just know it is equivalent to char*, but what LPSTR exactly is? (ie, is it a native type in C++, or a macro in C++, or a typedef in C++, or...) | |
Hi, probably a stupid question, but I haven't been able to find anything. Is there a istream related function that let me read exactly one keystroke from the keyboard through cin? What I need it to do is this: - remove all characters currently in the input buffer - block … ![]() | |
well i wanted to see if i could make a secruity program i got it set up but i wanted to make it restart the computer if the wrong passwords entered im using dev C++ please can you help | |
I am trying to create a simple database. Here is the code: [code=C++] #include <iostream> #include <fstream> #include "conio.h" #include <string> using namespace std; struct Station{ string url; string name; string genre; }temp; char userInput; string output; int fileSize; string searchParameter; int index; int results[1000]; int j;//temporary storage for a … | |
when I hit click i get a blank table in my datagridview with no values in it! why is that ? [code] Private Sub Button5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button5.Click Dim con As New OleDbConnection("provider=microsoft.jet.oledb.4.0;data source=C:\Documents and Settings\bashkark\Desktop\Copy of USERS.mdb") Dim cmd1 As New OleDbCommand con.Open() … | |
I have 3 radio buttons and each connected to a SQL statement..the first one 'NVIDIA*' does not get executed whereas the other two do because they dont have wildcard character in them. Can you please help me with this ? I tried 'NVIDIA*' in Access query and they worked perfect … | |
i'm really having a problem on how to start my homework. this is regarding to my first post ([URL="http://www.daniweb.com/forums/thread132760.html"]http://www.daniweb.com/forums/thread132760.html[/URL]) thanks to the one who answered, i realized that i needed to use arrays on this. i realized that i needed to solve the problems manually, meaning that i have to … | |
I am trying to crate a web application for a database (a form and a search+results pages). HOWEVER, I am seriously stuck because I cannot install IIS on my workstation to start working. The university I am at cannot have me IIS installed (it's forbidden) because it would turn my … | |
I am making a c++ program and i need a function that does the following: IF u have an n (e.g: 4) digit number (IN THE FORM OF AN ARRAY) , each digit can take the vlaue from 0 to m (e.g: 5) and can exist more than once in … | |
I get this error in the following code [code] //Error... error C2679: binary '>>' : no operator found which takes a right-hand operand of type 'int' (or there is no acceptable conversion) void Menu::readDates(istream& in, Date& dates) { in >> dates.getDay() >> dates.getMonth() >> dates.getYear(); } [/code] Thought '>>' can … | |
Is it possible to send something like, a Frame or Applet to a target computer? If not, how would I set it up so that two users from two different computers could interact with the same JFrame or JApplet? Edit: No I'm not asking for code, just general advice* | |
I am using Visual C++ version 6. I need to know how to add a .lib file to a project. I want to add it as a static lib file. | |
Hello I am new at c++ and I was wondering, how would I write variables to a file so I can open them later on. I was wondering this because I was going to make a text based game to start out with, in c++. Also I was wondering how … | |
I found: IDLE 1.2.2 >>> x = 157.73 >>> r = x * 100. >>> int(r) 15772 Can I convert more precise? | |
my xml is somehting like this: [code=html] <loc id="123"> <value>data1</value> </loc> <loc id="223"> <value>data2</value> </loc> <loc id="323"> <value>data3</value> </loc> <loc id="423"> <value>data4</value> </loc> [/code] how do I read all the ids? this code give me only the first id (123). when it loops to next, throws exception. [code=c#] XmlNodeList xmlnode … | |
I got error while i am trying to use java generic classes in jsp. Is there any cofiguration required to solve it. I use java 1.6 Tomcat 6 | |
In vs2005 there is a winsock component, how do you receive data using the component? I found a ->SendData(blah), but cant find a receive. Does anyone know how to receive with this component? Thanks. | |
Hello I seem to be having a problem, I have this query that pulls back correct results [CODE]SELECT hourStamp, SUM(CASE WHEN datestamp < GETDATE() THEN 1 ELSE 0 END) / @numberofdays as HourAverage, SUM(CASE WHEN dateStamp BETWEEN DATEADD(d,DATEDIFF(d,0,GETDATE()),0) AND GETDATE() THEN 1 ELSE 0 END) as HourToday FROM webstats GROUP … | |
Hai guys, I am new at jsp.I have made a simple j2ee application in which i am getting class cast exception in PortableRemoteObject.narrow function. The exception is: [code]org.apache.jasper.JasperException org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:384) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:297) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:247) javax.servlet.http.HttpServlet.service(HttpServlet.java:860) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:585) org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249) java.security.AccessController.doPrivileged(Native Method) javax.security.auth.Subject.doAsPrivileged(Subject.java:517) org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282) org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)[/code] The root cause is : [code]java.lang.ClassCastException com.sun.corba.ee.impl.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:229) … | |
Hi my name is Abdul munawar I am using two optional radio buttons in asp.net front end,... but ui have store single option in databse.. wat is the coding to select single Like male or feemale 2) buy or sell So i need to write the code for selecting value … | |
Hi my friends, how do you do? I hope everything is alright.. :) Please may I have a few mins. from your time? It'll be much more appreciated :) I have this question (Write a member function to check whether two singly linked lists have the same contents.) anyone can … | |
Hi everybody, I have a ntext problem. There are MS SQL SP in my project.And I am taking mssql_bind() warning and mssql_execute() error. But the problem is that I cannot make changes on these SPs. Because these Sp are used by other programmers who are using cold fussion as programming … | |
Hi, Here is my jsp page where i trying to display the data from table. Here form1 is the name of drop down list in my searchuser.jsp page. The content in the drop down list is a name of one column of the database. I am able to connect firstjsp … | |
HI My name is Abdul Munawar. I am new to Asp.net, but i am very interested to study hard.. I want t o become a good developer.. My question is 1) I am using fname, lname, email, cellno , male or female ( radio button). in this radioi button, i … | |
Hello i just started up today with C#, Im femilair with PHP so i can do some things i have google etc. But now im stuck.. with this: [CODE]using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using MySql.Data.MySqlClient; namespace WindowsApplication2 { public partial class … | |
In javascript we can swap only jpg images? Then what about the gif images. Please help me. By answering my first post so the second post will be solved automatically. | |
when i check one or 2 or 3 or all 4 chechboxes..i want a corresponding SQL query to get executed. Please help me rectify my code.. thanks kavitha. Dim con As OleDbConnection = New OleDbConnection("provider=microsoft.jet.oledb.4.0;data source=C:\Documents and Settings\bashkark\Desktop\Copy of USERS.mdb") Dim cmd1 As New OleDbCommand con.Open() If (CheckBox1.Checked = True) … | |
my string looks like this, <place id="opt1"><data>data 1-data2 ! data3</data></place> I'd like to remove space, -, ! from only data element (data 1-data2 ! data3) using regex. Rest of stuff should be as it is (<place id="opt1"><data></data></place>). Any idea? | |
I have two dialogs as I told before.there is a combo box in the first dialog.i have a text box in the second dialog.when i click a button, i get the second dialog in which the text box is present.i get the data in the text box in the combo … | |
I am doing an event calendar in php.In that calendar the events for a particular day will be displayed.If the event is a single day event it is possible to display the event curresponding to that date.But in the case of multiple day event(from 3rd july to 10th july) i … | |
I've designed a PHP based chat using mysql tables for database storage, but the obvious problem is that PHP has no obvious way to control the browser like JS does. I'm wondering, are there functions hidden in the depths of PHP which can do generally what JS can do? The … | |
Hi, I want to know if it is possible for Internet Explorer to detect any action on the "Print Screen" key. The website needs its content to be secured as much as possible. The clipboard is being cleared for every fraction of a second, until this web-application is closed. There … | |
I have a function like this .. [CODE] function1() { if ( valuecboOrganization =="2" ) { alert(valuecboOrganization); fnGetDepartmentRequest(valuecboOrganization); return; } } function fnGetDepartmentRequest(organizationid) { debugger; Http.get({url: "../ajax/Process.aspx?organizationid=" + organizationid , asynchronous:false, callback: fnGetDepartmentRequest_callback}); } [COLOR="Red"]function fnGetDepartmentRequest_callback(Result)[/COLOR] { debugger; if (Result.readyState==4) { if (Result.status==200)// if "OK" { fnGetDepartmentRequestProcess(Result); } } } … | |
i need help..... i need to write a SHORT java program that takes two arrays a and b of length n storing int values, and returns the dot product of a and b. | |
Hi friends, trying to pass an ifstream to a function expecting an ostream...Should this be a problem? [code] ifstream fleetin; fleetin.open (filename); read(fleetin); //Error.... : cannot convert parameter 1 from 'std::ifstream' to 'std::ostream &' [/code] My parameter is declared as ostream&, or maybe i should just remove the '&', but … | |
Hi, Im making a mod for a game in vc#.net 2003. The game is warcraft 3. I want to create an external software to process commonly used "hotkeys" used within the game. there are various charecters within the game, and I need to map their hotkeys onto easily accessible keys … | |
Hi, I need to get event handler's argument in Firefox3 - but it does not have any global 'event' variable like IE nor it passes an argument to the handler. How do I get this argument then??? [CODE=JAVASCRIPT] function doSomething(e) { if(!e) var e = event; //for IE alert(e); //It … | |
Hi, I am hoping some is going to be able to help me here because i am going crazy trying to figure this out. I am trying to code some php to interact with a web service that another company has provided. Below is the php code i have created. … | |
Hello, I have done the code for the final part of the Java Inventory Program in my class. This is the requirements for the final code. • Modify the Inventory Program to include an Add button, a Delete button, and a Modify button on the GUI. These buttons should allow … |
The End.