Software Development Network Logo
  • Windows Live
  • VS Express Editions
  • Visual Basic
  • Microsoft ISV
  • SQL Server
  • Visual C#
  • Visual C++
  • Windows Forms
  • Windows Vista
  • VS Team System
  • Game Technologies
  • Visual Studio
  • Visual FoxPro
  • Architecture
  • .NET Development

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

SMPDave

Member List

Matheus Von Der Kerkhoff
Vano
JJ MAc
Manikandan158716
Eugene Ostroukhov
Marc LaFleur
Chris Greenwood
mx666_!
Payton Byrd
GeoffChambers
Rafael Salas
KVZ
syed caravel
uzivatelZPrahy
n3verm0re
DTHMTLGOD
Andrew Cherry [MSFT]
Dudley McFadden
Tony Virnoche
Sreekk
Only Title

SMPDave's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. DirectX to differentiate between audio and video files

    Hi, I wanted to know if DirectX could be used to identify a media file as Audio/Video. Audio includes all the common formats in use and so does video. Basically, I would like to know if DirectX could be made use of to classify a media file as audio or video. Thanks, Raichur. Have looked at AudioVideoPlayback library. MSDN doesn't give exhaustive information about it. ...Show All

  • SQL Server Insert & Where ?!

    Hello everyone, im looking for some advice or maybe examples. How is the best method of checking a table for a specific xmldata type node element For example xmlNode = Table in use myXmlData = Document being stored as XML datatype I would like to first check the table of existing XML entrys for an ip address: If the ip address in the reader matches any of the ones in the database it will update that row. If the ip address can not be found in any existing row, a new row is created and myXmlData is stored. At the moment data is stored regardless of existing entrys. myQuery = "INSERT INTO T4(xmlNode) VALUES(@ ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Code behaves differently on 3 different computers. ???

    I have a C# application that displays fairly simple 3d models (mostly lines and a few faces).  I am using Managed DirectX 9 August 2005.   On one computer (the development machine) the program runs fine.  On another computer, the lines don't draw (it's a call to drawIndexedPrimitives, type lineList) but the meshes do draw...and on two other computers, when I open the Form that has the 3d control, the computer freezes (before the form ever opens) and must be shutdown with the power switch.  I know this is a question with not much detail...but I'm not sure how much detail is needed to be helpful.    It's ...Show All

  • Windows Forms Embeding Word into an application

    My user wants to have reports in Word format.  Is there a way to embed the Word API into a .NET app   Are there any articles discussing this Your help is apreciated. Kaytrim Well, assuming that the end user will have Word installed on their machine, you could use the .NET Office Primary Interop Assemblies to control Word.  There  ...Show All

  • SQL Server OLE DB Command with property expression

    Hi, I am trying to use an OLE DB Command to run a different SQL command for each row in the data flow. I have a script component that builds the SQL command and puts it in a data flow variable, and a property expression in the data flow mapping [OLE DB Command].[Sql Command] to that variable. The problem is that the OLE DB Command has a validation error, saying that "the command text was not set for the command object", and it doesn't run. Did I miss anything should I tell the OLE DB Command that the SQL command would come from expression or is it a bug Thanks. This validation error ca ...Show All

  • SQL Server Error when attempting to delete rows

    I have a log table with no indexes, triggers, or keys.  During the course of development, I will clean out the entries by selecting all the rows (in Database Explorer) and hitting the delete key. Occassionally, I will end up with couple rows (out of many) that won't delete.  I get the following error when I attempt to delete the "affected" rows:    A problem occurred attempting to delete row 1.    Error Source: Microosft.VisualStudio.DataTools.    Error Message: The row value(s) updated or deleted either do not make the    unique or they alter multiple rows (2 rows). ...Show All

  • SQL Server Looking for sample code for doing store procedures

    I'm looking for any good samples that anyone might be aware of on how to write a SQL Server 2005 stored procedure with error handling (using TRY-CATCH blocks) that I can use as a model. I did find the article "Detecting and Reporting Errors in Stored Procedures - Part 2: SQL Server 2005 TRY-CATCH Blocks" by Rob Garrison.  It's pretty good.  The article was written based upon an early beta so the author (understandable) wasn't sure about some possible features.  I also was disappointed that the examples didn't flow back to showing how the application handle the resulting errors. If you know of any good article or samp ...Show All

  • Visual C# Nice Threads!

    I could really use some help here... I am using C# 2005 and have created a splash screen that runs on a seperate thread. I can invoke the splash screen in the Main() method, but then I can't get rid of it! I am attempting to put a line in the Form1_Load (or maybe Form1_Shown) that calls a static method in the splash screen to close that form. But, when I do so, it complains about an invalid cross-thread operation. How can I get this screen to close Here are the relevant parts to my splash screen: // Static Public Method to launch Splash Screen static public void ShowSplash() { if (ms_frmSplash != null) return; ms_Thread = new Thread ...Show All

  • Windows Forms Owner Draw ContextMenu

    Hello everybody, I have a problem. I can create owner draw menu but only MainMenu. Contextmenu doesn't want to be created. Can anybody write sample of it Sorry for my bad English. I believe you have to set the OwnerDraw property of each menu item to True. Then what I usually do is create one sub to handle all of the items for example: Private Sub MeasureMenuItem( ByVal sender As Object , ByVal e As MeasureItemEventArgs) Handles menuItem1.MeasureItem, menuItem2.MeasureItem         Dim mnuItem As MenuItem = DirectCast (sender, MenuItem)       ...Show All

  • Windows Forms multiple forms

    i know everyone is going to jump and say MDI.. but thats not what im looking for. I come from a web applications background so bear with me on this one. what im looking for is something very common in web applications. Click a link and a new page loads in the browser. Similarly what i want to do is to be able to load different forms  ...Show All

  • Visual Studio 2008 (Pre-release) Canvas Performance

    I have an ItemsControl bound to 500 items. As Panel I use a Canvas (each item has a coordinates and size where it should be positioned). As DataTemplate for Items I have Button containing a StackPanel with some TextBlocks. When I'm trying to show this, it takes about 5-10 seconds. Is this normal How can I speed it up Can you elaborate further It'd help if you could post your code, or at least pseudo-code, since the description of what you're doing is too vague. David ...Show All

  • Visual C++ MFC Dialogs and NT Service

    Hello experts. I'm trying to make a class which will make it easyer to work with services. but i have a little problem. the DoModal() method of CDialog class i synchronous and after calling the method i can't start the service. anyone has an idea how to fix this prob here's the source // ProWatch.cpp : Defines the class behaviors for the application. // #include "stdafx.h" #include "ProWatch.h" #include "ProWatchDlg.h" #include "string" #include "shlwapi.h" #include "ServiceWorks.h" #ifdef _DEBUG #define new DEBUG_NEW #endif ...Show All

  • .NET Development What is the difference between consuming the Webmethod with One way attribute and BegineInvoke.

    i have webservice created using c#, After createing the proxy .net framework created BegineXXXXX and EndXXXXX method. Also there is one way attribute with this webmethod. What is the difference between using oneway atribute method and the BeginXX without calling EndXXXX.. I do not want any data in return after execution of the webmethod.. Would be wise to use OneWay attribute method or BeginXXX without EndXXX.. Please help..   Begin/EndXXX is async call, not the MSMQ style, when u need fire out and forget. Use OneWay if u need no request, because Begin/EndXXX is suppose that u ne ...Show All

  • Visual Studio Team System VSTS Ship Date?

    VS 2005, SQL 2005 and .NET 2.0 are supposed to release in early November, however on the FTP web site they are saying this: Updates and firm release dates for Visual Studio 2005 and .NET Framework 2.0 (together previously code-named "Whidbey"), along with SQL Server 2005 (previously code-named "Yukon"). The target release dates are well within Microsoft's most recently stated goal (second half 2005), although some of the features expected in the first release of Visual Studio 2005 won't be immediately available (the full Team System tool set, specifically).   http://www.ftponline.com/channels/net/reports/tech-ed/2005/okelly/   S ...Show All

  • Visual C# Com+ in .net

    hi, I am new to Com+ applicaitions. I am creating a com+ application using .net using a sample given on http://www.codeproject.com/csharp/ESTransactions.asp I have compiled the solution successfully and instaled the assemblies as com+ applications using regsvcs. whenever i am trying to run this application, it is giving error " Error loading type library/DLL " I have tried changing the activation from library to server and given it anonymous user access but it is still not running. Please help me in this regards One of the most common situations that I've seen that ...Show All

©2008 Software Development Network