chiln1208's Q&A profile
Visual Studio Team System Automated FoxPro Testing
Does any one know a good tool for automated FoxPro Testing Currently we have TestComplete3 which claims it can find the objects in the windows, but will only see each window. Thanks. While I am unaware of any specific testing tools for FoxPro, it sounds like you are looking for UI testing tools -- while we aren't shipping any, there are third parties who I'm sure will. These should be able to plug directly into VSTS and allow you to test the UI of your fox pro application. ...Show All
SQL Server how to use equal sign (=) as an available value for a parameter?
Is there a way to use the equal sign (=) as an available value for a parameter It's working with the rest of the comparison operators: <>, >, >=, <, <=. Thank you! I'm not sure what the equal sign is going to be used as, but yes you shouldn't have a problem setting it as an available value if you make the data type a string. Then just use this as the expression for the non-queried value: ="=" ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Mouse Hit Testing when primatives used not meshes
I did search the existing threads and have read them - those that I can understand - but they do not seem to apply - at least with my limited understanding. I have a "2D" card game started in DirectX3D using managed C#. I read Tom Miller's book as the basis and starting point. I have several "playing" cards rendered as CustomVertex.PositionedNormalTextured that I add to a VertexBuffer. I draw them with the DrawPrimatives call. The are all "flat" (have the same Z axis) so that should help, and there is nothing "behind" them. Simply non-overlapping cards arrange on the screen. Everything works g ...Show All
.NET Development Embedding Visio 2005 control in VS 2005 app
Hi All, I am trying to use the visio drawing control in a windows application on Visual Studio 2005 Beta2. Here's what I am doing: * Add the Visio drawing control library (COM) to my toolbox; * Drag-and-drop the drawing control into the Form (this works ok, I can see the control inside the form); * Run the application, but I get the following error: Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)) I tried doing the exact same thing on VS 2003, and it worked fine. Am I missing anything Any ideas on how to solve this (VS used the same Visio COM dll in both VS 2003 and 2005 projects). TIA Rubens ...Show All
Visual Basic Textbox Question
What im i doing Wrong, Can any one help thanks Lukan Private Sub TextBox3_TextChanged( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox3.TextChanged Dim A As Double = CDbl (TextBox2.Text) Dim B As Double = CDbl (TextBox3.Text) Label10.Text = (A * B).ToString( "#,###.##" ) End Sub Private Sub TextBox2_TextChanged( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox2.TextChanged Dim A As Double = CDbl (TextBox2.Text) Dim B As Double = CDbl (TextBox3.Text) If TextBox2.Text = " " ...Show All
Software Development for Windows Vista about ShadowProperties
In System.ComponentModel.Design there is ShadowProperties that can hide the parent property.But this property isn't in System.Workflow.ComponentModel.Design. Now I wanna hide "Name","Description" properties in my custom activity property window,how to implement it Have you tried overriding the properties and then using the browsable attribute to hide them from the property grid [Browsable(false)] public new string Name { get{return (string)base.GetValue(Activity.NameProperty);} set{base.SetValue(Activity.NameProperty, value);} } Matt ...Show All
SQL Server VS2005 and SQL Reporting Service
Dear All, I am using the VS.NET 2005 professional edition but it doesn't have reporting service project at all. I am planning to use the SQL Server Express 2005. I want to use the reporting service 2005 and report server as well. Could anyone please let me know how can I get a copy of Reporting Service embeded into VS.NET 2005 and Reporting Server for deployment even evaluation copy or from anywhere in SQL server 2005 installation disk Really appreciate any comments if any. Regards, LG VS does not include the full-blown report designer on it's own. I think (I alw ...Show All
Visual C# GDI+ Multi Thread
I am using GDI+ to draw to the graphics object when an OnPaint event occurs. However, if you draw lots of things, the form becomes unresponsive until all of the drawing is done. Is there anyway to put the OnPaint event in another thread, so the form can remain responsive while the painting occurs Try to create classes that contain the logic and create a IDrawable interface or something with a Draw( Graphics g ) method. Then you can cache the Pen, Brushed or even an Bitmap representation withing the instances. Grey Young, please specify wish part you are intrested in and i will provide a sample. ...Show All
SQL Server Questions about preaggregation
I want to get optimal queryperformance out of my AS2005 cube by preaggregating as much as possible. I am willing to sacrifice a lot of diskspace and processingtime to achieve this. When using the aggregation design wizard (storage variety as the uniform spread of queries is indeed what I am expecting and thus can't rely on the usage wizard) it gives me 99% preaggregation for relatively low space/processing requirements. However when testing the queryperformance it becomes pretty obvious that while upper levels of the hierarchies built on each dimension is thoroughly preaggregated the lower levels are not. I'm guessing they are falling afo ...Show All
SQL Server a newbie question on SQL database use
Hi there, I am a longtime programmer in OO Visual dBASE environment migrating to C#, MS Visual Studio and FoxPro 9 all at once. it is hard for me to formulate questions since I have a somewhat visceral understanding as to what I need, so I need a general advice. I am abandoning dBASE since it does not provide .NET capabilities. But I do have extensive database tables accumulated over many years. How can I use my dBASE tables for instance in this environment I am at ease now with Visual Studio 2003 and VCSExpress. I can design a form and make some Internet connections and send requests. I need to either create a NEW database with new tables ...Show All
Visual Studio Express Editions include iostream error
I have an error, when i try to compile things in the C++ epress edition, i get an error message that says " : fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory" i have tried ... <iostream> <iostream.h> and some real crazy things but nothing works. What do i need to do It still seems not work if i use <iostream> If i use #include <iostream>; using namespace std; now file found(maybe) , but there seems some syntax error here is some of the results: D:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\cstdio(17) : e ...Show All
Visual Studio Express Editions Create same tab repetitively with different tab title
I'm new to MFC. I would like to create multiple tabs by using same dialog. For example, I have three tabs - Tab A, Tab B and Tab C. Every dialog embeded in the tab is the same, just with diffrent title name. Any ideas Appreciate your help. MFC is not fully supported under the express edition. You have to use higher edition. If still have MFC specific questions, please use the forums at http://forums.microsoft.com/MSDN/default.aspx forumgroupid=8&siteid=1 Thanks, Ayman Shoukry VC++ Team ...Show All
Visual Studio Express Editions Cannot access local MSDN library
I'm just making the transition from vba and have downloaded the vb express iso, burned a cd and completed a no issue installtion of vb and the msdn library. However, on pressing F1 to invoke the document explorer - selecting to try local then online help - I just receive a blank window. The contents and index sidebar are empty, as is the main window. If I run a search I get result from MSDN online, codezone community and questions, but the local search returns "Exception from HRESULT: 0x8004032E". I have been searching the forums but cannot find a similar issue. Has anyone any suggestions As ther ...Show All
Visual Studio 2008 (Pre-release) Cannot Query INFORMATION_SCHEMA.COLUMNS
I cannot translate this into a DLINQ query because there does't appear to be a way to specify a schema/owner. select table_name , column_name from INFORMATION_SCHEMA.COLUMNS Jonathan If you define a class like below, and define a table member on your context, you will be able to query normally. Note that you need to add brackets to the name. If you provide none, we enclose the name in brackets, which accounts for the error you were seeing. [Table(Name="[INFORMATION_SCHEMA].[COLUMNS]")] public class ColumnInfo { [Column(Name="TABLE_SCHEMA", Id=true)] public stri ...Show All
SQL Server Problem Connecting To Reporting Services
Hi, I run into the following problem: I am trying to deploy a report to the report server (SQl Server 2005) or connect to Reporting Services from SQL Server 2005 Management Studio. I get the message : "The attempt to connect to the report server failed. your connection information and that the report server is a compatible version." The request failed with HTTP status 404: Not Found" Everything (IIS, SQL Server 2005, BI Studio) is installed on a XP Professional machine. IIS 5.1. with integrated windows authentication. Any help will be greatly appreciated, Thanks in advance, --Dimitris Doukas ...Show All
