Jerry Zhang's Q&A profile
Visual FoxPro library location
SET LIBRARY TO FFLUSH DIR temp.txt && size on disk is still 0 WAIT WINDOW "File Size = 0" = XFFLUSH() DIR temp.txt && size on disk is 8196 WAIT WINDOW "File Size Does Not Equal 0" CLOSE ALL I'm trying to run this example code (fox9)- not finding this library - searched for fll's,dll's,vcx's - I look in C:\PROGRAM FILES\MICROSOFT VISUAL FOXPRO 9\SAMPLES\API\ and find a table named examples - which has all these functions in it - and in a memo field called xbase I see an example where they set library to example - interesting. Do I need to set this up with the include file ( PRO_EXT.H )and de ...Show All
Windows Forms C# TaskVision does NOT include the code for the GDI+ controls!
I downloaded TaskVision_FullSource_CS.zip because in the page I read: "C# TaskVision Source Code Lite - Now in C#!!! - This package doesn't require SQL Server or Visual Studio.NET to use, and it includes the code for the GDI+ controls!" but... I it does NOT include the code for the GDI+ controls! bye LUXSPES Will you include the code for the&n ...Show All
Visual Studio Team System Error in installation
I have freshly installed team server, and I get the following error when I try to create new team project. I would really appreciate if someone has a clue about the problem. Thanks, Jane ____________________ Error Unable to connect to the specified source control server on the Team Foundation Server SERVERSERV23. Explanation The Team Project Creation Wizard was unable to connect to the Team Foundation Server {0}. Without a connection, the wizard was unable to create the team project root directory on the server. User Action Contact the administrator for the Team Foundation Server {0} to ...Show All
Visual C# Error: PInvoke Calling Convention Mismatch probe
Hi, is there a way to disable "PInvoke Calling Convention Mismatch probe" in the VS 2005 settings I have something like this (below) in my code which worked for VS 2005 BETA2. But now with the final release of VS 2005 it don't :-( Could anyone help Thanks in advance, Randy the code: ++++++++++++++++++++++++++++++++ [ DllImport ( "Kernel32.dll" , CallingConvention = CallingConvention .Cdecl)] public extern static bool CopyFileEx( String fileName, // Name der neuen Datei String newFileName, // Wie soll die neue Datei heissen CopyProgressDelegate callback, // Callback long param, // Callback parameter bool ...Show All
SQL Server export data into oracle by odbc connection porblem
hi master sir i create odbc connection with oracle connection test and work right but when i export data form sqlserver 2000 to oracle with odbc connection and user scott/tigger that time syetem not export data and give me error Failed to copy 1 Double-click the error row for a detailed description of the error When click on error then show blow error [oracle][ODBC][ora]ORA-01918: user ‘scott’ does not exist sir please give me idea how i export my data to oracle thank aamir master sir i create odbc connection with oracle connection test and work right ...Show All
Visual Studio Team System Load Test requests/sec drop to zero
I'm seeing a recurring problem in a load test where requests/sec drop to zero during the test, and then resume normal levels 1 minute and 15 seconds later. The load test has 25 users, starting at 1 and ramping by 3 every 8 seconds - it consists of 2 webtests. I reach a constant user load and everything cranks along pretty well until about 30 minutes into the test. Then requests/sec drop to 0. I don't see any corresponding spikes in any other counters - just % processor on the servers also drops to 0. Every time I re-run the test, I see the same type of behavior, but ...Show All
Visual C# How to develop a password protected Windows Application?
Hi all, I am trying to develop a password protected windows application. All that I require is a simple prompt for password whenever the application is started. The program should be able to detect if the application is started for the first time. If it is, the application should prompt for the user to set a password instead. If the password is correct, then the application will go on to show the starting startup screen. I am not really sure how to start or go about creating this application, i.e. password protected part. Q1) How do I store the password that is set. Do I create a static variable string and store the password using this stat ...Show All
Visual C# VS.NET 2005 RC1 -- Is clipboard ring missing from IDE?
It used to be one of my favorite features! Formerly, from the C# (for example) code editor in the IDE, open the 'Tool Box' tab, and there was a stack of all the things you'd put on the clipboard while editing. I can't seem to figure out where it went too...hopefully not the bit bucket... TIA, Howard Hoffman I dont think the feature is completely off the IDE. All you need to do is switch back to Code Editor and make the Toolbox visible. Now copy the text you want to work with and in the toolbox, right click and select Paste. This could be repeated. The only thing that have got eliminated is the tab 'Cl ...Show All
Visual C++ VC2005 %50 Slower then VC2003
I just migrated a graphics application from VC2003 to VC2005. After building it, I ran a small benchmark & found that VC2005 code was about %50 slower. The Application does a great deal of floating point and integer calculations. It also converts doubles to int quite a bit (the VC2003 version used SSE to handle this). The VC2003 version used /G7 and /Ow (which are not available in VC2005) Compiler Switches Used: (vc2003)/arch:SSE2 /c /EHa /FD /GF /GL /Gs8192 /Gy /MT /nologo /O2 /Ob2 /Og /Oi /Ot /Ow /Oy /TP /W3 /WX /Zi (vc2005)/arch:SSE2 /c /EHa /FD /G7 /GF /GL /GS- /Gs8192 /Gy /MT /nologo /O2 /Ob2 /Og /Oi /Ot /Oy /TP ...Show All
Windows Forms Vis Studio Express for .NET Windows Apps ?
Has MSFT made a Visual Studio Express type of app for Windows applicationS (C#) What I have seen seems relevant to Web applications only. I am mainly interested in evaluating the windows GridView control against the 2.0 DataGrid control before starting a new project. Many thanks Mike Thomas Hi, yes, with VS express 2005 C# you can build windows forms applications. You can find it here: http://msdn.microsoft.com/vstudio/express/visualcsharp/download/ ...Show All
Visual Studio The definition of Triangle and Rectangle shape in Domain Model.
When I look at the "Relationship" in the Domain Model, I see two sorts of shape, "Triangle" and "Rectangle". What do these two shape mean And why do we use "Triangle" and "Rectangle" to denote these meanings Thanks alot. Each shape represents a role of the relationship. The choice of symbols was orginally to show the direction of the relationship from source to target, but it is redundant because the layout achieves that. The notation will change in the replacement for the domain model designer which should appear in the next release. ...Show All
Software Development for Windows Vista What's "Checked Build"
What's the difference between "Checked Build" and a common build As far as I know, checked (or debug) builds, are used by developers to diagnose the operating system. Here's an article that might help you: http://www.microsoft.com/whdc/DevTools/tools/chkblds.mspx ...Show All
.NET Development Help with Event Handling
Hi all, I have understood how to manage events in VB.NET, but I can't figure out with this problem: I have a function, wich has to return me a string. When I call this function, some data is sent to a serial port, then I have to wait that the serial device processes it. To do this I have registered an event, managed by an eventhandler. The problem is that I don't know how to return the processed data. Once the event is catched, what have I to do inside the handler sub It would be great a behaviour like: Dim dataThatIWant as String = Called_Sub() ... public function Called_Sub() as String 'Send data to rs232 device 'Wa ...Show All
Visual Studio Tools for Office Manage Scope For Commandbar buttons
Hi, I have created three commandbar buttons for Sheet4 of the Excelworkbook. But when I run this application with Sheet3 as the starting sheet, I still getting these button on the toolbar on sheet3 even. As per my requirement I want these commandbar buttons should appear only when user starts sheet4, for other sheets it should be invisible. This problem get solved when I start application with sheet4 as startup sheet. Then there is no commandbar buttons on other sheet. It means only for when I start application with sheet4 not as startup. I have added code for creating commandbar buttons on sheet4_startup. Please assist me ...Show All
Visual Basic Real Time Data Monitoring
Hi All: I am writing a project to analyze data from a device in real time. The idea is to pick up the signal from a sensor through serial port in 20Hz and to do some calculation on the data received, and plot out the result on the form. I use a background worker to read data from the serial port and do the calculation within a Do Loop. There is no problem on this. My problem is that when I try to use GDI+ to plot the results on the form, data are not refreshed instantly on the form. I use a Collection of Single to store the data for plotting. Questions are: 1. Can Vb2005 do the job Or VC2005 is better 2. Is there a control ...Show All
