On Tue, Mar 18, 2008 at 3:02 PM, Fletcher Johnson <
[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I have been asked to help some VFP developers who want to learn .NET. For
> now, let's skip the comments about why they would want to do such a silly
> thing.
>
> I am looking for a reference that has a list of VFP commands and
> corresponding .NET commands. I would prefer one that is current and,
> where
> possible, uses the OOP approach vs. the legacy VB 5x and before commands.
>
> I know that some were done when .NET first came out, but am trying to find
> a
> source that is as current as possible (one that references .NET 2008 would
> be best....)
>
> I do not need a library that emulates VFP commands or anything that allows
> VFP commands to work in .NET. On the other hand, a library of classes
> that
> give functionality that is not available in .NET without programming might
> be nice.
>
----------------------------------------------------
www.learnvisualstudio.net
pay the $ and you have a ton of how to videos in both VB as well as C# for
beginner web / Win work as well as some more advanced stuff.
there is no real comparison to VFP and .NET in commands because VFP ones are
more function based.
Take alltrim(), ctod()
You really don't get this kind of stuff either:
public List<PrintJobDetail> ProcessDocument(ProcessDocumentDetails
docDetails, PrintJobBuilderOptions options)
{
try
{
this.PreparePrintFileData(docDetails.Document, options);
DateTime startTime = DateTime.Now;
//Trace.WriteLineIf(PrintJobBuilder.BuilderTrace.TraceInfo,
"Processing Document Id " + docDetails.FriendlyId);
Trace.WriteLine(string.Format("Processing Document Id {0} at
{1}", docDetails.FriendlyId, startTime.ToString("T"))); //always write this
this.ValidateDocument(docDetails, options);
this.AnalyzeDocument(docDetails.Document); //prepares
specific builders for this type of document
// Set important properties on each builder
this.InitializePrintJobBuilders(docDetails, options);
this.builders.ForEach(delegate(PrintJobBuilder builder)
{
builder.BeginDocument(options);
});
PrintColor currentPrintColor = PrintColor.BlackAndWhite;
PrintFileImpressionSource lastPrintFile = null;
bool isNewPrintFile = false;
int pagesRead = 0;
SheetReader reader = new SheetReader(docDetails.Document);
//and on and on and onnnnnnnnnnnn
}
outside of the date time and the isNew.... everything else is a highly typed
object. So it holds data and may have some functionality along for the
ride.
--
Stephen Russell
Sr. Production Systems Programmer
Mimeo.com
Memphis TN
901.246-0159
--- StripMime Report -- processed MIME parts ---
multipart/alternative
text/plain (text body -- kept)
text/html
---
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.