64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for atticusr5

Hello all, I know there is a "sort" method in the STL for list. However I am not sure how to use it, and my research was unable to help me out. What I am trying to do is sort my master list by the averages, lowest to highest. Can …

Member Avatar for atticusr5
0
147
Member Avatar for AdriftUniform

Hi, I am having an issue getting my select boxes working in IE. My current situation is that I have 2 select boxes, 1 for Styles and another for Substyles. Not all Styles have a Substyle, but each Style has a different Substyle, so when should happen is when you …

Member Avatar for AdriftUniform
0
165
Member Avatar for mr3army

Hi, I have my program all programmed but, i want to have only one button! How can i make it so if the radio button is selected it will do a certain sector of the code when the the actual button is pressed iv had a good attempt at if …

Member Avatar for mr3army
0
100
Member Avatar for shinsengumi

Hello all. I've previously created a working socket program in C in a 32-bit machine and now I have to transfer it to a 64-bit machine. May I ask if there is anything I have to change in my program to make it work in a 64-bit machine? I did …

Member Avatar for Ancient Dragon
0
609
Member Avatar for prahesh

Hi All, I was working on the project that was building very well on Visual Studio 2008 Express Edition. Later I have installed the Visual Studio 2008 professional along with Visual Studio 2008 SP1. Now I am trying to build the project, which shows the following Error. fatal error LNK1181: …

Member Avatar for Ancient Dragon
0
1K
Member Avatar for kylix_jin

Good day Sir/Maam.. im new here. i have a project in MS Access 2003 that will tanslate numbers into words... is there a code using Asc? to this program... im sorry im newbie in programming.. thanks a lot..

Member Avatar for AndreRet
0
125
Member Avatar for Violet_82

Hi there, I have developed (with some invaluable and greatly appreciated help!) a comment box using Java script (see bottom of this page [url]http://www.antobbo.webspace.virginmedia.com/webediting/documents.htm[/url]) but I would like now to be able to receive comments via email. At the moment if you click on the comment button it opens the …

Member Avatar for Violet_82
0
124
Member Avatar for vishal.patil

This is the code that I have written in C# which shows the contains in the sample.log file. [CODE] class FileRead { public void ReadData() { FileStream fs = new FileStream("sample.log", FileMode.Open, FileAccess.Read); StreamReader sr = new StreamReader(fs); sr.BaseStream.Seek(0, SeekOrigin.Begin); string str = sr.ReadLine(); while (str != null) { Console.WriteLine("{0}", …

Member Avatar for mcriscolo
0
417
Member Avatar for sneha mehta

i want to include using.System.Transactions header file in c# program but i m not able to do that. whats the problem i am not getting??

Member Avatar for Momerath
0
95
Member Avatar for Abdel_eid

hello i want to know how to get Arabic data from jtextfield it is writen normally but when i order to show it , it appears in the form of ?????? please help thanks for you attention

Member Avatar for mKorbel
0
468
Member Avatar for vijeevvv

Hi, I have a gridview in asp.net. Inside that I have a template field control(Link button named "Details" in all the rows). When I click that link button the details of that particular row should be displayed. Say suppose three records are there. When I click the link button in …

Member Avatar for vijeevvv
0
107
Member Avatar for computerstudent

I'm trying to put together a code that will basically take a user input string and reprint every 3rd character. i.e. if a user inputs "Superman" it should be reprinted like "S e a" I'm sure this is Uber-simple to you but I'm just starting out, whether it is efficient …

Member Avatar for TrustyTony
0
157
Member Avatar for Aelphaeis

Essentially, my problem is that I have a program that dynamically creates controls. The Controls included are buttons and on click I want the buttons to remove themselves and all related data. The problem is I'm not sure how to identify the buttons from within the delete method. The important …

Member Avatar for Aelphaeis
0
192
Member Avatar for MargateSteve

I currently have two queries that separately show goals scored and appearances made by players in a football team but need to bring them together in one query so I can aggregate results against each other, as well as output records from both in one html table. The two queries …

Member Avatar for smantscheff
1
306
Member Avatar for abu taher

in a textbox I write 100000. I want another text show automatically "one lac". I mean it aumatically show the in word of that numeric number what I write. how it possible.

Member Avatar for debasisdas
0
410
Member Avatar for Jake.20

guys, need help please. i have an syntax error on my update statement here is the code. myqry = "UPDATE prodInfo SET " myqry = myqry + " [itemName] = '" & txtName.Text & "'," myqry = myqry + " [comboSize] = '" & combosize.Text & "'," myqry = myqry …

Member Avatar for prvnkmr194
0
116
Member Avatar for Aser Gado
Member Avatar for Daniel Liwonde
0
198
Member Avatar for andrewliu

Hello, I've been trying to figure this out and I'm not sure why my code does not work? [CODE]$(function(){ $('ul.ldd_menu li.topLink ul').hide(); $('div.ldd_submenu').hide(); $('div.submenu_top').hide(); $('li.topLink').hover(function(){ $(this).find('ul').show() $(this).css({'color':'#FFF','background-color':'#000000'}); $(this).find('div').show() },function(){ $(this).find('ul').hide(); $(this).css({'color':'#000','background-color':'#ffffff'}); $(this).find('div').hide(); }); });[/CODE] That is my code, and the background-color works. But why doesn't my font color change colors …

Member Avatar for andrewliu
0
123
Member Avatar for PhiberOptik

Hey folks, I'm a student and I have been using Blue J. I have found it rather primitive and was wondering what the majority of other java programmers like to use? I thought about Net Beans but I honestly have no idea, So what do you use ?

Member Avatar for mjason
0
214
Member Avatar for jotae

I'm using Visual Studio c# (spanish) The code: [CODE]cmd.CommandText = "UPDATE cursos SET saldo = saldo - '" + cantidad.ToString() + "' where id = '" + vID + "' ";[/CODE] vID is a string variable. The problem is here: Don't work [B]where id = '" + vID + "'[/B] …

Member Avatar for kvprajapati
0
108
Member Avatar for br007

Here is the snippet of code I am having issues with. cout<<"So are you a male or female, Please type m/f"<<endl; cin>>sex; if (sex='M','m') { alcohol_distribution=.73; } else if (sex='F','f') { alcohol_distribution=.66; } So I know I have this terribly wrong, but i want the alcohol_distribution based on whether or …

Member Avatar for br007
0
122
Member Avatar for hitro456

Hi guys I am writing an application in c# I want to create a dynamic log file which would contain all the errors or exceptions occurred during execution of the Component. Log file simply has to append all the errors or exceptions generated with error details and time and date. …

Member Avatar for ghimangi
0
228
Member Avatar for ChieftanBill

I've recently come upon a frustrating Array Index Out Of Bounds error when selecting any of the "calculations" to be applied to the entered values(maximum 1000 values). I suspect it to be a problem with the [CODE]values[(c+1)][/CODE] in the for loop. I can't figure a way around this problem. Can …

Member Avatar for jon.kiparsky
0
246
Member Avatar for breakid

Hi, I am using tomcat to run jsp file, my question is how can force my server to create log file ? I'm new into tomcat, so please be gentle. Thanks

Member Avatar for stephen84s
0
143
Member Avatar for biogig

so I've been trying to write this program that takes the data from a file and outputs the year the rainfall how much it is below/above the average, the average raifall and the std deviation and for some reason I get three C4552 warnings:'>': operator has no effect on three …

Member Avatar for biogig
0
886
Member Avatar for Archenemie

I have a listbox and what I basically want to achieve is as I click a value within the listbox I want the value clicked to be passed to a function. I could easily do this using a button and listbox.GetValue() but I believe the quality of my finished code …

Member Avatar for Archenemie
0
219
Member Avatar for nats01282

im trying to create a form that redirects the user to anther page and also stores the information in the database. here is the code [CODE]<?php mysql_connect("localhost", "DBname", "Password") or die(mysql_error()); mysql_select_db("DBname") or die(mysql_error()); // Retrieve all the data from the table $result = mysql_query("SELECT * FROM players") or die(mysql_error()); …

Member Avatar for nats01282
0
189
Member Avatar for andrewliu

Hello all! I have a problem with my jquery. I have hidden some parts of my menu, but I can't seem to hide the div tag. How do I accomplish this? This is my jquery: [CODE]$(function(){ $('ul.ldd_menu li.topLink ul').hide(); $('li.topLink').hover(function(){ $(this).find('ul').show() $(this).css({'background-color':'#000000', 'color':'#ffffff'}); },function(){ $(this).find('ul').hide(); $(this).css({'background-color':'#ffffff','color':'#000000'}); }); });[/CODE] This is …

Member Avatar for andrewliu
0
124
Member Avatar for mbarandao

good day: I'm using an ajax script that receives a value into an input box and thus performs a function. I need to invoke the function immediately after the input box has a value. Currently the box has to lose focus in order for the function to work. What is …

Member Avatar for mbarandao
0
326
Member Avatar for newack

hello, i wrote a code to encrypt the 4 digit number. i broke the number in digits and encrypted it. It works fine. But the problem comes when first digit in output comes 0. that time i get 3 digit number instead of 4 digit number. i want it to …

Member Avatar for newack
0
84
Member Avatar for johnt68

Hello, I thought that I had sorted this a while back - but testing with fresh eyes has revealed otherwise. I think everything works (of course I may be quite deluded) but if the tick box is checked and a calculation is made it adds 10% - which is good …

Member Avatar for johnt68
0
116
Member Avatar for hailsontherocks

Just trying to change the formatting of various bits of my print code. Is there a simple way to do it?

Member Avatar for hailsontherocks
0
134
Member Avatar for Mkmd13

Hey, I have completed my code for Java and I have to put it in GUI, problem is I dont know a thing about GUI or if my program works correctly with it or not. Here is my code and what the code does is you type in random numbers …

Member Avatar for Mkmd13
0
505
Member Avatar for newack

I am new to Java I wrote a code to find largest number [CODE] import java.util.Scanner; public class LargestNumber { public static void main( String args[] ) { int number,largestNumber; Scanner input = new Scanner( System.in ); System.out.print( "Enter 10 numbers to compare" ); for( int counter = 1 ; …

Member Avatar for newack
0
107
Member Avatar for revjim44

I have data consisting of two arrays, string item [], and string location [], How do you create a DataGridView ( or is that even the right component to use) to display the data in a windows form, like in a listbox? Basically I need to write a method to …

Member Avatar for Momerath
0
131
Member Avatar for morteza_ipo

Hello everyone. I have a folder with TEST name. In this folder I have 3 files : index.html , Untitled.swf , Untitled_toolbar.swf When we open index.html file we can see that video! Clearly I can say , we have 2 address: [url]http://...........com/TEST/[/url] [url]http://...........com/TEST/Untitled.swf[/url] I want to lock this address! [url]http://...........com/TEST/Untitled.swf[/url] …

Member Avatar for morteza_ipo
0
145
Member Avatar for ShadowScripter

I think the title says most of it. How do I, in MS Access using VBA, get information from a workbook which I can then put in as a recordset in a table? I know that excel has an easy workaround for other excel workbooks, and I've read somewhere how …

Member Avatar for ShadowScripter
0
366
Member Avatar for haoth

[CODE]<?php include 'menu.php'; echo "<br>"; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <body> <?php include "config.php"; // Get values from form $IDTrabalho = (isset($_GET['idtrabalho']))? $_GET['idtrabalho'] : ''; $IDCliente = (isset($_GET['idcliente']))? $_GET['idcliente'] : ''; $Descricao=$_POST['Descricao']; $Quantidade=$_POST['Quantidade']; $Preço=$_POST['Preço']; echo"$IDTrabalho"."<br>"."$IDCliente"."<br>"."$Descricao"."<br>"."$Quantidade"."<br>"."$Preço"."<br>"; …

Member Avatar for haoth
0
98
Member Avatar for zarifin99ska

Hi I've design a datagridview with 6 columns. But i got a code somewhere in internet,the code make my datagridview added with 8 more columns from database. i dont know how to put the data from database into specific columns in the designed datagridview. on database, i have 8 columns, …

Member Avatar for zarifin99ska
0
105
Member Avatar for Java_90

I have to input a directory in DT, then have Directory recursively return a list of files and folders in that directory. My problem is that at the moment my program is only returning the first file in the directory and then ending. I know that I'm doing my recursion …

Member Avatar for Java_90
0
180
Member Avatar for Arcrammer

I have no idea what AJAX is -- other than the fact that it has something to do with JavaScript :yawn: I'm not that talented with JavaScript other than variables, functions, alerts, confirmation boxes, and simple stuff like that. Any links that would help me learn AJAX would be greatly …

Member Avatar for McLaren
0
167
Member Avatar for tukky

Hey :) Im working on a project and ive come across a small problem. I have a listview that contains the details of a person(s) such as their name,address,e-mail address etc. I have a button that opens up another form where the user can edit the details of the customer, …

Member Avatar for codeorder
0
124
Member Avatar for zetologos

This bug is killing me. I have no idea what I did wrong. My friend has it the exact same way. This program reads a txt file and reads each line which has a request in it EX: Matt Smith;Event 1;2009;March;29;11;120;40; We take the request cut it up according to …

Member Avatar for zetologos
0
157
Member Avatar for chintan_1671

I am creating new thread everytime in the for loop .. but many times the loop takes the same filename and creates new thread. Doesn't Work: [code] foreach (string s in fileEntries) { t = new Thread(() => Shrink(s)); t.Start(); } [/code] I have tried individually for each file creating …

Member Avatar for chintan_1671
0
205
Member Avatar for arjunpk

hi.... i have a small problem using the DOM parser for XML in c# [CODE] XmlDocument doc = new XmlDocument(); XmlNodeList _list = null; doc.Load(location.Text); _list = doc.GetElementsByTagName("DataSource"); foreach (XmlNode node in _list) { //some processing } [/CODE] over here i am able to get specific nodes using the getElementByTagName …

Member Avatar for arjunpk
0
298
Member Avatar for showman13

Good Morning, I have a membership site and to date haven't been gathering information of the sensitive nature. But now I need to get SSN and DL etc... We bought an SSL Cert, and now my challenge is this: Do I secure only the pages that relate to gathering this …

Member Avatar for pixelsoul
0
81
Member Avatar for Netcode

I have created an application and also created the setup.The application adds it executable file to the user program menu but it does not create a shortcut on the desktop. How do i make my applications create a shourtcut menu on the desktop when they are installed

Member Avatar for Netcode
-1
91
Member Avatar for Neversleepin

Hello, i'm beginner in eclipse and i try the helloWorld.java with Eclipse After creating the JAR file, if i click it, i have an error message: [CODE]Failed to load Main.Class manifest attribute from D:\Ecipse\workspace\HelloWorld\[/CODE] I don't understand why i can't launch my HelloWorld.jar My java version is 6.1.7.600 and i …

Member Avatar for mKorbel
0
2K
Member Avatar for Kontained

I'm in the process of writing a knights tour algorithm for a homework. I believe my algorithm is a good one and don't see anything wrong with it, but for some reason my program keeps throwing a stack overflow error. I don't see any reason why it would be throwing …

Member Avatar for Kontained
0
634
Member Avatar for akshayinbox

Hello. I just took my ETS TOEFL test today. I was surprised to see that in Internet Explorer, not only right click was disabled (which is quite easy), but the entire IE was locked (favs, menus, toolbars, refresh button, etc.)...all controls were locked and one could only use navigator / …

Member Avatar for akshayinbox
0
100

The End.