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

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

manasia

Member List

MarcGBeauchamp
mterlecki
Blair Allen Stark
gooon
Pramod Gujjar
vipasane
Bill Reiss
Wojtek Podgorski
swathi_challa
Beyond Blue
Bjoern.Greiff
markand
Namrata Prashar
neo2k
JDPeckham
Andreas_
shanlini
omron
Richard G.H.Lin
Jessica Alba
Only Title

manasia's Q&A profile

  • Visual Studio 2008 (Pre-release) Customizing WPF DataTemplates....

    I have defined a dataTemplate as follows: <DataTemplate x:Key="photoTemplate_Small"> <Grid Width="Auto" Height="Auto" x:Name="Grid" Margin="10,10,10,10"> <Grid.ColumnDefinitions> <ColumnDefinition/> </Grid.ColumnDefinitions> <Grid.RowDefinitions> <RowDefinition/> </Grid.RowDefinitions> <Border HorizontalAlignment="Left" Margin="0,0,0,0" Width="Auto" Background="sc#1, 1, 1, 1" x:Name="Border" BorderThickness="0,0,0,0" CornerRadius="8,8,8,8"> <Image Source="{Binding Path=ThumbNailPhoto}" Width="100" Margin="5,5,5,5" x:Name= ...Show All

  • Visual C++ Array copy?

    What's the best way to copy the contents of a 2-d array into another one of the same size Do I have to copy each element one by one or is there a method to do that directly I think if you deliberately put your array into a structure, then you could copy it directly using = operator, like this:   struct MyArray {     int values[10][20]; };   MyArray a1, a2; // . . . a2 = a1;   ...Show All

  • Audio and Video Development I can't send event from ProcessOutput() of MFT

    I'm trying to send event from ProcessOutput() of MFT but downstream MFT of ProcessEvent() or Stream Sink of IMFStreamSink::PlaceMarker() couldn't receive it. my MFT's ProcessOutput() pEvents member of the MFT_OUTPUT_DATA_BUFFER structure always comes with NULL is this ok Since pEvents are NULL I'm creating IMFCollection by myself using MFCreateCollection() is this ok At last I'm adding event to collection. Thanks. kasumi For now, the spec doesn't require Media Sinks to forward events received through PlaceMarker back to the application, so the EVR is doing what it's supposed to here. But thanks for the feedback; the idea to make it possible for the application to see events that origin ...Show All

  • Visual Basic Converting an Integer to String

    Im trying to convert some integers to a string (which works fine) For example My Funciton MKI is working ok as far as i can tell Dim v1 as String = MKI(116) V1 then equals "t I wish it to equal "t" Can anyone offer any suggestions please Use Space(1) to avoid having to use SubString(). This code could fail when you least expect it. Some bad, rainy day, the garbage collector is going to move sTemp in memory just as CopyMemory() is executing. VB.NET has a good alternative to MKI(): Dim V1 As String = Chr(116) ...Show All

  • Visual Basic ListBox.Items.Add() doesn't work for me

    Hey everyone, I'm trying to add data to a listbox, but I get a object reference error. Here is a exmaple of my code: The listbox is already on the form: listbox1.Items.Add("Test") listbox1.Items.add("test1") When I run this code, I get a object reference is set to null(System.NullReferenceException) Can anyone help thanks, Brandon M. Hunter lstBxSC.Items.Clear() Dim x As Integer For x = 1 To 50 Me .lstBxSC.Items.Add("Item " & x.ToString()) Next x I used this piece of code, and the error occured on lstBxSC.Items.Clear line, object reference is not set to an instance. any ideas I'm running VS 2003 on Windows XP, if that helps. ...Show All

  • SQL Server Transfer table from Microsoft Sql Server to Microsoft Excel

    Hi Folks I hope you doing fine. I want to transfer table from Microsoft Sql Server to Microsoft Excel but the column the table like that: Create Table xTable ( xDate DateTime , xStatus Bit ) Now I want to convert data using Import/Export Wizard because when I move xDate to Excel file it looks like ####### that and I want to convert xStatus = 1 e In xStatus = 0 e Out Using Case Statement like: Case xStatus When 0 Then 'Out' When 1 Then 'In' End How can I do this in Import/Export Wizard Thank you In the Excel menu: Data -> Import External ...Show All

  • SQL Server Problem with ProClarity analystics 6 for SQL Server 2005 reporting services

    Hi, all here, Thank you very much for your kind attention. I'v got a problem with Microsoft ProClarity for SQL Server 2005 reporting services as below: Created a 3-D effect reports (which are views in ProClarity professional ) and exported it into SQL Server 2005 reporting services, but the result in SQL Server 2005 reporting serivces is totally different, no 3-D result, and also the color of the report has totally changed, for better result in SQL Server 2005, I have to manually modify the reporting file in reporting services. Another problem is: the views created in ProClarity always change colors (the colors I think are aweful) after exported into SQL Server 2005 reporting services. Can any expert for that give me any adi ...Show All

  • Windows Live Developer Forums Live Communication Server and Windows Live Messenger

    Is there anyway I can connect to Live Communications Server using Windows Live Messenger without signing on to MSN I just wanted to use it for Internal use only within the organization At this time there is no way to directly connect the Windows Live Messenger client to a LCS server to support the scenario you've outlined (use WLM client but keep the traffic within your organization). Cheers, Todd Biggs, Windows Live ...Show All

  • Software Development for Windows Vista Function Discovery

    Where can I find a working sample of using Vista Function Discovery The sample in the latest SDK does not build. Thanks, Kevin Here are the modification in aim to use FD samples : In FunDiscovery.h : Replace all instances of the line __RPC__in_opt IUnknown *pIUnknownForQuery, with RPC__in_opt FDQUERYCONTEXT fdqcQueryContext, In the original version of FunDiscovery.h, there are three instances of this statement; one at line 61, one at line 69, and one at line 79. In FunDiscovery.cpp :Replace all instances of the line IUnknown *pIUnknownForQuery, with FDQUERYCONTEXT fdqcQueryContext, In the original version of FunDiscovery.cpp ...Show All

  • Visual Studio Express Editions VB Express

    I am an owner of VB6 Pro but have not used the application in over 2 years. I develop mostly PHP and HTML applications today for my own personal business and my customers. I would like to develop applications using VB 2005 Express that I can sell and distribute. VB6 (if I remember correctly) contained an EXE compiler but a runtime file ( ) had to been included with the EXE file in order for it to function on a customer's PC. Does the free version of VB 2005 Express contain an EXE compiler and does a runtime file have to be included with the compiled EXE file in order to run on a customer's PC Thanks for any input on this topic. Terry The .NET Framework 2.0 is available through windows upda ...Show All

  • Visual Studio Team System VSTS MS Project integration

    I'm trying to implement logical operations in a VSTS WIT for project planning purposes, it appears to me there is no way to realize this. As a result of that i need integrate these operations in the project planning tool MS-Project. Subsequently i'm trying to break into the VSTS-MS Project refresh event on the project side to execute the logical operations there to avoid the necessity of a separate action using a project macro. Can anybody point me in the direction of avoiding the need of a MS-project macro for logical operations like calculations and data compare. Hello, During a refresh operation,if the data has changed we provide an alert to an user that it was changed. But we don't s ...Show All

  • SQL Server RMO vs scriptiong on hybrid 2000 2005 replication

    I have created the plication and push subscription on SQL 2000 by running sql scripts. I can view it through management console already. but on SQL 2000 server, i dont' know how to start the snapshot agent and how to synchronize explicitly. In 2005, there is a system sp sp_startpublication_snapshot @publication = @publication can do the job. can you tell me how to do the same in the sql 2000 additionally, I tried to use RMO to implement the replication. but it seems some of the classes only support 2005. doesnt' it means RMO can't be used to program on hybrid replication environment plz reply. thanks In SQL 2000, you'll have to query for the snapshot agent job name and call sp_start_job. To program replication in S ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Do render targets have to be the same size as the back buffer?

    Hi, I have a render target set up as: screenBuffer = new Texture2D(graphics.GraphicsDevice, 1280, 720, 1, ResourceUsage.RenderTarget, SurfaceFormat.Color, ResourcePool.Default); When the back buffer is set to 1280,720 (the same size as the render target) the code below works and the screen displays a blue background as expected. //Set device to render target graphics.GraphicsDevice.SetRenderTarget(0, screenBuffer.GetSurfaceLevel(0)); graphics.GraphicsDevice.Clear(Color.Blue); //Set the render target to the back buffer graphics.GraphicsDevice.SetRenderTarget(0, graphics.GraphicsDevice.GetBackBuffer(0, 0)); graphics.GraphicsDevice.Clear(Color.Gray); //copy the (scaled) screen buff ...Show All

  • Smart Device Development Application does not run if the GPRS is activated

    hi all, I am having the application that simply fetches the site contents and display it on the form. But i m getting error "PROTOCOL ERROR". i dnt knw whats wrong with it. its a simple code of requesting and responsing. thts all. nothing else. Plz help. Coz i m not able to run my main application also. thanx in advance. hi, In more depth, i found tht the error comes, catch (WebException webex) { switch (webex.Status) { case WebExceptionStatus.ProtocolError : HttpWebResponse httpResponse = (HttpWebResponse)webex.Response; txtresult.Text = httpResponse.StatusCode.ToString(); break; } } I am getting the statuscode ...Show All

  • Visual Studio Team System Regarding MSBuild

    Is there a way in build script to run unit tests only in debug mode Are you referring to Team Build with TFS or just MsBuild, anyway I recommendo you to check this on the Team Build forum, if this is related to Team Build, or to Visual Studio 2005 forums if it is just refered to MsBuild. ...Show All

©2008 Software Development Network