Although you can use either a & or a + to concatenate values, my preference is to use a + because more languages use it. However, if you use & then some type conversions are done for you. If you use + you will sometimes have to cast a value to concatenate it. For example, you will have to use CStr to cast a number to a string if you use the + operator as a concatenation operator.
DFDs document a process by documenting the flow of data throughout the process. They depict how data interacts with a system. They can be used to engineer a new process, document an existing process, or re-engineer an existing process. Traditional Data Flow Diagrams use four (4) symbols, a square, an arrow, a circle, and parallel lines.
DFDs document a process by documenting the flow of data throughout the process. They depict how data interacts with a system. They can be used to engineer a new process, document an existing process, or re-engineer an existing process. Traditional Data Flow Diagrams use four (4) symbols, a square, an arrow, a circle, and parallel lines.
DFDs are also known as Data Flow Graphs, Bubble Charts, Petri Networks, Yourdon/DeMarco notation, and Gane/Sarson notation.
In ASP, you can buffer a RecordSet in either a session or application variable. This code snippet shows you how to create a reusable method for buffering RecordSets in an application variable.
Boxing is the conversion of a value type to the object type (or to any interface type that is implemented by the value type). Unboxing is the conversion from an object type to a value type (or from an interface type to any value type that is implemented by the value type).
This will show how to make a "hello world" console application in Visual Studio 2008 with C#. Let VS.Net do the work and create a new console application using the menu. Use Console.WriteLine and Console.ReadLine for simple input and output.
The null-coalescing operatior ?? is used to assign a default value for nullable value types or reference types. This operator prevents exceptions from being thrown when trying to assign a nullable type to a non-nullable type.
For example, this code will throw an exception.
int? x = null;
int y = x;
However, this code will assign the default value of -1 to y:
Question: How do I take advantage of Application Virtualization in the application I'm coding?
Answer:
You don't have to do anything special in your application. However, you do have to give certain folders and files the correct rights in your installer.
Same as standard C++. C++ uses a semicolon ";" as an end of statement specifier and you can put multiple statements on a single line of code if you wish as well as split a single statement into two or more code lines.
Our most popular article in the history of our online community! Explains the "is a", "has a", "uses a", and "looks like" relationships (updated May 2007). "Is a" is inheritance, "looks like" is interfaces, "has a" is aggregation, and "uses a" is composition.
Where you define or implement a virtual method in a parent class and then replace it in a descendant class.
When you decide to declare a method as virtual, you are giving permission to derived classes to extend and override the method with their own implementation. You can have the extended method call the parent method's code too.
In most OO languages you can also choose to hide a parent method. When you introduce a new implementation of the same named method with the same signature without overriding, you are hiding the parent method.
Download the free Visual Studio.Net 2008 90-day trial edition.
Try Visual Studio.Net 2008 Microsoft Visual Studio 2008 provides an industry-leading developer experience for Windows Vista, the 2007 Microsoft Office system, and the Web. In addition, it continues in the Microsoft tradition of development language innovation. To enable evaluation of Visual Studio 2008, this page provides links to trial editions of Visual Studio 2008.
From our General .Net Concepts Topic
Resource Link of the Month: A Better .NET Serial Port Control
The SerialPort class introduced in .NET 2.0 is definitely better than writing unmanaged Win32 API calls to access the serial port, but this is much better.
Without going into too much detail, a recent project of mine required that my application interface with an obscure device via RS232 and the serial port.
To do what I needed the device to do required me to manipulate the signal (high/low) on the RTS pin; the .NET framework's SerialPort class didn't really give me a mechanism for doing so. Wanting to leave writing Win32 API p/invoke calls a last resort, the first result in a Google search for "better .NET serial port" led me to this article on CodeProject which described CommStudio's CommStudio Express which includes a much better serial port (SerialConnection) class which quickly enabled me to get past my little setback an on with the application. Best of all it's free!
This tutorial shows how you would create a trigger in Microsoft SQL Server 2005/2008 that will date/timestamp a column named last_updated everytime any data in the row is updated.
This example assumes a primary key that includes 3 fields.
CREATE TRIGGER MyTableUpdate ON dbo.MyTable FOR update AS UPDATE MyTable SET last_updated = GetDate() From MyTable Inner Join Inserted On MyTable.KeyField1 = Inserted.KeyField1 and MyTable.KeyField2 = Inserted.KeyField2 and MyTable.KeyField3 = Inserted.KeyField3
A master table in a multitable relationship is the primary table. For every record in the master table, there can be many records in the detail table. If you are only dealing with one table, then it is the master table. A detail table in a multitable relationship is the table whose records are subordinate to those of the master table. A detail table is also called a slave table, a child table, or a many table.
From our Desktop Databases Topic
Resource Link of the Month: Windows Virtualization
Rave Reports comes closest to a Delphi standard now but historically there has been no real standard in Delphi development. Do-it-yourself developers sometimes like to use TPrinter for very simple reports. ReportSmith was bundled with the first few versions of Delphi.
Delphi has offered many embedded VCL component report options. Quick Reports has been a part of Delphi since Delphi 2.0 and has been the default report writer for many Delphi developers. Ace Reporter, ReportBuilder and Rave Reports are also very popular. During the time of Kylix, FastReports was popular because of it's cross-platform nature.
In Delphi, you specify a virtual method with the virtual keyword in a parent class and replace it in a descendant class using the override keyword. Call Inherited in the descendant method to execute the code in the parent method.
CodeGear's Delphi® 2007 for Win32® home page. The RAD visual development environment for WindowsDelphi® 2007 for Win32® The RAD visual development environment for Windows
Question: Why do I have to specify virtual when creating an abstract method? Why not just abstract?
Answer:
For abstract methods, you must specify either regular virtual with the virtual keyword or dynamic virtual with the dynamic keyword. In Delphi for Win32, virtual methods are optimized for speed and dynamic methods are optimized for size. The Delphi help indicates to use virtual for most situations.
It is true that the compiler could make virtual the default and therefore optional but requiring one or the other is consistent with Object Pascal's strong typing.
Today the Government Technology Conference ended (May 16 - 18, 2001). It was held at the Sacramento Convention Center and we were at booth #318. This conference...
Hello, I have a big problem, but I can't seem to find any answers on the net. I am trying to build a service that can send email via mapi. However, I want to...
Java does not support multiple implementation inheritance. Each class can have only one parent class (a single inheritance path). In Java, you can use multiple interface usage to design in a multiple class way horizontally in a class hierarchy.
Inhtml pages, you embed JavaScript code between <script> and </script> (see example). Also it's tradtional to put an HTML comment around your code too so that really old browsers don't crash (probably not all that important these days).
For JavaScript, Java, PHP, and C++, I prefer to put the first { at the end of the first line of the code block as in the example above because I see moreJavaScript codeformatted that way.
ObjectPAL is not case sensitive. My preference for ObjectPAL is to follow the camel casing promoted in the examples and help files originally developed by Borland.
A project alias, like public aliases, point to a folder. Project aliases are stored in the PDOXWORK.CFG file, which is loaded whenever you change working directories.
Easily send e-mail directly from your custom applications. Works with all 32-bit Windows development environments and includes Paradox, Access, and Visual Basic examples.
I'm making a DLL Call and I need to pass a logical, I tried passing an ObjectPAL logical data type and that didn't work. How do I pass a logical to a function in a DLL?
Answer:
With DLLs you are limited to the DLL Uses types of CWORD, CLONG, CDOUBLE, CLONGDOUBLE, CPTR, and CHANDLE. All other parameter types must be mapped to one of these fundamental data types. Because logicals are really just null, 0, or 1, you can use a CWORD which maps to ObjectPAL's SmallInt data type (an integer).
Referential integrity and other settings stored in .VAL files sometimes interfere with the development of a project. This particularly is a problem when you are restructuring a child table in a referential integrity link. If this happens to you and you don't mind losing the validity checks for a table or for a set of tables, go ahead and delete or, better yet, rename them.
I recently loaded a Paradox 8 application on my friend's Sony Vaio Laptop running Windows Vista Home Premium. The application has run perfectly for years ...
Today the Government Technology Conference ended (May 16 - 18, 2001). It was held at the Sacramento Convention Center and we were at booth #318. This conference...
Hello all. I have a question which may or may not be appropriate for this forum but I am going to ask any way. At the office we are running WPX3 sui...
I have a copy of the above release (sp4 i think) that has gotten damaged. Can anybody help me out with a copy of this. I have an FTP site that it can be uploa...
Hi all,
I just joined the community.
My company has been providing services for over 15 years to organizations in Europe, USA and Israel. We consult on:
- ...
Today I added a "Random MB Thread" to the main message board menu. This link displays a random message board thread from "all threads". Sometimes I like to review old threads just to keep my knowledge...
Declare your class in the Interface section. Then implement the class in the Implementation section. To create an object instance, use the New keyword. Optionally, you can use Create for backword compatibility with Delphi if you turn it on in the compatibility options. Since Prism does have a garbage collector, you do not have to free the object. If you need to free either unmanaged resources or resources where "timing" is important, implement IDisposable and take control of freeing the object yourself using Dispose.
The obvious differences between Delphi Prism and C# are additional features in the Delphi Feature Pack (Blackfish SQL etc.) and the Object Pascal based syntax, which are very attractive for developers skilled in Delphi for Win32, for example. However, the compiler adds a wide range of extemely useful enhancements as well.
In PSDP Online, a PSDP Artifact links together a task, requirement item, design item, and test script all with the same name and associated with the same project category (if used). You can edit a PSDP artifact as a whole or expand any of the four linked items to include more details.
A PSDP artifact simplifies some of the complexities of working with linked items. For example, you get workflow with the linked task, and actors and status of the other items at the artifact level. When you change the artifact name or category, all four items are updated. When you link an actor to an artifact, the requirement item, design item, and test script are updated. The same is true when you change the project/app status.
Question: In PSDP, when is it appropriate to review the project budget and project tasks?
Answer:
The short answer is at the end of each phase. For larger projects, you may wisth to review more frequently. For all size projects this should not interfere with the normal communication.
If you're using PSDP Online, review the tasks online at the end of each phase. It's a convenient way to view both the big picture total hours as well as drilling down into each task. You can view by phase, category, checkpoint, start date, or due date. If the scope of the project is too large, move items to the wishlist.
With the Rolling Estimates approach, the minimum project budget is adjusted at the end of Requirements, and Detail Design phases. The true scope of the project is known at the end of the detail design phase.
Categories allow you to organize your project logically. For example, you may wish to organize your application by source code (All, Client, Server, Database, Installation, Help File, Other), by major features, or by some other criteria. These categories allow you to organize requirements, builds, test scripts, defects, etc.
Logical Unit Number (LUN)
A number used to identify a device attached to a SCSI bus. In a SAN the LUN is used to identify a unit of raw disk storage often refered to as a logical volume. A LUN can be a portion of a single drive, multiple drives or of a RAID drive.
Can I run a Gigabit network over Category 5 or Category 5e?
Answer:
No to CAT 5, or at least almost never. Yes to CAT 5e. Category 5e cable is enhanced over Category 5 to adhere to more stringent standards and is recommended over CAT 5 for speeds above 100 Mbps and up to 1 Gigabit.
However, Category 6 or 6a is recommended over CAT 5e because of it's even higher quality and some properly installed CAT 6 networks can support 10 Gigabit speeds. Although for 10 Gigabit, CAT 6a is recommended.
CAT 7 is rated for 10 Gigabit but supports up to 100 Gigabit.
Using real world scenarios when you write conceptual documentation for Software Development Kits (SDKs) is a way to give your readers ideas as to how the SDK can be used and to guide them as to what APIs are needed for commonly expected scenarios. This article guides you through how to gather information about scenarios, how to simplify them in order to make good examples, and how to lead developers through which APIs to use.
The process of comparing the features of the delivered software product with the documented requirements with the goal of verifying the product meets the original requirements.The process of comparing the features of the delivered software product with the documented requirements with the goal of verifying the product meets the original requirements.
The ButtonsVB project. Create a classic "Hello, World" application using Visual Studio .Net with VB.Net syntax. Requires either the full version or VB.Net Express Edition.
VB.Net supports both static members and static classes (use the keyword Shared). You can add a static method, field, property, or event to an existing class.
You can designate a class as static and the compiler will ensure all methods in that class are static. You can add a constructor to a static class to initialize values.
The CLR automatically loads static classes with the program or namespace.
Public Shared Function MySharedFunction() As Integer MySharedFunction = 12345 End Function
I want to edit the text boxes and check boxes in PDF files with VB, using data from a database and user input.What methods or tools would you suggest? Is there a straightforward way to find the locati...
Browser safe colors consist of 216 colors that have been agreed upon and should look good on any type of monitor capable of displaying 256 colors or higher.
Answer: A cascading style sheet is a text file with a .CSS extension on your web site that indicates how the web page styles should look. Cascading style sheets make color and style changes easy.
Introduced with Vista, creates application-specific copies of all shared resources. It separates the application configuration layer from the OS making deployment easier in some cases.
Introduced with Vista, creates application-specific copies of all shared resources. It separates the application configuration layer from the OS making deployment easier in some cases.
Error: Service Pack did not install. Reverting changes.
Explanation:
Several members have reported that once they made sure the Windows Modules Installer Service (trustedinstaller.exe) was running, SP1 installed fine. So, if your Windows Modules Installer is disabled and stopped, set it to manual and start it. This WMI Service enables installation, modification, and removal of WindowsUpdates.
General Maintenance Make sure you have sufficient disk space, run checkdisk, and defrag your hard drive.
Disable Security Although you shouldn't have to, you might also try temporarily disabling your antivirus software, and firewall. Some members have reported this solved the problem for them.
System File Checker If that doesn't work, Run the System File Checker Tool. Open cmd and enter sfc /scannow + ENTER.
Required Other Updates Finally, there are some MS updates that are required prior to installing SP1. With Automatic Updates, they should be installed already but you might wish to double check:
Question: Can I install software in Windows safe mode?
Answer:
Depends on the software. If a software installation relies on something that is disabled in Safe Mode, then it will not install correctly. In addition, some software will not let you. For example, Norton Anti-Virus will not allow you.
If you boot up in Safe Mode with Networking, you can also browse the internet. For example, you can frequently browse to http://www.trendmicro.com and use their free online virus scanning software to remove viruses that have disabled your computer.
I've noticed a problem with the OnGetMonthInfo event of TMonthCalendar. (IE. MonthCalendar1GetMonthInfo(Sender: TObject; Month: Cardinal; var MonthBoldInf...
I have the following code on a form to switch printers behind the scenes. There is a table that lists the users printers and a field in that table that defines what the printer is used for (i.e....
Can anybody explain to me the syntax to use ReportPrintInfo - the syntax # 3 version that uses an array? I need to set the PrintToFile option to create a postscript file and it seems to only be availa...
Can anybody explain to me the syntax to use ReportPrintInfo - the syntax # 3 version that uses an array? I need to set the PrintToFile option to create a postscript file and it seems to only be availa...
Does anyone know how to write this Paradox 4.5 code into a Paradox 11 script?
This works in my old Paradox. It goes through a list of account names finds the account in another table and scans to pro...
I've successfully installed Paradox 9 on a windows 7 workstation linked to SBS 2008.However, when I went to amend a report by redefining a field, Paradox crashe...
I have just thought I might move all my delphi stuff onto my 2003 server and then use remote desktop to access it however some of my apps give me a bdertl70 err...
I know P7 is an ancient version but I dug the install disks out of a dusty drawer this morning and installed it in my XP machine. My question is whether I need ...