![]() ![]()
This requires no development environment, just a text editor (preferable with html formatting highlighting). ![]() I've had some success with GPIB instrument control this way, but it is not as straightforward as I'd hoped it would be. You can add ActiveX/COM controls such as serial port access and other things. I prefer vbscript to jscript but they are interchangeable (and online tools can translate between them with excellent success rate). I stick with plain jane vanilla html with no fancy extensions. The GUI is built in HTML just like any web page. #Declare Serial Mfc full#You can also use ".htm" or ".html" files if you change the security settings in the browser to allow basically full computer control for local files, which is not a good idea. Usually this is using an HTA (HTML Application), which is just an HTML file with the extension changed to ".hta". ![]() Just throwing this out there: I have done simple GUIs for serial port access in HTML. On the other hand, if your goal is to have an application that you will only run on Windows, then please ignore my comment Be prepared to experiment a lot if you encounter problems. #Declare Serial Mfc code#That means, most information, advice or code samples might or might not apply to or work with Mono. Most of the C# developer community are Windows or mobile developers, not Mono developers. There is another Mono-related "issue" that might be relevant for an aspiring C# developer. In all likelihood, if the WinForm GUIs were developed in a Mono environment, most issues with Mono rendering these GUIs would have become apparent quickly during the development cycle. NET program there than trying to experiment with and debug the C# GUIs in a Mono environment to figure out what Mono's problems were. It was less struggle to setup Wine with the necessary. I do not know Mono's current state, but the last time i checked Mono 4.5 years ago, it had severe difficulties to render even simple WinForm GUIs (which were written using VS) properly and in a functional manner on an Ubuntu box. If you intend to run your C# application with Mono (although i personally would not recommend it i pretty much side with the argument nctnico made above), i would suggest to do the development in a Mono environment as well. Note though, that it does not support all features and libraries that run on Windows. #Declare Serial Mfc mac#Although Windows is its native home, there is also this thing called Mono that attempts to make it available on the Mac and Linux. There are many other languages that produce IL (COBOL anyone?). There are also extensions for C++ to produce IL. NET project are vastly different from the (COM) libraries you had with VB6 - although the Windows Forms come pretty close. VB.NET is closest to the old syntax although many new concepts have been introduced (like classes). C# is not the only language and it is not closest to the old VB6 (that was COM oriented). Dlls made with one programming language can be reused by another programming language. The actual programming language that you use does not really matter as long as it produces valid IL. NET framework works on byte code - like Java, only they call it Intermediate Language (IL). But the guys at work seem to love Python. Any suggestions I was thinking of C sharp. My preference would probably be closer to VB than C and freely available. I want something that can quickly build simple GUI can access com port and open files to store measurements. I'm just getting back into programming and I want to know what's popular these days. However it takes a 100 lines of impenetrable code to change the shape or colour of a message box. MFC was much more capeable and the exe file always ran without issues. When the Internet was one computer in the manager office on a broken cga monitor. Found Visual Basic much easier to make nice GUI but was always missing some vital DLL with no internet access in some remote ass hole of a forgotten country. I used to use Visual Basic and Microsoft MFC. The equipment was quite simple in operation but had lots of data entry required to set up the equipment. #Declare Serial Mfc software#Hi all nearly 20 year ago I was writing software to control various types of machinery. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |