64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for bdrkb
Member Avatar for abu taher
0
109
Member Avatar for xuexue

i just want to know, how can i put a live bar graph in a dynamic page? thanks in advance ^^

Member Avatar for xuexue
0
143
Member Avatar for capiono

Please does any know how to create a word document or PDF file from the textboxes and datagridview values? Thanks

Member Avatar for capiono
0
84
Member Avatar for capiono

I currently moved my windows form project to a different PC. In the project UI have some text boxes with a default value of "0". Before the move this worked fine. now if I run the code the UI does not show this default values. designer Code: [CODE] namespace PersonalBudget …

Member Avatar for capiono
0
124
Member Avatar for dpfaff

Hello People, I took a class in C++ about a year ago and really liked learning to write code and working with with programs. I did not do very well in the class, in fact i ended up with a C-. Recently I decide that I wanted to try agin, …

Member Avatar for Lerner
0
146
Member Avatar for bufospro

Hi, I would like to make two icons in my page so as to click on them and increase or decrease the font size of paragraph. The problem I have is that I want to change the size only for a paragraph. My paragraph's text is from a database. So …

Member Avatar for nav33n
0
157
Member Avatar for noobday

I've been trying to compile a very simple c++ code ; when trying to compile on codeblocks it says : error - stray '\312' in program [CODE] #include <string> #include <iostream> using namespace std; int main() { char letter1, letter2; string lastName; cout << "Enter your two initials and last …

Member Avatar for noobday
0
880
Member Avatar for itisnot_me

ok so just ran into a problem using tinyint instead of int i have hit the 127 max. but i did not realize that on time and now i have about 100 entries that i need to fix with a loop to do an increment of a counter this is …

Member Avatar for itisnot_me
0
103
Member Avatar for Godflesh

I have a problem again :) I try to use this code: [code] import time from threading import Thread from threading import Lock def main(): for i in range(3): my_thread = MyThread(i) my_thread.start() class MyThread(Thread): lock = Lock() def __init__(self, i): Thread.__init__(self) self.i = i def run(self): while True: self.lock.acquire() …

Member Avatar for jcao219
0
382
Member Avatar for TheWhite

so I have 2 methods, 1 with an argument the other without command_hello(String sender); command_hello(); I am trying to invoke the method using just their name: command_hello I can do this by using the following for the method with no arguments: getClass().getMethod("command_hello").invoke(this); Works! Great! But the moment I try getClass().getMethod(cmds.get(cmd)).invoke(this, …

Member Avatar for TheWhite
0
157
Member Avatar for itisnot_me

ok so what i want to beable to do is have a coded up website template (with php in it) that is stored in the DB. and i would like to call it in a query. That part works fine but what doesnt work is the php being called from …

Member Avatar for itisnot_me
0
334
Member Avatar for pac-man

hi guys, I've created a function that returns the number of times a value resides in a container (in this case, vector). The user is able to specify were in the vector they wish to search for the value. [CODE] int number(int n, vector<int>::iterator start, vector<int>::iterator end) { int count …

Member Avatar for pac-man
0
231
Member Avatar for gangster88

I need to have 4 functions which asks the user how many times to flip the coin and then displays the number of heads and the number of tails as a decimal? [code] def getInputs(): times=input("please enter the number of times the coin should be flipped: ") def simulateFlips(): for …

Member Avatar for charlottetemp
0
1K
Member Avatar for Tech B

I've seen a program called Devcon ([url]http://en.kioskea.net/faq/sujet-1886-enable-disable-a-device-from-the-command-line[/url]) used for enabling and disabling hardware devices. I want to do the same hopefully with python. I want to turn the internet connection off with a script. I can already do it with popen('ipconfig /release') but I want something more robust. Is there …

Member Avatar for Tech B
0
2K
Member Avatar for adams161

Hi, when i run my java program it has that little java coffee cup image in teh task bar. All my apps have this. i guess its default. How do you set that to something custom? i cant seem to come up with teh proper name for what that image …

Member Avatar for adams161
0
82
Member Avatar for abhay1234

Dear sirs, I am trying to learn vb.net in 2005 and 2008.Where can i get good tutorials to learn basic as well as advanced. OOPs and web development etc. thank you

Member Avatar for abhay1234
0
203
Member Avatar for pecet

I started to learn SQL recently. I downloaded some kind of assignment, where the goal is to design small database. I have two tables listed below: [CODE]create table SEA ( SEA_NAME varchar(50)constraint sea_prj_key primary key, AREA numeric(18, 0), );[/CODE] and: [CODE]create table NATION ( CTRY_NAME varchar(50)constraint sea_prj_key primary key, AREA …

Member Avatar for pecet
0
95
Member Avatar for OldQBasicer

In old QBasic I could use the LOG function to get the base-10 log of a number. So I would have something like this... [CODE]sglFormula = 150 - (LOG(intTemp + 10) * 30)[/CODE] ... the LOG function would give me the log base-10 of a variable (intTemp) plus 10. How …

Member Avatar for OldQBasicer
0
119
Member Avatar for Shillz

can anyone guide me how to run a c++ program inclusive of graphics through notepad++ by using borland compiler OR plz guide me hw to compile n run a c++ graphics prog in vista..as it's not possible by normal tcpp

Member Avatar for CppBuilder2006
0
983
Member Avatar for jorgelex008

Hi all, I'm new to Java and going through a steep learning curve. Every now and then I'm getting dead stuck, so your help is immensely appreciated. So, here's the problem: (with Java NetBeans IDE) I have a JFrame form, and in it 4 JComboBox'es. Also a JButton titled "Enter". …

Member Avatar for javaAddict
0
7K
Member Avatar for san_fran_crisko

Hi, Apologies if this has been covered already - I searched but couldn't find anything relevant. I am looking to learn both of these languages mainly because I am in a bit of a dilemma career-wise. To be as concise as possible (this aint no agony aunt page I hear …

Member Avatar for Narue
0
286
Member Avatar for emhmk1

Hi everyone, i was wondering if you could help me out, i'm working on a project where the user can login from any part of the site and a function is called when the button is clicked. The problem is if the user for example is on this url [url]http://localhost/profile.php?id=12[/url] …

Member Avatar for emhmk1
0
238
Member Avatar for mahela007

Is there someway I can parse badly written HTML code in python? I want to get some info from a web page which uses HTML tables for it's formatting and I found numerous flaws in the code using w3cs validator. can I parse this code in python?

Member Avatar for mahela007
0
95
Member Avatar for jammiedude

Just downloaded Office 2010 to see what changes have been made in the VBA environment and all looks well. But i am having a big problem typing in my code! as soon as i type something it appears in red, it autocorrects so fast that if i type .range("A1") it …

Member Avatar for jammiedude
0
136
Member Avatar for explorepython

Hello all, After googling around for a few hours i can't find any example for passing arguments to an user-defined method in pyqt.. The only link i found related to this is [URL="http://www.commandprompt.com/community/pyqt/x1408"]http://www.commandprompt.com/community/pyqt/x1408[/URL] . In this example we have to make it to emit the signal and pass the argument.. …

Member Avatar for explorepython
0
1K
Member Avatar for JAM1011

Hey everyone. I am having problems trying to figure out how the user can select the times they want to start work at, the time they want to have from lunch and finally the time they would like to finish. I then would calculate the number of actual working hours. …

Member Avatar for JAM1011
0
88
Member Avatar for farsen

Hi. First of all, I have done a few C# applications, but are quite new to C# asp.net web applications. What I am trying to receive is a simple Media player control on an aspx page. And furthermore a button, that starts the media player with a videostream url. Thats …

Member Avatar for kvprajapati
0
142
Member Avatar for Nikhar

Hi guys...I am learning binary trees and its quite interesting. But I am unable to make4 a the delete a node function in it. Whenever I try to delete a node, a fatal error occurs and the program closes. Can you please point the error out for me in the …

Member Avatar for Nikhar
0
126
Member Avatar for Godflesh

Hello! I have more questions :) Is it possibe to create a "threadlock", "lock" if you use a file as a common resource? If you have a class that create data and put the data into a file and you have another class that will take data from the same …

Member Avatar for Gribouillis
0
104
Member Avatar for ayeshawzd

how can i find value of cos without using math library of c# .......plz send me code example or formula by which it ia possible i thank full to u

Member Avatar for ayeshawzd
0
485
Member Avatar for NickT80

I am to create a superclass that has at least two data fields, a constructor and two other methods. Create two subclasses that inherit from the superclass each one of which adds at least one more field and at least one more method, one of which must be an 'over-riding' …

Member Avatar for javaAddict
0
78
Member Avatar for xfrolox

Ok i'M making a program for a game a tool software I made that when I press a button in another dialog it appear a text + textboxs.text so when I press a button it appears in the dialog but all in the same line how do I do that …

Member Avatar for QVeen72
0
86
Member Avatar for Godflesh

Hello i have a big problem, i want to import queue but i get this message, somehow it dont exist. Traceback (most recent call last): File "D:\Python26\test.py", line 9, in <module> import queue ImportError: No module named queue isnt that strange.

Member Avatar for Godflesh
0
16K
Member Avatar for AdventDeo

[CODE].... <table id="tbl"> <div id="xtra" style="display:none; visibility:hidden"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </div> <div id="dname" style="display:none; visibility:hidden"> <input name="Name[]" type="text" size="35"> </div> </table> .... <input type="button" name="Add" value="More Company" onclick="return AddRow();"> .... //the following javascript function is saved in another .js file which is then called from the main php file when the …

Member Avatar for AdventDeo
0
159
Member Avatar for xfrolox

well the last thing i need is a button that will copy TextBox1.Text like Select All and Copy it all, i use a simple code no very effective... i put sendkeys ctrl & a and ctrl & c but i just realize that all pcs doesn't have the same hotkeys …

Member Avatar for gatzaraki
0
121
Member Avatar for compovet

HI I'm trying to insert data in 2 tables one is the master and the other is the details table, let us say it is test details first table : the master data of the test (name,date,......) second table : the parameter details (masterID,parameter,value) I want to do that through …

Member Avatar for compovet
0
171
Member Avatar for benk1

Hi Guys I've got a MySQL product database on a website, and I wrote a php script that searches the database and returns the results in an html table with no problems at all. My problem comes when trying to display x results (I've been trying 5) per page. I've …

Member Avatar for benk1
0
2K
Member Avatar for metalstorm

hi all, ive downloaded the DHTML window script from here : [url]http://www.dynamicdrive.com/dynamicindex8/dhtmlwindow/index.htm[/url] and have it running on my site. i also have a DTHML / ajax chat running on the site which is currently on the main page in an iframe. im trying to put this iframe inside the DHTML …

Member Avatar for metalstorm
0
81
Member Avatar for kumiyare

I have a slideshow of quotes based on the "Ultimate Fade-in slideshow (v2.1)" at Dynamic Drive: [url]http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm[/url] This is right under my navigation bar, and the drop-down menu items are hidden behind the javascript slideshow. Some background: The reason I did it this way because I first started out with …

Member Avatar for kumiyare
0
308
Member Avatar for takeshi

Hi.Im trying to create a program that would simply [B]count of votes[/B] and [B]save in database[/B] after voting of the students,[B]results of all votes[/B], and [B]displaying people that have voted[/B].. here's my html. [CODE]<h2><center>Select Candidates</h2> <p><table cellspacing=5 cellpadding=5> <tr> <th>President:</th> <tr></tr> <td>1.Name presidents&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="radio" name="pre1">&nbsp;&nbsp;<th><a href="">View Profile</th></a></td> <tr></tr> <td>2.Name presidents&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input …

Member Avatar for FlashCreations
0
163
Member Avatar for rouse

Can someone show me how to do the following? I have a variable named $day. If the value of $day is between 1 and 9 and it is represented by a single digit like “1”, I would like to set $day to 01. How would I do this?

Member Avatar for almostbob
0
113
Member Avatar for vaibhav2614

Hi everyone, I've been trying to code up a generic vector implementation in C, and the compiler has not been kind to me... Here is the struct I have defined in a file "vector.h." [CODE]typedef struct 72 { 73 int elemSize; 74 int logLength; 75 int allocLength; 76 int delta; …

Member Avatar for vaibhav2614
0
129
Member Avatar for theMediator

Hi, I'm building an application that reads barcode scanning data into multiple forms and textboxes. At the moment, to handle that data I have created a large nested if statement that checks to see which object has focus so that the scanned data is placed there and focus moves down …

Member Avatar for theMediator
0
149
Member Avatar for milenio

Hi all, I faced up the following problem: I have a table: ID|server | target | action ---------------------------- 1 |a | b | attempt 2 empty row 3 |a | b | success 4 empty row 5 empty row 6 empty row 7 |b | a | attempt Does someone …

Member Avatar for sknake
0
402
Member Avatar for szkoda

Been trying to work this out for hours I have two tables called 'Genres' and 'Films'. Genres contains two columns 'Genre_id' and 'Genre_Name'. Films contains a load of columns, the most important being 'Title', 'Year', Director', 'Genres'. Now im trying to create a page where the user can edit a …

Member Avatar for szkoda
0
113
Member Avatar for checho

Hi, here is my problem. I have the next task //Write a program that removes from a given //sequence all the numbers that present in it odd //number of times. Example: //{4, 2, 2, 5, 2, 3, 2, 3, 1, 5, 2} {5, 3, 3, 5} The problem comes in …

Member Avatar for JamesCherrill
0
2K
Member Avatar for makdu

Hi, in order to organise the functions based on its usage, i want to add a new code file to the project. I tried to add a new code file and gave a name to it and then wrote a function in it . This function is called from another …

Member Avatar for mahmoud_wow
0
239
Member Avatar for MDGM

hi all, Im desperatly looking for a .db format rhyming dictionary and have managed to get hold of three database files which I think will be VERY useful to me but I cannot open them. Can anybody help me to get them open? I have attached the files in a …

Member Avatar for MDGM
0
201
Member Avatar for farsen

Hi. First of all, I am new to asp.net development. What i have is, a C# aspx page with, lets say an ordinary button. What i need is, any kind of video player that can, upon click on the button, play/stop a windows media server stream from a url. Where …

0
84
Member Avatar for gunbuster363

I want to use MySQLDB to connect MySQL but I got a problem. the problem is: --------------------------------------------------------------------------------- cs6201:/home/lamwaiman/python/data # python dm.py Traceback (most recent call last): File "dm.py", line 11, in <module> import MySQLdb File "build/bdist.linux-i686/egg/MySQLdb/__init__.py", line 19, in <module> File "build/bdist.linux-i686/egg/_mysql.py", line 7, in <module> File "build/bdist.linux-i686/egg/_mysql.py", line 6, …

Member Avatar for Stefano Mtangoo
0
384

The End.