Stanley.brewer's Q&A profile
Windows Forms Terrarium server is experienceing temporty difficulities
I'm new at this game, is anyone else getting this message, just making sure that I haven't done something wrong. I'm using version 1.0.21.281 I'm sorry you are having so much trouble with setting the game up. However, v1.1 (1.0.21) works just fine (if you ignore a few error messages). I currently see 50 peers. If you go& ...Show All
Visual C# How to minus two days from now
Dear All, I would like to know how to get the date for past two days in yyyymmdd format. Take for example , today is 20060201, how can I return two days date as 20060130 Please help Try the following: DateTime now = DateTime.Now; DateTime twoDaysAgo = now.AddDays(-2); Console.WriteLine(twoDaysAgo.ToString("yyyyMMdd")); ...Show All
.NET Development Game development with .Net
Hello, I am looking for samples, articles, guidelines... to write .Net games with .Net. I don't want to use DirectX or, if with DirectX, not using 3D. The category of game is Legend of Zelda, Mario Bros... the ultimate goal being to make a game both for WinXP and WinMobile. Also, I'd like to find help on a 3d-iso game like age of empire or StrongHold. Thanks for any help, Claude There's a good start !! The URL seem to be: http://www.drunkenhyena.com/ Thanks to all for your help. ...Show All
Visual Basic VB Express 2005
Hi all, I just downloaded and installed VB Express 2005 Bata 2. When I ran it and select "New Project" and "Window" app, I get 5 dialog boxes that says: Title: Package Load Failure Package 'Visual Studio common IDE package' has failed to load properly (GUDI - {6E87CFAD-6C05-4ADF-9CD7-3B7943875B7C}). Please contact package vendor for assistance. Application restart recommended, due to possible enviroment corruption. Would you like to disable loading this package in the future You may use 'vbexpress /resetskippkgs' to re-enable package loading. 1. How do you notify the vendor I can't find a place to do it. 2. I restarted and get the same thing ...Show All
SQL Server Minimizing Penalty (weighted sum of false positives plus false negatives)
I am using Naive Bayes, Decision Trees, and Neural Net (SSAS 2005) to predict which of two states each record belongs to. How can I enforce a different penalty for a false positive versus a false negative (I am assuming that in some sense the mining algorithms can then minimize the total penalty). Gee, I don't see any responses. Have I asked a stupid question Am I looking at datamining from the wrong perspective ...Show All
Visual C++ Support for dual core and dual CPU
When does Microsoft plan to add support for dual core and dual cpu when compiling C++ code I was asking the same question 8 years ao when I got my first dual CPU machine. Did not get any answer. Distributed compilation like Incredibuild would also be nice to have. Regards Lars Schouw In VC2005 you can build multiple projects at the same time. http://msdn2.microsoft.com/en-us/library/9h3z1a69.aspx contains more details. Also, there are some future work currently in progress. Please see Herb's talk about concur at http://www.gotw.ca/ Thanks, Ayman Shoukry VC++ Team ...Show All
SQL Server Accessing from desktop - path not found.
Hi, I am trying to write a desktop application using C# and .NET that can edit an SQL Server Mobile database stored on a device. The problem is no matter how I specify the data source, I get an error the path was not found. Heres the bit of the code: string strConn = "Data Source=" + "Mobile Device\\My Documents\\Nutricom.sdf"; SqlCeConnection connDB = new SqlCeConnection(strConn); connDB.Open(); And the error i get is.. The path is not valid. Check the directory for the database. [ Path = Mobile Device\My Documents\Nutricom.sdf ] Everytime it thorws an error saying the path is invalid and to check the locaiton of the dat ...Show All
Software Development for Windows Vista Restarting persistent worklow throws a mysterious exception
Hello, I have a problem with loading a persisted workflow: On RT.GetWorkflow the following exception is thrown: System.NullReferenceException: Object reference not set to an instance of an object. at System.Workflow.ComponentModel.ActivityExecutorDelegateInfo`1..ctor(Boolean useCurrentContext, EventHandler`1 delegateValue, Activity contextActivity) at System.Workflow.ComponentModel.Activity.AddStatusChangeHandler(DependencyProperty dependencyProp, EventHandler`1 delegateValue) at System.Workflow.ComponentModel.Activity.add_StatusChanged(EventHandler`1 value) at Upper.S3.Server.Workflow.CoreActivities.StateWorkflow.OnActivityExecu ...Show All
Smart Device Development listbox alternative for smartphones?
I thought that perhaps the WM2005 devices would have support for listboxes! (smartphones) but nope ;-) So, my question is... APART from using a combobox, is there something else I can use, like a listbox, from which a user can make a selection What other component can I use/create which is supported by the smartphones WM2005 running .NET 2.0 CF would be interesting but the user has to select and option in my case, I guess i could see if i could do that in a datagrid. Just a general Q - why is there no listbox support for the smartphones :-) ...Show All
SQL Server Package "MyPackage" has been cancelled.
Hi, I have scheduled a package "MyPackage" in a SQL Server Agent Job. It runs periodically with success. Sometimes the package status is shown as "Cancelled" what led me to assume some coincidences. So I took a look at the eventlog which contains the following message: Event Type: Information Event Source: SQLISPackage Event Category: None Event ID: 12290 Date: 30.01.2006 Time: 08:00:42 User: NT AUTHORITY\SYSTEM Computer: MYSERVER Description: Package "MyPackage" has been cancelled. I assume that the problem occurs when a user locally logs off from the Server where the SSIS-service is running. Why ...Show All
SQL Server Graph data question
I have a graph that is properly displaying data for each year and then by each subsidy. However, when it displays data for the current year (2006), for the subsidies with no current data, it carries over the data (the sum of the total) from the previous year for the data points. There is no bar on the graph which is correct, however the data point from the previous year does display. For subsidies that do have data for the current year, this is being displayed properly. I am new a graphing so I hope I am explaining myself correctly. This is a simple bar graph being built in SQL RS 2005. Thanks for the information. ...Show All
Windows Forms Clickonce, Data files, and SQLExpress...What's going on here?
Ok..not sure I understand what the expected behavior should be... My understanding of .mdf database files in a clickonce project was that they were automatically moved from the previous deployment data directory to the new one...is that not correct My experience is showing that it is not moved but still resides in the previous deployment data directory. With this behavior, any data that is entered by the user and stored in a local db (mdf file) will be lost when an application update is issued. This can't be correct. What am I doing wrong. The file is set as a Data File in Publish Properties-->Application files and the updates are w ...Show All
Visual Studio Webforms (local mode) - where is print button ? !!
Perhaps I'm being a bit stupid here, but when adding a reportviewer control to an ASP.NET application for a report run in local processing mode, I don't see any print button to be able to print the report. I can view the report, export to Excel, but how do I print I am intresting about this topic. But I find it use Microsoft.Reporting.WinForms; to print the report. Can it use in WebApplication http://forums.microsoft.com/msdn/ShowPost.aspx PostID=22277 ...Show All
SQL Server Cube Datasource is not on SQL Server
Hi, is it possible to define a Cube on SQL Server 2005 where the data source itself is on a DB2 or Oracle Database I would like to have the Cube to collect the data from the DB2 Database to build the Cube. The Cube itself can copy some data to the SQL Server if necessary. What I'm trying to avoid is to have an ETL Process to copy over everything to the SQL Server and then build a Cube on top of it. It is currently very difficult to synchronize the data from the DB2 to the SQL Server. It is also not possible to go over a time period as it can happen that you get new records for the last year. We have to work with a lot of data (several mil ...Show All
SQL Server what type of connection is being made and sp_prepexec
I am trying to debug the connection from a third party development tool. The tool has 'simplified' the connection and therefore made it difficult to tell exactly how it is forming it's connect string. The developer tells me he thinks he has specified the conenction using an ODBC System DSN for the connection. When the connection executes statements, some are seen in profiler as SP_PrepExec parameters. From what little documentation there is out there on this sp, it appears to be the result of .prepare command from ado. I am running SQL 2000 SP4 (build 2162). I have two questions. 1. How can I tell what type of connection method the clien ...Show All
