199,124 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Fungus1487

Hello all. Which is the best practice to use when creating dynamic links i.e. onclick events. [CODE]<a href="javascript:somefunction()">click me</a>[/CODE] OR [CODE]<a href="javascript:void(0)" onclick="somefunction()">click me</a>[/CODE] i realise the first is not an 'event' but i have a web app which is displaying 6000 of these links all at one time and …

Member Avatar for Fungus1487
0
2K
Member Avatar for faez

Can anyone please help me here? the IpoptApplication.cpp and .hpp do exist, plus i have specified the ipopt.lib file path in the linker setting of the property page. what is confusing is that, when lapack, asl, hsl and ipopt are compiled, each produces its own 'ipopt.lib' of a different size, …

Member Avatar for faez
0
173
Member Avatar for MeeraKotecha

Hello.. I am designing a page in which if i click "call" button the button gets disabled and the timer starts.. This code is in JavaScript..(coz I couldn't write the PHP code to start timer on a button click) Now.. I need to pass the time of the "call" button …

Member Avatar for atplerry
0
147
Member Avatar for staneja

Hi i am making a new user page where user will fill username and password and i want to put some client side validation on it Suppose user has given wrong values in password and Confirm password column so before a request is send to secnd servlet i want to …

Member Avatar for masijade
0
192
Member Avatar for stagnation

Hi Guys I need your help as what i am trying to develop is doing me head in :-) I am developing a PHP form which basically adds two variable together. The final number then needs to placed in to a HTML url which triggers the image to be loaded …

Member Avatar for Puckdropper
0
129
Member Avatar for staneja

Hi All I am trying to create 2 tables Table 1 with cust_id , username and password (Cust_id is primary key here) Table 2 wth cust_info that will store info for that cust........now i want to use this Cust_id as foreign key here in table2 but i am not able …

Member Avatar for staneja
0
102
Member Avatar for St!tch

This is my code below: [code=cplusplus] using namespace std; int main(int argc, char *argv[]) { int thisisanumber; int SecondNumber; int TotalNumber; TotalNumber = thisisanumber + SecondNumber; cout<<"Please enter a number: "; cin>> thisisanumber; cin.ignore(); cout<<"You entered: "<< thisisanumber <<"\n"; cin.get(); cout<<"Please enter a second number: "; cin>> SecondNumber; cin.ignore(); cout<<"Your …

Member Avatar for Ancient Dragon
0
102
Member Avatar for anzdyy

Write a complete C program to perform Matrix operations such as Addition, Subtraction, Multiplication and Transpose according to the user’s choice. The program should display the following menu to the user for them to select one of the five options listed. ------------------ MAIN MENU ------------------ 1. MATRIX ADDITION 2. MATRIX …

Member Avatar for Salem
0
110
Member Avatar for spinaltoad

I cannot figure out the correct way to de-serialize a string passed via xml-rpc. If I print out the string I get [code] {'params': ['123', 3], 'methodName': 'function'} [/code] I could split the string, and then drop unwanted characters. But, that seems like the wrong way. Any help would be …

Member Avatar for spinaltoad
0
179
Member Avatar for wavalker

plz anybody help me i want to use javascripts variables in php but i can't able to do that so sugess me some thing to do that regards mahendra

Member Avatar for kaykays
0
147
Member Avatar for jonamasa

Hi, I have a class [inlinecode]SubDevice[/inlinecode] with a function [inlinecode]action[/inlinecode]. For each instance of SubDevice I want to define another action, so it's a parameter of SubDevice's class constructor. Now some of the action functions need additional parameters, but that's normally not a problem because I can write something like …

Member Avatar for jrcagle
0
266
Member Avatar for Haze

Ok so I'm trying to use menu bars to grey out different widgets in my gui il show you all the lines that i think are important and the error messages for each command i have tried. [CODE]root = Tk() input_text = Text(root, height = 10, width = 25).grid(row = …

Member Avatar for jrcagle
0
2K
Member Avatar for Kusno

Dear all .Netters, How do i change my intranet application culture to Japanase culture. I had done 2 things, but nothing worked. 1. In my web config, i put this script <system.web> <globalization culture="ja-JP" uiCulture="ja-JP" /> </system.web> 2. or <system.web> <globalization enableClientBasedCulture="true" /> </system.web> in my IE, i changed the …

Member Avatar for Infarction
0
103
Member Avatar for stealthdevil

Hi, I'm working on a new project and I would like to use VB.Net in Visual Studio 2005. I'll import data in a row/column format.I've been playing around w/ the datagrid control a little and I've gotten my data to import, but I'm not sure if this control has the …

Member Avatar for Ranx
0
103
Member Avatar for tonyaim83

Hi I have the following code ... main() { .... ... if(var==true) { Graph g1=CreateGraph<Graph>(vertex,edge); } else { Graph1 g1=CreateGraph<Graph1>(vertex,edge); } numvertex(g1); } When i m calling numvertex() function it says undefined identifier g1 what can be the solution for this. Provided I cannot make define the object globally or …

Member Avatar for Narue
0
176
Member Avatar for joebenjamin

Here is my issue if anyone can help. I am trying to write a program that will generate 100 random numbers between 1 and 50. With these numbers, I want to generate a list that will tell the number of random numbers that fell between 1-5, 6-10, 11-15, 16-20, ... …

Member Avatar for Ancient Dragon
0
102
Member Avatar for mauro21pl

Hi Does anybody knows good website with a tutorial for C++. What I really looking for is a tutorial regarding the linked list, stack and queues with a good explanaitions. It would be lovely if anybody knows the site with an practice exercises on them (I mean programs) with an …

Member Avatar for jbennet
0
88
Member Avatar for mat111

Hello all, Am new here, so please bear with me - if i dont get some things right! Okie Dokie. Lets get started. I was working with Tomcat/Servlet/ODBC. I created a table in MS Access. Created the Connection, Statement, query and everything. I want to retrieve the information from the …

Member Avatar for mat111
0
90
Member Avatar for laseredd

I recently installed Linux (Slackware Linux 12) on my laptop. On Windows I used IDLE for my python development, but on Linux, IDLE looks HORRIBLE. I tried tweaking the settings but it still looks bad, and is hard to program in. Can anyone recommend a good IDE for Python that …

Member Avatar for freddypyther
0
237
Member Avatar for gmoli

I need to error check a user input and it must be a value between 0 and 13 whole numbers only. it will be stored in a int variable using the cin function. I dont remember how to do this since i have not taken a c++ course in 3 …

Member Avatar for Duki
0
117
Member Avatar for tgifgemini

[B][/B] Hi Members, please can anyone show me how I can write a blank line after writing each records? My intension is to space out the data in the spreadsheet for readability. So far the code I'm using is not doing it. Seem my module below: [code] i = 5 …

Member Avatar for binoj_daniel
0
221
Member Avatar for jjt

Hi I try execute this code it compile without error but i couldnt execute, Where lies the problem need help import java.awt.*; import java.applet.Applet; import java.util.StringTokenizer; public class Kaleido extends Applet implements Runnable { Thread tumbler; boolean suspended; int timeout; Color background = Color.lightGray; Color lens = Color.black; int kaleidoSides,kaleidoSidesBy2; …

Member Avatar for Ezzaral
0
112
Member Avatar for new_2_java

Hi all, I want to create a function that adds certain amount of days for a given date. e.g. Say today's date is 21/9/2007. and I would like to add 95 days to this date. How do I accomplish that. Any help will be real appreciate it. Regards.

Member Avatar for Ezzaral
0
91
Member Avatar for nanoscientist

Dear helpful members I would like to know how to make a batch of files--> save data into them--> close them For simplicity I was planning to call each file "i j"(i space j), where i=1 to 30, 1 and j=0 to 90, 10 so there would be a total …

Member Avatar for nanoscientist
0
34
Member Avatar for itekchandru

I am currently developing audio player project in vb6. i have downloaded a dll file named "WinampPluginWrapper.dll" i make this dll file methods inherit from vb class. But i try to execute the file i got error that " WinampPluginWrapper.dll" not found. Then i Placed this dll file available to …

Member Avatar for debasisdas
0
532
Member Avatar for tonyaim83

Hi.. My code is as follows :- [code=c++]class Class1 { }; class class2 { }; main() { .... ..... if(var==true) class1 c1=createandmanipulate(file); else class2 c1=createandmanipulate(file); ...... ..... ..... } [/code] How should i declare the createandmanipulate() function so that it can return the respective object i.e either of Class1 or …

Member Avatar for vijayan121
0
174
Member Avatar for atplerry

unlike PHP that i need i can configure the webserve i.e apache either authomatic or manual i a can run it effectively! But i find it difficult to know what the problem is on working with ASP.Net because i can run it. I want to know all the webserver that …

Member Avatar for hollystyles
0
107
Member Avatar for coolshail_87

[B][COLOR="black"]hello to all ,i want to attach a text file for downloading the website i am developing through asp.net......... plz help me in the coding.......... i am sending the coding as below......... on link button... Response.AppendHeader("Content-Disposition",Attachment.FileName=TextFile1.txt); Response.ContentType="Text"; Response.WriteFile("TextFile1.txt");[/COLOR][/B]

Member Avatar for coolshail_87
0
118
Member Avatar for Saroja

I have problems of designing Templates in ASP.net unlike in dream waver. But my neighbor remind me one site where I login last year it is the site of free professional asp.net templates so I Download SNIPPED it is so easier to use. But I want more rich templates can …

Member Avatar for kvishnu2007
0
150
Member Avatar for BalagurunathanS

Dear Friends.. I am having an .aspx page in which i have various HTML controls such as text boxes and buttons("OK" and "CLEAR" buttons).By default, when i press the "ENTER" key in my keyboard ,the "OK" button must get fired...But its not getting fired..I need to use the tab button …

Member Avatar for sandeep.mk
0
171
Member Avatar for apontutul

i want to show a image using servlet,which is being called by a java file (beans). in that java how will i get the parameter eg: poll-id=1,2 or 3...n from that jsp page?....here what i've done(.java file) but the its not showing the image(error: data not available): [CODE] package myapp.webwork.beans; …

0
77
Member Avatar for tirivamwe
Member Avatar for kaykays
0
74
Member Avatar for daniweb_jeet

Hello Members I am having a problem that is i want to access the listbox from javascript(client side) that is in datalist. and also i want to validate that listbox for selection. please help me......

Member Avatar for daniweb_jeet
0
111
Member Avatar for abhi.creations

hi all, can any person provide me information about the number of instructions in different microcontrollers. i need to know some microcontroller (PIC, ARM etc.) having approx 16 to 20 instructions. actually i have to choose a low instructions microcontroller for designing its assembler. its urgent for me. and i …

Member Avatar for abhi.creations
0
58
Member Avatar for wasee

I have to do aproject in java so please guide me what kind of project can be done in java ? thanks

Member Avatar for masijade
0
166
Member Avatar for vinaii
Member Avatar for bcm

:( can any one tell me how to write the errors/exceptions, occured while compiling vb.net program, in a text file????????? IN [B][COLOR="Red"]VB.NET2003[/COLOR][/B] :'(

Member Avatar for cutepinkbunnies
0
113
Member Avatar for Duki

ok so i'm new to vb. what is wrong with this code at line 28: Public Class Form1 Const DISCOUNT_RATE As Double = 0.1 Const RENTAL_RATE As Double = 1.8 Dim totSales As Integer Dim totIncome As Double Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load …

Member Avatar for cutepinkbunnies
0
194
Member Avatar for curt22

I was wondering if anyone knows a good C++ Win32 API Tutorial for someone who knows nothing about gui programming or the windows API.

Member Avatar for Ancient Dragon
0
108
Member Avatar for annagraphicart

Hey guys, I'm in a bowling league and I need to code a program to help sort/assign points to the scores. I do web design/graphic design so if anybody can help me at all I will be glad to help any of you with any web/graphic needs. Lets say theres …

Member Avatar for Ancient Dragon
0
92
Member Avatar for dev.cplusplus

Hi to all I'm writtting a small application, that one of its options will be delete Internet Temporary Files(Cache of IE). I try deleting the files but without any success. I found an example of code in the web, but when I use the code I receive a error that …

Member Avatar for Ramy Mahrous
0
311
Member Avatar for fishsqzr

I am trying to add new lines to a TextBox control. I have MultiLine set to true and AcceptsReturn set to true. If I use the AppendText() method, I just get more text immediately behind what is already there. If I insert or add a newline escape \n it just …

Member Avatar for Ramy Mahrous
0
106
Member Avatar for shoby

[code=c] void transpose_matrices(int a[][2],int result[][2]) { int i,j,temp; for (i = 0; i < 2; i++) { for (j = i+1; j < 2; j++) { temp = a[i][j]; a[i][j] = a[j][i]; a[j][i] = temp; } } } [/code] it would be very helpful if someone guide with this transpose …

Member Avatar for Aia
0
207
Member Avatar for curt22

Could someone please give me step by step instructions on how to make gtkmm work with Dev C++ on windows. I've tried following the instructions on the website, but I cant get it to work. Could you please tell me exactly what to download and where to install it. Thanks.

Member Avatar for curt22
0
569
Member Avatar for leetari

Hi, I'm stuck with this one question we were asked to do in class...The program is to read input from a file that contains students' ids and marks and we have to determine their grades and store these variables as arrays then print it out. Then we were to create …

Member Avatar for Salem
0
156
Member Avatar for osirus0830

If one has no formal programming training how would you suggest going about learning java? Would it be necessary to learn another language first such as C++ or could one just grab an intro to Java book and dive right in?

Member Avatar for peter_budo
0
191
Member Avatar for hbk619

I want a line of buttons down the side of a swing window. I got this code so far: [code=java]import javax.swing.*; import java.awt.*; class basic extends JFrame // implements ActionListener { public basic() { super("Till"); setSize(600,500); setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); setVisible(true); Container contentArea = getContentPane(); contentArea.setBackground(Color.white); BorderLayout flowManager = new BorderLayout(); contentArea.setLayout(flowManager); JPanel …

Member Avatar for hbk619
0
2K
Member Avatar for nanoscientist

I have written my code in VB6. I would like the code to pause when variable x = 1, and the program will continue when I hit a key or something of that sort. Could you give me a hand on this? ThanX

Member Avatar for binoj_daniel
0
107
Member Avatar for chichi

[B]hi guys please help[/B] [B]i have a php site hosted on iis server. the site is failing to browse it gives a "page not found error" when u try 2 browse it.[/B] [B]but funny thing is u can browse the backend fine (joomla). frontend is failing. please help me out. …

Member Avatar for binoj_daniel
0
159
Member Avatar for vidaj

Hello. I'm having a hard time figuring this out. I want to open a file, but I don't know the filename. I know the directory the file resides in, and I know the extension ('.lay'), and I know there is only one file with that extension in the directory. How …

Member Avatar for iamthwee
0
105

The End.