yzzid's Q&A profile
SQL Server mining model viewer error
I am developing a multiple regression model for a super market site selection with 11 predictors. As soon as I press the model viewer tab, the following message appears: The server content appears to be out of date. Would you like to build and deploy the project first I opt no and the error message pops up: The tree graph cannot be created because of the following error: 'Either the user, ......., does not have access to the ....... database, or the database does not exist.'. Could anyone mine out the cause please.... saji Did you deploy the model at least once The project (containing the data source, data source view, mining structure and model) should be deployed on the server for processing to happen. Once pr ...Show All
Visual FoxPro Converting Foxpro 2.5 to Visual Foxpro 6
I opened up my Foxpro 2.5 project under VP 6.0 an none of my screens work. When I try to modify the screen I get message much like this. Error loading File, record number 5 InLine3 < or one of it's members> ColourSource: Expression evaluated to an illegal value. I know I am late in the game converting but I sure hate the idea of redoing all these screens. Does anyone have any ideas. Thanks in advance alex is correct, however I believe I may have told you the incorrect time to do this. After you convert the form then open the scx file in Visual Foxpro, not in foxpro. Don ...Show All
Windows Live Developer Forums Converting from Google Maps
I have a map here - www.ukmartin.com/googlemaps/uk.html It features a set of pins in the map which have their latitides and longitudes listed in an XML document. Is there an easy way to use the same design of map pin and the XML data in a Live Map (see http://www.ukmartin.com/googlemaps/stadia.xml ) Thanks in advance for your assistance Martin Hi Martin, You might want to have a look at Mapstraction. I know its says it still in dev, but reading the mailing lists, i think it's pretty robust for point data. Rob ...Show All
Visual Studio Express Editions Get data from RFID reader + RS232
Hello, I've an RFID reader which is connected with my local pc. I'm trying to get the data from the tags and put them in a database. See code below how I'am connected to the COM port but I can't get data of it... what do I do wrong Thanks Imports OpenNETCF.IO.Serial Public Class Form1 Public WithEvents SerialPort As New OpenNETCF.IO.Serial.Port( "COM1" ) Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click With SerialPort .PortName = "COM1:" '.RThreshold = 1 .Settings.BaudRate = OpenNETCF.IO.Serial.BaudRates.CBR_38400 .Settings.ByteSize = 8 .Settings.Parity = OpenNETCF.IO.Serial.Parity.even .Set ...Show All
SQL Server Refreshing data in the cursor.
Hello everybody, I wrote a stored procedure for SqlServer 2000 and i am using it for paging purpose. The procedure is as follows : set ANSI_NULLS ON set QUOTED_IDENTIFIER ON go ALTER PROCEDURE [dbo] . [OLAP_PagedRows] ( @SelectFields nVarchar ( 2000 ) =NULL, @GroupByFields nvarchar ( 1000 ) =NULL, @BaseTable varchar ( 100 ), @KeyColumn nvarchar ( 200 )=NULL , @JoinTables varchar ( 500 ) =NULL, @ConditionalClause varchar ( 1000 ) =NULL, @Pagesize int = 10 , @PageNumber int = 1 , @SortExpression nvarchar ( 200 )=NULL, @SearchText nvarchar ( 200 )=NULL ) AS BEGIN DECLARE @SQLSTMT NVarchar ( 4000 ) DECLARE @SQLSTMT1 NVarchar ( 4000 ) ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Using the framework with WinForm controls
Anyone have any idea on how to redirect the rendering output to something like a winform Panel control, so that I could use the framework for traditional applications Yeah, you want to look at GraphicsDevice. The constructor takes a handful of arguments. Depending on your situation (i.e. how you want to select which device to use), it might be as simple as PresentationParameters pp = new PresentationParameters (); pp.IsFullScreen = false ; // set other present params here, generally going // with the defaults is somewhere to start. GraphicsDevice device = new GraphicsDevice ( GraphicsAdapter .DefaultAdapter, DeviceType .Hardware, myForm.Handle, CreateOptions .Hardwar ...Show All
Visual Studio Can't See the CR component in Visual Studio 2005
Hi, I can't see the Crystal reports component in visual studio 2005 when I click Add New Item in the solution explorer. Any ideas as to why or how I can add the CR component Thanks Chieu Crystal Reports XI release 2 is the only full version that supports the .Net 2.0 framework; so, yes, if you want access to the features that come with the full version of Crystal Reports developer then you will need to upgrade to Crystal Reports XI. That said, you can also make use of the version of Crystal Reports that comes with Visual Studio 2005. It should be installed by default with Visual Studio. - Dave ...Show All
Visual C++ C++ class definition error C2061
I just learned C++. All the book examples worked well on my Visual C++ 2005 Express Edition. Now I correctly built a large C project that I got from somebody else. I wanted to add a simple C++ file to it defining only one class: class HK { public : HK() {} // Constructor ~HK() {} // Destructor static int Ones(); }; int HK::Ones() { return 1; } This class compiled correctly when done separately. But as soon as I wanted to build it togeter with the correct C code, I got the C++ class definition error C2061. Now, I tried to find the reason, seriously. I have printed 200 pages of Microsoft documentation so far, but have not discovered what this is Help! What could be the reason an ...Show All
Visual Studio Team System Ghost Projects
We had a TFS server and an administrator moved that to a new server. When the old server was turned off, SharePoint errors popped up. We turned the old server back on so that the errors would go away. Another problem we are seeing is "Ghost Projects". These projects appear in Source Control Explorer but when I go to delete them using the command line utility TFSDeleteProject, I get an error "project XXX not found on TFS Server". So, it appears I have two problems 1. How do I convert this SharePoint database over to the correct server and 2. Why am I seeing Ghost Projects and how do I delete them "Show Deleted Items" is NOT enabled. I really can't turn off the server ...Show All
Visual Studio Express Editions C# and Games
I know C# and I want to by a book about developing games with C#. I've found a couple books on www.Amazon.com but they have very low ratings. There was one book called C# Game Programming that had a rating of four stars. I would like to know if there are any other good books on C# and games and if C# Game Programming is a good book. hi, if you want to ask about games you might use DirectX forums , its the best place to ask this question, you might find some guidance in those links building 3D games movies>> http://www.microsoft.com/events/series/msdnvideodev.mspx sudouko games >>> http://msdn.microsoft.com/library/default.asp url=/library/en-us/dntablet/html/tbconSudokuSampleF ...Show All
Visual Studio 2008 (Pre-release) How to bind Background to RadialGradientBrush.Color?
Hello, I defined style for button. Its template contains rectangle filled with RadialGradientBrush and I want to bind Color property of brush to Background property of button. I know, Brush and Color are different types, but how to bind it correctly < Window x:Class = " WPFForm.Window2 " xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x = " http://schemas.microsoft.com/winfx/2006/xaml " Title = " WPFForm " Height = " 441 " Width = " 520 " > < Window.Resources > < Style x:Key = " ButtonStyler " TargetType = " {x:Type Button} " > < Setter Property = &quo ...Show All
Visual C# Extracting data from html file.
I have a html file, I need to retrieve from it specific value: <some html code> <tr> <td class="textCell">Internet IP Address</td> <td class="textCell"> 82.2.118.114 </td> <some html code> I need to retrieve IP address. For that I need some how to locate this portion of code (by searching for Internet IP Address), and then to extract the IP. How to do that Hi, One way is to do the following: Open the HTML for input While not EOF() Read a record if record contains the text " <td class="textCell">Internet IP Address</td>" { Skip the next record (to skip the "<td class=&q ...Show All
Visual Studio Team System CTP6 Build/Deploy with TeamBuild - Help needed
I am new to the CTP6 and I have been tasked with showing how to use Team Build to build/deploy the database changes back to a Staging environment from the Isolated environment. I have read about a SqlDeployTask that I may need to use, but I am unsure on that. Can anyone give me details on how to accomplish this feat Do I need the SqlDeployTask If so where do I get that from How do I set it up Does anyone have an example I can look at Thanks in advance -paul Hi Paul, Actually, with the changes we have made in CTP6 you do not need to explicitly use the SqlDeploy task – you can just use the Deploy task. For TeamBuild, there is one “outstanding” issue that we recently resolved which is how to specify the Target ...Show All
SQL Server problems executing a SELECT inside a TRAN against other computer
Hi I have a problem executing a SELECT inside a TRAN against other computer For example: IN THE SQL Query Analizer of the COMPUTER2 1) this runs OK BEGIN TRAN SELECT * FROM COMPUTER2.DATABASE.DBO.TABLE COMMIT TRAN 2) this runs OK SELECT * FROM COMPUTER2.DATABASE.DBO.TABLE 3) this runs OK SELECT * FROM COMPUTER1.DATABASE.DBO.TABLE 4) this runs bad BEGIN TRAN SELECT * FROM COMPUTER1.DATABASE.DBO.TABLE COMMIT TRAN The problem is that TABLE locks and it does not finish. I've been looking for similar ERRORS in Microsoft Support but I found nothing I've uninstall and install de SQL server 2000 SP4 and the problems continues the same Please, someone could help me, thanks Hi Tom, thanks for the response Yes, of course. But is ...Show All
Windows Forms Using a Form app's classes in another app
I have a Forms app and want to use some of the classes from it in another app. I created a Solution file with both apps as projects, added the source for the shared classes to both projects, and compiled both. The original app runs, but the new app throws a "Cannot find the assembly MyOriginalProjectName " exception. Wassup The source files should be stand-alone, without any dependency on either app. The original app is a .exe and the Add References dialog only accepts .dll files. How do I use the same source in two different apps When you add a reference, there are 5 tabs at the top, with .NET selected. Select Projects, and try adding the reference to the other project. -Scott ...Show All
