CJira's Q&A profile
Visual Studio Team System How to Restore Report Parameters to Their Original Values
I was trying to modify the default "Plan Completion Date" in the "Unplanned Work" Report, that comes with TFS. I went to the report properties and selected the "Parameters" tab. There, I clicked the "Override Default" button for the "PlanCompletionDate" parameter, so it would allow me to specify a custom date. There I entered this date: "12/16/2006". After that, I clicked "View" to view my report and it worked fine. No problems here. Then, I decided to do the same for the "PlanCompletionDateCtrl" and "StartDateParam" parameters. So I did exactly the same. But then, when I clicked "View" to see the report, I got this error: An error ...Show All
SQL Server Loop in SSRS Expression
Hi guys, I got a multi value parameter which displays all my 'companies'. On my report header, I wish to display all the companies selected by the user. Parameters!Company.Label(0) only shows the first on selected Please, any help will be greatly appreciated W Wilmot Thanx Hammer It worked fine if i use the 'Join( Parameters!Company.label," ,")' instead of 'Join( Parameters!Company.value," ,")' Thank you, again!!! ...Show All
SQL Server Please Help! "Out of present range" error in SSAS 2005
When I run the following MDX Statement from SSMS select descendants ([Stores].[Stores].[All Stores],Store) on columns from MyCube I get the following error Executing the query ... The following system error occurred: Out of present range. . Execution complete However, when I run the following, I get no error: select {[Stores].[Stores].[Store]. members } on columns from MyCube What can possibly be causing the "Out of present range" error What does this error mean Does it have to do with the Stores dimension Or with the cube itself Reprocessing the whole DB didn't help, nor rebooting the server. We have an undertermined number of queries using the above construct, and all of a sud ...Show All
Windows Forms Right menu in my computer window??
How can I add in my application a menu like the right blue menu in my computer window Is this possible thank you very much!!! here we can find some sample of xp style menu http://www.codeproject.com/jscript/leftmenu.asp ...Show All
SQL Server Question about "Connect to the sql server 2000 installed on windows xp sp2"
Hi I have another question now. As the topic said, my sql server 2000 installed on windows xp sp2, the computer's name is "ADMIN" and the server 2000's name is "ADMIN". When i startup the sql server 2000, it just listening on shared memory and name pipes, not including the "TCP/IP" . So i can not connect to the sql server using the port 1433. Some people said that the reason was the system's firewall. I also found some supports on the websites 'www.support.microsoft.com'. It said that you can set the port 1433 or the sqlservr.exe to the execption. I also do that, but still not works. Is there any things i forget and how can i solve the problems! Thanks for advances. Recently, i enable ...Show All
Visual Studio Express Editions How to use DllImport and Fix the error ?
Dear everyone, I have written a managed C++, and then used it to C#. I have written the code like this ======================================= [DllImport("ManagedFour.dll", EntryPoint = "Test")] public static extern void Testing(); ======================================= in order to call the Test in the dll. However, there is an error like this: ========================================================= Unhandled Exception: System.EntryPointNotFoundException: Unable to find an entry point named Test in DLL ManagedFour.dll. at CSharp.TempObj.Testing() at CSharp.TempObj.func() in c:\vsprojects\managedc++\csharp\class1.cs:line 17 at CSharp.Class1.Main(String[] args) in c:\vsprojects\managedc++\csharp\class ...Show All
Software Development for Windows Vista Will Vista run a emulated "Virtual Drive"?
Will Windows Vista run a emulated drive, "virtual drive", like the one I setup on Xp Pro with Roxio 8 and Alcohol 120% When I tried out vista RC1, the only way I could get a emulated drive to install on my computer was to "upgrade" from Xp to Vista with the drive already setup and installed. But when I did a fresh install of vista RC1, I could not make a emulated drive with either roxio 8 or alcohol120%. Please note that this forum is geared for software developers creating their own programs. That said, see the following thread which may answer your question: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=809474&SiteID=1 ...Show All
.NET Development programmatic access to sqldatasource dataset
i'd like to take advantage of all the benefits of the new sqldatasource control to do quick queries & bindings, but also retain the flexibility of the previous ways of data access (i.e. sqlcommands/sqldataadapters) to fill datasets. is there a way to have programmatic access to the dataset that is filled after a sqldatasource queries a db i dont want to display all the columns queried in my gridview, but i want that data available for further manipulation without having to run another query. am i going about this the wrong way, or have i just not stumbled upon the solution thanks, david nope, no luck finding a solution...yet. i find it interesting that over 200 people have read my post but noone ...Show All
SQL Server Slow Startup from Idle
Is it possible to stop the server from going to sleep when it is idle to improve responsiveness to new connections Hello, I'm also experiencing this same problem, with a number of servers. It doesn't sleep that often, but when it does it takes a long time to load up. I get messages like the following: Server resumed execution after being idle 1360 seconds: user activity awakened the server. This is an informational message only. No user action is required. I think the server may have been installed with "Enable User Instances" during setup. The database in question was either detached/reattached or backed-up/restored from another server (not sure if this would make any diff ...Show All
Visual Studio Tools for Office Adding outlook appointment item to shared folder
I would like to add an appointment item to a shared folder that is type of calendar. I am able to locate the folder I need by using the following C# code. Outlook. MAPIFolder GPUpgrades = this .Session.Folders[1].Folders[2].Folders[3]; How do I modify this line to go to the correct calendar Outlook.AppointmentItem ai = (Outlook.AppointmentItem)this.CreateItem(Microsoft.Office.Interop.Outlook.OlItemType.olAppointmentItem); Never mind previous post... I was able to get it working with the following code... Outlook. _AppointmentItem ai = (Outlook. _AppointmentItem )GPUpgrades.Items.Add(Outlook. OlItemType .olAppointmentItem); ai.Subject = apptItem.Subject; ai.Body = apptItem.Subje ...Show All
Visual Studio Documentation Compiler - Sandcastle
We did code complete of documentation compiler ( code named "Sandcastle") on June 15th and currently we are testing the tool building our .NetFramework documentation. We would like to release the CTP version of Sandcastle in Microsoft download center by next week. The perf in our testing has been great as we are able to build the entire framework content in less than 1 hour. I am in the process of going through final check and code signing required to post this in our download center. Please expect the CTP in the next week or so and I will provide an update here as soon I post the CTP. Anand.. Well it is the end of that next week that the Sandcastle CTP should be release, where is it I too would love to see sandcastle ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Depth map texture
I have a created a depth map texture but am not able to get any sound depth values from the depth map, there is so to speak no variation in the depth values. Should I envoke a shader inorder to manually write the z-values and if so how I have listed some source code of the actual rendering below: V( pd3dDevice->Clear(0L, NULL, D3DCLEAR_TARGET|D3DCLEAR_ZBUFFER,0x000000ff, 1.0f, 0L) ); if( SUCCEEDED(pd3dDevice->BeginScene()) ) { V( pd3dDevice->SetTransform(D3DTS_VIEW, g_Camera.GetViewMatrix()) ); V( pd3dDevice->SetTransform(D3DTS_PROJECTION, g_Camera.GetProjMatrix())); V( pd3dDevice->SetTransform(D3DTS_WORLD, g_Camera.GetWorldMatrix()) ); LPDIRECT3DSURFACE9 pRT = NULL; V( pd3dDevice->GetRe ...Show All
Visual C++ Does VS2005 include Windows Installer?
Does VS2005 include Windows Installer If so, how do I run it to create an installation package for users to install or upgrade my products You can download Windows SDK. For more information, visit http://msdn2.microsoft.com/en-us/library/aa370563.aspx ...Show All
Visual Basic Role based security checks on method level
Hi, I try to setup a role based security system on method level in my business logic project. The indention is to restrict access to methods by roles and do use the declarative way: Public Property DoSomething as string <AllowAcces("User")> _ get .. end get <AllowAccess("Supervisor")> _ set( ... end set end property I explore some concepts, and ending up with some issues. I inherit from SecurityAttribute, but I need a parameter of type SecurityAction, requested by the base class. As this parameter holds 'Demand' it works fine, but all other values bypass the check. Why I try to use PrincipalPermissionAttribute, but this needs WindowsPrincipal, and this class is n ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Question about the Game Build
If you build a project, then later delete content you no longer want in the project from the project explorer, then build the project again, does the old pipline converted content remain in the bin folders Er ZMan were you answering a different question I though the original question above was simply asking if assets that you have already compiled will be deleted if you remove them from the project. ...Show All
