Software Development Network Logo
  • Game Technologies
  • .NET Development
  • Microsoft ISV
  • Visual FoxPro
  • SQL Server
  • Windows Forms
  • Visual C++
  • IE Development
  • Visual Basic
  • Windows Vista
  • Visual Studio
  • VS Team System
  • SharePoint Products
  • Audio and Video
  • Smart Devicet

Software Development Network >> khld's Q&A profile

khld

Member List

ycjj
Javfarary
sunil_sg
hrubesh
sally_de
arse
Learning VB
Ben Santiago
svenderuyter
StriderIRL
OmegaMan
Steve - B3
goh6613
SharePointing
RayCan
dbdoc
ssfftt
ArrrghhhMSCMS!!!!
DevboyX
Vonny232
Only Title

khld's Q&A profile

  • Visual Studio Loop in MSBuild? Or how to launch MSBuild task from another?

    I need to loop some standard MSBuild tasks: GenerateResources and AL. In MSBuild there are no possibilities to do it, or I am wrong So I decide to implement custom task which will launch these task, but when I done it, there are errors during launching tasks from my custom: "Task attempted to log before it was initialized ..." It seems that Log wasn't initialized but how to do it ... As I understand it, this is the problem you want to solve - You have a directory containing a set of files (resource files in Root\App_LocalResources\*.resx) For each .resx file (say X.resx) in the directory, you want to a. Create a directory called Root\bin\X b. Convert X.resx -> X.resources -&g ...Show All

  • SQL Server Performance problem: SSAS 2005 + ProClarity

    Hi, I am facing a performance problem. Here is my scenario: I am using ProClarity to create reports/graphs by connecting to ssas 2005. These are not dynamic graphs but are created beforehand in proclarity and accessed by users. The graphs enable drill-down/drill-up features. My Cube contains: 1 MeasureGroup 4 Measures 7 calculated measures 4 dimensions ( 1 time dimension: date) dimension partition count: 1,095 4,018 8 453 4,018 (hierarchy) 11 (hierarchy) 7 (hierarchy) 5 hierarchies in time dimension 1 hierarchy in other dimension 1 partition, partition count: 33,574 (current) partition size : 708.4 kb storage: MOLAP Partition aggregations: 15 current performance gain: 51% This cube is processed manually and appx of ...Show All

  • Visual C++ std::list has changed in VS 2005

    It seems like std::list implementation has changed in that it now uses the & operator on elements of the list type. The difference between VS2005 and VS2003 implementation can be seen in the _Buynode( _Nodeptr _Next, _Nodeptr _Prev, const _Ty& _Val) method (line 1152 VS2005, line 915 VS2003). The problem with this is that if the & operator for the type is overloaded, the same code that used to work in VS2003 will no longer compile in VS2005. When the type used is a built-in type like _com_ptr_t, which overloads that operator, it is no longer possible to have a list<_com_ptr_t> type. Does anyone have a resolution for this This is always a problem for objects in container t ...Show All

  • .NET Development Problem with Save method in System.Drawing.Image Class

    I am trying to save Image in memory stream using Bitmap Object. Save method Throws an exception if Image format is MemoryBitmap But if I use Save method to save image in File on disk then it works fine! Any Idea Help Is this bug I observred that Save method to save image in file saves to PNG format rather then MemoryBitmap format without giving any message! I think this is bug! When you have code that throws an exception it's usualy best to provide the exact exception including the stack and code that reproduces this. It helps you get help quicker in most cases. ...Show All

  • Visual Studio 2008 (Pre-release) Indigo Beta 2 uninstall faild, couldn't install July CTP

    I tried to update to the .NET 3.0 July CTP, but the setup faild because of Indigo setup's failure. Then I tried uninstall Indigo manually, and every times I run the setup, it fails by deleting the Microsoft Digital Identity Service. I have Win XP SP2 Pro (Hungarian) with all updates, and VS2005 Pro without SQL 2005 Can you please delete all the files matching these criteria in %temp% folder %temp%\dd_*.txt %temp%\dd_wcf* After deleting above files, please run uninstall program and send me %temp%\dd_*.txt and %temp%\dd _ wcf* files please send me c:\Windows\Microsoft.NET\Framework\v2.0.50727\config\web.config also my email id is madhup@microsoft.com -Thank ...Show All

  • SQL Server 10 Slowest Performing Queries

    Hi I am analyzing the performance of queries and want to find out 10 worst resource consuming queries. Can anyone tell me how to do it like using profiler and tracking some events or any toehr queries that ai can run from time to time I know there are dm views in SQL 2005 but not sure which one and how to use it for a desired result AdminAnup yep,.....that's exactly how I do it. I group the statements and get Avg Duration instead of individual durations per execution. I take counts and averages. that way I can not only see which statement is taking the longest, but also, which statement is called most often..... here's my script assuming youve ran profiler and dumped TextData and Duration to trace Table.... --returns dis ...Show All

  • Visual Studio Express Editions about delete and save question?

    hi there!!! i have a problem regarding delete button and save button.....i made a program and i used wizard to bind into the dbase...i used only datagridview...... it's quite well in adding but when i try to delete a certain row(bindingnavigator)... u can see deleting a row and when i trying to save error occured " Update requires a valid DeleteCommand when passed DataRow collection with deleted rows ." yeah!!! i figure it out...... thanks men....i done this before... then i try it again because this is the easiest way to bound dbase to the tools(textbox, label, etc)... then when i try to update and delete boom...there's an error... i forgot to put some primary key..... thanks men... by the way is there any methods to bound ...Show All

  • SQL Server Conditional Execution in the Control Flow via Script Task

    Greetings. I'm trying to conditionally execute a dataflow based on the presence of a data file. If the data file isn't present, I'd like to execute gracefully without error. Logic is as follows: If FileExists Then execute dataflow Else exit w/o error End If I've got the code ready to go, but I'm not sure how to do this conditional branch logic. Right now, the code calls the Dts.Results.Success / Failure. The problem, however, is Failure is exactly that... which doesn't result in the graceful exit I'm looking for. Anyone have any ideas Thanks in advance. Good Idea. I followed your suggestion; for those interested in voting on that suggestion: https://connect.microsoft.com/SQLServer/feedback/ViewFeedb ...Show All

  • Visual C# Some questions about working with dynamic linked dlls

    Well, I have some questions. My executible file (code was written on C# as a Windows Application), while running, should search some directory for *.dll files which have some special properties. That dlls must be written on C# as a UserControl library and they also must implement special class. The questions are: How can I check files or their properties to find out - are that files are dlls of that special type or not and how can I use classes from them ( I want to place that controls on the main Form in executible file) What should I do or what materials should I read to solve my problem Thanks for help. Using Reflector(you can find here: http://www.aisto.com/roeder/dotnet/ ), you can view the ...Show All

  • SQL Server YTD Member returns nothing if no data in current week

    I have YTD member set up within my cube. The following code works and returns the YTD figure for all weeks as long as there is data in the current week (ie most recent). If I set my current week to a week that doesn't contain data (ie this week) that doesn't yet contain this week's figures no values are returned. I thought that this might be linked to the values being null but I've now set the NullProcessing option to ZeroOrBlank and still the problem remains. Any ideas on what's going wrong here I Aggregate ( PeriodsToDate ( [Time].[Fiscal Hierarchy].[Fiscal Year], Filter ( [Time].[Fiscal Hierarchy].[Fiscal Week]. members , [Time].[Fiscal Week Current].[1]). item (0). lag (1) ) ) ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Draw String

    Hey gang, Perhaps since I am new to DirectX or XNA, I don't see anywhere in the documentation how to draw a string to the screen. Is this possible I wouldn't think everything would have to be images would they Thanks and take care. You're probably not going to like the answer, so check out this article: http://blogs.msdn.com/garykac/archive/2006/08/30/728521.aspx ...Show All

  • .NET Development Error using tcpclient/tcplistener

    I'm trying to run a sample tcpclient/ tcpListener program written in VB.NET on VS 2003 (.net framework 1.1). When I run this console program, I get 2 errors - 1) The requested address is not valid in its context - at System.Net.Sockets.Socket.Bind(EndPoint localEP) 2) System.InvalidOperationException : Not listening. Please call the Start() method - at System.Net.Sockets.TcpListener.AcceptTcpClient() The code as follows: TCPListener - Imports System.Net.Sockets Imports System.Text Class TCPSrv Shared Sub Main() Console.ReadLine() Const portNumber As Integer = 1526 Dim addrIP As System.Net.IPAddress = System.Net.IPAddress.Parse("170.186.144.132") Dim tcpListener As TcpL ...Show All

  • Visual Studio Team System Help! IDE Crashes on Schema Import

    Hello, I'm a brand new VSTS/DBP user...  When I try and create a new project and import an existing DB schema, the IDE crashes about 20 seconds into the process.  I should mention that the DB I'm importing is a very large Database, thousands of tables and thousands of procs.  When I ran the example import (Adventureworks), it worked fine.  I admit, I'm a Microsoft / Sql Server groupie, and I always try and update to the latest tools.  I'm currently on a customer engagement at a very large I.T. Consulting company and I'm trying to convince them to upgrade to Sql 2005 from Sql 2000, as well as trying to convince them to move to Visual Studio from Imceda SQL IDE Pro and TOAD for Sql Server.  So, basicall ...Show All

  • Visual Studio Team System Filter expression for TFS Events

    Hi All, I need Filter expressions for TFS events like which is normal filter where you can restrict the user for the selected projects which he has subscribed for the event... i am using NodeRenamedEvent and subscribed successfully and the filter expression which i gave is : "TeamProject" = 'ProjectName' if i am using filter expressions, i am not getting EMAIL..for the NodeRenamedEvent for the particular user.... the same thing i removed the filter expressions and make it as empty...i.e if any project under this Areas node get renamed.... i GOT the EMAIL.... any one any idea...what's wrong the filter expression ...i even tried "PortfolioProject" = 'TeamProjectName' ...this also not working... Can you please give me the ...Show All

  • Windows Forms Help with Winform and binding to an object

    I'm looking for the correct way for me to bind an object to a winform to display some of it's attributes. For Example a Person instance with first and last name. I've been able to do it using a BindingSource, but have run into several things that I don't like. 1. The bindingSource is working with a collection, I just want to have one "person" that I'm displaying on a winform. If I change the person, I want to just replace that instance, not add to a bindingSource and navigate. I don't want the navigating tool on the form either. 2. I want to have changes that are made to the current "person" flow up to the interface. A simple example would be a button, that changes the person's name directly. I use this as an example to ...Show All

©2008 Software Development Network