937 Topics

Member Avatar for
Member Avatar for OASys1

Greetings, I need to have a way to veiw/print reports designed in MS Access in my Delphi application. I have a MS Access 2007 db for the backend of my Delphi2010 application. I have reports I had defined and saved in my Access db. I would like to place a …

Member Avatar for OASys1
0
448
Member Avatar for redrobby02

Hi i am very new to delphi and have only been working with it for a few months, i need to calculate the difference between 2 TDateTime Variables regardless of the number of days passed. Currently im using this: [CODE] var StartTime, EndTime, TimeDiff: TDateTime; begin StartTime := (Now); EndTime …

Member Avatar for Morten Brendefu
0
6K
Member Avatar for Morten Brendefu

Dear enlighted ones. I happen to try to finsh a kind of a function library that my Main program can utilize. As of now, Everything work great... but. I would like to implement some kind of error handling. The way I do this also work, but the error is generated …

Member Avatar for Morten Brendefu
0
588
Member Avatar for seto.girl

hi I want my delphi DB that I made to export to excel file how it is possible?and the most important thing is delphi reports that I made I want them to export as excel files ,plz help me !!:(

Member Avatar for Morten Brendefu
0
3K
Member Avatar for Pirsig

[I] [/I]Hello. I am trying to write a very simple Delphi4 32-bit console app which toggles the RTS pin of the COM1 RS232 serial port. What is the simplest way to do this? I tried writing asm code (see below) but not surprisingly I got a run-time exception: [QUOTE]Exception EPrivilege …

Member Avatar for Pirsig
0
261
Member Avatar for Srcee

I get the error "Error 1(E4) "end." or implementation section members (types or methods) expected." Nowhere on the internet I can find information about this error. I get this error because of this line of the AssemblyInfo.pas file: Implementation SomeMethod(); end. I work in Delphi Prism.

Member Avatar for Srcee
0
98
Member Avatar for Morten Brendefu

I have tried searching internet a little bit and found some useful information about the command [CODE]SetLength[/CODE] I just wonder about a few things as I would like an array to "constantly" be redefined in size. When using it in one part of my program, it will be defined in …

Member Avatar for Morten Brendefu
0
141
Member Avatar for dondajr

Hi everyone! I'm trying to make a DDE Server app with Delphi. I put the components DDEServerConv and DDEServerItem, I made the connection between both and setted into "Text" property of DDEServerItem the line "Its Work!". Opened my excel and put =AppEx|DdeServerConv1!DdeServerItem1, and works fine, the excel shows "Its Work!" …

0
74
Member Avatar for peglegmeg152

I have to make a Yahtzee game (in Delphi) for a project. I now have to write the pseudocode for the 'sixes' algorithm. I am using image lists and images for the dice faces, and am totally stuck on how to start the code. I am writing the proper code …

Member Avatar for AceStryker
0
85
Member Avatar for bogut

The question is as follows: How long – number of steps -- does it take a drunken ant to fall off the edge of a square table if it starts in the middle? Perform a simulation to find out. Imagine an ant in the middle of a table with, say, …

Member Avatar for FlamingClaw
0
191
Member Avatar for ariswidiantoro

hello.. How do I'm get the status printer from the EPSON STATUS MONITOR 3 ?, I've tried to detect the status direct from the driver, not from windows, but I just get the status from the windows, not from DRIVER, the difference : if from the windows after the printing …

0
67
Member Avatar for fayyaz

Hi All As you know One of the new figure's of SQL Server2008 is that you can Define a table as a stored procedure parameter. So my question is that how cane I pass a data set to Stored procedure as a parameter in Delphi? Thanks

0
79
Member Avatar for Simon180

like the title says how to calculate 10 days from a date with delphi, am after simple way to get 10 days trial from current date of usage can anyone help thanks :)

Member Avatar for Simon180
0
147
Member Avatar for boneful

Hi, I am new here Need help here is my code [URL="http://paste.ideaslabs.com/show/OJ17OQW1Fh"]FULL CODE HERE[/URL] , but function y=10^x doesnt work right! well it works great while x = (0,1,2,3,4....) but when x is negative (-1,-2,-3) it doesnt work. I have been trying to fix it for a while now i …

Member Avatar for AceStryker
0
117
Member Avatar for TheHaxx0r1215

Alright, I have a members area, area.php, and I used mysql to find the userlevel and display content depending on the userlevel, 1 for user, 2 for admin. I made it, but it displays both the user and admin for 1, and 2. [CODE]<?php // Members Area // session_start(); $usernamee …

Member Avatar for kanchana Mala
0
251
Member Avatar for Brenhines

Hi, I downloaded AecRijndael v.1.16 encryption component for Delphi 5 from Torry.net. There is no help included and I can't work out how to use it. When it is installed it has three pertinent properties. Cyphermode - which can be ECB CBC CFB OFB Keysize - which can be SMALL128 …

Member Avatar for Brenhines
0
262
Member Avatar for anuj_sharma

Hi, I am trying to start to learn Delphi but I am unable to find any useful resources. I am not even able to find any IDE to download !!! I am very new to Delphi and need your help. Give me some tips to start from and then from …

Member Avatar for anuj_sharma
0
127
Member Avatar for DelphiGuy

Well I'm making a program where multiple images will be used but I don't know how to make the images transparent, since Delphi is only allowing me to use .jpg images instead of transparent .png images. It ends up giving my images a white sqaure block around them and ruins …

Member Avatar for DelphiGuy
0
100
Member Avatar for TrustyTony

There was question about encryption in Delphi/Pascal forum and a guy was suggested reversing the bits as additional step (I do not know if he in reality meant XOR 255, that is making 0's 1's and vice versa). As it keeps still same distribution of letters I suggested as better …

0
634
Member Avatar for Fireprufe15

Nah I'm just kidding. Hi my name is MG, handle Fireprufe15. I am a delphi programmer in training (school, urgh I wanted to learn Java). I'm a gamer and aspire to one day be a game developer. But dreams sometimes remain dreams. I also enjoy writing and starting flame wars …

Member Avatar for jingda
0
65
Member Avatar for Fireprufe15

Hi, I am working on a multiple layer encryption program for my school IT project. Right now the message runs through a Caesar cipher (which the user can select the shift of), it reverses the message and then it reverses the bits of each character, making various symbols come out. …

Member Avatar for Fireprufe15
0
294
Member Avatar for RealNoob

Hi as u all probably notice Im a noob with Delphi Is it possible to code a case like I did below If it is please correct my faults I made so that it would run redSpan is a rich edit edt1s is a edit chelsea and arsenal are textfiles …

Member Avatar for Duoas
0
907
Member Avatar for fayyaz

Hi All I want to create a service application with Delphi that can connect to SQL DataBase I can create service application but the ADOQuery don't work inside the service Is any one that can tel me what should I Do? Thanks

Member Avatar for Wolfgan
0
1K
Member Avatar for TerenceZ

I want to give users full access to certain folders in the ProgramData folder. Can this be done with Delphi code?

Member Avatar for pritaeas
0
95
Member Avatar for agrarian

I have a project where I need to retrieve data from MS SQL Server and format it into an Excel Spreadsheet. I am using the OfficePartner component to try and make this easier, but I'm having a hard time figuring out how to get the VB help and Excel Object …

Member Avatar for Wolfgan
0
904
Member Avatar for AceStryker

Hello!I need help in my program.My program need to disassembly another program and get his ASM code, with this ASM code, i need to search for a address and get the sintax command of this address, if anyone has an unit that does it, i would be very happy

0
79
Member Avatar for ajst

Hi DaniWeb, I'm new to delphi and was wondering if it is possible to embed forms inside one another. Example I have several forms working by it self and I want to move them forms onto a new blank form. Rather then copying and pasting the code is there a …

Member Avatar for ajst
0
138
Member Avatar for whitefly

Is it possible to select a block vertically (rather than the usual horizontal) and delete or add multiple lines in columns in one go from within RAD studio's (Delphi's) IDE? I'm getting frustrated with Delphi's poor documentation. Am I alone with this?

Member Avatar for Duoas
0
579
Member Avatar for Panathinaikos22

Well, i won't be programmer, but programming is a part of my life i like it. I Really confused, im 22 years old, and im in Informatic HSchool, i know that if i follow to be programmer that is good thing because i like it + as i know programmers …

Member Avatar for Rashakil Fol
0
195
Member Avatar for berniefitz

Hi there, I'm having some real issues with restoring a piece of legacy software at my workplace. I have an offending line of code that I can't debug. [CODE]bFound := tblComp.Locate('CompPhone;Title;AddLine2', VarArrayof([sPhone, sTitle, sAddLine2]), [])[/CODE] When the script gets to this point sPhone, sTitle and sAddLine2 are correctly populated. When …

Member Avatar for Mikav6
0
663
Member Avatar for delphi7

How to create a custom webbrowser in minutes with many added features. It took me several months to create this tutorial so I hope many people will find it useful. Every care has been taken to make this code as accurate as possible, should there still be any mistake then …

Member Avatar for delphi7
1
556
Member Avatar for Marc Smets

My name is Marc. I live in Belgium working in the public safety care. I am 51 and more than 10 years ago I programmed in Visual Studio 6, especially basic. In 2004 I had to work with Access and VBA to make databases for work, until now. My boss …

Member Avatar for jingda
0
42
Member Avatar for KKR_WE_RULE

I've made a library for Delphi to work with matrices. Everything in the library works perfectly as intended save the Matrix Inversion Procedure. I've used the Gauss-Jordan method of Matrix Inversion & everything works excellent for square matrices upto 7x7. From 8x8 onwards, I get a 'Invalid Floating Point' Error …

Member Avatar for Mikav6
0
502
Member Avatar for dwolver

In past few months my computers that i develop on have become increasingly un-responsive, especially in delphi. I noticed changes after a round of windows updates a few months back. Previously when in the IDE, when you clicked anywhere delphi may try to compile or evaluate the code and it …

Member Avatar for Mikav6
0
114
Member Avatar for Toulinwoek

Borland has released some "Turbo Explorer" editions of it's development tools. I am wondering if anyone here can tell me (as objectively as possible) if the Delphi language is -"Better" -More powerful -Easier to learn -More Flexible -Able to create better performing apps Than C# (I am particularly referring to …

Member Avatar for conhulio
0
2K
Member Avatar for rtr18

Hi! I'm trying to restrict my exe to only one at any time. I've used the following code: [CODE] var Mutex : THandle; Mutex := CreateMutex(nil,False,'MyMutexName'); [/CODE] I got the following error in CreateMutex: 'Invalid Number of Parameters". How to create a Mutex in Delphi?

Member Avatar for TrustyTony
0
197
Member Avatar for rtr18

Hi! I'm using Inno Setup to create setup file for my application. Inno Setup is based on Delphi Script. I searched for Inno Setup forums and I could not create an user account with any of them. That's why I've decided to post here. While installing I've to check the …

Member Avatar for Duoas
0
148
Member Avatar for Morten Brendefu

Dear knowledgeable ones A new problem have arisen. I have now an SQL database file with about 100 tables in it. I would like to automatically go through all of these tables and check if the column "Owner" exist. If this field does not exist, then it should be created …

Member Avatar for Morten Brendefu
0
170
Member Avatar for BradenMurphy

Hi, Is possible to load a .NET v3.5 assembly into a .NET v2.0 application? For example my application (written in delphi.NET) only supports .NET v2.0 and I would like to know can I load .NET assemblies compiled in .NET3.5 or greater? Regards, Braden Murphy

Member Avatar for kvprajapati
0
58
Member Avatar for horserider

i m new to delphi.i have coded in vb,php, c etc..now i have to learn delphi.I was wondering if there are any good websites or books, where I could learn the delphi.. ???

Member Avatar for PlotHost
0
105
Member Avatar for Pundia

Hi, I'm working on a simple calculator in Delphi. The assignment is convert C code to Delphi code. My problem is that I've tried for days and I can't come up with something to replace "getchar" from the C code. This is the code in C: [CODE]#include <stdio.h> #include <stdlib.h> …

Member Avatar for Battlesnake
0
599
Member Avatar for agrarian

I am creating a Delphi program that needs to extract data from our database and create an Excel report. I would prefer to use the Delphi components TExcelApplication, TExcelWorkbook and TExcelWorksheet, but I haven't been able to get them to work. Most of the examples I have found are fairly …

Member Avatar for Wolfgan
0
2K
Member Avatar for ChaosKnight11

Hi, I am trying to install the Python4Delphi components, but it doesn't compile (from python4delphi.googlecode.com/svn/trunk). It also seems out of date. What is the best current way to use Python inside Delphi? Any advice or help will be greatly appreciated. Thanks!

0
116
Member Avatar for TrustyTony
0
791
Member Avatar for Morten Brendefu

Dear knowledgeable ones. I started on a project to be able to use a smart card and a smart card reader in order to limit access to a program. I had some sample code written in Visual Basic, and wanted to translate this to Delphi instead, something I think I …

Member Avatar for pritaeas
0
824
Member Avatar for Morten Brendefu

I did an experiment regarding sorting of 256.000 random "names" using TListBox component. A friend of mine say that TListBox is faster than my code at sorting, so I wanted to test this out of curiosity. Method of testing. When I have created 256 thousand random textstrings, each 6 characters, …

Member Avatar for TrustyTony
0
2K
Member Avatar for elbiociq

[I]To get an answers to my questions, I need to tell you about my profile. Computer Programmer Analyst old fashion (D.O.S. environment, not windows). Languages: Pascal, C, MS Cobol, Clipper, Turbo Basic (C++ but no experience programming), Oracle. The questions are: What should I study in the field of IT …

Member Avatar for elbiociq
0
216
Member Avatar for TrustyTony

I did this code to compare to Delphi code in Delphi forum [URL="http://www.daniweb.com/software-development/pascal-and-delphi/threads/357771"]TListBox and sorting[/URL] which ran in my computer compiled in free Lazarus environment at time 7,235 s for generate and insert to listbox, 13,265 s sorting the listbox.

0
586
Member Avatar for falgunpatel

What are the four major sections of a Delphi Unit? What is the difference between an Object and a Class? In the context of a class what does “static” mean? Why would you use it? How would you create a thread in Delphi? What are the issues that you can …

Member Avatar for TrustyTony
0
106
Member Avatar for techturtle

I’m fairly new to C#, especially with databases. I’ve worked in VBA and Delphi doing databases, so I was hoping to just use this like a RecordSet or a Tcursor, but so far it’s not panning out like that. I have a SQL database added as a dataset in my …

Member Avatar for techturtle
0
197

The End.