199,114 Archived Topics
Remove Filter ![]() | |
Hi guys :), long time ^^ I have a question, I hope to get the answer :) "what is the name of all c++ exception handlers?" thanks in advance :) | |
hallo, i have align problems about my data into a html table. In Firefox everything is ok aligned to center. in IE everything is alligned to left and thats not ok my code [code=php]</head> <body bgcolor=#FF8000> <div align='center'> <table border='1' align='center' width="80%" cellspacing="0" cellpadding="0" bgcolor=#FFFFFF> <tr allign='center'> <td align='center' width="492" … | |
I want my program to analyse geometric figures drawn by user. Figures must be filled with color. I have already found algorithm that checks if points are inside figure. I have problem with getting pixel color. [CODE=csharp] Bitmap rysunek; Pen pisak = new Pen(Color.Black, 1); rysunek = new Bitmap(pictureBox1.Width, pictureBox1.Height, … | |
I'm working with structures, but somehow it skips one of the user inputs for the pie's price: [CODE]#include <iostream> #include <windows.h> #include <string> #include <conio.h> using namespace std; const int ESC = 0x1b; struct pie{ string brand; float price; string flavour; }pies[5]; int main() { cout << "Structures."; cout << … | |
Hi All, I am researching writing a program in C that will allow me to control the read/write on a FDD and then to move onto HDD's. I have been given some code that will allow me to do this by one of my lecturers but uses the DOS.H library … | |
write a java program that checks if parenthesis and brackets are balanced in an arithmetic expression. help me!! :(( i dunno how to solve that problem.. is it the same as the calculator java code? the concept, i mean.. :( help me guys.. | |
I want to learn PHP for my own use and to also get into the PHP programing area. My question is what is the best way to learn it and where are so really good tutorials and programing ideas to get into PHP programing. | |
Hi, im working on a mouse recorder. My problem is that i cant get the mouse click to work, everything except for the mouse click works. I've tried with several tutorials around the web, but i get errors on the declarations because two of them are named mouse_event. Thanks, Dajak. | |
[COLOR="Red"]Dear friends, I am new To Vb.net World. I have to Create a XML file like as shown below. <Task> <TaskStatus ID="PS0002436" status="Start" /> <TaskStatus ID="PS0002435" status="Start" /> <TaskStatus ID="PS0002434" status="Start" /> <TaskStatus ID="PS0002432" status="Start" /> </Task> Is there any Code available for creating... i need to add the "Value" … | |
Well im trying to "sleep" or make the program twiddle its thumbs for 15 seconds before continueing but without pausing the main thread. So i thought maybe if i create a new thread and Sleep in that one that would help but no. So then i thought the timer object … | |
I need my program to "stop" as the timer is running and when the timer returns true i need it to continue what it was doing. Sleep: [code] void iUpdateStatus() { bComplete = true; //IDC_Status.Text = IDC_Status.Text + "\r\n" + DateTime.Now.ToString(); } bool sSleep() { System.Timers.Timer myTimer = new System.Timers.Timer(); … | |
Hellow everyone, please someone help me... I[COLOR="Red"] want to read data from a pdf file [/COLOR]but my coding does not work... | |
Hey guys, First post here, but I have some interesting projects that I would appreciate some help with. I'm posting this in the C section, just because I have had a little experience with C. I know there is a ton of info on the subject around the web, but … | |
Could anyone inform me of how I would call the screen saver on windows xp? Edit: Just did some research on MSDN and found the WM_SYSCOMMAND, and i see something about calling the screen saver in there, but i am confused on how to use it. Any help? Thanks guys | |
Hi, I want to change the color of my button during runtime.. i am writing the following code inthe OnCtlColor of my dialog box [CODE]HBRUSH CPIVSyncDlg::OnCtlColor(CDC *pdc,CWnd *pwnd,UINT nCtlColor) { HBRUSH hbr = CDialog::OnCtlColor(pdc,pwnd,nCtlColor); switch(nCtlColor) { case CTLCOLOR_BTN: if(pwnd->GetDlgCtrlID() == IDC_STARTSTOP) pdc->SetBkColor(RGB(255,0,0)); return (HBRUSH)m_btbrush.GetSafeHandle(); case CTLCOLOR_DLG: pdc->SetBkColor(RGB(255,255,255)); pdc->SetBkMode(TRANSPARENT); return (HBRUSH)m_hbrush.GetSafeHandle(); … | |
i need a program than can be ask user : name , age , id , and salary then shows me the maximum salary and minimum salary and then sort salary from maximum to minimum . please complete these program for me [CODE] public string name;a public int age; public … | |
Hi there, Im starting my own development company and would like some feed back on my two options for a company name. I will specialize in asp.net (front and back) [B]Castles in the Sky IT solutions[/B] or [B]Infinity Technology solutions[/B] I am a very indicisive and would appreciate some feed … | |
Hi, I need to automate an Excel sheet. The requirement is that I need to read data from various CSV Files, maipulate them and place the results into specific cells in an Excel Sheet. This excel sheet is already prepared with lots of text. Only specific columns are left blank … | |
i need to enhance jawi converter application using syllable word, but i don't know how to start it. The previous version, the coding is not working for syllable,so i need to change some coding to make it done convert correctly.Here some of code that i have to enhance. | |
please i just got this visual basic 2008 installed on my system and i would have started work if not for the fact that i cant locate the tools on the toolbox, and what can i do without tools? plaease how can add the tools and get them working.... | |
help theres nothing happen everytime i search a record heres my code [ICODE]Dim a a = InputBox("Input Product Code :", "Find", "") If a = "" Then Exit Sub End If Set rs = New ADODB.Recordset rs.Open "Select * from Product where pcode='" & a & "'", cn, adOpenStatic, adLockPessimistic … | |
hi how can i change the backcolor of my label the SA is the name of the label heres my code [code] Private Sub Text1_KeyPress(KeyAscii As Integer) Select Case KeyAscii Case 97 SA_Click (0) Case 115 SA_Click (1) Case 100 SA_Click (2) Case 102 SA_Click (3) Case 103 SA_Click (4) … | |
Hi. I'm new to the forums, and I have a quick question. I would like to add 14 days to the current system date in a program. Here is my code: char date[9]; _strdate(date); char time[9]; _strtime(time); cout << "The due date of your books is: " << date << … | |
HI For Christmas I got a book on game programming with allegro. I went through the process of setting up the files and ran, compiled, and linked the program only to find that depending on which compiler I used (Dev-C++ or VC++ 2008) it came up with different errors saying … | |
Hi There, I have a third party EXE file (on which I have no control of any modification) which invokes a new CMD window in order to execute itself. In other words it a windows console application. Now it executes with some switches for runtime options [ICODE]<exe_name> /opt1 "param" /op2[/ICODE] … | |
Can anyone recomend any c++ 3D engines that are similar to pygame? | |
Hi again. In one of my programs, I would like to put in a search type feature. I would like it, so if the user enters a book name, it returns the call number of the book. I would also like it ti display a message if the library doesn't … | |
Hi I'm having a problem reading in a file. I am using BCB6 Personal Edition under Win XP. The file is always read correctly up to the 4413th byte then the data is corrupted. I have modified the code from a fixed array size to use a vector so I … | |
hello there, well i just started python, and well came to grinding halt. Why doesnt this work when i enter this... [CODE]print "hello world" [/CODE] it gives me [CODE] IDLE 3.0 >>> print "hello world" SyntaxError: invalid syntax (<pyshell#0>, line 1) >>> [/CODE] can anyone help me? -cheers | |
i was writing a code for the applet in the awt class. but i was confused as i couldnt find any function to fix the position of button or textbox in the applet. the only solution which i got was using layout manager. but then i also couldnt find the … | |
Hi Again. I have a password field in one of my programs. I would like to display the letters as a *. Does anyone have some code to achieve this? | |
Hello, My problem is the execution jumps over a lot of code. In my example it jumps from "if" to the last end;, without executing anycode inbetween. Why? I had no "if" before and the one line was executed before the procedure was ended. No error message is returned. All … | |
Hello, I'm making a customer data base for my friend. I need to open, edit and save a excel file in ole. So I know how to ope and edit but I don't know how to save it. I searched already half of a web and I found nothing so … | |
hello. i've been working on a website and everything works/looks fine except when viewing the site with firefox on a mac... one of the pages has two frames that should work at the same time when a link is clicked on the page. however neither appear. i have another page … | |
I have a custom class that is an entire structure within itself, many layers deep. However, this object is stored in memory through sessions. I need a way to retrieve the session variable without having to call it through a return method. An Example: This is what I currently have … | |
Hi all, I am trying to select a value from drop down list and if the value is NewDepartment then a text box should be visible for adding a new value and that value must be populated in the drop down list also if the user selects the new value … | |
I am coding a program which will simulate a ballot box, where voting wil take place. The code generates a random number which is the voter number which is unique to each voter. This is output to the user before voting. I would like it to perform a check to … | |
Hi New Here, I am struggling with a project am doing in Visual Basic 2008 where I am intergrating a access 2000 database. I cant seem to use the VB2008 program to search one field from the database (House Numb er, Id like to search btw). Any help people...... Thanxs … | |
I want to make an appointment manager type thing in Delphi. In which I can add/edit/delete/make sure appointments dont clash. Its part of a larger program I am making in Delphi which is why I cant use anything else (apart from microsoft access via a DBGRID) and it is really … | |
Hi everyone! First post here. I've been programming for years but this xslt confuses the heck out of me. Can someone please tell me how to get this piece of code to work? It's a fragment reading in an rss feed and I'm trying to get it to only show … | |
[code=c] #include<stdio.h> # define A 10 const short LINE_SIZE = 255; main(){ char a[LINE_SIZE + 1] = " "; //Error here...why is this an error?? char b[A]=""; //no problem here printf("%d",sizeof(a)); printf("%s",a); } [/code] | |
hi frnds.... i m newbie in php.................... i want to make advanced member login system where peoples can signup,signin,logout etc...... i want to achieve dis with the help of dreamweaver 8............... i m using php 5,mysql,apachie server and phpadmin login................. if u hv any idea do tel me.............................. | |
Good day, Happy new year to guys. I Know that this is not the right forum for my question but I dont know which forum to post this. Pls accept my applogies in advance. I need to develop a software that can receive info from a GPS receiver thru a … | |
Hi ! Some (weird) problem i got : I have a header file, InputHandler.h, which has one Class called InputH, and inside i have public: and a Void named Hi(). When i try to include InputHandler.h in PRPT.cpp, i get an error, weird one; The error says that i should … | |
Hi I am writing a code in VC++ char* style = "color:#4D4DFF;font-size:9pt;font-family:Arial;"; char* semicolonsplit = ""; semicolonsplit = strtok (style,";"); But in the last line I am getting an error " Access violation writing location 0x0041606d." Am I missing something. Regards Karan | |
hi,everybody i am using vista home premium. I install PHP software on my laptop but it is not work what shall i do. Can u help me ? | |
Ok so im still learning C++, looking at some directx and i come across a _ before a var and was wondering what it means. for example: pDevice->SetVertexDeclaration( _vertexDeclaration ); or in a error macro: SHOWERROR( “CreateVertexBuffer failed.”, __FILE__, __LINE__ ); first one is probably the best example. thanks. | |
As all of you know that PHP is a scripting language originally designed for producing dynamic web pages. Also it belongs to open source of family and is widely-used scripting language now-a-days. But I wish to ask every member of this forum, what will be the future of PHP. Will … | |
help.. i dont know how to sort strings.. for example.. if i enter: [CODE]JOKER[/CODE] then the descending order of string must appear: [CODE]ROKJE[/CODE] i think of strcpy() ..but it i dont know what to place in the if().. here's my code.. [CODE] #include<iostream.h> #include<conio.h> #include<string.h> #include<stdio.h> void main() { clrscr(); … | |
I'm looking for a control in c# that looks like a panel but allows you to write header text on his border. i attached a picture to show you what i mean. does anyone knows this control ? |
The End.