Callum's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. Game.GameServices article
I put up an article about Game.GameServices and the IGraphicsDeviceService. http://blogs.msdn.com/mitchw/archive/2006/09/06/742955.aspx A LoggingService. Great example :). That is one of the game services I was going to do as well. Of course, I'm also trying to think of a way to make it run on the 360 as well so I'll have to be aware of the size of the log. ...Show All
SharePoint Products and Technologies Adding new server to farm
Hi, just found some interessting, which could probably be a 'works as designed'. My farm is a 2 server scenario. One DB-Server 'db.domain.com' and one web server 'web.domain.com', also hosting central admin and ssp. I added a second webserver 'newweb.domain.com', but I cannot add an webapplication on Port 80 at this server. When I try to access newweb.domain.com, I get redirected to web.domain.com. Is this works as designed Any way how to get a new webserver to the farm, hosting its own content on port 80 Best regsrds TST Hi, I think AAM could help with one of the problems on our SP farm, as far as what URLs are displayed in IE when we browse around. The site is ...Show All
.NET Development Activator.GetObject + New constructor with parameters
Hi! I want to pass parameters to the New constructor of a class while using Activator.GetObject. How Thanks. ...Show All
Visual Studio Team System MDX Query for Number of bugs found and fixed in each build
Hi All, I am trying to create a chart which displays the number of workitems/Bugs which have been opened and fixed in each build. So on the X axis, display the build numbers, and on the Y axis display the number of bugs opened and resolved. I have been able to create the charts separately - ie bugs opened (FoundIn.build) each build, and in a separate report resolved (using Integrated.build). But I can't seem to find a way to combine the two into one chart. If I was in SQL, I think could do a cross tab query to return all the build numbers, then the number of bugs opened and bugs resolved for each build. How do I do the equivalent in MDX Could I do this using calculated members I tried the following query and this returns the ...Show All
Visual Studio VS browser window shows the following message: "To help protect your security..."
Hi there, I'm using a VS browser window to shows HTML file containing the Flash animation. I have some difficulties with that - when I open this HTML file I see the warning at the top of the VS browser window containing the following message: " To help protect your security, your web browser has restricted this file from showing active content that could access your computer Click here for option... " I'm interesting how to remove that message from the top of VS browser window I've tried IE options - no results. I've tried both way to show my HTML file described in that post . Any ideas will be much appreciated!!! Thanks! Hi, I know the answer now! And it's name is MOTW. That is the quote from ...Show All
Visual Basic Problems with WebBrowser objects...
Hi there! Could someone please explain why the following three functions return the same value WebBrowser_instance.Document.Body.GetAttribute( "scrollHeight" ) WebBrowser_instance.Document.Body.GetAttribute( "clientHeight" ) WebBrowser_instance.Document.Body.GetAttribute( "offsetHeight" ) I really need the object to return the right scrollHeight values. Regards, O Thanks for the reply, that's not the solution though. the ScrollRectangle returns the visible dimensions (not the whole body dimensions), the ScrollTop and the ScrollLeft allways give me the scrollable positions, wich are in my case 0,0 , respectively. The clientRectangle returns w ...Show All
SQL Server Object Exists in SQL Server 2000 Missing in SQL Server 2005 master.dbo.spt_datatype_info Table
I am running this SQL Statement to execute against SQL Server 2000, it ran fine, but when i ran it against SQL2005 it gives me an error saying missing object : master.dbo.spt_datatype_info, could anyone let me know what is the equivalent table of the above in SQL 2005 and how do i get this query executed against SQL2005. The application basically allows any developers to type in the column/table comments /desciption and generate .html file and finally .chm file for all database objects. Including the sql script for your review . let me know anyone can help me on this. "SELECT OBJECTID = o.id, SPECIFIC_CATALOG = db_name(), SPECIFIC_SCHEMA = user_name(o.uid), SPECIFIC_NAME = o.name, ROUTINE_TYPE = convert(nvarchar(20), o.xtype) ...Show All
Smart Device Development Provisioning device security
I'm following this How to: http://msdn2.microsoft.com/en-us/library/30dtsstx(VS.80).aspx But I got this error: (0x80070005): Access is denied The device is accessible: I can copy file, debug and install application on it. so why this error Most likely the because RAPI security policy is set to 'restricted'. With this policy enabled device provisioning over RAPI is not possible. Try the 'Device Security Manager PowerToy for Windows Mobile 5.0' http://www.microsoft.com/downloads/details.aspx FamilyID=7e92628c-d587-47e0-908b-09fee6ea517a&displaylang=en This tool may help solving the problem. Michael ...Show All
Visual Studio Express Editions Install only MSDN 2005 express Edition ?
I goofed and uninstalled MSDN 2005 Express Edition ENU. I thought (bad thought) that Internet connection would take care of my help needs. Wrong!!! Now when I use VWD Express help, i get message sample below. The url shown is : ms-help://MS.VSExpressCC.v80/MS.NETFramework.v20.en/dv_vssoln/html/fc548150-2c52-456d-b43b-b4011b8d9de7.htm Can I download only the MSDN Pauley This program cannot display the webpage Most likely causes: You are not connected to the Internet. The website is encountering problems. There might be a typing error in the address. What you can try: Check your Internet connection. Try visiting another website to m ...Show All
Visual C++ 'type cast' : cannot convert from 'System::IntPtr' to 'PDEV_BROADCAST_HDR'
Statement void ProcMsg::getMessage(Message *m, Boolean Inserted) { PDEV_BROADCAST_HDR lpdb = (PDEV_BROADCAST_HDR)m->LParam; } above statement was came out with error 'type cast' : cannot convert from 'System::IntPtr' to 'PDEV_BROADCAST_HDR' Question: May i know how to cast the structure PDEV_BROADCAST_HDR to System::IntPtr. http://msdn2.microsoft.com/en-us/library/4ca6d5z7(VS.80).aspx Hope this gives you some idea ...Show All
Visual Studio GuidanceAutomationExtensions.msi install error
Hi, I am trying to install the (GuidanceAutomationExtensions.msi) it starts to install and i get a error as follows (Object reference not set to an instance of a object ). I have the (Enterprise Library January 2006.exe) installed can anyone help me to overcome this error . Thanks in advance. kered Please provide a verbose log of the install, using msiexec.exe /i GuidanceAutomationExtensions.msi /l*v LogFile.txt. That should give more information on what is failing. -Victor. ...Show All
SQL Server How can I shrink SQL Express database on local machines?
Hello, I have deployed a vb.net application to a few laptops that holds the SQL Express database as a local datastore. What is the best way to compress or shrink the database and log files I would like a way that this can be done automatically or unattended if possible... Thanks in advance. Ah thanks AlexB ... I thought I was the only one. I will take a look at the links you provided me. Regards, Rashar ...Show All
Visual Studio Express Editions I am having a problem with my code.
I was trying to make an application. the application is very simple but when i was typing the code it said there was two errors. The first error was ('ElseIf' must be preceded by a matching 'If' or 'ElseIf'.) The second error was ('End If' must be preceded by a matching 'If'.) I really need help to get this code error free. The code is at the end of this page. Thanks for helping. The code Public Class Form1 Dim door As String = "locked" Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click If door = "locked" Then Button1.Text = "Unlock" Label1.Text = "The door is locked" MessageBox.Show ...Show All
SQL Server VarCharMax Stored proc parameters
I'm creating stored procedures using SMO. I create an insert procedure for a table and the procedure takes in all of the table's columns as parameters. Here is the code I use to accomplish this: foreach(Column column in dboTable.Columns) { StoredProcedureParameter param = new StoredProcedureParameter(); param.Name = DBTransforms.GetStoredProcParameterName(column.Name); proc.Parameters.Add(param); param.DataType = column.DataType; param.IsOutputParameter = column.Identity; } The problem is, once I've created the proc on the database (by calling proc.Create()), if I open the procedure the parameter declaration looks like this: @partyId [int] OUTPUT, @uniqueRef ...Show All
Visual C++ C++/CLI destructors and finalizers chaining
According to the topic "Destructors and Finalizers in Visual C++" in the "C++ Language Reference" implementing a ~ destructor or a ! finalizer automatically chains to base classes which have these semantics after the derived class destructor or finalizer code is run. However it is suggested in that topic that the C++/CLI programmer call the finalizer at the end of the destructor processing. Would not this then mean, in that idiom of calling the finalizer of a class from the destructor of that class, that the order of destructor calling whenever a destructor is run would be: 1) destructor of derived class -> finalizer of derived class ( through suggested call ) -> finalizer of base class ( through chaining ) -> ...Show All
