199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ingbat

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 …

Member Avatar for ingbat
0
100
Member Avatar for genieuk

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 …

Member Avatar for genieuk
0
156
Member Avatar for MichaelSammels

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 …

Member Avatar for NotNull
0
4K
Member Avatar for sandeep_1987

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]

Member Avatar for shenulal
0
198
Member Avatar for axn

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 …

Member Avatar for axn
0
915
Member Avatar for unsure

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. …

Member Avatar for unsure
0
125
Member Avatar for neithan

[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.

Member Avatar for marco93
0
674
Member Avatar for roti_john

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

Member Avatar for roti_john
0
102
Member Avatar for ChaosBG

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 …

Member Avatar for marco93
0
400
Member Avatar for makymakaru

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?

Member Avatar for Tom Gunn
0
103
Member Avatar for javapal

Can anyone teach me on how to create a program that counts spaces entered in a string.....

Member Avatar for mrnutty
0
102
Member Avatar for amit.kumar

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 …

Member Avatar for mrnutty
0
110
Member Avatar for killerqb

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 …

Member Avatar for csurfer
0
76
Member Avatar for Damirz

[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 …

Member Avatar for mrnutty
0
273
Member Avatar for sahmed

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.

Member Avatar for sahmed
0
99
Member Avatar for auhuman

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?

Member Avatar for Rashakil Fol
0
102
Member Avatar for Jennifer84

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 …

Member Avatar for dpreznik
0
147
Member Avatar for geoffy0404

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 …

Member Avatar for Aia
0
128
Member Avatar for cVz

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 …

Member Avatar for guru_sarkar
0
1K
Member Avatar for vishalanuj

[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" …

Member Avatar for ~s.o.s~
0
1K
Member Avatar for revski

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 …

Member Avatar for revski
0
149
Member Avatar for Kairu

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, …

Member Avatar for athlon32
0
155
Member Avatar for ayeshawzd
Member Avatar for matthewcar

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 …

Member Avatar for guru_sarkar
0
197
Member Avatar for gagan22

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 …

Member Avatar for omar83
0
328
Member Avatar for SuperMetroid

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 …

Member Avatar for SuperMetroid
0
173
Member Avatar for decentsimple

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 …

Member Avatar for decentsimple
0
328
Member Avatar for jimSp

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 …

Member Avatar for jimSp
0
170
Member Avatar for john_beginner

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 …

Member Avatar for john_beginner
0
366
Member Avatar for masterjiraya

[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']; …

Member Avatar for poojamakhija
0
137
Member Avatar for vinnijain

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 …

Member Avatar for vinnijain
0
337
Member Avatar for queen

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 …

Member Avatar for rg.crichton
0
143
Member Avatar for ana.gr

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, …

Member Avatar for ana.gr
0
170
Member Avatar for jamesrobb

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.

Member Avatar for jamesrobb
0
113
Member Avatar for Sagitarian

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 …

Member Avatar for diafol
0
124
Member Avatar for thehivetyrant

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 …

Member Avatar for Gribouillis
0
138
Member Avatar for MacAdam

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 …

Member Avatar for MacAdam
0
159
Member Avatar for jrosh

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.

Member Avatar for jrosh
0
119
Member Avatar for mjenn2

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 …

Member Avatar for mjenn2
0
98
Member Avatar for nadnakinam

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"; // …

Member Avatar for nadnakinam
0
139
Member Avatar for Reprise

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; …

Member Avatar for dkalita
0
8K
Member Avatar for Sapreaver

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[]) …

Member Avatar for Sapreaver
0
5K
Member Avatar for kool.net

how to i use master & detail table concept using datagridview in c#.net.

0
84
Member Avatar for kazitula

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 …

Member Avatar for Drlionheart
0
145
Member Avatar for danielle23

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 …

Member Avatar for Drlionheart
0
212
Member Avatar for athalia

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 …

Member Avatar for athalia
0
116
Member Avatar for javaAddict

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 …

Member Avatar for javaAddict
0
127
Member Avatar for claudiu_is

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

Member Avatar for claudiu_is
0
100
Member Avatar for hasse76

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 …

Member Avatar for Drlionheart
0
90
Member Avatar for dokinah1
Member Avatar for poojamakhija
0
263

The End.