1,899 Topics

Member Avatar for
Member Avatar for Thew

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...

Member Avatar for Duoas
0
89
Member Avatar for jagdishc

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)) { …

Member Avatar for jagdishc
0
78
Member Avatar for sobam15

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 …

0
51
Member Avatar for sobam15

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. …

Member Avatar for sobam15
0
240
Member Avatar for AKJo

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 …

Member Avatar for AKJo
0
931
Member Avatar for eenceo

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 …

0
65
Member Avatar for mzdiva041986

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] …

Member Avatar for Duoas
0
81
Member Avatar for JimBeam

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 …

Member Avatar for JimBeam
0
173
Member Avatar for Thew

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...

Member Avatar for pritaeas
0
21
Member Avatar for Evil_Tim

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 …

Member Avatar for farhan386
0
87
Member Avatar for Peppercat101

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.....

0
74
Member Avatar for solaris249

[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]

Member Avatar for Mehrdadnk_20
0
245
Member Avatar for elva.tanaem

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

Member Avatar for elva.tanaem
0
297
Member Avatar for rcflyer

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

0
46
Member Avatar for kbrassfield

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.

Member Avatar for kbrassfield
0
95
Member Avatar for eenceo

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 …

Member Avatar for eenceo
0
80
Member Avatar for richardscooke

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;

Member Avatar for ebi1
0
106
Member Avatar for corum10

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 …

Member Avatar for ebi1
0
99
Member Avatar for Duki

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

Member Avatar for grumpier
0
104
Member Avatar for TerenceZ

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 …

0
63
Member Avatar for richardscooke

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 …

0
49
Member Avatar for monar

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 ;)

Member Avatar for Duoas
0
80
Member Avatar for georgiaa

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 …

Member Avatar for georgiaa
0
352
Member Avatar for Motapa

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.

Member Avatar for Duoas
0
170
Member Avatar for vanhai

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 ????? .

Member Avatar for jsosnowski
0
125
Member Avatar for bob on whidbey

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.

Member Avatar for Motapa
0
194
Member Avatar for tlc30

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 …

Member Avatar for Duoas
0
103
Member Avatar for HolyEnd

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 …

Member Avatar for HolyEnd
0
130
Member Avatar for Peppercat101

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 …

Member Avatar for johnybe
0
175
Member Avatar for edabura75

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 :)

Member Avatar for trsek
0
198

The End.