199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for missc

I have a C# WinForm application. On my Buttons I use the '&' (in the .Text properties) for Hotkey access. The strange behavior is that the '&' is converted to the appropriate underscore while in design mode BUT DOES NOT appear at Runtime. At runtime the Hotkey functionality works, but …

Member Avatar for missc
0
135
Member Avatar for sciprog1

Hello Members, Is there any Permutation API in Java? I found the following: [url]http://www.jsc.nildram.co.uk/api/jsc/combinatorics/Permutations.html[/url] I am unable to figure out what should be the import statement for the above API. I would be grateful for any help. Thank you! sciprog1

Member Avatar for sciprog1
0
121
Member Avatar for kadamora

I'm making my first program that is using threads...the problem is that when I click the button that I created in windows form it never goes to the button click event in the debuger!!! I've read that that those threads should be background so i made like this [CODE]Thread sendcon …

Member Avatar for kadamora
0
175
Member Avatar for stonybony

Hi, I have a situation that is producing NULL values: The situation is best explained with this code at this link: [CODE]http://www.daniweb.com/web-development/php/threads/227698[/CODE] Initially, I had a link called "add to list" for each record the display page displayed. I used to hide the row-id in there and pass it onto …

Member Avatar for stonybony
0
164
Member Avatar for xanawa

Hi i have a dataset already created (which may consist of many tables) now i would liek to fill the datagrid view from it. BY CODE how can i do so?

Member Avatar for xanawa
0
105
Member Avatar for alexaaxela

Hi guys, basically im writing a program where the user inputs the number of coffees they require from a number of drop down boxes, one for cappucino, espresso, iced coffee and latte. after this, there is a 'calculate' button which totals these up and displays them in a textbox. my …

Member Avatar for finito
0
141
Member Avatar for n0de

Hi, after making some adjustmens to my code as recommended, I get those discard qualifiers errors.. [CODE] //pentathlete.h #include <iostream> using namespace std; template < class T > class pentathlete { protected : T comp_res [ 5 ] ; public : T sum_res ; pentathlete ( ) { for ( …

Member Avatar for n0de
0
1K
Member Avatar for tigerra80

My assignment is to write a golf program that tallies the scores and prints out names and final scores in this format: Player4:21, Player2:33 etc etc. My question is can you use the range function to assign input to the proper variable name in Python 2.7. Here's what I have …

Member Avatar for sneekula
0
2K
Member Avatar for Hani1991

hello i think i made small mistake in the following code but i dont know what it is exactly: [CODE]<script language="JavaScript"> function doType(id,typewhat) { var doc=document.getElementById(id); doc.innerHTMl = typewhat; } </script>[/CODE] could u plz help??

Member Avatar for Pro2000
0
92
Member Avatar for shazzy99

Hi, I've written a code to count vowels and consonants. But it hangs and doesn't do anything when a function call is made or even before that at get statement. When I try to get a string from user to pass to the function to count vowels or consonants. Here …

Member Avatar for shazzy99
0
143
Member Avatar for IWDesigns

hi, i am creating a form of which will update portfolios, included is a text field...i already have blocked the usage of html and email addresses from being posted, but i cant seem to figure out how i would block website addresses? what code would i use to do this? …

Member Avatar for IWDesigns
0
350
Member Avatar for kimmi_baby

Hi, I'm having a problem with an ASP.net website and CSS. I've pasted my CSS code from a previous website (HTML and CSS) to have a look at it. I've copied the basic divs etc into the masterpage. But I'm finding that the layout isn't centered. The layout would normally …

Member Avatar for jbisono
0
287
Member Avatar for 7a26j

I have problem with this code.. my browser prints: Fatal error: Call to undefined function mysql_connect() in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\plaincart\library\database.php on line 4 [CODE]<?php ini_set('display_errors', 'On'); //ob_start("ob_gzhandler"); error_reporting(E_ALL); // start the session session_start(); // database connection config $dbHost = 'localhost'; $dbUser = 'root'; $dbPass = ''; $dbName = 'plaincart'; …

Member Avatar for chrishea
0
157
Member Avatar for astala27

[CODE]echo '<h3>Yeni Yönetici Ekleme Ekranı...</h3><br><br>'; if (isset($_POST['submit']) && $_POST['submit'] == "Kaydet"){ if ($_POST['usernname'] != "" && $_POST['password'] != "" && $_POST['first_name'] != "" && $_POST['last_name'] != "" && $_POST['email'] != "" && $_POST['TCK'] != "") { $query = "SELECT username FROM users WHERE username = '".$_POST['username']."';"; $result = mysql_query($query) or …

Member Avatar for astala27
0
342
Member Avatar for asrockw7

I've made this simple timer/alarm for myself for this game I'm playing. I want to use it to inform me of an automated event a few minutes before it happens. It isn't done yet, but I am concerned with how much resources it takes. From the compiler, it takes about …

Member Avatar for TrustyTony
0
168
Member Avatar for tcollins412

i am trying to put all of my cookies into an array. heres my code [ICODE] <? setcookie('failn','fail'); setcookie('goodn','good'); setcookie('han','ha'); $allcookies=explode(' ',$_COOKIE); print_r($allcookies); ?> [/ICODE] but the page only returns Array ( [0] => Array ) please help

Member Avatar for tcollins412
0
155
Member Avatar for missc

i made a form that consists of labels !! this form is like an invoice .. all labels and lists contains the items and its const and at the end the total cost .. now i have a print button, and i would like to print the contents of the …

Member Avatar for missc
0
113
Member Avatar for scobi

Hi, here i attached the picture and i draw this diagram using arrow keys from keyboard,if i press upward key then i draw vertical line etc...,in 8086 assembly language.

Member Avatar for scobi
0
84
Member Avatar for Majestics

I have already asked about the problem in java forum... Now i think the solution is only possible through microsoft products... Problem is i want to get the handle of a application and send commands to that application... Is it possible,, commands are send to combo box , text area, …

Member Avatar for Majestics
0
106
Member Avatar for lexusdominus

Ok, so ive had this really annoying problem with Visual C++. It bugs me because it doesnt make any logical sense. something i guess we need to program. Anyway, Visual C++ reckons that the datatype "string" isnt defined, even though it is in the included library string. If i right …

Member Avatar for lexusdominus
0
126
Member Avatar for TechySafi

[CODE]<html> <head> <title>An Ajax demo</title> <script language = "javascript"> var XMLHttpRequestObject = false; if (window.XMLHttpRequest) { XMLHttpRequestObject = new XMLHttpRequest(); } else if (window.ActiveXObject) { XMLHttpRequestObject = new ActiveXObject("Microsoft.XMLHTTP"); } function getData(dataSource, divID) { if(XMLHttpRequestObject) { var obj = document.getElementById(divID); XMLHttpRequestObject.open("GET", dataSource); XMLHttpRequestObject.onreadystatechange = function() { if (XMLHttpRequestObject.readyState == 4 …

Member Avatar for ivan3510
0
130
Member Avatar for stonybony

Hi, DW complains of a syntax error that I cannot understand. I use the code as a standalone and it is not a problem, but when used as a table element as written below, it complains of a syntax error. The red highlight is where it complains, the green seems …

Member Avatar for Gerbiler
0
177
Member Avatar for geekme

hello, I'm trying to install and use boost graph library file sin my code blocks IDE for C++ program but am unable to.Please help.

Member Avatar for mike_2000_17
0
587
Member Avatar for vedro-compota

Hi guys! In my makefile I have line - [CODE]gcc -Wall parent.c errmsg.o -o parent[/CODE] What does it mean "Wall" here ? big thanks in advance)

Member Avatar for vedro-compota
0
109
Member Avatar for ryan311

how to check if the user input has a match in my given string [CODE] Dim a as string a = "abc" [/CODE] if the user input in the textbox "erty" the message box will be shown string not found. if the user input 123abc the message box will be …

Member Avatar for Mariandi
0
333
Member Avatar for tubby123

i have a doubt. why cannot we use clrscr() before initializing a variable in C? i mean, why wont this work ? void main() { clrscr(); int a,b; ---- ---- getch(); } It'll give an error saying , "Declaration is not allowed here " Logically speaking , you should be …

Member Avatar for Narue
0
145
Member Avatar for never_rain

I have a website where users can add their friends. What I am trying to achieve is to show every user that who are their friends that are currently online. If any one knows a link to any script or tutorial that explains this, Please help.

Member Avatar for nats01282
0
144
Member Avatar for madmhan84

[B]Good day everyone,[/B] Hope you could help me on this one The program is running but the result is far from what I want please help me... TIA Like this one: [B]Input:[/B] ------------------------------------ Enter first number: 7 Enter second number: 45 ------------------------------------ [B] Output:[/B] ------------------------------------ 7.45 [B]7.00[/B] ------------------------------------ [B]which should …

Member Avatar for Ancient Dragon
0
124
Member Avatar for yehtunaung

Hello anybody I 'm a beginner programmer and now I have one problems that is errors " could not find store procedure" in myform here is my code [code] Public Sub GRID_STAFF_INFO() CONTOSQL()'that is a function for connection to sql server' Dim table As New DataTable CMD.CommandType = CommandType.StoredProcedure CMD.CommandText …

Member Avatar for jbisono
0
93
Member Avatar for vijaysoft1

Hi frnds .... I am trying to create a contact form in PHP , MySql .... In my form i have two 3 input fields n a Submit Button ..... 1. Name 2. email 3. SecurityCode ( here user have to enter the captcha code ) m collecting all information …

Member Avatar for Kannan R
0
4K
Member Avatar for jackparsana

hi, please help me to do this. i have problem in vb.net window base application. i want to block TAB key from the keyboard. please give me API code or any useful hint to do that. thanks in advance. jack parsana.

Member Avatar for pankeel
0
150
Member Avatar for Siberian

I'm looking for someone who knows Javascript [I]well[/I]. I've posted on other forums and it appears that no one is able to help me with getting a script to work on my page.

Member Avatar for Siberian
0
68
Member Avatar for laung

My coding here: [code] option_input = raw_input(">>>") option_input = option_input.upper() if option_input == "V": print "High Scores:" saveFile = open("scores.txt", 'r') scores = saveFile.read() saveFile.close() nameScore= [] for line in scores.split('\n'): # skip any empty line if not line: continue userScore, score = line.split(',') #convert score to a numeric value …

Member Avatar for TrustyTony
0
192
Member Avatar for public-image

I am using the following code to find whether the content area is using a command (commands are held in a table column) or not. The commands call on "quick content" which are default areas that you might see regularly around the site. This feature ensures they are not different …

Member Avatar for happytogether
0
112
Member Avatar for rbjq

Could I enquire, how do I check for the time complexity for the program below? (: Thank you! [code] import javax.swing.*; import java.awt.*; import java.math.*; /** * * @author Jia */ public class tilePanel extends JPanel { int numSquares; int increment; private frame app; Integer buff; String x=" "; public …

Member Avatar for Rashakil Fol
0
152
Member Avatar for pandaEater

Big-O of 2^(100n) I'm having some trouble figuring this one out. Basically I'm wondering if the constant multiple c is a multiple of n or a multiple of the whole function? For example, if it were O(2^n) would you put the constant multiple next to n so it could be: …

Member Avatar for Rashakil Fol
0
202
Member Avatar for sarah2230

Hi, I am trying to set up a php email form but the website the form is hosted on, is hosted on a windows server. And I am getting this error: There was an error in the information submitted: From Email address empty Please return to the form and fix …

0
109
Member Avatar for markhammill

Hi, I have almost finished my first webpage with php but I have an error I can't manage to fix. I used the plaincart template to start with. If you go to [URL="www.michton.com/shop.php"]www.michton.com/shop.php[/URL] There is an error at the top of the page, it is on black so you need …

Member Avatar for 7a26j
0
251
Member Avatar for jlivvers

Hi whats the best MS developer certification currently? I've noticed that the MCAD is mostly retired now. thanks!

Member Avatar for C#Jaap
0
161
Member Avatar for johng123

id like to input a parameter using an input box it suppose fill a column of an existing table the submit button need to clear the old values in this column and than fill it with the new values for example three column row; id, countries, parameter1 on submit clear …

Member Avatar for sainigks
0
137
Member Avatar for Tursup

Hello, I am trying to put finishing touches on a program I have been working on. I stopped messing with it awhile ago and decided to return and polish it a little. Oh yeah, I am trying to make it so when it returns the 5 long number (or word …

Member Avatar for TrustyTony
0
135
Member Avatar for umeshMCA

hi, here i mention my code its a code to login and logout code when i click on logout than its return on userlogin page but when i press back button of browser its return to previous page. code here RM.php <form action="login.php" method="post"> <table width="300" align="center" border="1"> <tr> <td …

Member Avatar for sainigks
0
175
Member Avatar for FanionGolfer

JUST NEED A LITTLE HELP... I am doing a project and need some kind of look for it... Anything will do. My project is a matching game and I have worked out all the details so it runs pretty much smoothly. But I was unable to make the week of …

Member Avatar for debasisdas
0
100
Member Avatar for michele_muc

Hey guys, I'm tying to merge two XML file for days but it doesn't work. Here is the problem: I want to merge these XML files: graphs.xml [CODE] <?xml version='1.0' encoding='utf-8'?> <ph:Graphs xmlns:ph="http://www.merge.something.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > <ph:Graph name="mass_spring_mo"> <ph:Element id="0" type="Mass"> <ph:Attribute> <ph:AttributeField name="type" value="float" /> </ph:Attribute> <ph:Port id="1" type="port"> <ph:Attribute> …

Member Avatar for xml_looser
0
167
Member Avatar for qweewq22

Hello friends . I have some problems . I want to Implement a stack and use 2 jButoons for push and pop and a jlist for showing the pushed elements . I write this code but it dont give me good result ...! please help me compelet this program . …

Member Avatar for JamesCherrill
0
164
Member Avatar for wonkerloop

I have tried to make a program that allows inputs into a 1D array. I run the program and the inputs are asked for, but the program simply continues to ask for more inputs. I'm moderately new to C so go easy. Any help would be appreciated Cheers Wonkerloop Heres …

Member Avatar for yashsaxena
0
166
Member Avatar for nore

Hello.. I want to make application that can count how many file was selected by me. For example i drag / select 2 files (.jpg) and then i right clicking them to raises menu, one of menu was registered by me in regedit with command execute app in my ClassLibrary …

Member Avatar for Mitja Bonca
0
141
Member Avatar for jemz

Hello, can you help me please, how can be my newly added data to be selected in my listview after i clicked my Add button.Please help me. Thank you in advance hoping for your positive response. here is my code. [CODE] Private Sub cmdadd_Click() Dim Objlist as ListItem sql = …

Member Avatar for Jx_Man
0
693
Member Avatar for fabricetoussain

Sorry if this is in the wrong place, i would like to just verify if what i did correct, because there were times, i felt i completely did this correct, but when ever i would get test/hw back it would come back incorrect so if somebody else wouldn't mind double …

Member Avatar for TrustyTony
0
134
Member Avatar for Poopster01

This is my first time writing an array of objects and I’m having an issue putting it all together. I have written two classes and the third program that is supposed to test the classes. ***PROBLEM*** My primary issue at the moment is that my program to test the classes …

Member Avatar for javaAddict
0
324

The End.