nbie's Q&A profile
Connected Services Framework StockQuoteAppIdm sample (CSF 3.0) is not working..
hi i'm trying to run the sample. i did all steps in sample document. but sample didn't work. so i checked EventViewer, i got some info about SSO... sample doc doesn't explain SSO setting. however, using SSO and IDM management, i registerd Application info and Secondary Credentials. Now... i got this error. ---------------------------------------------------------------------------------------------------------------------------- Timestamp: 2006-12-18 8:23:48 Message: An internal server error occurred. Your call was not processed. Contact the site administrator for details. (System.IndexOutOfRangeException: . : Microsoft.ConnectedServices.Connector.IdentityManager.SsoUserMapManager.Read(Read ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Tiling a texture?
Hey, I have a 3d terrain system. The terrain is built using a heightmap image. Then I have a large texture that I paste over the top, this covers the complete terrain. I'd like to be able to dispose of the one large terrain texture image and use tiling and different layers for different tiles. (Texture splattering, I think this is called). However, for now I'll be happy with just tiling my grass texture over the top of my terrain instead of it automatically scaling. Can anyone point me in the right direction to repeat and tile my texture rather than stretch to fit Thanks Ah, ok, thats very strange its as if your AddressU and AddressV states are set to Clamp, but I can clearly see you have ...Show All
Visual Basic VS 2005 - Reading XML config file
My solution consists of a Windows Library (that creates a DLL), an EXE that is the Windows Service and a Setup project for deployment. The Windows Service references the DLL project. Everything is installed and deployed. 1. When I run the service, my code needs the current directory of my installed windows service application and library (c:\Program Files\Perf\PerfService in this case) but when I use the following code: path = My .Computer.FileSystem.CurrentDirectory It returns : C:\WINDOWS\SYSTEM32 How do I get where my DLL and EXE are installed 2. I am using a My.Settings config file (app.config) to store application settings for the DLL. How do I include this in my Setup project so that I can manually change settin ...Show All
Visual Basic Error when closing vb2005
Hi I hane many projects one of them have alot of controls when I open it some of the controls disapear and when I close vb it give me error message for this project only some said to me that because my application is lagre and have alot of controls you must download hotfix for IDE but I didnt find it can anyone help me please See this thread fro info concerning the hotfix: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=606916&SiteID=1 ...Show All
Visual C# Why Modifier can't be set like C++
I am using C++ Language and learning in C#. But I used to set Public modifier as class cls { -----param public : -----method and param } Why C# don't have this. I think all modifier should be able to set as this method like C++. And can set like Java too. Or Microsoft has some reason Yes,so I want to know why it can't Why microsoft can't make VC# to set any modifier in 2 ways like Java as it is. And like SmallTalk as VC++ can be. Microsoft have any reason to remove this Syntax, Or it have any problem Or they forgot to do ...Show All
SQL Server Stored Procedure
Hello, I've written the following stored procedure: CREATE PROCEDURE dbo.GetTableName ( @ConfigurationId int = 0, @TableName varchar(MAX) OUTPUT ) AS SELECT @TableName = ConfigTable FROM Configurations WHERE Configurations.ConfigurationId=@ConfigurationId; How can I get the parameter TableName now I tried EXECUTE GetTableName 0 Error Message: "Procedure or Function 'GetTableName' expects parameter '@TableName', which was not supplied". Sure, I did not supply it because I wanted to have it as return value. What is wrong I also tried: CREATE PROCEDURE dbo.GetTableName ( @ConfigurationId int = 0 ) AS DECLARE @TableName varchar(MAX); SELECT @Ta ...Show All
Audio and Video Development PEP CPU Utilization
I'm finding myself unable to achieve 100% utilization on all threads of the PEP (pepworker.exe). I have created our own in house PEP manager to facilitate the current process of executing pepworker.exe on all the workers and it is pretty elegant. Further, I'm taking snapshots every second of the CPU utilization, RAM usage and any swap in use. The following link is a snapshot of the workers: http://img465.imageshack.us/img465/8909/vc1cpusfi9.jpg I must ask though, is everyone else's results similar to mine Is anyone pegging their VC-1 workers ...Show All
SQL Server Table Column Default
Hello all, I have a table with a column: ThruDate datetime not null I have a function call set up as default for the col ([dbo].[fn_DateHigh_Get1]()) I have a stored procedure that inserts into the table - it expects @ThruDate as a parm. I default the parm to NULL - When the sp executes its insert stmt i get error 515 (null cannot be inserted....). When i just enter the row manually in enterprise manger (and just tab through the ThruDate col) all is well - ThruDate gets the default as calculated by function [dbo].[fn_DateHigh_Get1]() Why does the sp fail - i.e. why isn't the default applied thanks Hi, Let us understand correctly: 1. You have a default value on your ThruDate in the table as being ...Show All
Visual Studio Express Editions Publish to CD -> Adverts??
I'm using Visual C# Express Edition 2005... About 1 in 5 times when I publish to a folder... Firefox launches as normal with links to the published files... but 3 other tabs are opened with pages from Merge Records, Caphyon Installer, and Google Mail... I've tried a Lavasoft Adaware scan, and Spybot S&D but nothing was highlighted. Does VC# EE 2005 have some kind of advertising feature built in, or is this some type of adware thanks in advance, Pete. For the benefit of others with Firefox as the default browser, these are the conditions that cause the problem.... Firefox is your default browser (not Internet Explorer) You publish your C# program to a folder or path containing spaces I ...Show All
Visual Basic Checkbox value in datagrid
Hi every one. I am working on a web form which allows people to tick on a specific item they would like to reserve. I have a datagrid which contains 5 data fields. It also contains a template colunm which contains the checkbox. (The sixth colunm) The problems is no matter user tick on the check box or not, the checkbox value remain the same. Therefore, the code can not tell what has been selected by users. The following codes are used in this web form I described above. Code in html <asp:DataGrid id=DataGrid2 style="Z-INDEX: 107; LEFT: 328px; POSITION: absolute; TOP: 504px" runat="server" DataKeyField="CRID" DataMember="CourseReader&qu ...Show All
Visual Studio Confusion Regarding Version of Crystal Reports Included in VS 2005
I have just installed VS 2005 a few days ago, and haven't have a chance to do much with it yet. I've been looking at a number of these forums, for tips before I even get started with my first project. How can I determine what version of Crystal Reports has been bundled with VS 2005 This is what the About window shows: Microsoft Visual Studio 2005 Version 8.0.50727.42 (RTM.050727-4200) Microsoft .NET Framework Version 2.0.50727 Installed Edition: Professional Microsoft Visual Basic 2005 77626-009-0089182-41868 Microsoft Visual Basic 2005 Microsoft Visual C# 2005 77626-009-0089182-41868 Microsoft Visual C# 2005 Microsoft Visual C++ 2005 77626-009-0089182-41868 Microsoft Visual C++ 2005 Microsoft Visual J# 2005 776 ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Help I can't find XNA Game Launcher on MarketPlace
Hi all, I am trying to deploy the sample spacewar on my retail xbox 360. According to the XNA documentation I need to first purchase the XNA Game Launcher from MarketPlace. Have been searching hi and low in the MarketPlace, can someone help to point me in the right direction Is it because I don't have a Gold Live membership or something else Please help. Thanks in advance. Regards, Brian Hi, I often read "later this holiday season"... Can anyone please give a hint on what this means I don't ask for a concrete date, but I'd like to know what to expect, is it Dec 06, or June 07, or ... ...Show All
SQL Server Who has updated cube's schema?
Hi, How to obtaine information, who has updated the scheme I can do like this (I am using AMO) Cube.DataSource.ImpersonationInfo.Account But this is only information for data source Thanks! Indirectly means by using additional tools. For example, if you keep the full trace of what was happening on the server, you can analyze it and find out exactly who did what etc. It would be non-trivial task to automate it, but for manual verifications it should be OK. ...Show All
Visual Studio Team System CA1062 Validate arguments of public methods
I'm encountering this warning in a number of places in my code and I notice that simply checking the argument for null and handling it appropriately doesnt make this warning go away. Looks like the code analyser is not satisfied unless we throw an ArgumentNullException. E.g., the following code is safe from a null exception but I still get a warning. public static double CalculateHeight(LatLong north, LatLong south) { if (north == null || south == null) { return double.NaN; } double deltaLatitude = north.Latitude - south.Latitude; .... return ...; } I have to do the following to fix the situation: public static double CalculateHeight(LatLong north, LatLong south) { if (north == null) { throw new Argume ...Show All
Smart Device Development System.CF namespce missing
I'm using .Net Compact Framework 2.0SP1 and VS 2005. VS2005 doesn't recognise any System.CF* namespaces. Any ideas This message is saying there's no such assembly, it's not saying anything about namespaces. Assembly A.B.dll may or may not have A.B.* namespace in it. That is, there's no direct connection between assembly name and namespaces in it. In this case it does not matter though because there's no such assembly in NETCF either. You can check out NETCF's assemblies here: %ProgramFiles%\Microsoft Visual Studio 8\SmartDevices\SDK\CompactFramework\2.0\v2.0\WindowsCE\ It might be 3rd party DLL which is missing. Why don't you call that 3rd party and ask them ...Show All
