199,114 Archived Topics
Remove Filter ![]() | |
Hey I am obviously new here, but would love to get better at programming. I currently am using Michael Dawson's "Python Programming, Second Edition (for the absolute beginner)" to try and learn it. Anyway he gives code on how to make a very basic tic-tac-toe game inside the cmd prompt … | |
I have been part time working on the same application for a year. its a very self serving, on day freeware application for easily accessing applications ect. I need a container for dynamically create rows of buttons, I am currently using some transparent panels, and changing their visibility when I … | |
i want to name the product at run time when the windows installer is running. how can i do that? thanks. | |
Hi, i recieve and undefined refrence error when i try to link files, and i think it is due to the use of templates. I have a .h file which has 2 classes and there respective functions in them, however i want to place the functions into a .cpp file. … | |
Hello everyone, Could someone please give me a good explanation about what I can do with it? I can't really find it on Google.. Thanks in advance, Davey | |
i got 2 form... 1 form for add, delete, find record in database(access) 2 form show record in database(same database) use datagridview. but the problem now, when i delete or add new record in database at form 1. then i go to 2 form, try to see record show in … | |
Ok, I'm a bit confused on this whole thing, I guess I just need another brain on this. Each line in my CSV file reads something like this: LAV32,Aluminum RTV Silicone 30/bx,T614A,Lavanture,12 Now, LAV32 would be the id tag that would be read by a barcode scanner. What I need … | |
how to set file installation condition through command line for a .net setup project? Thanks | |
Let's claim that I have jar called j.jar in folder called: my_folder. Then in this jar I have folder called:javclass and in this folder ther is main class called: main.class. And I have a question: How html file which opens it should look like ?? | |
I have a web based application and i want the objects (i.e. textboxs, labels) to be locked into position. If i resize the window it rearranges everything amd starts looking sloppy. Any help? | |
This may be out of place but I'm about to give up on this non-paid task. The company I work for has a news website, that's so cluttered and the IT folks are so out of touch, that our locally produced news is not indexed by Google...or anyone else. My … | |
hi, how do I left justify all the radiobutton displayed? For example, I have 5 radio button with different text, each on different row using: [CODE]rb[i].grid(row=i, column=0)[/CODE] Instead of displaying it left justified, its all centered. I tried using anchor='w', but result the same. I tried also to count the … | |
ok, i wrote a label for statement that on row 1 has "*" and nine spaces. row 2 has 2 "*" and 8 spaces and so on...... till my tenth row has ten "8" now i need to do the opposite; row 1; 9 spaces and 1 * row 2; … | |
I need quick help, its urgent for my job, pls help me. I need to change the font color, font size & font face of some text assigned in a div. To do so I have a form select option menu at the top, adn below the menu three's 3/4 … | |
If I have a class in a namespace, like this: [code] #ifndef MyClass_h #define MyClass_h namespace NyNamespace { class MyClass { public: typedef double MyType; MyType Read(); }; } #endif [/code] And the implementation: [code] #include "MyClass.h" namespace MyNamespace { MyClass::MyType MyClass::Read() { MyClass::MyType A; return A; } } [/code] … | |
Hello, I'm very new to Python (meaning I just started class about a week ago) and I'm a little stuck on something that I'm hoping to get some direction on. I'm trying to write a program that asks for user input for the names of two food names, then pushes … | |
I'm very new to Python and don't know very much about it's syntax and I need to write a class to interface with code given to me. [code] result = temperature(celsius=tempC).fahrenheit() [/code] The class is a temperature class that converts from celsius to fahrenheit and vise versa. The thing that … | |
Hello guys I am reading some book but there and went to input validation but there is something logical i dont get in it you know when press enter with getchar() sometimes it transmits newline to the program but book has solution but i don't know why it works i … | |
im facing the problem on how to use the ctime random,for loop and array in my assignment..can u help me??the following is the problem statement and the condition.. Problem Statement Simple Arithmetic Quiz Application! Write a program which has five selections as below: (1) To register number of participants and … | |
Hello Friends, I want to study about Patterns. Can you pls. refer me a simple beginner's guide for Patterns? If you have any online material/tutorial, pls. share it to me. Regards, Vivek | |
I wonder if this can be done. I have a select drop down box where the options are populated form a field in a database table something like this. $SQL = "SELECT DISTINCT category FROM atable ORDER BY category"; $result = mysql_query($SQL); echo "<select name='addCategory' size='6'>"; while ($db_field = mysql_fetch_assoc($result)) … | |
Hi, I am new to VB6 programming and have some difficulties... Here is my question: I have a For Loop running, wherein there should be some communicating with a serial port to get new data (will be implemented later), updating a data array and the corresponding graph. This works all … | |
Hello... again. I'm sorry about asking about this again, but I'm still stumped =S I can't find any tutorials or examples on this matter*, and I don't know what to do. I still need to find a way to get commands to paint from one JVM to another. I tried … | |
Hi, I'm starting working with the Graphics and related and strugling to understand it. I'm trying to do something as simple as drawing a String on a panel. The string changes on runtime. I post the code below. In effect, every new number is drawn on top of the old … | |
[CODE]#include <iostream> using namespace std; int main() { int c_hrs1 , c_hrs2 , c_hrs3 , c_hrs4; float gpa_1 , gpa_2 , gpa_3 , gpa_4; int total_c_hrs= c_hrs1+c_hrs2+c_hrs3+c_hrs4; float cgpa= ((c_hrs1*gpa_1)+(c_hrs2*gpa_2)+(c_hrs3*gpa_3)+(c_hrs4*gpa_4))/total_c_hrs; cout<<"**********************************************************************"<<endl; cout<<"\t Welcome to GPA Calculator for Dummies"<<endl; cout<<"Please enter you GPA in course 1: "; cin>>gpa_1; cout<<"Please enter the … | |
Hey guys and girls. Im working on a program at the moment, the aim of which is to determine a users age level (by year at school), and give them a set of randomly generated maths problems based on their age (eg- 1st grade only has to deal with numbers … | |
if some one is posting a spam content like this , what we do . Tell me any way in php (or HTML) to prevent this , means i want to display any long text in my fixed size table ( eg: 500 pixcel width) Suppose some users didn't press … | |
How do i update a database from dataset. [code]SqlDataAdapter.Update()[/code] is not working | |
hi, im facing problems with my codes. here is my bool RequestAnswer & main fcns (fyi, i already declared my class declaration before and it's fine). when i run it, it will give a question such as: 2/10 + 3/10 and it asks for the answer. if i enter correct … | |
Hi all, I am doing a project on creating send and receive sms application just like a software named Mozat M2U. I just want to know what are the different ways of sending and receiving sms. When I am doing my research, some of it uses sms gateway which is … | |
Hi, I'm trying to fork out number from this expression. Obviously without any luck. I wonder if anyone could help and suggest good book about regex. [code=c++] boost::regex reg("[[:blank:]]*move[[:blank:]]*\\d{1,3}[[:blank:]]*, boost::regbase::icase); [/code] Thank you | |
For this project I am suppose to create a data file which includes this info: Miller Ford Mustang 28000 Miller Ford Escape 23000 Miller Ford Van 32000 Sam_Car Ford Focus 17000 Sam_Car Ford Ranger 18250 Sam_Car Chev Impala 31500 Tina_Sells Chev Camero 33000 Tina_Sells Chev SUV 38000 Then I am … | |
[icode] // OnscreenKeyboard.cpp : Defines the class behaviors for the application. // #include "stdafx.h" #include "OnscreenKeyboard.h" #include "OnscreenKeyboardDlg.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // COnscreenKeyboardApp BEGIN_MESSAGE_MAP(COnscreenKeyboardApp, CWinApp) //{{AFX_MSG_MAP(COnscreenKeyboardApp) // NOTE - the ClassWizard will add and remove mapping macros here. // … | |
Hi, I have looked on boards, googled, I tried you tube had a look at the C books I have on hand.. but I am confused about this... What is the best way to write a struct to a file_ And how is the data saved and then read back? … | |
Hi I'm really puzzled on this one. I'm sending data from a form to be written on a line inside a file. However I've tested this a few times now and occasionally the line will end early when writing and it really messes things up due to another process depending … | |
Using write instead of createElement/createDocFragment? Hello all, I've made a version of a script: [url]http://pastebin.com/m795e1a9a[/url] found here: [url]http://www.daniweb.com/forums/showthread.php?t=212732[/url] It's great (all credits go to the original author(s)), but I would like the results in a pop-window and I seem to have met a mental-block. I would be grateful for any … | |
Hi DaniWeb Team, I have just finished to read all about CString in the web, topic since 98 to 2009 [I]CString is extict because it is from MFC which is extinct, ...[/I] and if i need to use CString? i found macro that import CString MFC to ATL but this … | |
hi, i am doing a system in java for my assignment .that system is able to add ,delete,modify records. i have created sql commands for all in my programme.but i don't know how to put codings on above buttons here i attach some cods.any one please help me. this is … | |
I am an training executive in a company , for the purpose of the training needs , i have designed a test for my subordinates using vb 6 about a product (cell phone) . In that test i had written the code so that after the test is taken by … | |
hello everyone, this is my first post. i'm working on something that seems quite simple but i don't have the know-how. i want to populate a gridview in a web application with a field selected from a drop down list. basically, once you select an item is selected from a … | |
Do you of any site sites that has open source on KMS or any website that i can go to see what king of information i can get on how to create on php. | |
I am a beginner in Java programming after a few lessions I was provided with this task and I have no clue how to go about it.this appears to be simple but for me is a mountain, if any one could help I will really appreciate it. Here goes the … | |
I need the following output using nested for loops only.. Can someone please help me? Thanks a lot.. ![]() | |
i am currently trying to configure a email sending function using an SMTP server. when i send a mail to and from a person with the email extension of @dtss.com (The company employes) it works perfectly with attachments and everything if i change the ToAddress to anything else (i.e. [email]matthew@crimzone.com[/email]) … | |
I have to make a program that asks to enter the # of boxes bought. Then it should display the amount of the discount and the total cost of the purchase after the discount. Each box retails for $50. The problem I'm having is connecting the if else then function … | |
Hi, I am extremly new to C# and whilst I have a basic understanding some of the more complex answers require ample explaining. What i am trying to do is use data stored in an microsoft access database and also write to it from the c# program, i do not … | |
Hi All, I want to do some image processing using C sharp for some machine vision application development . Can anybody suggest how to start from the scrap.If you are having any tutorials or pdfs please send me. | |
code to upload and save an image into access database in windows application visual studio. Please give the detailed code I know how to do this in web application but i have never used windows application |
The End.