199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for kirtan_thakkar

I have a database some short notes in a .txt format file and i have created a php webpage that includes a txt file in html format. Now I have to use "Next" and "Preview" links for that .txt format files. Can anyone suggest me the php or JavaScript code …

Member Avatar for kirtan_thakkar
0
161
Member Avatar for ayesha789

Dears I have Developed a System for UPLOAD PDF files in Database. [INDENT]I Require to rename the file as LA when file is Uploaded in DB.[/INDENT] Here is my Form [CODE]<form enctype="multipart/form-data" action="dS.php" method="POST"> <tr> <td><table width="98%" border="0" cellspacing="0" cellpadding="0" > <span class="style7 style1">Site Id</span><input type="text" name="id" value="" /> <tr> …

Member Avatar for ayesha789
0
1K
Member Avatar for mayank.15

I am working on a project in which i have to crawl through a number of *.jsp files and index some data from them. These files contain links to other jsps and .wav files. However, these links are of the form $root_dir$/<%=language%>ABC.wav, there language is a variable defined in the …

Member Avatar for jwenting
0
130
Member Avatar for Alerwiali

Hello ..i am trying to get the factorial of large integers but i get 0 every time i try,,can anyone tell me why ,,,Thanks in advance . [CODE]#include<stdio.h> #include<conio.h> int factorial(int n); //main main() { int x,fact; printf("Enter a positive interger \n"); scanf("%d",&x); fact=factorial(x); if (fact==-1) printf("the number is not …

Member Avatar for Alerwiali
0
114
Member Avatar for CsKe

Hi! Im using a webbrowser control, and i want to read the html source immediately, as it arrives in more parts, dont want to wait until the whole document downloaded. I look for an element with specified id, and when its present in the arrived part of html, invoke click() …

Member Avatar for CsKe
0
127
Member Avatar for sniper1983

Hi, When I have a class that has an object variabel where other types is in. When I send a web-request to the server and gets the variable, it works fine when the data is set to known-types. The problem is when I want to use the data in the …

Member Avatar for sniper1983
0
78
Member Avatar for slyme

I have seen the mail function preceded with an @ symbol. I have tried it in my code and I cannot see what difference it makes. I have searched Google and the PHP documentation and I have not been able to find an explanation for this @ symbol. Would someone …

Member Avatar for slyme
0
98
Member Avatar for Rohit V Gupta

Hi, I am doing one mobile application. In my Application, i need to generate a report from the database which is on server side in mobile phone. I have no idea about this.So, if any one know, how to do this, please help me. Advance Thanks for your useful replies. …

Member Avatar for Rohit V Gupta
0
98
Member Avatar for niths

hi all, i had a page where we can upload files.so when i upload pdf,wmv,win files, they are not uploading. but the rest like txt,doc,jpeg are uploading fine. so i need pdf,wmv,win files also upload. so can any one please... here is my upload code. [CODE]<?php ob_start(); @session_start(); require_once ("check.php"); …

Member Avatar for json101
0
118
Member Avatar for Anish Vatsya

I have one alias file which is acting as a wraper to XML. <Alias name='Type'> <Xpath>@subType</Xpath> </Alias> generally this return MEConsumed or MEResource. I want the behaviour that if @subType=MEConsumed then it should return CON and when @subType=MEResource then it should return "REF". Help me with this .. i am …

Member Avatar for Anish Vatsya
0
137
Member Avatar for saj_amo

hi friends, i have one string field in which i am converting time value and value of that string is "-1:00:00" but i want that in my report it checks that if that field contains negative value than converts it in positive please help me out.

Member Avatar for saj_amo
0
81
Member Avatar for iamchamith

hi friends, i am new for asp with ajax... when i use ajax controls in my asp page like ScriptManager || UpdatePanel , there is a error message show,that asp components are not recognized...Then I search in google for get help,They told me set [B]ajaxcontroltoolkit[/B] in my web application... I …

Member Avatar for iamchamith
0
262
Member Avatar for MitkOK

Hello. I know that there are many ways to convert date in PHP, but i use those to two convert from/to MySQL DB.

Member Avatar for asimshahiddIT
0
198
Member Avatar for judithSampathwa

hi there, i have a datagridview view in a C# .NET form and when in the run time when i want to select the the combo box i have to click on it for 3 times, y is this. how ca i make it to drop down the items in …

Member Avatar for finito
0
102
Member Avatar for genux

hi all, I kinder got bored with software development for a bit and was not until I noticed CS106A(Java based) and the CS106B (C++) which has really re-light my developer bug as such.. was wondering what other courses can people recommend to keep that bug keep on going ?

Member Avatar for genux
0
72
Member Avatar for Z_KiNGPiN

Can anyone help me out in calling a JavaScript function from ASP.Net or if anyone can direct me to a good site/tutorial defining things in detail example (working) code would also be great great benefit :) Thank you

Member Avatar for Z_KiNGPiN
0
185
Member Avatar for rics

I have placed three comboboxes on PHP form. One for Year, one for month, one for year. How do i pick values from these three combos and concatenate them & transfer them to Dateofbirth field in Mysql table. Please give code.

Member Avatar for urtrivedi
0
136
Member Avatar for vibhaJ

Hi All, I want to display local time on the page based on user's selected country. Is there any [B]FREE [/B] API available for getting local time of any country. Input may be whatever, country or longitude and latitude.

Member Avatar for vibhaJ
0
116
Member Avatar for shailendra_agra

Hi Guys, Anybody tell or give me the code for show and play video in PHP. Reply as soon as possible.....

Member Avatar for vibhaJ
0
90
Member Avatar for niths

hi all, i am having some check boxes in my page. so i dont know the number because it is cuming from data base, so i need a javascript validation for this check boxes because he should check atleast one check box. so can any one please... here is my …

Member Avatar for niths
0
106
Member Avatar for procomp65

Hi I get data from a serial port in ascii characters. only numeric characters are allowed and I check for illegal characters with regular expressions. This part works fine and if an illegal character presents itself the regular expression method catches it and display them in variable m. then I …

Member Avatar for AnthonyMG
0
149
Member Avatar for web3

I am new to Javascript and I don't want to use frameworks. I found a tutorial on how to make this: [CODE]<html> <head> <title></title> <script src="jquery-1.4.2.js" type="text/javascript"> </script> <script type="text/javascript"> $(document).ready(function() { $("div#msgbox").hide(); $("#addComment").click(function (){ $.post('index1.php', { name:$("#name").val(), //PHP recognize it like POST comment:$("#comment").val() //PHP recognize it like POST }, …

Member Avatar for rajarajan2017
0
172
Member Avatar for Edvin76

The Xml: Micfosoft(TM)'s modified Books.xml: The price attribute of the last book item was modified by me, now it appears two times, once as attribute of book and second time as a separate item inside the book item. [code=xml]<?xml version='1.0'?> <!-- This file represents a fragment of a book store …

Member Avatar for Edvin76
0
169
Member Avatar for LevyDee

Hi, I'm trying to iterate through an stl list object list(customer being my struct that holds the name, age and gender variables[customerList being my list]), but I'm getting an error. [code] void store::listCustomers() { vector<customer>::iterator it; for(it = customerList.begin(); it != customerList.end(); it++) { cout << it->name << endl; cout …

0
57
Member Avatar for gymangel812

I am doing a database search using php. Everything works rights except when I just press the enter button (not searching anything) or a match is not found. In those two situations, I want a message displaying no items were found. Currently, when I search for nothing by pressing submit, …

Member Avatar for urtrivedi
0
344
Member Avatar for samuel_1991

Hi, I am creating a forum which has 2 linkbuttons in [I]each gridview row[/I] that shows each posts. One is edit and the other is reply. I intended to have 2 different actions when the button is clicked. The problem is, I can only click either of them once. Subsequent …

Member Avatar for samuel_1991
0
140
Member Avatar for rukshilag

ive been coding the plain old procedural way in php and i want to move that code to object oriented. can i just simply use my currently written php code into a function and then call it? pleas let me know an easy way to make my normal php code …

Member Avatar for jenyroger
0
207
Member Avatar for tom3.14

Hello, I'm in need of color highlighting individual words with in a tooltip. I'm thinking that the standard tooltip in c# can't do that since it looks like it just takes a unicode string. (Is that correct or is there some gucci way of getting around that?) I did some …

Member Avatar for Teme64
0
792
Member Avatar for tyson.crouch

G'day, Before i start, i have to admit that I'm out of my element when dealing with javascript! I've been developing a site for a travel agency, and opted to use some of the UI elements which can be found in jQuery. The problem is however, that when I move …

0
89
Member Avatar for Odubz

Hello, I have looked over many examples of how to populate a dropdown with rows like [code=php] $sql="SELECT id, thing FROM table"; $result=sqlsrv_query($conn,$sql) or die("Couldn't execut query"); while ($data=sqlsrv_fetch_array($result, SQLSRV_FETCH_ASSOC)){ $id=$row["id"]; $thing=$row["thing"]; $options.="<option value=\"$id\">".$thing "</option>"; } [/code] But i need to populate this list with tables and will need to …

Member Avatar for jenyroger
0
2K
Member Avatar for JaimeSharp

Now I HAve Written The following Programs [CODE] # include <iostream> # include <string> # define MAXSIZE = 300 using namespace std; bool findTitlePrice(string allTitles[300], double allPrices [300],int totalRec,string title,double price); string allTitles[300] = { "Book 1", "Book 2"}; double allPrices[300] = { 78.5, 66. }; int main () { …

Member Avatar for JaimeSharp
0
263
Member Avatar for sampath naik

my leave table: Field | Type | Null | Key empID int(11) NO EMPDETID int(11) NO Leave_ID int(11) NO LEAVEDATE datetime NO FIRSTHALF tinyint(3) unsigned NO SECONDHALF tinyint(3) unsigned NO REQPENDING tinyint(4) YES APPROVED tinyint(4) YES REJECT tinyint(4) YES my lev_definition table: Field Type Null Key LEVID int(11) NO PRI …

Member Avatar for tyson.crouch
0
106
Member Avatar for idlackage

Labels would not show up in the output window. The red highlighted code is where said labels get added to the window. I can't tell what's wrong with the code and I've looked at it over and over. [CODE]import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.JLabel; import javax.swing.JButton; import java.awt.BorderLayout; import java.awt.GridLayout; …

Member Avatar for idlackage
0
241
Member Avatar for bigcheesy

Hello, I am having some trouble figuring out an assignment I was given in class. I am not looking for any code, but need a better explanation that what the teacher has given. Basically the program will calculate the number of days between any two days from 1/1/1900 through 12/31/2099, …

Member Avatar for JeyHey
0
7K
Member Avatar for jakx12

So I have a boolean representation and inside that representation contains shapes. All the points of the shape must be true in the boolean array. For some reason its not putting the points on the array. Here is my code, please help me! [CODE] for (int d = 0; d …

Member Avatar for leiger
0
125
Member Avatar for aryansmit3754

could somebody tell wats wrong with this #define FOR(x,n)for(typeof(x);x<n;x++)

Member Avatar for mrnutty
0
205
Member Avatar for abhi74k

[CODE=c++] class A { int num; public: A() {} A(int _num) : num(_num) {} A operator + (const A & ob) { return (num+ ob.num); } }; int main() { A ob1(1); A ob2(2); A ob3(3); A ob4=ob1+ob2+ob3; } My doubt is in ob1+ob2+ob3 . First ob1+ob2 is evaluated and …

Member Avatar for Aranarth
0
150
Member Avatar for tjcares

I I am trying to make a site checker for my traffic exchange Now i was able to get this to work [CODE] SELECT*FROM vtp_urls where ID=326 [/CODE] and it puled up the right file and everything so I search the web for a way to display the url so …

Member Avatar for scaiferw
0
158
Member Avatar for new2programming

I am making a jump and run game- i want my sprites to collect items that are worth points. I want these items to be randomly generated on my tile map. Does anyone know how i can do this? I am using Visual C++ with SDL

Member Avatar for Aranarth
0
95
Member Avatar for MrAlshahawy

Hi all , I'm new here and new in Python for symbian ; I hope I'm asking in the right forum and the right section. What python provides to switch off mobile functions that consumes battery , How turn off BlueTooth , Wifi , GPRS , Vibration and Ringing ?? …

Member Avatar for jcao219
0
61
Member Avatar for papanyquiL

Hi everyone, I'm trying to connect to an IRC server and join a channel. When a user joins they will be greeted by my program. I'm not able to debug it because I'm getting an error saying 'Object reference not set to an instance of an object.' Here's my code: …

Member Avatar for papanyquiL
0
138
Member Avatar for kalrajhi

Hey guys, I am having a problem with this program. It's actually part of an example from Michael Dawson's [I]Beginning c++ Game Programming[/I] This program pretty much randomized a number between 1 and 100 and has the user input his/her guess. The user can deduce what the number is each …

Member Avatar for kalrajhi
0
253
Member Avatar for Phoenix_7

this is my first time on this board, so hi. :p I'm currently learning basic java in college and I need some help. I have a constructor for my Node class and I've linked 3 string nodes together and I need to print them in order. So far I got …

Member Avatar for Phoenix_7
0
122
Member Avatar for Jayce_SW

I wish to create a user defined control (which contains a text box and a find button) and place it on a form which has a datagridview. The idea being the user clicks on the column header and inputs search text in the textbox and clicks the find button which …

Member Avatar for Jayce_SW
0
141
Member Avatar for vho123

Having trouble with this little DOM PHP task. When i parse it from unix with the command -> php DOMSearch.php "Brookside" it prints out Channel 5 Start : 2001-07-0521:55:00 However, it should print out all channels and start times from the "Brookside" series like below: Channel 4 Start : 2001-07-05T20:00:00 …

Member Avatar for MVied
0
132
Member Avatar for judithSampathwa

hi there, how can i delete or clear the values of the datagridview row, when the datagridview row index is known. how can i do this in C#???? thanxxxxxxxx

Member Avatar for judithSampathwa
0
71
Member Avatar for iamcreasy

I am new new in OOP stuff.I have read the Herbert Schildt's C++ reference.But it just gave me the idea, about how it work.Not how to make it work. I am read few chapters from "Object-Oriented Programming in C++ by Robert Lafore"(old edition featuring UML 1, i guess).But it was …

Member Avatar for avarionist
0
171
Member Avatar for TrustyTony

Do you know that there is clean way of doing what C-language ternary operator ? does in Python's recent versions. It is if with special twist. The syntax is: [CODE]'The value if true' if <condition> else 'Value when false'[/CODE] Values can be any type. You can put this structure to …

0
1K
Member Avatar for darkdai

hi can anyone tell me how to write the output of this code to a file?? [CODE] #include<stdio.h> #define MAX 10 char array[MAX]; void main() { void addvalues(); addvalues(); } //funtiocn that will allowe the user to add the values void addvalues() { printf("------------------------> Insearting List Elements <---------------------------\n"); int i; …

Member Avatar for Aia
0
152
Member Avatar for JOSheaIV

Okay so I know this is probably an easy question but I am tired and I want to find a good way to do this. The code below will show what I am getting into (I'll explain more after it) [CODE]string loc = dataGridView1.SelectedRows.ToString(); int loc2 = Convert.ToInt32(loc);[/CODE] Anyway this …

Member Avatar for JOSheaIV
0
96

The End.