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

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

Whoisit

Member List

Daniel Pratt
gabit7
Paryse
max-holz
roger5089
Alexey Rokhin
Marcin Książek
Fox Me Up
Darren Woodford
Praveen Dayanithi
robinjam
MarkBosley
Jeroen Alblas
Poma
globbe
Musafir
Manu Singhal
Chandra4332
Girish Gangavathi
Jonesie
Only Title

Whoisit's Q&A profile

  • Visual Studio 2008 (Pre-release) How to use UIElement.AddToEventRoute Method ?

    I want to do same thing of ToolBar as behavior. I was not able to find the sample. Does not the change in the routing of the event use AddToEventRoute I wanted to customize the route of the event. At that time, I thought that it was able to achieve it if this method was used. The event is received with CommandManager.AddCanExecuteHandler and CommandManager.AddExecutedHandler now, and RaiseEvent is done routing ahead. Is there a better method ...Show All

  • Visual Studio 2008 (Pre-release) How to show a XAML-defined window

    I was doing a test of making a XAML only Window (no code-behind). But in other code, like in an event handler for a button click, how do I show the XAML-defined Window Do I have to place it in a resource dictionary, give it a key, and pull it that way It would be nice if I could simply say in the Window's XAML that the Window is MyNamespace.MyWindow class and then create/show it via code like: new MyNamespace.MyWindow.ShowDialog() I'm just asking because for a simple Window, I'd prefer to not to have to make a code behind file. Thanks in advance! Yes it is possible to declare a Window in markup only. You're almost there in your approach. The code that declares the window should also call InitializeComponent on the win ...Show All

  • Visual FoxPro CursorAdapters and UDF in FoxPro 9

    Hi, I like to know if is possible to create a Cursoradapter (ADO) with a select CMD using a function. For example if I have a function concat(par1,par2) that returns par1+par2. I like to use as select command something like select concat(lastname,firstname) as name from personal Thanks Ivan Thanks for your answer. Using the builder interface I can create cursoradapters with functions in the SelectCMD with NATIVE cursors, but I can not do it using ADO cursors. It sound logic because ADO is using external FOXPRO programs or DLLs, I was wondering only if there is a way to intercept or extend those DLLS, but in the same way it sound more complicated. I think that with NATIVE cursor are good enough. Tha ...Show All

  • SQL Server Query Parameter Value Type

    What is the attribute/element (such as ValuesTypes, ParameterValuesType..) I should refer to Query Parameter - Value according to the RDL XML Schema Definition as the following example <QueryParameters> <QueryParameter Name="@CompanyName"> <Value>=Parameters!CompanyName.Value</Value> </QueryParameter> </QueryParameters> Thanks a lot. Thanks for reply to my post. What I am looking for, is the type of Attribute/Element I should refer to, for QueryParamater -Value. In your post, for example, your ValueField (attribute or element i'm not sure about it well) is refer to ItemChoiceType31.ValueField, and DatasetName is refer to ItemChoiceType31.Datas ...Show All

  • Visual Studio Overriding custom attribute in a derived class

    In my model, i use the base class "NamedElement" which defines the Name property for all other classes. This property is browsable and updatable but in a derived class, i want to force this property readonly. How can i override this attribut Can you explain the use of DomainTypeDescriptor Thank you, Thank you Claudio, Yes, i know this is the more "elegant" solution but sometimes the implementation is not trivial and you must do some compromises. (This is a personal opinion) Kind regards, ...Show All

  • Visual Basic Embedded MP3 (in resource file) playback

    Hi! I want to embed a MP3 as a resource in VB05 and play it with DirectX. I don't want to use any coms (e.g. Media Player ActiveX control). Any suggestions Alternatively, how do I playback a embedded (in the resource file) MP3 file with the Media Player ActiveX to playback media files in WMP, you can include the WMP 9/10 in your application if you want to playback media files, this can be achieved by installing the WMP SDK and adding the AX control on your form. Alternatively, have you looked at the Managed DirectX SDK Alot of cool stuff in there and I believe there are examples on how to play back audio.   you may want to check out this article: http://msdn.microsoft.com/coding4fun/gamedevelopment/beginning ...Show All

  • Visual Studio Tools for Office Save as FILTERED html

    Is it possible to use VSTO to save a Word file as a filtered html document Also, before the file is saved I would like to manually mark the location of each page break (info which is normally lost when saved to filtered html). Thanks in advance for your replies. No kidding! The required parameters were difficult enough to sort out without having to deal with the missing ones. Fortunately I was able to get it to work using the following code: object fileName = @"c:\foo22.html"; object fileFormat = Word.WdSaveFormat.wdFormatFilteredHTML; this.Application.ActiveDocument.SaveAs(ref fileName, ref fileFormat, ref missing,     ref missing, ref missing, ref missing, ref missing, ref missing, r ...Show All

  • Software Development for Windows Vista Re-hosting the Workflow Designer tool

    Vihang, I have reviewed your article http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnlong/html/WFDsgnRehst.asp and was wondering if xoml only workflows with namespace references can be used with it BTW: Have you considered a web based version of this product I look forward to hearing from you soon. Sincerely, John Portnov The x:Class attribute tells the WF Designer about the DesignTime type systems defined in the WF and hence is absolutely necessary. Basically the WF type system looks for the DesignTime types defined in the type provided by the x:Class. Hope this helps! Thanks, Kushal. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. No Starter Kit

    This is frustrating. In File, New Project I am only seeing "Windows Game Library (XNA)". I don't see the Spacewar starter kit or Windows Game (XNA). Once I realised it was supposed to be registered first, I did that and reinstalled. Same problem though, no starter kit. If you don't see it please file a bug and let us know some of the details about your system. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=682902&SiteID=1 Thanks! ...Show All

  • SQL Server How to send a report on data change?

    I have this report that uses one table. At some random times during the night this table will be updated. Is there a way to trigger the email report whenever the table changes its data Arent data driven subscriptions triggered by a scheduled routine at a certain time I dont need the email list to be dynamic, I need to send the report to the same mailing list whenever the report data (i.e. the data on this one table) changes. I tried firing the report whenever a new snapshot is taken but then the report is sent every time I take a snapshot (snapshots are also bound to a schedule), not when the new snapshot has different data, so this isnt good for me either. Any ideas ...Show All

  • Visual C# Construct Enum dynamically possible ????

    I was wondering if it was possible to construct an enum at runtime Let's say i have a lookup table, and i'd like to have an enum for that lookup table. Is it possible to construct the enum dynamically Thanks, >> binding dynamically changes content as the source changes in my understanding .... Dynamic changes occur at run-time. We want the changes to affect the property-grid, which is only visible at desgn-time. ...Show All

  • .NET Development receive in different thread Cause troubles

    hi, i wrote a class to send and receive data from a server, i intiate the receive method in a separated thread , when packet arrive i raise event, in the other class i consume it, so i have 2 questions 1. some times the server send packets too fast, and that cause trouble in reading data for the consumer class. some one suggested to use a delegate , for that i raise the event through a delegate but still cuase troubles, so what i suppose to do for that 2. i'm using the lock(this) keyword with the consumer method and thread.sleep() in the receiver now but i'm afraid this might cause losing some packets i thought to use delegate like winForm controls to make it thread safe by invoke it, but i don't know how to write this method ...Show All

  • Visual Studio Express Editions VS Express and .NET Framework 3.0, WPF, WCF, WWF

    Does VS Express 2005 will be compatible with .NET Framework 3.0, WPF, WCF, Windows Workflow Foundation and their extensions Always for free For example here (WWF Candidate 5) http://www.microsoft.com/downloads/details.aspx FamilyID=e8232f93-48f0-4e74-b09d-b51f1d4231a4&DisplayLang=en I read: "The Express Edition of Visual Studio 2005 is not compatible with this download." Thank you Toni It's a biz secret so far                      Oh,  just joking... VS Express 2005 is not compatible with .NET 3.0. To develop applications that uses the new components in .NET 3.0, e.g. WPF, WCF and etc, we need to develop ...Show All

  • Visual Studio Tools for Office Issue with launching Word 2003 XML (WordML) documents with Word 2007 Beta 2 & VSTO 3 CTP

    Hi – We had developed a Word 2003/VSTO 2.0 assembly that provides custom features that are consumed by WordML documents. When we tried to migrate this solution to Word 2007 Beta 2/ VSTO 3 CTP, we get the following error during build: C:\Program Files\MSBuild\Microsoft.VisualStudio.OfficeTools.targets(96,9): error : An error occurred while attempting to persist the data. The message returned is: Unable to retrieve the manifest from the document. . Questions: 1. Are WordML documents supported by Word 2007 Beta 2/VSTO 3 CTP 2. If not, is there a documented approach to convert WordML documents to Word 12 XML formats Your responses will be much appreciated. Thanks in adva ...Show All

  • Visual Basic File Copy Time Estimator

    I have a progress bar in my folder copying application that works great. How do I add and option that shows the estimated time to copy the entire contents of my selected folder. I am using a actual class to copy the files. Here is the code I. I have all the other items to call the class in the code of my main form. Imports System.Threading Imports System.IO Public Class CopyClass 'This will hold the reference to the client form Private _clientApp As Form 'Create a delegate method that will map to the CopyThreadMessage method of the client app Private Delegate Sub CallClientCopy(ByVal ThreadName As String, ByVal FilesRemaining As Long, ByVal Message As String) 'Create a delegate method th ...Show All

©2008 Software Development Network