shanthi's Q&A profile
Windows Forms When is GetStandardValues called?
The following code implements a simple derived control with a public property called "MyProp". This property has a drop-down list with valid values: using System; using System.Collections.Generic; using System.Text; using System.Windows.Forms; using System.ComponentModel; using System.Collections; namespace DefaultValuesTest2 { public class MyTypeConv : TypeConverter { public override bool GetStandardValuesSupported( ITypeDescriptorContext context) { return true ; } public override bool GetStandardValuesExclusive( ITypeDescriptorContext context) { return true ; } public override StandardValuesCollection GetStandardValues( ITypeDescriptorCon ...Show All
Visual Studio Team System TF30162: Task "Populate Reports" from Group "Reporting" failed
After finally getting through the install of Reporting Services and Team Foundation Server and SharePoint I am getting an error when I try and create a Test project I'm getting an error. We have installed all of the components onto a Single Server Environment on a machine called VM-Foundation1. We have also installed an SSL certificate on the box for the URL AppDev.Company.com. All through the install we had to change various configuration files and a couple of registry entries to get all of the URLs and paths to the various parts pointing correctly and we also had to disable the Loop-Back check for Reporting Services because the certificate name is different then the name of the server. All of these changes we found on different posts ...Show All
Visual C# How do you Export Template in VSTS?
I'm using Visual Studio 2005 Team Suite. I've read all the help files on exporting a project template. There's just one problem- if I go to the File menu, the option Export Template just is NOT there. Am I missing something simple Or does this SKU not support export Thanks, Jeff Yeah running devenv /resetuserdata didn't bring back the export option. Although there were some other annoying side effects. Do I need to install a different SKU I'd figure VS Team Suite would cover just about everything so it should certainly have Export to Template. Thanks, Jeff ...Show All
Game Technologies: DirectX, XNA, XACT, etc. LockVertexBuffer
Our application has 2 meshes - activeMesh and loadingMesh. When we need to load a new mesh we spawn a loading thread, and at the end of the loading thread we swap the activeMesh with the loadingMesh. The loading thread uses Mesh.LockVertexBuffer. Occassionally we have encountered a problem where the main drawing thread throws the Direct3DXException D3DERR_INVALIDCALL (-2005530516). Putting DirectX runtime in debug mode reveals "Direct3D9: (ERROR) :Vertex buffer in stream 0 must be unlocked during drawing". Question: is it possible to lock one mesh and draw another mesh in another thread If so, we must have a logic flaw in swapping the meshes! Thanks in advance... Thanks Alexey, What ...Show All
Software Development for Windows Vista Using MXDW
I would like to use MXDW to create XPS documents from any application. But I would like to automate the creation by automating the printing process. But when I try to do this it always comes up with the "save as" dialog box. I had the same problem using the MODI driver as well. Does anyone know how to get rid of that Any samples will be helpful. becket, I removed all the filters in XPSDrvSample by changing the filter configuration file (xdsmpl-PipelineConfig.xml), and clearing everything between the <Filters> </Filters> tags. I also went in the .inf and removed all references to the filter .dll's. This should get you the "plain" XPSDrv that you wanted. Right ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DepthBufferEnable backwards?
Am I doing something wrong (not unlikely, I'm fairly new to C#, DX, and of course XNA) or is DepthBufferEnable working backwards Here's an example: graphics.GraphicsDevice.RenderState.DepthBufferEnable = true; graphics.GraphicsDevice.RenderState.DepthBufferEnable = false; It looks like the depth artifacts appear on the metaball when depth testing is supposed to be enabled. What gives You're probably accidentally rendering things in the right order, by looking at the metaballs from the right direction. At the same time, your depth buffer precision is likely too low, as a result from you putting the near clipping plane too close to the camera when creating your projection matrix. It should be put as far ...Show All
Visual Studio Team System Is the official version released or not yet?
A colleague of mine said there is only the Beta available to download on the MSDN site. Can you please tell me if the official is available and how can we get it If not when is it expected to be available and where would it available from MSDN site only Thank you Yes it is final (since December last year). The Trial Edition (180 days) is available at http://www.microsoft.com/downloads/details.aspx FamilyID=7de00386-893d-4142-a778-992b69d482ad The Trial Edition can only be installed if you have either Visual Studio Team Suite or the trial version of Team Suite installed already. If you are a Team Suite Subscriber or Team Edition for Database Professionals Subscriber you can a ...Show All
SQL Server Trying to use the AdomdConnection Class, without success
Hello All, I am attempting to use the AdomdConnection class in my SSIS package, inside of a "Script Task". However, i cant include the reference to the adomdclient.dll (required for the AdomdConnection class). This DLL is in the C:\Program Files\Microsoft.NET\ADOMD.NET\90 folder. I have included the reference to the Microsoft.AnalysisServices.DLL inside the C:\Program Files\Microsoft SQL Server\90\SDK\Assemblies\ but this reference doesnt have the AdomdConnection class. Does anyone knows how to include this reference or another way to access the cube status using the Script Task ( or something else ) Thanks in advance. Regards, Thiago > Does anyone knows how to include this reference Microsoft.A ...Show All
Visual C++ Please tell my how to change from cstring to LPOLESTR and make my code right.
I want to pass my strFunctio string to strFxn, but my following code has the following compiling error: error C2065: 'LstrFunction' : undeclared identifier; error C2440: '=' : cannot convert from 'int' to 'unsigned short *' Please tell my how to change from cstring to LPOLESTR and make my code right. I appreciate your help. CString strFunction=TEXT("GetMapByCordinate"); static LPOLESTR strFxn = OLESTR("GetMapByCordinate"); strFxn = OLESTR(strFunction); There were two issues in your code: 1) OLESTR(x) expects x to be a string literal , - not a variable name. 2) The internal buffer for CString should not be manipulated outside of CString, so you are not supposed to assign its in ...Show All
SQL Server Need a leg up on migrating from SQL 7 to SQL 2005 (HOW TO????)
I have a SQL7 server that runs one database for our company. The rest of the datastore is on a SQL2005 server. How best can I transfer the SQL7 database to SQL2005 I applied SP3 and SP4. Afterwards, I was able to produce a useable backup that I was able to restore to SQL 2005 Thanks for your help ...Show All
Visual Studio 2008 (Pre-release) Xbap download gets 404 not found for a DLL
I've setup IIS for deploying an xbap application. I navigate to the page and it starts to download, but I get a 404 not found error for a DLL I'm trying to include: ERROR SUMMARY Below is a summary of the errors, details of these errors are listed later in the log. * An exception occurred while downloading the application. Following failure messages were detected: + Downloading http://localhost/TaxBap/XamlUtils.dll did not succeed. + The remote server returned an error: (404) Not Found. However, this file is in the directory. I can see it from IIS as well. Why would I get a 404 here My application uses an Images directory and I got a 404 for that. I copied the Images directory and the 404 went away. I thought the same thing woul ...Show All
.NET Development Problen Inserting Data into a Ms Database
I can not seem to find the problem in the following snippet of code. I would like the code to insert data into the Ms Database. I get an error message as follows. System.Data.OleDb.OleDbException was unhandled ErrorCode=-2147217904 Message="No value given for one or more required parameters." Below is the code for the application Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click ' Create containers to contain Text Dim myLastName As String Dim myFirstName As String Dim myTELUSID As String Dim myWork As String Dim myCell As String Dim myEmailAddress As String 'Fill the new c ...Show All
Visual Studio Express Editions Messages From site
Hi All, Does anyone have anyideas on how to display latest news from a website into a vb.net app basicly I want to keep people updated when a new playlist is availiable etc. ive looked at rss, but dont need loadsa catagories etc. Is it possible to display a txt file on a server for example in an app Hope someone can help, Stuart Intresting this could eventually develop a debate though I think lol, I should imagine it all depends on personal preference and the easiest route, think I will take the download route as this seems like the quickest and easiest route. ...Show All
Connected Services Framework OHSBE Installation issue - Mapping Kerberos token to OHSBE services
Hi, I am trying to install OHSBE but face the following issue: Mapping Identity of OHSBE WSE web service and OHSBE Windows service to Kerberos token - CSF\OHSBE30 My domain name is CSFDomain. While installing OHSBE I am not able to map Kerberos token - CSF\OHSBE30 to OHSBE WSE web service and OHSBE Windows service. The command Setspn fails, I tried several combinations without getting success: C:\Program Files\Support Tools>setspn -A CSFDOMAIN\OHSBE30 CSFDOMAIN\OHSBE-Servi ce Registering ServicePrincipalNames for CN=OHSBE-Service,OU=CSF_OHSBE,OU=CSF-Admin istration-OU,DC=CSFDomain,DC=com CSFDOMAIN\OHSBE30 Failed to assign SPN on account 'CN=OHSBE-Service,OU=CSF_OHSBE,OU=CSF-Administra tion-OU,DC=CSFDomain,DC ...Show All
SQL Server SQL Memory is configured as dynamic.
Hi All - New DB server. Quad Processor, 8GB memory . Win2003 enterprise, SQL 2k Advanced. SQL Server 2000 (SP4 + Fix Awe Memory - version 2040) AWE enabled (shows in sql log). Ran sp_configure 'show advanced options', 1 RECONFIGURE GO sp_configure ' awe enabled', 1 RECONFIGURE GO sp_configure 'max server memory ', 6144 RECONFIGURE GO SQL Memory is configured as dynamic. Min: 1024, Max 6144 Reserve Memory - unchecked. My worry - Prior to doing this, I was used to seeing the sqlservr.exe process use approximately 1,700,000KB (as shown in Task Manager). Now, it shows 113,000K or so. Physical Memory : Total 7863628 Available: 674000 System Cache: 987216 PF Usage : 6.36GB So, am I configured right How do I kn ...Show All
