I'm supporting a legacy application written (poorly) in VFP 7 and was hoping that someone could point me toward any good (or just any, actually) resources for learning FoxPro.
I can understand the code I'm going through, but I'm uncomfortable with writing any at the moment and have 2 weeks to a month to get up to speed.
Thanks in advance, guys.
The Hacker's Guide to Visual FoxPro 7.0 is an excellent language reference.
I would be more than happy to offer some mentoring and guidance to help via email if you'd like. Additionally, what language(s) are you used to developing with. I might be able to help jump-start you on parallels between VFP and C#. There are a lot of parallels with basic class construction, properties, events, methods, etc...
Related
I'm a bit confused about what I can use to develop for: It's a soup of letters: VBA, VSTO, Interop, etc... I'm in need in develop a MS Project 2013 control. So, what can I use to develop it? I prefer develop in C#, but if it isn't possible, I can develop VBA anyways...
Maybe I can help a little bit with the soup of letters. VBA is the oldest technology in your list. It is primarily used for scripting (automating) things in MS Project based on old visual basic operations on the MS Project object model. It typically works inside a specific MS Project file. VSTO is the modern version of VBA that Microsoft introduced to take advantage of .NET. It is still file-centric, but now you can use a modern object-oriented language like C# or VB.NET to write your control. A third approach is to write a separate .NET application that can work with any MS Project file. An example of this is the COM-Addin approach. A COM Addin is C# or VB.NET application that you compile and package separately. Then you register the Add In on the machine so that MS Project knows about it and calls it when needed.
Both VSTO and COM Addins are written in .NET, whereas MS Project only speaks COM. Thus both rely on the Microsoft COM-Interop libraries when they talk to MS Project. These libraries are called 'Primary Interop Assemblies' and they enable the translation between COM calls and .NET calls.
There's a comprehensive book on all of this by Andrew Whitechapel called Microsoft® .NET Development for Microsoft Office. It's no longer sold directly on Amazon, but you can still find it through other sellers. I've left out a few other related techniques that you can find in Andrew's book. Another expert is Rod Gill. He's written a book called VBA Programming for MS Project '98 through 2010 with an Introduction to VSTO. It's more VBA-centric than Andrew's book, but you may find it helpful. I'd recommend that you Google Andrew and Rod and also Misha Schneerson, formerly at Microsoft. Both Andrew and Misha have moved on to other technologies now, but you'll find that they give you good cookbooks for doing this sort of thing.
Hope this helps.
I want to use IVI-C instruments-drivers (not IVI-COM) in Visual Studio 2012
Someone ever did this?
I only found examples for Visual Basic.
Drivers are downloadable on keysight.com-website which are free to use.
For VISA i installed Keysight IO-Libraries.
I'm doing something similar in Visual Studio 2013 using VB, but the basic principles will be similar for all languages. You probably know all of this already, but the question is a bit vague so here goes:
You need to install the drivers plus an SDK (which comes as a dll). Hopefully the SDK will come with a manual of commands in your language of choice, but if not study the manufacturer's coding examples in VB or whatever.
It is easiest to use the languages provided in the SDK (usually VB and C#, maybe C++) otherwise you will have to write an interface between your language and the actual command syntax and work in a multi-language environment.
The drivers and the SDK need to be referenced in your project after you have installed them. (MyProject, Reference Tab, use the Add command and Browse for the files.) Sometimes its hard to find the correct files but VS 2013 is quite good at telling you when you get the wrong ones.
You may have to target your build (Build|Configuration Manager) on x86 processors because there are no x64 drivers for much of this kit - check with Keysight.
Then, in your code you will need to:
instantiate a copy of the driver for the specific instrument:
Dim MyDriver As New InstrumentManufacturersDriverName
initialize it using the manufacturer's commands (on my kit initialization connects the driver to the physical interface via USB):
MyDriver.Initialize(ParametersIfAny),
set up the ports you want to use (very dependent on the specific hardware)
program your commands.
Use a lot of patience and trial and error at first.
Best of luck - it's not so difficult.
I have a POS software and need to develop a collecting module for windows CE to run on a Honeywell Dolphin 6100 device.
I need to develop a simple application to run on a Honeywell 6100 device. This application should:
Get a list of products (code, description and price) from my POS software
Process Sales reading product's barcode showing Total due and number of items
Upload that sale to my POS software (via network, files, or something like that)
What are my options? Are there any Application builder for Windows CE? If not what could I use to develop such application?
You have a few options, but few (if any) of them will allow you to create the application without writing code. I'm aware of no "application builder" products that will get you there in Windows CE, and I've been working with CE for some time. That's not to say some obscure thing might not exist, but I am not aware of one.
You can write your application in .NET - either C# or VB.NET are supported - using the .NET Compact Framework (CF). For that you will need Visual Studio 2008 Professional and really little else, other than a device. There are lots of tutorials and online resources for CF development, so I won't put in a list of them here.
You can write your application in C/C++. For this, again you'd want to use Visual Studio 2008 Professional. Yes, there are options that use other compilers, but if you want to spend time actually writing the app and not building up a development tool chain and figuring out how to get it connected and debugging, then Visual Studio is the route you want.
If you'd like a non-Microsoft solution, there are others that are supported to more or less of a degree. NS Basic has been around a long time, so it's probably pretty robust and has reasonable support. I've never used it, but I've heard good things about it from those who have.
Anything else and you're a bit off the reservation. Support will likely be minimal at best, tooling will likely not be robust, support, tutorials and all of the other goodness that developers often rely on to move forward will be scant. You can likely get any language working under CE, given enough time and resources, but the options above are the most likely to lead to success.
Since you said you know Delphi and didn't want to learn another language, you can use Delphi Prism to write a client app to run on windows CE, pull the data you need, and post it to a webservice:
Is Delphi Prism a new version of Delphi .net?
http://en.wikipedia.org/wiki/Oxygene_(programming_language)
(edit) Just checked and it's now a part of this package:
http://www.embarcadero.com/products/rad-studio/faq
Can someone give examples of some good applications / project that are made in VC++ commercial and non-commercial.
What do you use VC++ for these(2008...) days ?
Do enterprise application three tier i.e get written in VC++
Is there any use in leaning MFC these days?
Computer games are mostly still written in C++ on Windows using Visual Studio. Enterprise applications do usually use c# or java as enterprises have more money to buy hardware to make up for the difference in performance where games need to run on a significant amount of devices such as the PS3, Xbox 360, PS3, Windows, Mac etc. with limitations on memory.
Also embedded products, system utilities and software that makes extensive use of several low level API's are still written in C++. It definitely still has uses.
For low-level stuff, there is still nothing that beats C and C++. For example, I wrote Taekwindow in Visual C++ 2008. It consists mostly of Windows API calls; any other language would be too much of a hassle, and in this case not even possible (hook procedures).
The configuration tool was done in C#, but I am currently redoing that in C++ to make code reuse easier. I did look at MFC briefly, but decided that I didn't like its bloat for such a simple program, so I ended up using only the vanilla Windows API and its dialog manager. Admittedly, I can be a bit of a masochist sometimes.
Microsoft said that they'll improve MSVC because they have customers who have millions of lines of C++ already. For all I know, most well-known, commercial applications for Windows, not to mention Windows itself, are built using MSVC: i.e. applications which have been years in the making.
The most recent time I used MSVC (and MFC) was on a PocketPC/SmartPhone (i.e. Windows Mobile).
The majority of cross platform computer games are always written in VC++ since abstractions are always used anyway. Some platforms such as PS3 even allow for games to be compiled straight out of VC for PS3.
I'd say, anything cross platform that has to run on both Windows, mac and/or linux has a high chance of being written in VC because it's the best IDE out there.
Visual C++ is the ultimate programming tool which is still widely used in Most of the Core Banking and financial products developed by software companies. AS far as I know, adobe products are developed in VC++ and if you want to code anything in windows based pda or phones , vc++ embedded which is also called eVC++ is the way to go. Most of the kernel level rootkits are developed making use of VC++ with DDK functionality. The list goes on like that. There is no reason to consider vc++ as being not used these days.
This question already has answers here:
Closed 12 years ago.
Possible Duplicates:
Scrum Software
Recommendations for project management software for Scrum
I checked wikipedia, http://en.wikipedia.org/wiki/Scrum_(development)
But I am still looking for some insight from the genius minds using SO. I installed Microsoft Project 2010, and was assuming that it would have some template/plugin that would support Scrum. Unfortunately, I couldn't find one :-(
I'd recommend not using any software to start with. Sticky notes or 3X5 cards on a corkboard/whiteboard are a better way to start.
Focus on the differences in process, understanding the system, and what you're getting out of it first, not the tools.
I have been using scrumworks for more than a year. I really like it, the scrum board is pretty and intuitive with drag and drop, support mutiple teams etc. Not very expensive too.
I tried using Microsoft project for many years but given up because if wasn't flexible enough and I now use a mix of scrumworks, excel sheets and a bug database.
I believe that there is a Scrum project template for Visual Studio Team Foundation Server 2010. I suggest you download the RC of VSTS and of TFS, install them and find out.
Microsoft Project pretty much just does project management. VSTS is where the developers, testers, project managers and other stakeholders will live.
We have been using the Scrum for Team System templates:
http://www.scrumforteamsystem.com/en/default.aspx