199,114 Archived Topics
Remove Filter ![]() | |
I'm getting a runtime error on a for next loop and need: Here's my code: [CODE]<% for i=1 to Trim(UCase(Request.QueryString("print"))).Count If Trim(UCase(Request.QueryString("print"))) (i) = Trim(UCase(rsAuto.Fields.Item("vin").Value)) Then %> <tr> <td width="10%" height="45" align="center" valign="middle"><%=(rsAuto.Fields.Item("year").Value)%></td> <td width="15%" align="center" valign="middle"><%=(rsAuto.Fields.Item("make").Value)%></td> <td width="30%" align="center" valign="middle"><%=(rsAuto.Fields.Item("vin").Value)%></td> <td width="15%" align="center" valign="middle"><%=(rsAuto.Fields.Item("title").Value)%></td> <td width="25%" align="center" valign="middle"><%=(rsAuto.Fields.Item("ticket").Value)%></td> <td … | |
Hello Experts, I have following tables: Table_1: C_ID Inst_No Paid_Dt 201 2 12/06/2010 [COLOR="Green"]202 2 13/06/2010[/COLOR] 203 3 12/06/2010 [COLOR="Green"]202 3 16/06/2010 [/COLOR] Table_2: C_ID Inst_No Today_Dt 201 2 12/06/2010 [COLOR="Green"]202 2 12/06/2010[/COLOR] 203 3 12/06/2010 [COLOR="Green"]202 3 16/06/2010[/COLOR] Now, from the above two tables I want to display only … | |
How can I create a function similar to Google Buzz or Facebook, where the user types an '@' symbol followed by a username which is then turned into a link? Example: Input is: "Hello, @example_user!" And the output is: "Hello, [URL="http://example.site/profile.php?u=example_user"]Example User[/URL]!" ([url]http://example.site/profile.php?u=example_user[/url]) This, I'm sure, would be simple to … | |
I am new to PHP and really just troubleshooting a migration issue (moving from live working server to new server with this error). I'm not well versed in coding so I apologize in advance if I'm overlooking something stupid simple. Here's the error: Warning: mysql_fetch_assoc(): supplied argument is not a … | |
Hey everyone, I am just starting to learn iteration in Python. I am stuck on an assignment that my teacher gave me. I am supposed to make a code to display this: 1 -2 3 -4 5 -6 7 -8 So far my code is this: counter=8 number=9 while counter>0: … | |
HI everybody, currently I'm using ubuntu linux.If I write program in c using c language.I'm getting a warning message while compiling.So if there any to avoid this, please inform me. | |
Hi, Iam using ms sql server.Iam using a hospital management system .I need to find the last visit of the patient,only the last visit date,How can i do that?I think that it is as same as the latest published text,one of my friend told me,But how can i do that? … | |
We have an exercise and it asks to create a program that will ask the user to initialize 2 character arrays, then compare the value of the variables(or the character array). My problem is with the initialization: I will create 2 char Arrays, then. How can I have the input … | |
I am creating a program that will have a database of schools.. Each months the user needs to add a certain data entry for all schools, like each month the user will need to input how each school scored in a monthly competition. The number of months is not fixed, … | |
Hi, I'm a novice at writing C++ code, most of my experience is in C# and Java. I have tried a bunch of things but I can't seem to figure out the correct way to structure my statements. Rather than try and explain everything I'm doing wrong I will post … | |
Hi, I am to write a C++ date class. I have set up the class. I am able to add and substract to the number of years. The requirements are that I have to do the same for the number of days and the number of months as well. I … | |
Hi all, I've finally gotten a handle on object-oriented programming (it took ages), and I really like it. But I'm still struggling with conceptualizing some things. For example, if I want to make a form using objects, do I make a Form class with a method like startFORM($name_of_action_page, $method), then … | |
hi, Currently i vame across a term "[B]POJO[/B]". I need to know somrthing about that, plz help me to know what is the purpose of using "POJO" in java? | |
Hi. Could you please guide me in performing operator overloading of Unary operator? Just explain the method with an example. Please add the explanation. | |
[CODE]import java.util.*; public class sSfive { public static void main ( String[] args ) { Scanner nix = new Scanner ( System.in ); System.out.print ( "Enter interest rate: " ); float inInt = nix.nextFloat; System.out.println ( "" ); System.out.print ( "Enter number of year: " ); int inYear = nix.nextInt; … | |
Hey guys, I need some help again with this program I've been working on. Basically I'm trying to make it so that a user enters a year and then program prints if its a leap year or not. Here is what I have so far: [CODE]// LeapYear.java // Name public … | |
[CODE] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Net; using System.Net.Mail; using System.IO; using System.Net.Mime; namespace Postcards { public partial class Form1 : Form { //String pathti; public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { //String … | |
i am trying to install developer edition 2000 on xp, but after clicking the autorun file nothing happens, though two processes appear in windows task manager, these are 1) sqlstp.exe 2) setupsql.exe but both are using '0%' cpu use and taking some memory. i tried so many things..really fade up. … | |
hi, If the condition = true How do i select all records stored in .txt (temporary text file) to be updated in sql table How do i do that. Please help Thank You | |
Hi everyone, I am new to PHP and seeking some advice on any decent online courses, tutorial sites and books to help get the ball rolling. I am proficent in xhtml, css and have experience with coldfusion if this helps? Any help would be much appreciated! | |
Hi, I am writing some code to get some data from google suggest api. I am a noob so have run into a problem as my code is retuning blank data. Here is my code [code=c#] public XmlDocument GetData(string phrase) { XmlDocument theXML = new XmlDocument(); try { HttpWebRequest request … | |
I have made a program in c# where the user will input some data and that program should prompt the user to specify the date to view all the appointments of that day.i have made the code but still the problem lies is i can only find that the date … | |
Hi friends, I am migrating VB6 project to VB.Net. I am stuck with these warnings for which I am unable to find solutions. I would be grateful if I get solutions to atleast some of the below warnings. Warnings: ------------- Need VB.Net equivalent for the below code as they are … | |
![]() | Hello Daniweb, it's me (again). I am making a web browser app and would like to have a loading bar. I'm using the default ProgressBar control but I don't know how to program it! Help! Thanks for your help, -Toby -------------------------------------------------------------------------------------- If you put in your two pence worth, then … |
hey guys , i'am just new to java EE , well i am pretty good at java SE , so please i want to know where i can start learning jsp and servlets and if there were books that is pretty simple to understand as i mentioned that i am … | |
i am new in js and i have a problem on auto click a link..after the slide show of the images i want to auto click the last image, is it possible? this code below that i have search it redirect the link without showing the image slide show.. [CODE] … | |
I have written a program designed to show grades in a table form, however my first input isn't working ie, if a enter for the first input 55.5 9, the output does not match this, i really have no idea why, any assistance would be greatly appreciated [CODE]#include <iostream> #include … | |
I have used following code to show records there in a datagridview but it doesnt work. Even it shows nothing. Please check it & tell me what did I make mistake. Please add example with your answer because I am just a beginner. [Code] Imports System.Data.SqlClient Public Class Form34 Private … | |
How can I get results from exec()? Any suggestions appreciated!!! [CODE] #!/usr/bin/python import socket sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) host = socket.gethostname() port = 1234 sock.bind((host,port)) while True: cmd, addr = sock.recvfrom(1024) if len(cmd) > 0: print("Received ", cmd, " command from ", addr) exec(cmd) # here how I can get … | |
This is form that i want to submit and send a mail to my email i have used some codes for that and it doesn't work [CODE] <form id="F2" name="F2" method="post" action="contact/send_contact.php" onsubmit="return validateForm(this)"> <div id="hedding"> <h2>Contact Details</h2> </div> <P><center><?php error_reporting(0); include("init/db.php"); $table=$_GET['hotel']; $id=$_GET['id']; $sql = "SELECT * FROM $table … | |
Hello fellow code heads! I have issues (or so my wife says) but mine stem from the wonderful world of PHP. My web design knowledge is largely based on XHTML and that's where I left the scene. I was recently asked to delve back into the world of web design … | |
Hey All, I am trying to write a php script and would like to have an autosuggest text box with data from a mysql database. This would be for designating a town in a form. The sql query I would use would be. $sql = "SELECT DISTINCT `Town` FROM '".$Table_Name."' … | |
How can I get error message? [CODE] try: ...# some operations except: sock.sendto(err_msg,0,addr) # send client err_msg from exception [/CODE] | |
Its urgent I have a auction script In that bid butler is not working I have code butler.php but depends on cron I dnt know how to run cron to run butler.php each 1 min. Plz help me | |
Hi all, i need some help to carry the data to another page..this is my code to carry the id [CODE] <ASP:HYPERLINK ID="lnkDetails" RUNAT="server" NAVIGATEURL='<%#"Company_vd.aspx?comp_code=" + DataBinder.Eval(Container.DataItem,"CmpCode")%>' TEXT="Details"></ASP:HYPERLINK> [/CODE] it works but i dont know how to use the comp_code on the other page to retrieve other data based on … | |
I had receive the above mention error I have load printer info in first combo box and when select value a event triggered and load values in second combo box using printer info but i am receiving subject mention error. [CODE]Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) … | |
DailyLifeMagazinewantsananalysisofthedemographiccharacteristicsofits readers. The Marketing Department has collected reader survey records containing the age, gender, marital status, and annual income of readers. Design an application that accepts reader data and produces a count of readers by age groups as follows: under 20, 20-29, 30-39, 40-49, and 50+ | |
So what is the deal with int and INT, or float and FLOAT, or unsigned int and UINT. Whats the reason for this, and is there any difference in using one or the other? Thanks | |
In short, I've created a program that when a user left clicks it will create a dot at that location (cursor position). After doing some debugging (reviewing coords printed) it doesn't appear to be a coord problem (not sure though), but a perspective problem (may be displaying improperly). The problem … | |
Hello folks, I have this header file: [code=c]class Agent { private: struct AgentStruct { std::string agentName; double pID; double mID; AgentStruct *nextAgent; } *AgentP; public: Agent(std::string); void SetNextAgent(AgentStruct*); Agent* GetNextAgent(); void SendMessage(); void ReceiveMessage(); };[/code] and I have the implementation here: [code=c]/* * The constructor we are required to implement. … | |
Hello, What is the best hashing for password and what is the best encryption for credit card (of course we will need to decrypt it later) ? Also I would like to know, how did people usually generate salt ? I always heard about md5+salt but how did they usually … | |
Hello I passed to functions and I have the next exercise. you are expected to write a program that computes the sum of all the integers in a range specified by the user. In addition to the main function, there should be a function that accepts two parameters that specify … | |
Can someone work with me on this program. I will put the instructions first, then my code, then the errors [B]INSTRUCTIONS: [/B] Create a program to enter grades and calculate averages and letter grades. 1. Need a class which will contain: a. Student Name b. Student Grades (an array of … | |
I'm trying to write a code for class that basically takes a 4 digit input, scrambles the the places of each number so that the first digit is in the third digits place, and add 7 to each number. This is supposed to be simple encryption. I know my functions … | |
Hello, I recently started a c++ class, and one of the assignments is that we need to create a c++ program which converts Fahrenheit to Celsius. I have succeeded into doing just that, but I need to validate user input's values, meaning that the program must reject any entries that … | |
I have a tabbed activity as my main class and 3 activities that it has as tabs. I've been googleing this but no luck so far. One of my activities has a thread that runs and gets messages from the telnet thread via a queue. Without going into that to … | |
I am getting an error when trying to build. Error is that ReneApp.Item does not contain a definition for Item and no extension method 'Item' accepting a first argument could be found. Any assistance would be greatly appreciated. I am new to C3 and this is my first try at … | |
I have been working with my final project for about 3 weeks now and its due by 10am tuesday. Currently I am receiveing cannot find symbol errors. I know this is something simple. Please help. [B]INSTRUCTIONS[/B] Create a program to enter grades and calculate averages and letter grades. 1. Need … | |
Hello everyone, I have an assignment that I am working on for a class at my school. I have to write a program that will open a .txt file and read/copy the code to a string. This is probably really easy, but I guess my knowledge thus far is a … | |
Is there a way to dynamically add a menu to a window using win32 API rather then using a resource? Ive done some googling, but all i can find is the resource method. Thanks |
The End.