1,899 Topics
| |
| Hello, I need to know how can I get the process name (or path to the executable) that is currently using some file. Like I want to know which application uses Dll I want to replace, so I can kill the process... |
Can anyone tell how to print a pascal's triangle... i've wriiten a code but it is not printing the triangle as the way iwanted it to.. here is my code: [code=cplusplus] #include<stdio.h> #include<conio.h> void main() { int n,a[50][50],x,y; clrscr(); printf("Enter the number rows:\t"); scanf("%d",&n); for(x=0;x<n;x++) { for(y=0;y<=x;y++) { if((y==x)||(y==0)) { … | |
I have to create and run a program that can take any column and row value and print the corresponding number. I think I understand how to do this manually: 1. Initialize row and column ($i and $j). 2. Make sure row/column combination exists, row must be larger or equal … | |
This triangle shape full of numbers is the reference I have to use for the first part of a homework problem, but I haven't the slightest clue as to why the rows and columns are indexed starting at zero and what that means in terms of all the other rows. … | |
I have just installed Delphi 2007 in my Vista (jumping from 6 in wonderful XP). Everything is new and unknown. Help seems impossible to find, and I need to get a DLL showing its object in my Tool Palette so I can compile old programs. Could someone please guide me … | |
I created a program that uses an XML file to store information. Everything works fine on the computer I created it on. When I transferred it to another computer it gave a windows error reporting box and did nothing else. I modified the program so it showed message boxes while … | |
Help me improve this algorithm please, as of now it is calulating the rows of Pascal's Triangle but I need it to calculate the colums and stop at (3,1). for n:= 0 to k do for m:= 0 to n do if m=0 or m=n then A[n,m]:= 1 else A[n,m]:=A[n-1,m-1] … | |
Couldn't find a search button so I'll ask: I'm running Freebsd v7.0 with the ratpoison window manager, and have installed free pascal from ports. I've been trying for hours to get either Lazarus or fpc-ide installed with no luck. Lazarus - gives message like menubar>>environment.>environment options>> etc etc etc. If … | |
| Hi, I need to know, if I can draw multi-colored subitems in ListView. Since I've been trying to do this, I made some steps, but the result is subitem still with one color. For example, I need to draw this: [COLOR="Red"]H[/COLOR][COLOR="Green"]e[/COLOR][COLOR="Red"]ll[/COLOR]o, but I get this: [COLOR="Red"]Hello[/COLOR], always... |
I have a project that i need to do but i am having trouble with the code for a delphi application to auto find all the required files and database files that are required for the application to be able to function properly - meaning that if i move the … | |
I have a little problem... I use a MS database in my program.... I want to enable the user to backup the database that I use to a specific location that they choose.... Any suggestions? Because I'm lost..... | |
[B]Is pascal vulnarable to heap overflow vulnarability?I think pascal doesn't any have problem with stack overflow attack.is it true in heap overflow attack too?does pascal any problem with heap overflow attack? Thanks.[/B] | |
Hey Guys, I'd like to try using function and procedures on my project, I tried to write them on different unit say unit2 to be used in unit1. I find a difficulties using them in unit1. thanks in advance! Elva | |
Hi Everyone, I am wondering if there are any Delphi programmers out there that is using SamLogic's Calendar Component, I bought it last week and I am having problems. I would very greatful if anyone can give some help in using it. kindest regards Stephen | |
Can anyone tell me which utility package includes wwIncrementalSearch? I am trying to change a system that a programmer created that has passed away and left no documentation. Any help would be appreciated. | |
I made an mp3 player in Delphi. I set it up to register it's playlist file type. Now when you double click on a playlist in explorer it opens my player, like it should. How do I find out what file they clicked on to process? Google was useless for … | |
In form1.setupForm() I have the following code which should close the application if there are any problems with connecting to the database. For some reason it just ignores the application.Terminate. Please can someone help. try database1.Open; except on E:EDBEngineError do begin Application.MessageBox('Error connecting','Error',0); Application.Terminate; end; | |
Hello all, I'm perplexed here really. This is in Delphi 7 I Have a snippet [code]var U:string; UserPath:string; begin U := GetCurrentUserName;[/code] My get Username works fine calling on a function I wrote however when I am attempting to insert that username in a directory path it wont place the … | |
A very funny (and borderline absurd) article I thought many of you would enjoy: [url]http://www.pbm.com/~lindahl/real.programmers.html[/url] :) -hope this is the best place to post this | |
I am using a BDCtrlGrid in a delphi unit. On the DBctrlgrid are two dbText's and one DBMemo. Now I moved the application that uses this unit into a dll. Now, when showing the form, the grid shows the 10 records in the table, but the DBMemo only shows the … | |
I am having a problem handeling an EDBEngineError. When I type an incorrect password in a login box it causes a EDBEngineError which I want to handle. I first tried having the database.open in a try....except block but that did nothing. Now I have tried using an application exeption handler … | |
Hello. My problem is that i don't know how to load Frame in my main application from Package that I created. Sorry for my English Thanks for all replies ;) | |
Hi guys, I was hoping somebody could kindly shed some light on a relatively basic function for I am trying to execute in Delphi for a project I am completing for work. I am very new to the world of Delphi so any assistance would be greatly appreciated. I have … | |
I am bussy developing a web application using delphi, i need my application to use a barcode scanner for filtering, please give me an idea on how to go about achieving that. | |
as in [URL="http://www.vietnamfuntravel.com/"]mysite[/URL] has old database use for 3 years now i want open it with more field [URL="http://www.vietnamfuntravel.com/book_tour.php"]example[/URL] [URL="http://www.vietnamfuntravel.com/hotels.php"]example1[/URL] [URL="http://www.vietnamfuntravel.com/links_exchange.php"]example2[/URL] and now i want get one sub page in these example how to do it ????? . | |
I have two RadioGroups on my form, each with just two RadioButtons. When I click a button in one group, it turns off the "on" button in the other group. What could be causing this? I'm using D2007 with Vista. | |
Hi, I've just completed my intro to programming class and my last assignment is to write a program for a hangman game. I have started and I think somewhere along the line I've gotten confused, can anyone give me some guidance. We did not do randomize in class but the … | |
I need a little bit of help with a program I am making. I have most of the program made except for this part: [CODE]procedure Button1Click (Sender: TObject); begin Button1.Click := public int getPixel(int x, int y); if (R=R+10) or (G=G+10) or (B=B+10) then // Simulate a key press keybd_event(VK_NUMPAD4,0xcb,0 … | |
I created buttons in my coding. 100 buttons.... Each one`s name is "Button" and the row code and then the column code... I wrote a procedure that is used by the OnClick event of those buttons. Now I want to get the name of the specific one I clicked on … | |
I am a new student in programming and having problems in writing a game where the user will input a word, character or munber values for processing. I will be grateful for the assistance. Thank you. Edward :) |
The End.