Rob Daigneau's Q&A profile
Visual FoxPro Strategy for Foxbase/Foxpro prg files in VFP 9
Hello all; I am redesigning an application written in Foxbase, and Foxpro to VFP9.0 There are lots of prg files that use Xbase commands. There are no screens, reports etc. Just prgs. Some of the functionality is going to be redesigned for VFP, but I am looking to run some of the PRGs in VFP with little modification. My questions is, what would you suggest as a strategy for doing this Since we are running also VFP forms, toolbars, reports etc - should we run these PRGs in the desktop Shoul we 'create window' before running the prg Is there a trick to running a prg so the I/O is done within a form I tried to run a ...Show All
Software Development for Windows Vista UIAutomation support for downlevel OS
Hi, I am planning to develop tests in MITA. MITA is dependent on UIAutomation framework. But I saw winfx is supported on winxp-sp2, wso3-sp1 and onwards. Is it that UIAutomation is not at all supported on w2k, ws03-rtm Can someone please confirm on this thanks in advance, Shriram Hi, As far as I know, WinFX, including UI Automation, is only supported on WinXP Sp 2, Server 2003 and Vista. I'm not sure about the service pack required for Server 2003 to run WinFX. Will ...Show All
Visual Studio Express Editions MFC in VC++ express beta 2
I was wondering if anyone knows how to enable MFC in the new project wizard, there does not seem to be one after the installation. Z.K. The MFC and ATL libraries are not included in the Express Edition of Visual C++. You can find them in any of the Visual Studio products, however! -April Reagan, Visual C++ Program Management ...Show All
Visual Studio vs 2005 beta 2 setup fails
When I try to setup vs 2005 beta 2, it says that it failed to setup visual studio itself after it gets to the end screen. The installation seems normal untill then because the vs 2005 even gets a checkmark next to it when on the install screen. The progress bar never moves when it is on vs 2005 though. I will post the error log when I can find it. Hello, I am getting the same kind of error when installing Visual Studio 2005 Beta2. The comments before the "return value 3" are: MSI (s) (20:D8) [11:12:03:571]: Assembly Error:Function not defined in specified DLL. MSI (s) (20:D8) [11:12:03:571]: Note: 1: ...Show All
Visual FoxPro Select Statement
Basically i want to create a view that calculate the stock end balance using moving average. On entry invoice the prg would create txn on a table item_txns that store all txns that affects the balance. The problem is the sale txns only store the qty but does not store the cost of good sold. This would be calculated on the fly when users query and want to see the cost of good sold . I want to do this using SELECT statement, The fields are common for stock txns date itemid txn_type qty   ...Show All
Visual C# Visual Studio 2005 Screensaver
Hi I've been playing with the c# starter kit for building a screensaver, i've managed to configer and customise everything i want, untill it comes the background images. it has a variable of BackgroundImagePath which i can put a local path to, but i don't seam to be able to use a web link, i want it to use images stored on a web server. anyone else come accross this problem and anyone know a way around it i'm fairly new to c# Thanks You need to use the webclient class to read in an image from the web. [code language="c#] using System; using System.Collections.Generic; using System.ComponentModel; using Syst ...Show All
Windows Forms Localization, string resource files and Windows Forms
I'd like to localize an existing application. App is written in C# and has been converted (automatically) to .NET 2.0 from 1.1. When the application was initially developed, there was some work done to [hopefully] make localization easier. Example of the project file layout: Project - Resources |- Messages.resx |- MessagesWrapper.cs - Form1 |- Form1.resx As shown above I have a project folder called Resources. In this folder I have a standard RESX file (Messages) containing string data used for user messages. Along side this is a wrapper class (MessagesWrapper) that provides a C# class with properties and methods to access the resources. Thi ...Show All
.NET Development Visio Viewer Control with automation in Visual Studio 2005
I have Visio 2003, and I am using Visual Studio 2005. I want to have a Visio Viewer control on a web page, and I want to use the Visio Automation API to access the ShapeSheet. I tried to add the Visio Viewer control to my toolbox so I could drag it to my page, but I was unsuccessful. I did add the reference ok, and found the com object to add to the toolbox, but it silently doesn't show up. I created an object tag by hand for the Visio Viewer and that shows my visio document fine. I tried to access the ShapeSheet from the client side, but I can't seem to get a Window or Document object from it. A ...Show All
Visual Studio Express Editions "FindFileDialog" ?
I'm trying to implement a file selector dialog. I'd like to choose filenames from the file system to just add their path and name to a textbox without opening or saving them. How can I do that I did not find anything else than the OpenFileDialog and the SaveFileDialog which both bring their own behaviour I can't change. Is there a solution or some link I didn't find yet Thanks for your help! Reiner How can I manage not to open the file but just to transfer the selected file name and path to a textbox Can I split file name and path automatically (to just show the name but keep the path "in mind ...Show All
Visual Studio Express Editions How to open an external file / resource.
How do you make a button or link open an external file or other resource Like HTML links: you click one, and it opens a file. Definitely. But make sure that, if you are trying to run an external program and you're specifying a path on the local system, you'll have to use forward slashes / instead of backslashes \ to separate the folders. In other words: C:\wherever\whatever\program.exe - won't work, but C:/wherever/whatever/program.exe - WILL work. This one baffled me until I experiemented a little. ...Show All
Visual Studio Express Editions Trouble with ending out an application
This application is a guessing game where the user has ten tries to guess a random number. After each guess the user is promted to guess higher or lower. When the user guesses the right answer a "Congratulations" message box appears. The problem is when the user guesses correctly, the program should display the Congratulations message box and then end, however the loop keeps going. How can I make it stop The code follows: Private Sub TryButton_Click( ByVal sender As Object , ByVal e As System.EventArgs) Handles TryButton.Click Dim number As Integer Dim num As Integer Dim randomGenerator As ...Show All
Visual Studio Team System Major Application vs Single small Applications for Team Explorer
Last year we had 5 applications. This year we are re-writing all of them to be so integrated it's basically one web application. Depending on what people purchase or want, we turn different parts of our software to be visible or not. Seeing the entire application needs to be there to function, we just disalow people to enter the parts they never purchased. Would it be better to have all of these small applications as different "projects" or one Big project. Our solution contains 15 websites and 32 code projects currently. My personal preference would be to combine them into one team project; however, there are lots o ...Show All
Visual Basic Disappearing handles clauses
Has anyone had issues with the handles clauses at the end of eventhandler subroutines just disappearing I have a ton of eventhandlers and when this happens it just wipes all my additions to the code base I've been working on out because I have to undo until I get back my missing handle clauses. I see "Designer Generated Code" in the undo list and I know I didn't enact that. It also puts an extra " ,MyBase .Load" or similar on all the assigned form events. I've had it like this " Handles MyBase .Load, MyBase .Load, MyBase .Load" at the end of the form load event. Let me know if you've had similar issues or know what's causing it. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. MDX April 2006 SDK
i've created a DX3D app that works fine on my computer with the SDK installed buf if i try install on another computer i get errors, i've tried on other computers so it's not just mine, also i used the publish wizard and installed on a clean Win2003, it installed .net and dx fine but the app still errors, i also compiled on an x64 Windows XP and still the same error i'm using Windows 2003 Service Pack1, VS.net 2005 Pro, .net framework 2.0.50727 please help! ************** Exception Text ************** System.IO.FileNotFoundException: The specified module could not be found. (Exception from HRESULT: 0x8007007E) ...Show All
Visual C++ C1189: #error : WINDOWS.H already included. MFC apps must not #include <windows.h>
I have looked through the other posts concerning this error and I am sure that this situation is different. I have a C++ COM ATL project and am trying to use CStringList which resides in <afxcoll.h> But when I include <afxcoll.h> #include "stdafx.h" #include <afxcoll.h> I get the error: fatal error C1189: #error : WINDOWS.H already included. MFC apps must not #include <windows.h> I'd be very grateful for any help. By the way the stdafx.h file looks like this: #pragma once #ifndef STRICT #define STRICT #endif // Modify the following defines if you have to target a platform prior to the ones specified below ...Show All
