199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for eswaramoorthy

Hi, I have problem in rich:hotkey when using JQuery i have used rich:hotKey for h:inputText in my jsp page. And also i wrote jQuery for get the textBox value. When i use jquery, that time rich:kotKey not worked [CODE] <%@page contentType="text/html" pageEncoding="UTF-8"%> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %> <%@ taglib uri="http://java.sun.com/jsf/html" …

Member Avatar for eswaramoorthy
0
230
Member Avatar for newbiecoder

Hello I want to have a code which gives a random value faster than a value per second. Here is my code: [CODE]#include <stdio.h> #include <stdlib.h> #include <time.h> int main() { int x; srand(time(NULL)); x = rand()%100 +1; printf("%d", x); return 0; } [/CODE] Can you please tell me how …

Member Avatar for newbiecoder
0
126
Member Avatar for vlady

Hello, I make an exercise from a book : Think Python: How to Think Like a Computer Scientist by Allen B. Downey, Version 1.1.22, random words exercise 7. I made a script like this (see below) but how can I make list (named book) just once and since then after …

Member Avatar for TrustyTony
0
161
Member Avatar for vampke

Hi guys, I was wondering about something: is there a way to communicate with another program/process on the PC without using files? What would this look like? Is there a search term I can use to get more info? This is not a vb.net question per se, but a general …

Member Avatar for vampke
0
208
Member Avatar for needanswer

This program: edit select delete id etc. (outside under gridview) textbox1 textbox2 addbutton cancelbutton [CODE]] <asp:GridView ID="GridView1" runat="server" AllowSorting="True" AutoGenerateColumns="False" DataKeyNames="id" BackColor="White" BorderColor="#999999" BorderStyle="None" BorderWidth="1px" CellPadding="3" GridLines="Vertical" > <RowStyle BackColor="#EEEEEE" ForeColor="Black"/> <Columns> <asp:TemplateField ShowHeader="False"> <EditItemTemplate> <asp:Button ID="Button1" runat="server" CausesValidation="True" CommandName="Update" Text="Update" /> &nbsp;<asp:Button ID="Button2" runat="server" CausesValidation="False" CommandName="Cancel" Text="Cancel" /> </EditItemTemplate> …

Member Avatar for dnanetwork
0
110
Member Avatar for Nicris

[CODE] boolean isavail=false; new Thread(){ public void run() { . . . isavail=fun(); . . . } }.start(); [/CODE] I need that value assigned in the run() method ..... But eventhough the function returns "true", the value being present in that variable after the thread is "false" only...... How to …

Member Avatar for Nicris
0
102
Member Avatar for puppykillaz

I am losing a value in the array with my bubble sorting and the sorting does nothing. Here is the Items Class [CODE] public class Items { // * A String instance variable to hold the item name private String itemName; // * A double instance variable to hold the …

Member Avatar for JamesCherrill
0
3K
Member Avatar for venuvasulu

What are the different posibilities of getting "Invalid floating point operation" in dephi applications?

Member Avatar for deyken
0
433
Member Avatar for MrBlack

Can any body explain me[B] Adding parameters to AddParams method [/B] I cant understand the code in this code it try to delete a row from article table, for that i use SqlDataAdapter,DataSet and DataTable , //Preparing Delete Sql Command [CODE] dataAdapter.DeleteCommand=conn.CreateCommand(); dataAdapter.DeleteCommand.CommandText="DELETE FROM article WHERE artId=@artId"; AddParams(dataAdapter.DeleteCommand,"artId"); [/CODE] This …

Member Avatar for MrBlack
0
559
Member Avatar for sol42020

Does anyone know a place where I can get a copy of Maya 4.0? I've already checked the standard venues, such as Ebay and Google. I have a plugin for a game editor (DEdit) that only works with this version of Maya. I'm doing level design in DEdit and trying …

Member Avatar for manojtnj
0
337
Member Avatar for sandeepani

I have database for a project i'm working on. yesterday i restored it from an old backup and the schema changed back to a earlier state. but now all the sstored procedures , views etc are missing and the project system can't use it and work. so is there any …

Member Avatar for gbraden
0
131
Member Avatar for maleeha munawer
Member Avatar for ajwei810192

Hi, I wonder if anyone has tried to have multiple subroutines in ASP.NET and have one call the other. For example, if the first one is called message(), and second is login(), if login() tries to call message(), how do you do that? Or, is this not a common practice …

Member Avatar for Freon22
0
121
Member Avatar for Kingcoder210

Hi! I have five text boxes & one button there in my form. I have written this code to get user`s current age. But problem is that I have to get user`s age with months. I am little bit confused. Please help me. My code to get age : Private …

Member Avatar for Teme64
0
81
Member Avatar for Ayaat Monem

It was a question in an old exam : the expression if(num != 65)can not be replaced by....... and the answer is: if( !(num-65) ) but I can't understand this condition :( what is num-65, what does it mean? Thanks

Member Avatar for Ancient Dragon
0
130
Member Avatar for SoulMazer

Hi, so I'm having quite the difficulty here. Let me start by explaining the architecture of my scripts. My "Listener.py" is a script that uses asyncore in order to listen for connections and receive commands from them. If it receives the text "play" from a connection, it calls another script, …

Member Avatar for SoulMazer
0
275
Member Avatar for cthoes

Warning: Cannot modify header information - headers already sent by (output started at C:\php\xampp\htdocs\db_login.php:9) in C:\pear\pear\Auth\HTTP.php on line 455 Warning: Cannot modify header information - headers already sent by (output started at C:\php\xampp\htdocs\db_login.php:9) in C:\pear\pear\Auth\HTTP.php on line 456 Access Denied [CODE] <?php // Using Auth_HTTP to limit access require_once('db_login.php'); require_once("Auth/HTTP.php"); …

Member Avatar for cthoes
0
79
Member Avatar for Gargen

im just curious im currently learning all major programming languages that are usefull to me and i am wondering what is python useful for in a realistic sense

Member Avatar for Orion2k
0
528
Member Avatar for n_angelov

Define a class Queue_time that represents a queue of Time objects (from our textbook) by keeping its elements in a dynamically allocated array (with maximum capacity) and make the queue as a "circular array" (the first element follows the last one). Supply the "big three" memory management functions. Use this …

Member Avatar for xuebao
0
1K
Member Avatar for mahle

I have 3 tables. Here is the relevant information needed for each. items ------ prod_id order_id item_qty orders -------- order_id order_date order_status acct_id accounts ------- acct_id is_wholesale items is linked to order by the order_id and orders is linked to accounts via acct_id I need to sum item_qty for all …

Member Avatar for tyson.crouch
0
102
Member Avatar for Buolbear4444

So, I'm writing a roguelike game in C++. But, its complaining about a class I made called "Player" in the file "player.h" in the file "monster". When I input into monster this function: [CODE] void attackplayer(Player& hero, bool checkup, bool checkdown, bool checkleft, bool checkright) { if (checkup == true …

Member Avatar for Buolbear4444
0
186
Member Avatar for Griff0527

Another new coder here, and yes, I am a student. I am NOT asking for a solution, but I am asking for guidance to point me in the right direction. I am supposed to write a code that receives input from the terminal as to the temperature in Fahrenheit and …

Member Avatar for Griff0527
0
2K
Member Avatar for johnpaul007

I need to append my excel sheet to my existing mysql table with data. Can someone guide me here and explain the code as to how i should do it. I am getting a syntax error when i do this.

Member Avatar for diafol
0
66
Member Avatar for ms_sws

I would have "thought" it would be a simple thing to get the (unformatted) text in each cell of a dynamic table but I have failed to solve this problem. So...I have a table that the user can dynamically load with data. They click an add button to insert a …

Member Avatar for ms_sws
0
2K
Member Avatar for tech.b

hey buddy i read this code of urs on one of the threads my concern is tht i need to to atore the data form each row in the table into an array..... or a srting..... could u please help me with this??? <script type="text/javascript"> # function showContent() { # …

Member Avatar for samaru
0
167
Member Avatar for rahul8590

I recently herd the buzz about JSON and stuff was also saw the coding style , but still i am not able to appreciate it . Well i am working in python web framework (not Django) and also using templating language. when i wrote a program to just to add …

Member Avatar for samaru
0
193
Member Avatar for Geodude0487

Hey I was just wondering if I could get some advice from you guys. I'm trying to write basically a cookbook program for my mom. She wanted to put them on the computer to save them and I thought WTH I could write her a program not only helping her …

Member Avatar for bbman
0
165
Member Avatar for gfx

hi, I have a problem with implementation of a quicksort algorithm. I have pseudo-code which helping me understand this, but I still can't make this program to work. Does anybody can help me figur out what is wrong in my code? Thanks My code : [CODE] #include <iostream> #include <ctime> …

Member Avatar for griswolf
0
106
Member Avatar for 7h3.doctorat3

Hi i'm new to using c++ and i would like to ask if you could help me out. I have to somehow get a working c++ program that will allow me to convert any one, two or three digit positive integer into words using string/array method. Say, 111 will be …

Member Avatar for mrnutty
0
493
Member Avatar for kurtiskain

Hi everybody! I am currently working on a low level console/text based python phonebook. I have a working program and i can add and search entries just fine, but what I want to know is...can I remove entries? I am using the OS package...so i 'import os' at the beginning, …

Member Avatar for griswolf
0
139
Member Avatar for Martje

How do i search all the lines in a richtextbox for a specific string in the line and then return the line number the string correspondents in. [edit]using Visual c++ windows form CLR

Member Avatar for jonsca
0
822
Member Avatar for Odubz

Hello, I was wondering does anyone have an idea how to make a dropdown menu that dosent repeat values from the SQL Server? Perferably using a while loop. I was thinking of camparing the set values with the new values as it loops through them but im not sure. -Thanks

Member Avatar for Odubz
0
158
Member Avatar for emmonssw

Basically, after the user inputs a cvs file which is formatted like (unmod.cvs that is attached is complete file): Source, Native ID, Index, Charge, Cluster ID, FDR, Precursor Mass, Calculated Mass, Mass Error, Peptide, Mods, Search Scores /tumor/set2/mam_082208o_individualsamples_747T_set2_082008_A01,scan=771,770,2,46,0,1162.436,1162.438,0.001953125,NDDDEEEAAR,,(mvh 52.0926)(mzFidelity 69.9226) /tumor/set2/mam_082208o_individualsamples_747T_set2_082008_A01,scan=1147,1146,2,93,0,1436.543,1436.506,-0.0369873,AAEDDEDDDVDTQ,,(mvh 68.8836)(mzFidelity 92.7468) *note that the mods value is a …

Member Avatar for emmonssw
0
192
Member Avatar for ihatehippies

I wrote this function to compare two strings and find their similarity. It returns the percent of their letters in common in place. ie "hello" and "yellow" share the "ello" (8 of 11 characters) and thus are 72.72 % similar. I feel like there is a better way to write …

Member Avatar for TrustyTony
0
2K
Member Avatar for Xpress2010

Helo, I need calculete Spaces in file. Maybe can write this function. Thank you P.S Sory for may english

Member Avatar for UncleLeroy
0
101
Member Avatar for Mrgrinch12

I have been struggling with these two pages for awhile. I have one page with a form which shows different data depending on who is logged in. There is one drop down adjustment field that the users between "Active" and "Bench". The submitted form should be updating that field in …

Member Avatar for Mrgrinch12
0
116
Member Avatar for KathySbeat

Hello, I need a code in C# that converts a word document file (.doc) to a text file (.txt) :) thanks its urgent

Member Avatar for sashaa
0
95
Member Avatar for visweswaran28

let output string will be, str="01/Mar/2010,02/Mar/2010,03/Mar/2010,04/Mar/2010,05/Mar/2010" Some manipulation, ******* Resultant string should be, "01/Mar/2010,02/Mar/2010<br/>03/Mar/2010,04/Mar/2010<br/>05/Mar/2010" Here I want to replace Comma (,) by <br/> Note: I want to replace even commas only. (before 03/mar/2010 & 05/Mar/2010..like)

Member Avatar for samaru
0
143
Member Avatar for tomtetlaw

I am making a shoot function with my game and my dad ( being the geinous programmer that he is ) suggested that i should generate an imaginary line from the gun to whatever it's aiming at and then, if the user clicks then put a bulet hole at what …

Member Avatar for green_frog
0
155
Member Avatar for dansnyderECE

My process involves: - Run Make on a c++ file and generate a binary file - Run readelf on binary file generated and dump contents in HEX form into NEW_File *- Import data from generated file into c++ file vector as 8 bit hex words *- other VLSI related sections …

Member Avatar for dansnyderECE
0
120
Member Avatar for qingpete4

Hi My name is Peter aka Qing, I come from Uganda. That is in East Africa. I have this urge to learn alot [I]n programming but sometimes am lost in dreamng. I need some one to like mentor me or help show me the path. I have so fare been …

Member Avatar for ddanbe
0
99
Member Avatar for Apollo12

The code is too big to paste the entire when i am having one error at Line 20 that says: "cannot make static reference to non-static Integer" I'm use to C but so I'm not use to having to putting the word static in places. [CODE]private static void createTree(){ ArrayList …

Member Avatar for sunny101
0
329
Member Avatar for baudday

I would like to start development on a web application but really have no idea how to do it. I like to think that I am pretty well versed in PHP, but feel like my coding practices are off. What I would like to know is, what is "the best" …

Member Avatar for baudday
0
154
Member Avatar for MATLAB2007

Can anybody please tell me how I can make my code an install file? I know how to make the code into an executable, but once I transfer the executable onto another computer (obviously) it doesnt work.

Member Avatar for Pynolathgeen
0
102
Member Avatar for markg1978

Hi, I have script below that scans a folder and lists the contents into a drop down box. What I want to do is then select the file and press the delete button. Which removes the file from the folder. I do realise you can use unlink to remove the …

Member Avatar for amac44
0
118
Member Avatar for needanswer

I have a gridview with access and built with "select","edit" & "delete", the outside under gridview with the "add","cancel" buttons. details: select edit delet id name etc. Textbox1 Textbox2 add cancel ALL THE BUILT SELECT,EDIT,DELETE WRER WORKING, ONLY THE "ADD" BUTTON WAS NOT WORKING. So, I rebind the gridview with …

Member Avatar for dnanetwork
0
106
Member Avatar for umair.sabri

how to restrict the page to be browsed in the other browser with the same urls with out logging asp.net & c#.net.

Member Avatar for dnanetwork
0
141
Member Avatar for ajwei810192

I have a ASP.NET snippet where I would like xsl to apply to the xml. For some reason, I get runtime errors when I use TransformFile to try and transform the xml. Here is the aspx, <%@ Import Namespace="System.Data" %> [CODE] <form runat="server"> <asp:Repeater ID="myMusic" runat="server" DataSourceID="XmlDataSource1"> <HeaderTemplate> <table class="songs"> …

Member Avatar for dnanetwork
0
208
Member Avatar for pytup

Hi, I have to do search engine for shop (my course assessment) it have to search produckts by code and description. I dont really know how to do it. Can someone help me? that what i have: [CODE]Private Sub Command1_Click() Dim code(6) As String Dim description(6) As String Dim price(6) …

Member Avatar for pytup
0
182
Member Avatar for ritika_khanna

i am doing online railway reservation project in vb.net. i want to know when i click on one radiobutton of trainno and then after clicking on submit button it display corresponding routes from database. i am using oracle as backend.please tell me urgently.

Member Avatar for kvprajapati
0
106

The End.