pdns's Q&A profile
Visual FoxPro VFP 3.0 on XP
I need VFP for a small project, and I don't want to spend USD 600 for a new version (is there a beta version still available ) Is it ok to install VFP 3.0 on Win XP Thank you, Tor Henrik > i'm currently using vfp 6.0 for almost 4 months. So far, it does not give any problem. What's the difference between vfp 6.0 and 7.0 See: http://fox.wikis.com/wc.dll Wiki~VisualFoxProVersionFeatureConcordance Note: You should always start a new thread when asking on different subject. ...Show All
SQL Server Hiding columns until toggled
Hi all, Sorry if this question is a bit basic but I'm fairly new to reporting Services, I've searched for the answer but cannot find a definative answer. I have created a table report with three groups, Product Group, Product Type and Location. When the report is run there is obviously no data displayed in the report except for the first group, Product Group. What I would like to do is hide the columns without data until the first group is expanded and so on with all three groups. Is this possible and if so how Humbly yours, Chris Take a look at these forum threads; I think they can help you out! http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=519430&SiteID=1 http://forums.microsoft.com/MSDN/ShowPost.aspx ...Show All
Visual Studio Express Editions "Start Without Debugging" error?
i've been following this book step by step. it's called "Build a Program NOW!". im stuck on page 41. it tells me to us the "Start Without Debugging" command. everything seem to work right.. says at the bottom right "build started" immediately followed by "build succeded"... but nothing happens! there is no command prompt like there should be! what's going on Are you sure you are clicking on the correct button It is an unfilled triangle. Make sure you have closed the Customize dialog. Or use the menu: Debug > Start without debugging Or use Ctrl+F5 ...Show All
SQL Server Problem changeing datatype on column
Hi! I have a rather big table with lots of columns, and I want to change one of the columns from NVARCHAR to VARBINARY. I have scripted it like this: alter table [TestTable] alter column [T-2] varbinary ( 500 ) But I get the reply: Implicit conversion from data type nvarchar to varbinary is not allowed. Use the CONVERT function to run this query. And when I try to do a conversion like this: alter table [TestTable] alter column convert ( varbinary ( 500 ), [T-2] ) varbinary ( 500 ) I get this reply: Incorrect syntax near the keyword 'convert'. So how should I get the conversion to work Many thanks in advance! //KjeZ There is no way t ...Show All
Visual Studio Express Editions brace (bracket) matching
I have both Visual C++ and C# Express Editions installed on my PC. When editing C# programs, brace matching works. i.e. when I highlight a brace in C# it's companion is highlighted. For some reason this does not work in C++ even though I think I have it enabled in the Tools - Options - Text Editor General - Automatic delimiter hightlighting. Am I missing something Thanks!! OK is it me or does anyone else think this sucks big time, why do I need to press keys to see what matches In earlier versions it works by placing mouse over left or right side of bracket now I must press 2 keys ...Show All
Windows Forms BindingSource property list is randomly ordered?
Is it just me, or is the BindingSource property list randomly ordered I have an object with over 50 properties, and finding the one I want is impossible. They are not alphabetical, nor are they in the same order as the object code. I can't figure it out. Any help would surely speed my process, Thanks -RayK Ken, there isn't much code to post. Just use a standard business object as a BindingDataSource. When you use the BindingSource dropdown the properties are not in any kind of order. public class OrdHead { protected int _ordhead_id; protected string _order_no = String.Empty; protected string _plant = String.Empty; protected string _status = String.Empty; protected DateTime _sap_ship_date; protected string _destination_ ...Show All
.NET Development How can I get CPU core clock speed?
subject You can read it from registry key HKLM\HARDWARE\DESCRIPTION\System\CentralProcessor\0\~MHz. I think this value is determine by the Windows Setup program. I've found it to usually match the actual clock speed well. Be sure not to use it for any timing related code, modern CPUs dynamically change the clock speed based on system load, power status and chip temperature. ...Show All
Visual Basic SQL Express and VB.NET 2006
Hello everyone. I have a login form which has a username, password, and login type (i.e. user,admin) fields and I want to add the code in the LOGIN button. I am still pretty new to SQL Express and VB.NET, so how would I go about making a connection to the SQL database called Users.mdf I want it to check whats in the username, password, login type fields to what is in the Users.mdf. If they select admin and have admin priv then they can go into either admin or the system and if not admin priv. then they can only login to the system. Okay, I have my project located on my flash drive but I have to put a copy of it on a cd to turn in to my prof. What should I do there ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Does XNA Game Studio Express Work On MSVS2005 Professional?
Hello, Does XNA Game Studio Express Work On MSVS2005 Professional Or Need C# Express Try a little legwork yourself and search the forum for the answer... ...Show All
Windows Forms clickonce prerequisite message instead of install
In my clickonce app I send the link to the setup.exe file instead of the publish.htm file when a user wants to install. I want to display a message box / web page ... with further instructions instead of running the install for the 2.0 frameworkwork when it is not installed on the users machine. Is this possible The problem is, the bootstrapper creates a setup.exe to install whatever you point it to if you want framework to be a prereq. If i'm just going to display a web page when 2.0 isn't found, setup won't work. Any work arounds you can think of ...Show All
Visual C# Screen update inside for loop
Hi friends, I think this is stupid, but don't know how to solve it :-) I don't know how to let user know how many items we've processed... for (int i = 0; i < totalItems, i++) { // do some tasks here /// task... task... task // Now here is where I want to // update status bar saying we've processed "i" items, // I think it works, but doesn't show anything, until you get to the // very latest item labelStatus.Text = i + " records updated" ; } Any ideas on how to let the user know how many records it's processed ... Thanks a lot!!! (I'm not using multiple threads, and for this application is not necessary) You need to run this Task und ...Show All
Visual Studio Pointing to a DB at runtime
Hi all. Why can I not redirect a report to point to a different database at run time I have an ASP.NET/C# web app that is driving me crazy trying to get the reports to run. Please see below what I put on Crystal's forum, but have had no official response... Below is my code that loads the report, sets the parameters and exports it to a PDF and is displayed in a browser. It all works perfectly. However, i want to be able to point the report at a different server in code before the report is exported. This is a web application and I'm not using the Cystal Report Viewer. All efforts with SetDatabaseLogon() has failed. The Code : ReportDocument crReportDocument; ExportOptions crExportOptions; DiskFileDestinationOptions crDFDO; string ...Show All
Visual C++ Profile Guided Optimization Instrumentation Problem with DLL
I'm having a crash when I run an application in PGO instrumentation mode. I can reproduce the problem in a small Win32 DLL and a small Win32 console application. Here is the code in the DLL (in addition to the standard DllMain() function): // File DLLHeader.h. ISDLL must be defined in the Win32 DLL project but not the console application. #ifdef ISDLL #define DECLSPEC __declspec(dllexport) #else #define DECLSPEC __declspec(dllimport) #endif class DECLSPEC MyClass { public: static void InlineFct(int n, double a, double *y); }; inline void MyClass::InlineFct(int n, double a, double *y) { if(n > 0) { while(n-- > 0) *y++ *= a; // Crash occurs on this line on initial read of *y in PGO Instrument builds } } ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Could C# be the future of gaming?
Since XNA is using C#, and is is a more intuitive language than C++, is it possible that in the future that C# will dominate, espessially in AAA titles. Could XNA be ushering a new way of programming in the main stream I think people underestimate the performance of managed code. There are not many scenarios where unmanaged code will significantly out perform managed code. When people start to better understand how the garbage collector works and ensure that objects stay small and prevent them from getting promoted to generation 1 and 2 it will make a big performance increase. From what I understand the GC on 360 is the same as in the compact framework, so I’ll have to read up on the differences. If you lo ...Show All
.NET Development Null Values
The following code executes a Select query almost flawlessly. There are some records in qrySecurityPricesWithSymbols where VixOpn, VixHigh, Vixlow, VixClse contain null values. When this query is executed, those records are excluded. How do I get them to be included strSqlRead = "SELECT Date, Opn, High, Low, Clse, VixOpn, VixHigh, VixLow, VixClse FROM qrySecurityPricesWithSymbols WHERE (((qrySecurityPricesWithSymbols.SecuritySymbol)=" & Chr(34) & txtSymbol.Text & Chr(34) & "))" objCommandRead.CommandText = strSqlRead objReader = objCommandRead.ExecuteReader() Is that your complete SQL I don't see anything in the statement that would exclude rows wh ...Show All
