Prev: Vo 2.7 Garbage Collector
Next: CRC32
From: Markus Feser on 10 Nov 2006 08:56 > Yes ... Visual Basic.Net, C#.Net ... It's NOT magic. All you need to > do is use the .NET compiler services. > > Rob Hello Rob, can you show us a sample? Regards, Markus Feser
From: rob on 10 Nov 2006 11:31 Markus, I have a complete scripting object (which I cannot send because it's embedded in our application) wrapper around the compiler services. But I can show you an example on how we compile into a .DLL in our application. We also have instances where we compile in secondary application domain so references to Assemblies can be released. Also, if you are looking for a good editor in your application (with intellisense) to use to write your source code then take a look at http://www.qwhale.net, it supports C#.Net, VB.Net, XML, HTML, and many other languages. Sample Code: 'Defined in the class dec. Private Shared _provider As New Microsoft.VisualBasic.VBCodeProvider Private _compileParameters As New System.CodeDom.Compiler.CompilerParameters Private _compileResults As System.CodeDom.Compiler.CompilerResults 'Now configure the compile environment. Note: References are added in me.New() If production Then 'REP: 08.28.2006 - To be compatible with pv 4.5 calc strings we need script off. Me._compileParameters.CompilerOptions = "/optionstrict-" ' & rootNameSpace Else Me._compileParameters.CompilerOptions = "/optionstrict+" ' & rootNameSpace End If Me._compileParameters.GenerateInMemory = True Me._compileParameters.GenerateExecutable = False Me._compileParameters.WarningLevel = 4 Me._compileParameters.IncludeDebugInformation = False Me._compileParameters.TreatWarningsAsErrors = True Me._compileParameters.TempFiles.KeepFiles = False If Not Me._compileResults Is Nothing Then Me._compileResults.Output.Clear() End If 'Compile the source code. Me._compileResults = _provider.CompileAssemblyFromSource(Me._compileParameters, Me.ProductionSourceCode) 'This is the assembly we invoke our members (Properties and Methods). Me._productionAssembly = Me._compileResults.CompiledAssembly .... Cheers, Rob Panosh Markus Feser wrote: > > Yes ... Visual Basic.Net, C#.Net ... It's NOT magic. All you need to > > do is use the .NET compiler services. > > > > Rob > > Hello Rob, > > can you show us a sample? > > Regards, > Markus Feser
From: Marcos Nogueira on 10 Nov 2006 17:09 Hello John, Thanks for the update. However... > ... > Robert van der Hulst showed the current build of VO2.8, which focuses on > making the IDE a more productive environment. As well as the many bug fixes, > this new version features an "all new" source code editor, debugger and > error browser. VOPS subscribers will soon be working with the new version > and general availability is anticipated to be the first quarter of 2007. > ... In September 20 Brian announced: "GrafX Software is please to announce Visual Objects 2.8." With all due respect, wouldn't "postponed" be more appropriate instead of "anticipated"? Best regards, Marcos Nogueira S. Paulo - Brazil
From: Geoff on 10 Nov 2006 18:36 <rofl> but... VOPS is only cheaper if you have a subscription in the year that Vulcan and 2.8 are actually released. The cynic could say that this fourth official delay is just a clever way to sustain a revenue stream for Brian under the guise of the ever imminent release. ....and one could be forgiven for being a little sceptical. What's next: pre-release renewals? <g> "Rene J. Pajaron" <rjpajaron(a)gmail.com> wrote in message news:1163155254.059526.76910(a)h48g2000cwc.googlegroups.com: > Graham and company... > > a pdf is good read really. for this boring moments. anyway, VOPS is > cheaper anyway... > > Bye for now > > Rene
From: dan on 11 Nov 2006 04:43
To: the community at large (I just hit reply on the bottom message, sorry Geoff) I guess I am easily amazed.... It amazes me that the only posts that seem to get much energy are the one that can belittle Brian or VO. It amazes me that before Brian the posts that got alot of replies and long threads were the ones that trashed CA and VO. It amazes me that for the last 14 years or so, many have been running around saying the sky is falling and VO is failing and the community can no longer survive etc. and yet here we are (still). It amazes me that I ignored all this "noise" for several years only to log on and find it's still the same. It amazes me that while all the "Brian is bad" and "VO is garbage" has gone on I have developed application after application with good results, stable working installs with happy clients. It amazes me that in 22 years of programming I have yet to see a "compiler/language" hit the market on schedule, unless of course you count the ones that were so buggy you wished they had kept them off the market, and yet the expectation is always that "this one will be different". I have been on beta teams with Microsoft, Symantec, and others. I have taught college courses on programming, trained software engineers for huge world wide companies; heard the complaints about this language and that package and some other operating system. Yet it seems to be the hobbie of the computer user to complain about the tools they have, would like to have, without recognizing that most of the time we are no better than those we are complaining about. When this community pulls together and answer questions and solves problems it works really well. When it complains, and argues, destroys itself....well, it is ugly and silly. I usually don't read threads much when they go like this, or the subject obviously puts them in this catagory of bickering. If you hate VO that is your choice. If you love VO that too is your choice. But, if you chose to answer questions in the forum or ask questions, why can't you leave it at that. Why does there need to be this big trash VO or Brian thing? It doesn't help and it is a deterent to others participating in this forum. We are all better than this level of trash talking. I have learned from many different post from many of you. Ginny and Geoff have been notably helpful. I don't know the details of why Geoff and Graham are particularly upset with Brian and in all honesty I don't care. If you have a problem work it out already. Agree to disagree and be civil, or laptops and languages at 20 hour program-a-thons (in private), but let's stop wasting all this time and energy doing nothing. No one is going to say anything here that will convince me to trash the last 10 years or so of application developement I have done, so I will be the one that turns the light off if the pesimistic amoung you are right and VO fails to survive. I will move on to the language of my choosing and that will be that. In the mean time I wish you sucess in whatever your programming endeavors are. I am ready to be amazed..... |