199,112 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ajay.motah

hi, im having a problem using this jquery I mamanged it to g and fetch data from mysql n now i want it to disply only one class at a time on available or not available here is the js $(document).ready(function(e) { $('#txtAuction').keyup(function(){ check_availability(); }); }); function check_availability() { var …

Member Avatar for Airshow
0
127
Member Avatar for jeets1892

Please take a look at the below code #include <QtCore/QCoreApplication> #include <iostream> int main(int argc, char *argv[]) { using namespace std; double purchaseAmount; double paidAmount; float balance; int change, quarters, dimes, nickels, pennies, tenDollar, fiveDollar; // declare variables cout << "Enter Total purchased amount" << endl; cin >> purchaseAmount; cout …

Member Avatar for zeroliken
0
3K
Member Avatar for HunainHafeez

i have tblStudents and tblDepartments, so which keys a weak entity (student_department) would have ? studentid and departmentid ? is it so ? and both foreign keys will work as a composite primary keys ? is it ?

Member Avatar for HunainHafeez
0
129
Member Avatar for Labdabeta

Hi, I am wondering if there is a somewhat simple way to output extended ascii values in c. Basically I am thinking actually about unicode characters, stored in ints. Is there an easy way to do this, or would it require a custom gui console?

Member Avatar for Labdabeta
0
240
Member Avatar for rarment

I'm learning scheme and having a hard time with the define-syntax part. The tutorials online that I have found are not very helpful, so any help you guys can offer would be greatly appreciated. Basically I need to be able to enter (foreach x : 1 do (display x)) and …

Member Avatar for sepp2k
0
176
Member Avatar for AutoPython

Hey! I've recently come back to C++ to tackle another project, but I've run into a problem I can't figure out. #include <iostream> #include <string> #include <fstream> #include <direct.h> using namespace std; int main() { string variable = "AwesomeName"; mkdir ("test"); ofstream write ("test\\" (variable+".txt").c_str() ); // this the place …

Member Avatar for AutoPython
0
4K
Member Avatar for dantheman4

public static void sumOfSquareRoots() { Scanner scan = new Scanner( System.in ); double value; // read in a double System.out.print ("Enter a double:"); value = scan.nextDouble(); // calculate its square root double result = Math.sqrt( value ); // write out the result System.out.println("square root of your number is " + …

Member Avatar for delta_frost
0
2K
Member Avatar for baig772

I have a search form, in which a user enters a keyword and it displays the results with the keyword in description as highlighted text, for highlighting, i have used another class on that keyword. problem is that, if there is a keyword in some hyperlink or in some <img> …

Member Avatar for baig772
0
227
Member Avatar for ANKUR1806

i have a richtextbox ,a textbox and a button in c# windows form.i also have a 100 page ms-word .doc file .i want to make an application which displays only that page in richtextbox which is containing the exact word written in textbox. for example: if i write "hello" in …

Member Avatar for ANKUR1806
0
165
Member Avatar for squeak24

I am working on a open source script at the moment, but I am struggling on one final aspect of the script. I am a bit of a newb to PHP at this level, I have a working knowledge of PHP and MySQL, but this seems to be a little …

Member Avatar for squeak24
0
232
Member Avatar for HunainHafeez
Member Avatar for HunainHafeez
0
102
Member Avatar for shena

Hi there experts, I would like to know that is there any way to filter data in vb6 (data grid, flex grid or etc) as we do in excel spreadsheet? If no, can anyone suggest how to filter records in data grid pls? I'm nw to this. Please help anyone. …

Member Avatar for V0lcan1c_A5h
0
1K
Member Avatar for pxalpine

I have two files, "ranked.txt" and "sorted.txt". Sorted.txt is a smaller subset from ranked.txt that is sorted in alpha order. However ranked.txt preserves the ranking of words I would like to keep. How do I check the rank of every word in sorted.txt when matched to the original ranked.txt? I …

Member Avatar for woooee
0
196
Member Avatar for priyamtheone

I created a UserControl that contains a custom ToolStrip Control. While using the UserControl throughout an application, the ToolStrip control cannot be accessed directly, as logically it's embedded in the UserControl. So, to access the items of the ToolStrip I defined a readonly property in the UserControl class that returns …

Member Avatar for priyamtheone
0
999
Member Avatar for abhi287

Hi all I m using following code.. [code] <?php session_start(); if(!isset($_SESSION['captcha'])){session_register('captcha');} $PHP_SELF = $_SERVER['PHP_SELF']; $stringa = ''; $cifre = 5; for($i=1;$i<=$cifre;$i++){ $letteraOnumero = rand(1,2); if($letteraOnumero == 1){ // lettera $lettere = 'ABEFHKMNRVWX'; $x = rand(1,11); $lettera = substr($lettere,$x,1); $stringa .= $lettera; } else { $numero = rand(3,7); $stringa .= $numero; …

Member Avatar for aj4mq
0
565
Member Avatar for nitin1

i Wana start a project on this topic. what is the scope of this topic as i want to do MS in future. Is there any coding related work in this ? I have just started this project 5 days before. thanks

Member Avatar for np complete
0
102
Member Avatar for angel.heaven.58367

My problem goes something like this. I have a variable of 5 arrays a[5] for storing the 5nodes of a network. The network is randomly formed by the random number generator. I have the time of travel for each paths of the network. All the nodes may not be connected …

Member Avatar for np complete
0
197
Member Avatar for PM312

I have 3 tables in which one column name is common for all i.e PRNO .I want to write SQL query to select everything from Table1 where PRNO is 500, Table2 where PRNO is 500 , Table3 where PRNO is 500 . “Select * from Tab1,Tab2,Tab3 WHERE PRNO=500” Getting Error …

Member Avatar for PM312
0
165
Member Avatar for johnalternate

Hi friends , i have a assignmentin my course Information Retrival and text mining. I have to develop a search engine in java. i am reading data from 31103 files and have to do some processing in each... but i am stuck in a logical error, i.e in the loop …

Member Avatar for NormR1
0
104
Member Avatar for sk8ergirl

Hello ^^ I asked the user for location code and then I need to find if location code is in the array of LOCATIONS and display this result "Region: ! | Location: ! |City: ! " in a method call format .. where the ! marks are the actual values …

Member Avatar for NormR1
0
273
Member Avatar for io.caraballo

Hi, Im a noob programmer, Ive done some small programs. Im looking for a guide that may give me tips and guideline for things to do a plan before starting to write your code.

Member Avatar for JamesCherrill
0
239
Member Avatar for HunainHafeez

i am using web developer 2008, my project web.config file has no starting tag for connectionstring, like <connectionstring> but has end tag only , and when i tried to create one then error oocured that it exists already , i did my best check the code section <?xml version="1.0"?> <!-- …

Member Avatar for HunainHafeez
0
206
Member Avatar for donial

I want a simple data structure project using C ........ Any one please give me idea.... give me a title....i am very confused....:confused:

Member Avatar for rubberman
0
227
Member Avatar for iEpic

I'ma noob and need some help from the pros. For school I gotta make a program to convert numbers into roman numerals 1-10 and return an error if its not 1-10. Got it all pretty much figured out but I want to know how to have it where if someone …

Member Avatar for JamesCherrill
0
218
Member Avatar for Aia

Self-teaching Java, I am following a video tutorial about simple windows. Encountered a warning error using the example provided in the tutorial. Here's the piece of code. [CODE=Java]import java.awt.Frame; import java.awt.Label; import java.awt.AWTEvent; import java.awt.event.WindowEvent; public class HowdyByeWindow extends Frame { public static void main( String[] args ) { new …

Member Avatar for flash901
0
941
Member Avatar for Geli19

Hello Everyone. I am having trouble creating new objects in a loop. I am using: DataType *Ptr = new DataType (); I use this in the beggining of the loop then end the loop with: delete Ptr; Each constructor and destructor gets called each time the loop is executed.... but …

Member Avatar for Geli19
0
5K
Member Avatar for Bile

-->>Hope all is well... -->>I'm trying to print all records in my list view on my form I went through the tread http://www.daniweb.com/software-development/visual-basic-4-5-6/threads/431714/print-from-mshflexgrid-in-vb-6.0 and tried a couple of eamples it was cool and nice but what comes difficult to me is that my form has List View and not the …

Member Avatar for AndreRet
0
2K
Member Avatar for Bile

-->>I hope all is well,I'm developing an application that stimulates the Computer monitor and so I have lots of buttons more likly as on my Monitor here. -->>I got stuck when I added a Slider on my Vitual Monitor,this is for adjusting Brightness on the Monitor whether high or low... …

Member Avatar for AndreRet
0
631
Member Avatar for vizz

How to create [Calendar](http://www.cafeshistoriques.com) like this example? Dates are marked for posts available. [Example2](http://www.easyphpcalendar.com/demoBlog7.php?ev=2456175&mo=9&yr=2012) I want to redirect on post.php and show only post available for date clicked from Calendar

Member Avatar for vizz
0
97
Member Avatar for ajay.motah

hi, im using jquery for dynamic diaply of login, but now i wish to start the $session once the login is sucsseful. but my code is found in a function in a php class. So can i call that function? Thank you!

Member Avatar for theHop
0
72
Member Avatar for sebass123

Hello I am having trouble with my project crashing for every case. We are told to read in a data text file and store into structs and create a linked list of data and allow a user to choose from 4 menu options. I am completely new to linked lists …

Member Avatar for sebass123
0
272
Member Avatar for chamnab

Dim aa, bb As New Collection For Each user As User In allUser Dim character As String = user.FirstName(0) If character = "b" Or character = "B" Then b.Add(user) End If If character = "a" Or character = "A" Then a.Add(user) End If Next this loop use for find first …

Member Avatar for chamnab
0
190
Member Avatar for TimLloyd31

How will I arrange 5 numbers in ascending order and determine the highest? what codes will i use or how will i do it? (using dev c++)

Member Avatar for np complete
0
2K
Member Avatar for wschamps42

Can somone please explain to me what does fork() != 0 mean? From what I understand I think it means if fork is not false? Or if fork is true then.... I dont understand how Fork() can be true or false, seeing that it just creates a copy of a …

Member Avatar for np complete
0
189
Member Avatar for bigredaltoid

package mypackage; import java.util.Scanner; public class twinPrimes { public static void main(String[] args){ int userNum = 0; int attemptCount = 0; while (userNum < 3){ System.out.println("Please enter an integer greather than three."); Scanner in = new Scanner(System.in); userNum = in.nextInt(); attemptCount++; if (attemptCount == 3){ System.exit(1); } } int count …

Member Avatar for bigredaltoid
0
160
Member Avatar for code_r

Hi I'm writing a shell script and I'm trying to get a starting number and an ending number from the user. So if the users starting number is 3 and the ending number is 4, my program should print out 4 5 6 7 as the consecutive numbers. My problem …

Member Avatar for Watael
0
154
Member Avatar for venkyb47

I am unable to send a string from php page to java script page. I am storing a string in a php variable and I want to send this value to java script page on image icon click. Here is the source code: timetrack.php $activityid = $getResult->fields('ACTIVITY_ID'); // Now consider …

Member Avatar for venkyb47
0
344
Member Avatar for Tko_1

I am trying to redirect if working.php is present in folder other wise echo no file. this script only echo's no file. thanks. <?php $filename = 'working.php'; if(file_exists('$filename')) { header( 'Location: welcome.php' ) ; } else { echo "NO FILE"; } ?>

Member Avatar for Tko_1
0
116
Member Avatar for kartikkp

$getTime = time(); $newTimeFormat = date('h',$getTime); if($newTimeFormat > 3 && $newTimeFormat <=12){ echo "<section id=\"main\" class=\"column\"> <iframe height=\"890\" width=\"100%\" frameborder=\"0\" id=\"display\" scrolling=\"auto\" src=\"displayDayShift.php\"></iframe> </section>"; } if($newTimeFormat > 12 && $newTimeFormat <=21){ echo "<section id=\"main\" class=\"column\"> <iframe height=\"890\" width=\"100%\" frameborder=\"0\" id=\"display\" scrolling=\"auto\" src=\"displaySwingShift.php\"></iframe> </section>"; } if($newTimeFormat > 21 && $newTimeFormat <=3){ …

Member Avatar for Zagga
0
189
Member Avatar for trishtren

Hello, iv looked around google and have found it is possible to put an applet into a jframe. The problem i am having is that my applet is to be hosted online, what i want is to take the applet that is online and display it from a swing or …

Member Avatar for NormR1
0
229
Member Avatar for Jiggles.X

Hi every one. I have a bit of a problem/ headache. I am trying to make a dropdown style menu for a website that runs off a CMS I made everything works fine but I can for the life of me get the menu system to work! This is the …

Member Avatar for Jiggles.X
0
111
Member Avatar for n01146

Hi, I’m completely new to jQuery so apologies for any obvious errors. I have a .CSV file with headings and data laid out as: Order Number, Stock Status, Quantity, Comments, Date 1234567, In Stock, 15, All in Red, 15/08/2012 1234568, Out of Stock, 203, Leave with neighbor, 21/08/2012 1234569, On …

Member Avatar for theHop
0
2K
Member Avatar for dan.nitschke

Hello, I am trying to make a variable (name) so it only accepts alphabet characters (eg. DaNiEl) not $@@4234. Below is an example of the code i'm trying to use. I have tried a few functions, to no avail. Can someone please post the answer (in code form). Much Appreciated. …

Member Avatar for vegaseat
0
5K
Member Avatar for de Source

Hi, i am having problem in updating my database although i can upadate my dataset private void btnSave_Click(object sender, EventArgs e) { DataRow dRow = ds1.Tables["ContainerID"].NewRow(); dRow[1] = textBox1.Text; dRow[2] = textBox2.Text; dRow[3] = textBox3.Text; ds1.Tables["ContainerID"].Rows.Add(dRow); MaxRows = MaxRows + 1; inc = MaxRows - 1; MessageBox.Show("Entry Added"); } but …

Member Avatar for Momerath
0
542
Member Avatar for color.shadow

In my page, there are 3 drop down menu. Dropdown 1 : for storing car model which retrieved from CarTab in database (SQL) Dropdown 2 : for storing username Dropdown 3 : for storing plate num The function of the all drop down menu, there are related to each other. …

Member Avatar for hollystyles
0
146
Member Avatar for bo0ga

Bought a book in the Head First series about C#. The command to output text that they keep using in the book is MessageBox.show("text"). However in order to work for me I need to do Response.Write("text"). Is this because I downloaded Visual Web Developer instead of Visual Studio? The project …

Member Avatar for hollystyles
0
167
Member Avatar for MaddTechwf

I've been working on getting a basic VB ASP.NET application put together that uses LDAP to login and I have it working. The login page has a form on it for login but the actual code for the login is inside my web.config file. When the user clicks login it …

Member Avatar for hollystyles
0
1K
Member Avatar for Mr.BunyRabit

PDF's Full of Images only. Open one in note pad, delete a few lines and close it again -- Effectively Breaking your pdf file. You can still open it, but all your pages will be blank with maybe a scribble at the bottom somewhere. Now... How do you check if …

Member Avatar for hollystyles
0
4K
Member Avatar for garyjohnson

Okay I have a database where it stores the users information, like their login name, email, and password. They can upload videos to my site, when they upload the videos, it saves to a database, the database is set up like this, VIDEONAME EMAIL NAME funny sample@email.com abcd.mp4 It stores …

Member Avatar for LastMitch
0
244
Member Avatar for andyy121

this is the index page <?php if (isset ($_POST['keywords'])){ $keywords =mysql_real_escape_string(htmlspecialchars(trim($_POST['keywords']))); $keywords =$_POST['keywords']; $errors = array (); if (empty ($keywords)){ $errors[] = ('Please enter a serch terms'); }else if (strlen($keywords)<3){ $errors[] = ('Your search terms must be three or more characters'); }else if (search_results ($keywords) == false){ $errors []= ('Your …

Member Avatar for LastMitch
0
269

The End.