132,726 Archived Topics
Remove Filter ![]() | |
Hey, I found a cool class online for finding certain colors in a designated rectangle around your mouse position. Its optimised for speed, and supposedly works, but when I try compiling it I get around 32 errors. Heres the code [code] public static Point PixelSearch(Rectangle rect, int PixelColor, int Shade_Variation) … | |
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 … Software Development | |
i want to name the product at run time when the windows installer is running. how can i do that? thanks. Software Development | |
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. … Software Development c++ | |
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 … Software Development vb.net | |
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 … Software Development c++ | |
how to set file installation condition through command line for a .net setup project? Thanks Software Development | |
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 ?? Software Development java | |
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 … | |
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] … Software Development c++ | |
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 … Software Development python | |
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 … Software Development python | |
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 … Software Development c | |
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 … Software Development c++ | |
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 Software Development c++ | |
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 … Software Development visual-basic | |
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 … Software Development client-server java | |
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 … Software Development java java-swing | |
[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 … Software Development c++ | |
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 … Software Development java | |
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 … Software Development c++ | |
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 … Software Development c++ | |
[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. // … Software Development c++ | |
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? … Software Development c | |
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 … Software Development c++ visual-studio | |
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 … Software Development visual-basic windows-virus | |
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 … Software Development java | |
I need the following output using nested for loops only.. Can someone please help me? Thanks a lot.. Software Development c++ ![]() | |
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]) … Software Development 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 … Software Development c++ | |
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 … Software Development c c# c++ microsoft-access | |
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. Software Development | |
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 Software Development image visual-studio | |
I am installing sql server 2005 express as a pre-requisite along with my VB.net application setup. When I run-setup, set-up starts and after 2 or 3 minutes it gives error as follows : [COLOR="Red"]Component SQL Server 2005 Express Edition SP2 (x86) has failed to install with the following error message: … | |
How would I be able to find a certain pixel on any screen under a certain RGB, and then get its x y coordinants? Thank you! | |
I know what a Jar file is. [url]http://java.sun.com/developer/Books/javaprogramming/JAR/basics/build.html[/url] I just can't figure out how to get it to be recognized as a command. I have the same problem with appletviewer. I was told i was suppose to to set some path but i am not sure where it is. I'm … Software Development java | |
I want to create a custom NumberFormat which returns empty string for negative values and the double number iteslf for +ve and zero values. Please guide me.................... Software Development java | |
I am trying to read a specific line from .txt file. The problem is the the whole application hangs. It does not display any error, just hangs [CODE=vb] Imports System Imports System.IO Dim Username As String = "" Private Sub Form1_Load() Try Dim Filereader As New IO.StreamReader("Test.txt") Dim CurrentLine As … Software Development vb.net | |
<post unlinked from [URL="http://www.daniweb.com/techtalkforums/post35277.html"]this [/URL]original thread> Can you send me your vending machine code? Software Development c first-post | |
hello, i have an ASCII file and i open it with: StreamReader SR = File.OpenText("pathtofile"), but this method opens an UTF-8 encoded text file. i read that everything that's UTF-8 is also ASCII but i don't really understand these encodings. so, is it a problem if i open the file … Software Development | |
Hello all, How i can delete value variable using vb.net.. I try this one.. strTBL_T5_Lookup = "" or strTBL_T5_Lookup = nothing But value is still in there. Why my code is not working. Please tell me??? Thank's Software Development vb.net | |
hi, how to use custom made photoshop buttons in c# windows form...please show me how to do it. anyway thanks in advance. Software Development | |
Hi again guys :D I need to make a program that reads a txt file, show the original file on a RTB and then show the words of the file, sorted alphabetically with the number of words found on the file in another RTB, e.g. INPUT: "That fox killed my … Software Development file-stream file-system vb.net | |
Hi Friends i have a datagird and it has 2 columns and have calculate with the content of them but when i typed them in runtime my result was wrong i followed it by BreakPoint and underestood that the content of last column didn't use in my calculate(although it has … Software Development | |
For example, I want to set flag so that when I click a mouse down a screen schows up. I got that. But when I take my finger off of the button it disappears. Does anyone know how to set up a falg so that doesn't happen? switch(id) { case … Software Development c++ |
The End.