199,114 Archived Topics
Remove Filter ![]() | |
Can you take a look at this code and see if there is anything obviously wrong with it. It’s just a simple update query to a backend Sybase DB, but it’s not updating and not returning any errors. My updates to an SQL DB are working, so I’m wondering if … | |
Hi, I been using a function for past few months that refreshes or redirects a user after xx time, for example after logging in etc. It workes fine in FireFox but notice that in IE7/IE8 and Google Chrome it does not redirect. I checked in IE and it is enabled … | |
Does anyone know how to change the colour of strings using x86 NASM Assembler? I've found tutorials like this: [CODE] mov ah, 09h mov al, 97 mov bx, 100b mov cx, 01h int 10h [/CODE] Which prints the letter "A" once in the colour you choose. This is a handy … | |
I want to show a menu.As u see in websites,wen we move a mouse over the menu item,Drop down menu appears.How to do that? See in Pic on URL [url]http://www.vbforums.com/newthread.php?do=newthread&f=31[/url] | |
I am migrating scripts from UNIX server to a Linux. In the perl script it calls rcp to transfer files. It worked ok in UNIX but not in Linux, which has scp, I dont want to do scp now as this is a temporary Linux Box I am using. I … | |
I have been assigned to write an algorithm. I would like to know if there is a way I can get some of you to look at it and tell me if I am correct. I know according to the rules I am not just suppose to post my work. … | |
[ICODE] * Don't use system("pause") to pause your program if possible. Use getchar( ) if you are using C and cin.get( ) if you are using C++. [/ICODE] Why is that? A reasonable explanations for those tips would help to learn. | |
Hi all, I would like to know is it possible for php do the images matching?Example, user upload the image and search from similar/ same picture? Thanks | |
Hey guys i've tryed to find how to do this the best way but it failed. So i want to ask the experts here: How to add a new line of text to a edit control. Example: I have alredy some text in the edibox and i want to add … | |
Is pass by value and call by reference the same? I mean i know theres no call by reference in C but there is similarity int he output of the two isn't it? why do we use call by value and pass by value? what are its uses? | |
Can anyone teach me on how to create a program that counts spaces entered in a string..... | |
Please spot the errors and right the correct code back . Thanks in advance amit kumar[code]#include<stdio.h> #define max 10 typedef struct { char entry[max]; int top; }stack; int stackfull(stack *s) { if(s->top==max) return 0; else return 1; } int stackempty(stack *s) { if(!(s->top=-1)) return 0; else return 1; } void … | |
My code is an expression tree program, in which I make treenodes pointers and push them in the end all into the 1st spot of a stack, in which is declared in my header file of the program. I wipe all the treenode pointers with a recursive traversal. Is this … | |
[B]Hello![/B] I am writing a c++ code for displaying a 3D cube. I have some small problems with arrays. I want to initialize just some interval of array. Example: [COLOR="Green"]int array[10][10]=0; //now I want to initialize just an interval array[0][5] TO array[0][8]=1;[/COLOR] ___________ I know that in place where the … | |
I want to implement FIX protocol in C#. Can anyone tell me what documents should I read to implement this protocol? Also, if there is any library available in C# to implement this protocol, it will be a lot help. | |
which one is difficult among development platform to learn J2EE or Dot Net and make a career out of it? who is a gifted one a J2EE developer or a Dot Net Developer? | |
I wonder something about finding a specific character in a string. What I am trying is to find "*" and if that character is found in the string, I will write "Found" to a file. When running the code below. All this is happening but the same thing is happening … | |
im just so stressed and having a mind block.. i have code please help [CODE]#include <stdio.h> /*pre-defined processor statements*/ #ifndef __OPERATION__ #define __OPERATION__ #define TOTAL 0 #define ADDITION 1 #define SUBTRACTION 2 #define MULTIPLICATION 3 #define DIVISION 4 #define MODULAR 5 #endif int main() { /*assign the variables*/ int num1 … | |
Hi I use Visual 08 ASP.NET C# and JavaScript I would like to do the following validation on a text box the length MUST be 12 characters long in the following format LLLLLLNNNNNN Where L = Letters N = Numbers if the users input does not match the required format … | |
[CODE]<%-- Document : AddCity Created on : Oct 6, 2009, 9:14:52 PM Author : Vishal --%> <%@page contentType="text/html" pageEncoding="UTF-8"%> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>JSP Page</title> </head> <body onload="ShowMessages();"> <html:form action="AddPage.do"> <p><a href="HomePage.do">HomePage</a></p> Cityname: <input type="text" … | |
hi i have a question about formatting combo boxes. i have 1 combobox on the form with a label and a calculate button, the combo box is layed out like this 180 / 50 like a tyre size. The calculation to be performed is the 1st number X the 2nd … | |
So. I've decided to make a browser based MMORPG. But I need some advice on where I should start with the whole thing... I've got ideas, and knowledge on HTML, CSS and JavaScript. From what I've found PHP and MySQL is needed also, and I know very little on them, … | |
| |
I will be developing an ASP.net website shortly and would like to know what the best environment to work with is. I would like to know what software I can use for coding your ASP.NET sites? (Is it dreamweaver or microsoft web developer) Also I would like to run a … | |
hi all, I am using one javascript function for confirmation in submitting link in database. As we know there is two option comes for confirmation for YES and NO. But when i am clicking NO button then it is submitting the request . But i want when i click only … | |
The html code of the form, and my code are below. I can't get the value to post/submit. Can anyone help? HTML Code of Form: [code]<form method='post' autocomplete='off'> <input type='hidden' name='action' value='grant-revoke' /> <input type='hidden' name='creator_badge_index' value='1' /> <input type='hidden' name='token' value='92dcd92a8bc16f73f330d118ae1ed891' /> <input type='hidden' name='do-grant' value='1' /> <div id='grant-div'><span … | |
Hi, Greetings! I have a problem w/ posting my form onto an internet payment system called enets. they told us that we need to pass them 3 values: amount, txnRef, mid and also, they told us the our system needs to be posting from our domain, site.com lets say. my … | |
I have a newsletter that sends out a notification to members with in 30 days of expiring. The way it works is the script populates an <option> from the members table who fall with in the thirty days. All I want to do is be able mask the $to recipients … | |
hello all, as i know that if we don't want to specify the static path of databse then , we can use "Server.mapPath" like,( in any .aspx page ) [code] str = "Data Source=.\\SQLEXPRESS;AttachDbFilename=" + Server.MapPath("student1.mdf") + ";" + "Integrated Security=True;User Instance=True"; [/code] but my question is that , why … | |
[CODE=PHP]<?php echo "<html> <head> <title>QUIZ-FINALS</title> </head> <body background=fatcat.jpg> <form method=post> <table border=0> <tr><td colspan=3><b>Enter eight Score:</b><br></td></tr> <tr><td><input type=text name=1></td><td><input type=text name=2></td><td><input type=text name=3></td><td><input type=text name=4></td></tr> <tr><td><input type=text name=5></td><td><input type=text name=6></td><td><input type=text name=7></td><td><input type=text name=8></td></tr> <tr><td colspan=4><input type=hidden name=h value=true> <center><input type=submit value=Compute></center></td></tr> </form></table> <br>"; if($_POST['h']==true) { $n[0]=$_POST['1']; $n[1]=$_POST['2']; $n[2]=$_POST['3']; $n[3]=$_POST['4']; … | |
Hi!!! I am using following code in which I am generating the latex format. Here I want to use the combination of characters[A-Za-z], numbers[0-9] ,special charactes(like π ,θ ,α ,β ,γ ,°,+, - ,×,÷,√ ,(,)etc) ,decimal numbers. For entering special characters I have used toolbar Can anyone tell me how … | |
I was wondering if anyone would tell me what I am doing wrong because I'm really stuck and getting really sad :sad: goal: copy contents of oldZipFile.zip and create a newZip.zip with contents of old zip file. Problem: If oldZipFile.zip just contains .txt files, it works. But if it contains … | |
Hi I would like to create a database to classify and control all the photos that I have stored in my computer. It is clear that I need one table PHOTOS with attributes of ID, name, camera and date. Second table would be DATA, including aperture, ISO, fstop, focal length, … | |
Hi, Can anyone explain why my code enters a loop when the length of a file is zero. I would expect that the loop below would not be entered if strFile.Length is zero. strFile = strSubCommittees.Split("|") For i = 0 To strFile.Length - 1 Next i Thanks. | |
I have to update a site that has a few hundred html pages and uses frames. The admin wants to rid the site of the use of frames. I have gotten as far as to replace the frames w/php by including dynamic URL for the navigation menu. Here is my … ![]() | |
Hi there, I'm trying to create a class with whats below. I made it and it works but i need to be able to withdraw an amount from the balance. I'm just having trouble with the layout and whether i got the right idea? Is the underlined area on the … | |
Hi, First of all, I'm no database expert. See me as managing a project where this problem occurs. We are building a system that will enable us to roll out Windows Patches automatically to all Windows systems we manage. We use WSUS on SQL Server 2005/SQL Express. The application will … | |
I want to find the capacity of my data fields....how can i calculate capacity of varchar(10) or int(15)...???? (in kilobytes s or megabytes s) please help..t hankx in advance. | |
We've had an old website move server but am having lots of problems with it, plus it's been nearly two years since I did any PHP so any help would be greatly appreciated. Have sorted some problems out but am stumped by this one. Have stripped the code down to … | |
Now code looks like this... [COLOR="Red"][B]No links(page navigaton links) working...[/B][/COLOR] i think(not sure) problem @ line no 55, 66 & 77...(query part of URL). [CODE]<?php //CONNECTION TO DATABASE! $host="localhost"; // Host name $username="root"; // Mysql username $password=""; // Mysql password $db_name="accounts"; // Database name $tbl_name="login"; // Table name $tbl1_name="details"; // … | |
My code so far opens a text file in a particular format and reads in the data into a structure called salesRecord. There is no problem there. The problem arises when I write the data to a new binary file. Here is the structure: [code=CPP] struct salesRecord { int custNo; … | |
I have been coding for a little bit in VB mostly and decided to try C right all is dandy until I try using a function I am getting a conflicting types error in function encrypt here is my beautiful code [CODE]#include <stdio.h> #include <stdlib.h> int main(int argc, char *argv[]) … | |
how to i use master & detail table concept using datagridview in c#.net. | |
hi I have got a table for "internet access" with user ID, it has 3 columns user ID, starttime and endtime, i want to make another column which will show how many mins or hours that user was logged in to the internet and also add the total time if … | |
I am working on an Oracle homework assignment, working in shell, trying to query a tricky display question my professor has asked for. I will show both tables, and what I have to execute. [code] SQL> describe orderline Name Null? Type ----------------------------------------- -------- ---------------------------- LINENUM NOT NULL NUMBER(3) ORDERNUM NOT … | |
hi i'm using asp.net to create an online order form. i have 4 textboxes and i want to save the information from the textboxes to my database on click of a button. dbName = BikeOrderdb txtQty, txtBikeId, txtBikeName, txtPrice [B]Can you please help me with the code for connecting textboxes … | |
I encountered some code at work that got me thinking. There was a util - class that had some methods that had nothing to do with the state of the class. They were all "util" methods. Meaning that they could all be declared static with [U]no[/U] problem because the only … | |
I want to write to input and click submit on a form, but don't know how to access the elements, given an id. Help :D | |
Hi I am sitting with an flat db file, and need it converted to 3NF Example: ProductID Published Title Authors 1 2000 Car Mech. Bill Meyer, Peter Daniels I have split this structure in 3 tables: Book Author Author_Book In Book I have the following fields: (PrimaryKey)ProductID, Producttitle, Published. In … | |
this php n html code is supposeed to allow editting of property info/details |
The End.