199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for sakhi kul

Hi to all , I am developing website in asp.net2.0 using VB. I wrote sored procedure, [code] ALTER PROCEDURE SELECTSC ( @cid INT ) AS BEGIN SELECT sc FROM collage_detail WHERE c_id=@cid END /* SET NOCOUNT ON */ RETURN [/code] and in vb I wrote on button click, [code=VB] cmd.CommandType …

Member Avatar for sakhi kul
0
85
Member Avatar for sakhi kul

Hi to all, I format my laptop and installed VS2008 . after running my webpage it gives me error that "compiler executable file csc.exe not found" (It is for previously build website) and if I create new website and run then It gives error that vbc.exe not found" why this …

Member Avatar for sakhi kul
0
98
Member Avatar for CD-4+

[code]#include<stdio.h> # include<stdlib.h> struct manager { char name[10]; int age; int salary; }biocon,panacea,serum; manager *p; int opt; int main() { printf("DATABASE FOR BIOCON manager\n"); printf("Please enter name: \n"); scanf("%c",biocon.name); printf("Please enter age: \n"); scanf("%d",&biocon.age); printf("Please enter salary: \n"); scanf("%d",&biocon.salary); printf("DATABASE FOR PANACEA manager\n"); printf("Please enter name: \n"); scanf("%c",panacea.name); printf("Please enter …

Member Avatar for Ancient Dragon
0
103
Member Avatar for JonJacobs

I have a Web page named Menu.aspx on which I have a (gasp) Menu control. It is bound to an XMLDataSource control, which is bound to an XML file. My problem is that clicking the menu item does not navigate to another page. It just flickers and re-displays the current …

0
103
Member Avatar for Pleasant Day

My web site will be on their hard disk, but the font I use will not be added to their C:\WINDOWS\FONTS But I want them to be able to see my non default font, Though I can put the font in the directory of the web page. Can this be …

Member Avatar for Pleasant Day
0
142
Member Avatar for mr.dangerous

I am able to insert MP3 files on web page but I want to display a list of 10 songs and user may select anyone. The selected song must be played in the player on the web page(I dont want separate player for every song. is this possible?) am posting …

Member Avatar for almostbob
0
94
Member Avatar for aditi_19

I have a question : When i combine php and javascript as in the code below, my current php page does not navigate to timesheet.php until i write document.write() in my javascript code? Why is it so? It slows down reloading the form and a white screen also flashes before …

Member Avatar for aditi_19
0
148
Member Avatar for pymatio

Attached is a project that lets you control a sports league. If you enter these teams: [CODE] FOO A FOO B BAR BAZ [/CODE] & the restart the program it should print out something like this: [CODE] FOO A vs BAR FOO B vs BAZ [/CODE] but it doesn't it …

0
85
Member Avatar for turtail

I have a problem to understand the following code. Can anybody please help me to understand it. indication = MediumIndication::IDLE; catIndication = bb->subscribe(this, mi, getParentModule()->getId()); catRadioState = bb->subscribe(this, cs, getParentModule()->getId()); catDroppedPacket = bb->getCategory(droppedPacket); Specially, in this "bb->subscribe(this, mi, getParentModule()->getId());" part. Here 'MediumIndication', is a Class, 'mi', 'cs' are object of …

Member Avatar for Ancient Dragon
0
133
Member Avatar for gamshid

good evening i have a question plz . i wanna to display a link in my web site when the user click on it a pdf file is opened in the browser. but i dont want the user to print or copy or use "save as" properties is there are …

Member Avatar for almostbob
0
1K
Member Avatar for jrosh

I stored two time values in mysql data as 'starttime' & 'endtime'. I have another column to store the' duration '(which will contain 'endtime-starttime') Is there a way to add values to ' duration ' automatically when I insert values to 'start time' & 'end time'. I use WAMP ..I …

Member Avatar for pritaeas
0
120
Member Avatar for why1991

I have my code and it compiles, and makes sense to me, but I must have something wrong because it only puts out 0's on everything except 1. There is something I am missing, and I don't see it yet. [CODE]import java.util.Scanner; public class MyBestFreon { static int max; static …

Member Avatar for VernonDozier
0
175
Member Avatar for jhanjon

I have the following code to fetch images from an SQL data where a "gallery" id is set and a "artworks" id is set. BTW the "artworks" is really the images which I want to display. I am able to display the first image OK, however the "next" and "before" …

Member Avatar for network18
0
149
Member Avatar for specialk423

Hi, I'm having trouble with writing this statement as an INSERT function instead of UPDATE. [CODE=php] $sql = " UPDATE tbl_category SET " . ($cat_parent_id == 0 ? "sub_cat_name = '$name'," : "cat_name = '$name',") . "cat_description = '$description', cat_image = $catImage WHERE cat_id = $catId";[/CODE] Sorry if this is …

Member Avatar for baki100
0
169
Member Avatar for MrNoob

hey i m here supposed to extend calculator of K&R to support getline i made it but i dunno everytime i keep getting 0 poped not the numbers itself i debuged it i couldn't find where the bug is so hopefully someone will tell me what i m doing wrong …

Member Avatar for MrNoob
0
165
Member Avatar for nadnakinam

hi to all, this might be very simple, but i don;t know how to get correct output, someone help me to complete it... [B]1st i need to get result from this query[/B] [CODE]$sql="SELECT * FROM $tbl1_name WHERE sex='$show_all'"; $result=mysql_query($sql); [/CODE] this'll result either all the boys or all the girls; …

Member Avatar for nadnakinam
0
118
Member Avatar for sireesha.c

Hi, i am working on splitting .wav files with bitrate 13 kbps,mono, sample rate 8 khz and audio format GSM 6.10.my code is like this private void SplitFile(string FileInputPath, string FolderOutputPath, int OutputFiles) { string inputFile = FileInputPath; // Substitute this with your Input File FileStream fs = new FileStream(inputFile, …

Member Avatar for DdoubleD
0
499
Member Avatar for Sjaroow

Hi all! In the following code the Onclick events change the background images. My problem is that after you click on another link i want the previously changed backgrounds to change back to its original background image. I hope i made some sense :P. Help is MUCH apreciated. Gr, Jarl …

Member Avatar for Sjaroow
0
106
Member Avatar for rp_prasanna

I just have to increment values from 0 to 23 using <c:foreach> tag in select box. This is the code snippet <html:select property="schStartTimeHH" styleClass="tableDataTextStyle1"> <c:forEach var="i" begin="0" end="23"> <html:option value ="<c:out value="${i}"/>"><c:out value="${i}"/></html:option> </c:forEach> </html:select> the value of the option tag is hitting an error. Can any one suggest the …

Member Avatar for Thirusha
0
1K
Member Avatar for dudegio

Hello guys! Anyone that has an idea on how to store audio files in any format in MySQL database and downloading them when clicked during the retrieval or display of the said audio file, please help me. I've been looking it in the internet but mostly just storing images and …

Member Avatar for vinay1989
0
94
Member Avatar for allensmith

I have to manipulate strings so that, we need to check if a string needs to be combined with another string. Need to use a library function for this. Suppose, we have S1. This is an apple s2. apple is sweet so, the combined line should be: This is an …

Member Avatar for c coder
0
90
Member Avatar for naziatarannum

Hi, can anyone please help me on this. I dont understand as to why am getting this error.. Please, please help on this! fortesting purpose I have commented certain lines.. [CODE]"Pre_s2a_leadtime.sh" 55 lines, 1233 characters #!/bin/csh # Check if program is already running and echo a time stamp for the …

Member Avatar for naziatarannum
0
772
Member Avatar for hery

Hello, when i input to database show error cannot convert type varchar to type numeric.. I' m using convert(numeric, quantity). Where my quantity is empty. Please help me. Thanks

Member Avatar for manoshailu
0
114
Member Avatar for benkyma

I need to query a database of application titles and count the instances of each title. I've already got a list<string> of distinct values from a previous query, and now I need to count how many times each value occurs. I'm not sure if the query is correct, or how …

Member Avatar for benkyma
0
321
Member Avatar for neithan

I'm new to C++, and i've seen some C and C++ code. I tried array[] and vector<> so i see i can use both, why should i use what way to work with vectors? Furthermore, i've seen a lot of "array[]" in this forum... so, any lead? Thank you! Oh …

Member Avatar for neithan
0
385
Member Avatar for masocha

Can anyone tell me where l can get an open source Enterprise Architect software or similar UML modeling tool.

Member Avatar for Ramesh S
0
83
Member Avatar for gaz

hi i am trying to change some divs with the time however i seem to have gone wrong at some point and cant seem to figure out where. Please excuse the writting in them i am going to change it thanks.[CODE] <script type="text/javascript"> /*<![CDATA[*//*---->*/ var one, two, three, four,five, six, …

Member Avatar for network18
0
100
Member Avatar for jakesee

hi, just want to ask, is it possible to restrict friend acess to a single class member function only? in other words, if class A grant class B friend access to class A member function, then class B can call that class A function. *note: this is suppose to be …

Member Avatar for dkalita
0
135
Member Avatar for dhaval_shah

I've created the following generic method [CODE] protected int GetSpecifiedIndexByName<T>(T collection, string itemName) { int count = 0; foreach (MyElement claim in collection) { if (itemName.Equals(claim.Name)) { return count; } count++; } } [/CODE] Which is called by [CODE] int index = GetSpecifiedIndexByName<MyCollection>(claimColl, itemName); [/CODE] However, when I compile this …

Member Avatar for dhaval_shah
0
175
Member Avatar for katamole

A quick question: I have been writing a small program to simply read a file and send to cout. [CODE]#include <iostream> #include <fstream> using namespace std; int main() { char ch; ifstream in_stream; in_stream.open("self.cpp"); while(!in_stream.eof()) { cout << ch; in_stream.get(ch); } in_stream.close(); return 0; } [/CODE] This works ok, except …

Member Avatar for dkalita
0
2K
Member Avatar for Anupama G

I have a textbox which is present inside a gridview.The text box should take only date in mm\dd\yyyy format as its input.Can I do this without using any validation controls???

Member Avatar for Anupama G
0
113
Member Avatar for bobsta

Hi, I am writing a geometry engine using homogeneous coordinates (4D representing 3D Euclidean coordinates) used for perspective projection. This is handled by two classes a 4-Vector "fourVector" and a 4x4 Matrix "fourMatrix". For speed I have not (yet) separated class and member function declaration from definition. [CODE]class fourVector{ public: …

Member Avatar for dkalita
0
144
Member Avatar for Rakesh Nagekar

Hello Good Afternoon guys I am looking for querystrings can anyone please give details on that i looked on google but did not get effective results so please helpme Thank u in advance

Member Avatar for network18
0
112
Member Avatar for coboldeveloper

I am also having problems in mail(). My php.ini values are (sendmail_from:"no value", SMTP:"localhost", smtp_port:"25"), my code is very simple and is as below - [code=php]<html> <body> <?php if (isset($_REQUEST['email'])) { //send email $email = $_REQUEST['email'] ; $subject = $_REQUEST['subject'] ; $message = $_REQUEST['message'] ; if (mail( "kathie_hkg@yahoo.com", "Subject: $subject", …

Member Avatar for network18
0
94
Member Avatar for vidhyaponnusamy

Hi I got the current time as follows $time=date("h:i:s") i got the result as 02:38:05 i want to add 10 mins with this time how can i add that,help me out Regards, Vidhya

Member Avatar for network18
0
89
Member Avatar for Sheridan

Is there a way of disabling the browser back/forward buttons using PHP? Or is there a way of destroying the memory or history that the back/forward buttons use to traverse previously visited pages?

Member Avatar for network18
0
68
Member Avatar for M Arifur Rahman

I want to get the reverse of the 5 digit number but i'm not getting it. I don't know where is the problem.I'm a beginer.In my book book there is a similar kind of problem where it's mentioned that the input value should be less than 32767.my question is why? …

Member Avatar for c coder
0
105
Member Avatar for sanjaypandit

[QUOTE]hi friends i am making a website depend on review on tourism places, but in it some weather data is needed according monthly for e.g. see this link [URL="http://www.holidays-uncovered.co.uk/united-kingdom/england/london.html"]Weather Link[/URL] in this u see there is a chart of avg. weather conditon of london city. i want show these data …

Member Avatar for network18
0
216
Member Avatar for michael123

how can I pass GET url which contains character "?" to php file. for example I have url: [url]http://www.mysite.com/file1.php?string=file2.php?a1=1&a2=2&a3=3[/url] I want to pass all string "file2.php?a1=1&a2=2&a3=3" into file1.php now on file1.php, if I use $v=$_REQUEST['string']; echo "$v"; I only get file2.php?a1=1 it lost rest "a2=2&a3=3" how can I fix this …

Member Avatar for network18
0
120
Member Avatar for shamseerazeez

I have a website with three prouct pages. I only use one support page where users have a form facility to enter their information. Each product page includes sublink like features, benefit, support. My problem is when a user click on a support link (exactly from a product page) it …

Member Avatar for shamseerazeez
0
121
Member Avatar for swolll

Do any of you have aim or google talk or email that I could ask some C++ questions through?

Member Avatar for ithelp
0
93
Member Avatar for xyz12

Hiiiii I m making an window application, in which i have written some text in the text property of the form, but i want that when application is running, in that case form text should not be displayed..... And i don't want to use the form property: FormBorderStyle-->None, Because in …

Member Avatar for xyz12
0
114
Member Avatar for saintb

trying to make a program(game) for two players. the game has an interface and three text fields "player1","player2", and "winning amount". the interface also has a button called rand which when pressed generates random numbers from 1 to 10 and assigns them to a particular field. assuming that the first …

Member Avatar for ithelp
0
515
Member Avatar for fazzer2

Hello people I have jusrt recently started to study C/C++ and I am using Borland 5.02. I am having a problem examining my outputs. when I run a successfully compiled program the Dos window that I should read my print from flashes on then flashes off:'( and I do not …

Member Avatar for fazzer2
0
157
Member Avatar for goboman

ok so im making a program that finds postage rate according to its weight and category. The category is standard for weights under 50g and other for over 50g. If the user enters a weight out of its category it will say error and close. and it only works for …

Member Avatar for jice
0
90
Member Avatar for pelupelu

I am having a hard time identifying numbers in a text. Is there a way to recognize numbers?

Member Avatar for jice
0
86
Member Avatar for avirag

I have made an application in which there are two textboxes such that as I am writing in first textbox ,it automatically appears in second textbox. Like for enter key we can apply any functionality on enter key press event ... Is the same thing possible for spacebar key too...... …

Member Avatar for avirag
0
908
Member Avatar for Superfat

Is there a way to tack a variable onto the end of a print.drawString so it would show up like Text: <variable> Or: [CODE]page.drawString ("Text: " object1, x, y);[/CODE] Where object1 is the variable. I tried doing that, but i get an error ")" Expected on that line, i suspect …

Member Avatar for tonyjaa
0
104
Member Avatar for prince23

hi, I would need to create a website that has all the screens using Flash. The Flash screen would be having authentication system and get few data like Menu info, image info.................. Just wondering what is the way that Flash & .Net can talk. Application front end: Flash Platform: .Net …

Member Avatar for kvprajapati
0
198
Member Avatar for KimJack

Hi all, I wondering how to get started with this. I am working on a method that will take two ints. These ints represent positions in an arraylist of characters. I am trying to determine if the elements of the two positions are equal. If, so display the elements, if …

Member Avatar for masijade
0
161

The End.