Mark Breen
marklbreen at gmail.com
Fri Nov 20 03:05:11 CST 2009
Hello John, While I am not qualified to comment really on this subject, I am waiting / hoping that someone will let you now how you can move 90% of your applet to a DLL project, and then from your main program you will just reference the DLL and consume the functionality within that DLL. With that approach, you could start your library of the new Colby C# Framework, albeit a humble beginning. Am I correct in assuming that with this approach you would compile your applet to to a DLL, and then you main program, which could be a winform or console app, could call applet.InputFilePathSet, applet.OutPutFileSet, and then applet.ParseFile etc etc. Let I say, I am not qualified to advise on this, but perhaps some others would like to, thanks Mark 2009/11/19 jwcolby <jwcolby at colbyconsulting.com> > Gustav, > > Well, the point is that I am doing my job and suddenly I have to do > something for the client that I > have no solution for. This latest was a good example. I tried to import > three files coming back > from a processing vendor and one imported, the other two failed. So I > write an applet that scans > through the file sorting lines of the file into two output files, good and > bad. When I am done the > remaining "good" file now imports. > > What do I do with this applet? One thing I can do is to just leave it > where it is and hope I don't > lose it, because sure as the sun rises I will need to do this again. Or do > I create a bigger > application, build a menu in it, and place this applet on the menu? > > Does this Fixit applet grow? Conceivably, if I find some file that isn't > fixed (or problem found) > as easily as these files were, then this applet could grow to include > different tests. This applet > has its own form with a set of text boxes to display paths / files, buttons > to select folders and > files and a button to perform the cleanup. I probably will add another > button to open the resulting > "bad" file in an editor so that I can see and fix the problems in the data. > Perhaps a button to > append the fixed lines back to the end of the "good" file before the > import. Stuff like that. > > So applets can grow, and the main application grows as I write new applets > to perform various > processing tasks, and those new applets get added into the main > application. > > John W. Colby > www.ColbyConsulting.com > > > Gustav Brock wrote: > > Hi John > > > > This raises the question if your coming applet will be the new little > applet or will become a little bigger little applet from day one. Does a > little applet grow up? > > > > /gustav > > > > > >>>> jwcolby at colbyconsulting.com 19-11-2009 03:14 >>> > > Creating a reference to the other project solved the immediate problem of > referencing objects in the > > other project. > > > > John W. Colby > > www.ColbyConsulting.com > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > >