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

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

kidwidahair

Member List

krishna_aloha
Teymur Hajiyev
DavidR100
ZopoStyle
Eddie Flores
Akuyume
Behrooz PB
sql_jr
pgems
I Andrew
Sandra Mace
Evan Mulawski
EtherealSky
barkingdog
Somthing Wrong
Lotfi1
drakkan
programmer01
darthziv
Aurora222
Only Title

kidwidahair's Q&A profile

  • Visual Studio Team System Integrate FxCop warnings and errors in visual studio developer edition

    I've managed to run FxCop everytime I build my project using msbuild and the msbuild communitytasks. My example: < Target Name = " CodeAnalysis " > <FxCop TargetAssemblies="bin\debug\*.dll" AnalysisReportFileName="analysis.xml" FailOnError="False" ApplyOutXsl="False" IncludeSummaryReport="True"/> </ Target > Now all warnings and errors are in the analysis.xml (for use in cruisecontrol), but is it also possible to output those errors and warnings to visual studio (developers edition) when you hit F5 Or is that only possible in VSTS The FxCop integration in Team Developer is the same as the integration in Team Sui ...Show All

  • Visual Studio Express Editions Path or pointer to "My Computer"?

    I haven't found an easy or semi-easy way to get this virtual path. I would say I'm intermediate level at using C#. You can access this path by using OpenFileDialog or FolderBrowserDialog through System.Environment.SpecialFolder How can I get a pointer or path to this It returns with empty string if you try to get the path this way. Thanks and have a good weekend... Hi, internally that is implemented by the shell with something different than pathes, called items of the "Shell Namespace". See http://msdn.microsoft.com/library/default.asp url=/library/en-us/shellcc/platform/shell/programmersguide/shell_basics/namespace.asp for a description. I don't know if that is acces ...Show All

  • SQL Server Stripping out numbers from a string

    Hi I have a field that starts with numbers and then has a description after if, eg. "123 This is the description for string 123" 1. How would I go about stripping out the first instance of number to leave the string as "This is the description for string 123" thanks. Bill WHat about: http://sqlserver2005.de/SQLServer2005/MyBlog/tabid/56/EntryID/21/Default.aspx HTH; Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • Visual C++ AFX_MODULE_STATE not initialised - why ???

    My MFC application exe houses a COM object derived directly from CCmdTarget The application is started correct when the COM object is requested, InitInstance is enterered, but AFX_MODULE_STATE is not being initialised correctly. The client passes a filename across to the COM component and it then begins de-serialising the contents of this archive... When the MFC framework attempts to de-serialise the first class( its already de-serialised some CString and primitive types) it enters the following MFC method: CRuntimeClass* PASCAL CRuntimeClass::FromName(LPCSTR lpszClassName) { CRuntimeClass* pClass=NULL; ENSURE(lpszClassName); // search app specific classes AFX_MODULE_STATE* pModuleState = AfxGetModuleState( ...Show All

  • SQL Server Probably simple MDX question

    I'm new to MDX. I have a cube of store sales. Each store is assigned to a district and each district to a region. I'm looking for a way to create a calculated member that allows me to compare store or disctrict sales to their parent's average sales (store to district avg, district to region average.) A natual hierarchy exists between store/district/region. Any help would be appreciated. Thanks, Craig You can create two calculated members. One to compute the average sales. Depending on how you want to compute average, it could have one of the following expressions: Avg(Descendents(Store.CurrentMember, Store.[Store Name].MEMBERS), Measures.Sales) Avg(Store.CurrentMember.Children, Measures.Sales) Measures.Sales / De ...Show All

  • SQL Server SSIS Expression result limit of 4000 bytes

    I have a package with an input column that is varchar(8000). I want to strip the first byte off of this column and put it in one result column and the remainder of the field I want to go to a second column. If the input column is an empty string, I want to return NULL. Pulling the first byte off works fine, no issues, however putting the remainder of the input column into an output column is giving me a little trouble. If I use this expression: LEN(FLD1) == 0 NULL(DT_WSTR,1) : SUBSTRING(FLD1, 2, LEN(FLD1) - 1)) I get an error that says my expression evaluates to a string of greater than 4000 bytes. If I do this instead: LEN(FLD1) == 0 NULL(DT_WSTR,1) : RTRIM(SUBSTRING(FLD1, 2, 7999)) The expression passes muster but ...Show All

  • Visual Studio Tools for Office Outlook

    is it possible to load a complete folder structure in outlook under a new root folder other than the inbox Not knowing what you mean by "load a complete folder structure," the best I can do is tell you that, yes, you can add a new .pst file with the AddStore method and create folders in its Folders collection. ...Show All

  • Internet Explorer Development Microsoft FrontPage 2002 (IFPMarkUpServices)

    How do i use this interface (IFPMarkUpServices) in the context of VC++ in MFC Dialog based application for Microsoft FrontPage 2002 Eg. How do u remove an active element from a page window   PS: Is there also any documentation for this interface I've some problems with the CreateMarkupPointer method. It returns the address to a pointer to the IMarkupPointer interface. The following is part of my code: DispFPHTMLDocument doc(app.GetActiveDocument()); IHTMLElement element(doc.GetActiveElement()); IFPMarkupServices ms; IFPMarkupPointer mpS(ms.CreateMarkupPointer()); IFPMarkupPointer mpE(ms.CreateMarkupPointer()); mpS.MoveAdjacentToElement(element,0); mpE.MoveAdjacentToElement(element,3); ms.Remove(mpS,mpE); The 2 qn ...Show All

  • Smart Device Development Interject the sound thru the voice channel (microphone) , so that the voice and the sound are mixed thru every possib

    Hi any one can help to solve this problem thanks in advance. we have to interject the sound thru the voice channel (microphone) , so that the voice and the sound are mixed thru every possible conversation channel. Is it possible. how Limitations of Window Mobile 2005 environment Writing Audio Data at the “external voice port” of phone line : The standard and the most common approach for the given problem is using Telephone APIs (TAPI). TAPI give us the easy way to access telephone module in Windows Mobile (WM) phone devices. WM phone devices have number of lines to communicate with other phone devices (WM/non-WM). Every line contain some ports (device classes) we need ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XNA Book ( In Progress )

    For reasons I cannot exactly put into words, I’ve decide to write a (free) book about how to use XNA.   It is defiantly a work in progress and thus far only includes two chapters and associated source code. I truly hope that my work is advantageous to some people out there. I am in part doing this as a practice towards writing technical documentation.   I am not accomplished in writing instructions for other people that may not have the same level of technical skill sets as myself.   I hope that with this book I learn a whole lot and more in that regard. Granted, if you are a diehard game programmer, what I have written is probably not for you, at least, not yet! Yet I would value your input.   If you feel like c ...Show All

  • Visual Studio 2008 (Pre-release) WPF Controls Help...

    Hello, I have a Window, which contains a stackpanel. I've added two WPF UserControls, each of which contains a Canvas and some elements within the canvases. The problem I have the two User Controls stacked, however, it appears the second Canvas's elements are drawing from the top of the Window, not the second canvas. I can place a TextBlock in the Canvas and set Canvas.Top="1", however, the "1" is set from the Window, not the Canvas in which it is contained. Maybe it's taking a cue from the first Canvas. Anyone know how to address this issue Or what I'm doing wrong I'd rather not compensate for this in the User Control, as I want them to be separate, and not know what the other is doing. ...Show All

  • Visual Studio Rendering Server Report To Printer

    Having just tested my applications print function with an actual printer and not the Document Imager, I have discovered that using the reportviewer.printdialog provides printouts once in a while when it feels like it, having just posted asking how to suppress the dialog box it seems somewhat ironic that the only way I can actually get the report to the printer is to display it twice per report :) I can render an image to the printer directly and it comes out every time however I am unable to print any pages after the first page. I started by taking the following article and attempting to send a server report. This seems OK however the code sample creates a stream per page, when I render I create 1 stream. Is there an easier way to do ...Show All

  • Windows Forms multiline problem

    i have likes this equation; "label1.text = textbox.text" when my users click my button my form get the index of textbox to label but it arrange auto size for label and enlarge the width of label ;;; but i want this, when text is reached to 10 letter so text must continue to new line; summary i need multiline property in label; is it posssible and if it is yes how can anyone help to me; your sincerely; you do not tell me that you use web forms my answer about winforms so i look for it again ...Show All

  • Visual Studio Tools for Office Combining RS2005/C#/Excel, Hit a Snag

    Hi All. Essentially, what I'm trying to do should be really, really easy. In reality, it's turning out to be anything but, and I think I may be in that developer funk where the answer is right there but you ignore it... So I have this app that takes user inputs in a web form, cooks up some data based on those selections, and then returns the results in any of several reporting services reports. Enter a new requirement where the client now wants to be able to dump the data directly out of the web page into Excel with a slightly different schema. So - here's what I did: I created a project for the Excel document and its population logic. It tests out great when standing on its own. The web form/rs05 project, too, works great on its ...Show All

  • Visual C# System.TimeZone/TimeZone resource

    I am creating an application that will use timezones, both nationally and internationally. Are there any resources on the net that I can get a list of time zones, or development insight I don't know if you are familiar with SimpleTimeZone, but that is what I am using for this project. However, it requires the Abbreviation and Daylight Abbreviations. Is there somewhere I can get this information I can't find information on half the Time Zone's listed in the registry. ...Show All

©2008 Software Development Network