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

Software Development Network >> Matt Stum's Q&A profile

Matt Stum

Member List

WayneW
glasgow1
pu132
Dale17677
Kannan Online
AndrewAPlus
Colab
Vormav
Emongii
saiyed zuber
robinjam
Paulnz
Pockey
Answer_ME
Jan Kučera
John Oliver (UK)MSP, VSIP
weiminghu
Julian V
Ashish Sh
learnerplates
Only Title

Matt Stum's Q&A profile

  • Smart Device Development Detect Windows CE OS flavor with RAPI

    How can I reliably detect whether it's plain CE or Windows Mobile is running on CE device Should I parse szCSDVersion of OSVERSIONINFO/CEOSVERSIONINFO struct You get this information when using the new RAPI2 IRAPIDevice::GetConnectionInfo API. The bstrPlatform member tells you which platform (Pocket PC, Smartphone...) is connected. A sample illustrating this can be found in the Windows Mobile 5.0 SDK under 'Samples\CPP\Win32\Deviceinfo' Hope this helps Michael ...Show All

  • Visual Studio Team System Book for MSF For CMMI? Templates / Process Guidance / AdventureWorks templates

    Hi it seams that a book for MSF for Agile Software development is underway (looking forward to it - Randy couldn't you put the sample chapters online somewhere ) Is anyone writing a book for MSF for CMMI Our company would like to use it since we are working with a CMMI Level 5 certified company. I'm really looking for a book that explains the use of the CMMI process guidance in depth. I'm right now looking for answers to questings surrounding templates and that are/are not included with the guidance. Why does the project guidance not like to actual documents Is it because official documents do not exist so they can't be included in a product like Team Foundation I have downloaded some templates for MSF 3.0. There is a small ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Can't Draw indexed primitive.

    I can't get my code work. I'm attempting to make some 2D rendering using device and memory vertex buffers and device index buffer. I post here all code with initialization and drawing in such order as it goes in program execution. Maybe someone could give me an advise about what is wrong with it. ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// bool Init( int _BuffSize) { CSprite::DeviceVB_size = _BuffSize; if ( FAILED( RenderDevice->CreateVertexBuffer( _BuffSize * sizeof (CUSTOMVERTEX), D3DUSAGE_WRITEONLY , D3DFVF_CUSTOMVERTEX, D3DPOOL_DEFAULT, &DeviceVB, NULL ) ) ) { MessageBox( NULL , L "Can't create VB ...Show All

  • Visual Basic Writing to two files.

    Hi, my program should write a string to a file, then a number to another file, but instead it doesn't write anything to the first file, and puts the string in the second file. The files don't exist before the program is run. My .Computer.FileSystem.WriteAllText( "appdata.dat" , text, False ) My .Computer.FileSystem.WriteAllText( "apps.dat" , apps, False ) The varible 'text' is put into apps.dat and appdata.dat isn't even created. I also tried using: Dim ff As Integer = FreeFile() Microsoft.VisualBasic.FileOpen(ff, "apps.dat" , OpenMode.Output, OpenAccess.Write, OpenShare.Shared) Microsoft.VisualBasic.FilePut(ff, apps) Microsoft.VisualBasic.FileClose(ff) but that didn't work ...Show All

  • Visual C# General OOP Question on Formatting

    I have a general question on "how do i do this" using best practices of OOP. My functional requirement is to implement a standard response formatter in my code. This standard response formatter will take one parameter and format it into a standard response, for simplicity sake "ABC" + parameter, and return it to the client/consumer. What is the best way to ensure that a consistent format is implemented. My current code implements and Interface, IStandardResponseFormatter, and requires that subscribers implement a method StandardResponse. The only problem with this approach is that the enforement of the actual format ("ABC" + parameter) is not enforced. How do I enforce this And is this an overall good appr ...Show All

  • Visual Basic HTML/HTTP Guidance needed.

    I am looking to create a small app which will send info to a web site and return info back. Specifically trying to track packages via ups/Fedex/Dhl/USPS. Can anybody point me in the right direction for some basic info on web programming. Jake JohnWilliams, I don't know whether you're familiar with the .NET Framework and ASP.NET web development. There are so many scripts to sovle your problems except the .NET framework or other platforms. Here I will give you an example on ASP and hope that can help you: Create the Active Server Page. Our Active Server Page will retrieve a single value posted by Excel 97 and create a SQL statement using that value as criteria. In an Application (or Virtual Dir ...Show All

  • .NET Development Retrieving username of a running process

    Hello, I've a windows service who's looking the owner of the Internet Explorer running process. I retrieve the PID with following code : Dim theProcesses() As Process = System.Diagnostics.Process.GetProcessesByName("iexplore" ) Dim PID As String Dim tp As Process For Each currentProcess As Process In theProcesses PID = currentProcess.Id tp = System.Diagnostics.Process.GetProcessById(PID) Next The question is now : how can I retrieve the username who is executing Internet Explorer Thank you for your help. wum Thank you for the tip but unfortunally, it doesn't work. tp.StartInfo.UserName always seems to contains an emptry string. ...Show All

  • Windows Forms FolderBrowserDialog in .net 2.0

    Hi Two question about folder browsing: 1) The .net documentation says that the System.Windows.Forms.FolderBrowserDialog class is only supported in .net 1.1. Does anybody know the replacement for .net2.0 2) But what I really need is just a control (not a dialog) to browse for folders. I didn't found such a control in the .net class library. Does anybody know where to get (free) code for such a control Thanks Adrian You'll have to either buy/download a 3rd party control (I found one for free that might work here: http://www.windowsforms.net/ControlGallery/ControlDetail.aspx Control=205&tabindex=5 ) or create your own. ...Show All

  • Visual Studio Is there an OnStartupComplete for VsPackages

    Hello, I would like to perform some processing once the environment has fully started up. My package is configured to startup through AutoloadPackages, using the UI_NoSolution context. Thus, it is always loaded when VS starts to load, but it seems it's really early - the DTE object is not even ready yet. QueryService on the site with SID_SDTE fails, and it only works much later in the startup process. I currently do the job in the first OnRegisterView() that comes, but I would really like to hook on to some event that will be fired once the environment is ready to provide me with the DTE and I can interact with the user. I've gone through vsshell.idl, textmgr.idl, etc... but I couldn't find anything. DTE interfaces are of no use, as DTE ...Show All

  • SQL Server Unicode characters stored incorrectly in SQL 2005

    I have SQL 2005 installed as back-end for MCMS 2002 , when storing a unicode content like Arabic , and query it direclty from SQL it appears like &#1603;&#1610;&#1601; &#1575;&#1604;&#1581;&#1575;&#1604; The english text stored correctly and can be read. Note that same senario with SQL 2000 the unicode data cane be viewed correctly. Regards Does this affect operation of MCMS or not " actually the content appears correctly on the web page. the types in 2000 and 2005 are the same as following: (< NodeId , int ,> ,< PlaceholderId , int ,> ,< Id , int ,> ,< PropName , nvarchar ( 100 ),> ,< IsResource , tinyint ,& ...Show All

  • Visual Studio Team System Unit tests on Team Build

    Hi I am trying to get Unit Tests running as part of the daily build. I have setup the test lists and added them to the Team Build. The Unit Tests run correctly locally, however when I go to run the Build I get the following error MSBUILD : warning : Failed to instantiate type 'Microsoft.VisualStudio.TestTools.WebStress.WebTestRunConfig, Microsoft.VisualStudio.QualityTools.LoadTest, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a': Could not load file or assembly 'Microsoft.VisualStudio.QualityTools.LoadTest' or one of its dependencies. The system cannot find the file specified. Now VSTS SDE is installed on the Build server and I thought this was all that was needed to automate the Unit Tests, is this assumption ...Show All

  • SQL Server SSIS, BIDS and Temporary files

    Why are some SSIS files, generated by the Import/Export Data wizard put into the local users temp folder Why are these not compiled with the package when the solution is built Is there some setting I am missing This architecture is kind of silly, as the server always needs access to the temp folder on the local machine to run. How can I get these temp files packaged with the rest of the package and deployed to the server so the server can run independent of the machine I develop the package on Thanks, Jeff Update: It appears that this temporary file behavior only happens when the "Optimize for many Tables" option is selected... Thanks, Jeff ...Show All

  • Visual C# Localization in visual studio 2005, .resx

      Hi , im using visual studio 2005. I have created localizable Form. For this form i have three .resx (for English, Czech, Finland). Each .resx has own properties. So at this moment I have the form in design mode, Localize attribute is set to true and Language attribute is set to Default. When I move a button on this form for example 3px to left, then this change is written only into defaul resx file. And it's bad. So I want to create new Add-In into Visual Studio which will handle that a change on a form will be written to all resx files. I s there any done solution for this I have just finished the development of a free tool that I call ResEx , composite, translation friendly resour ...Show All

  • Visual Studio Express Editions Spreadsheet in webBrowser access

    I have a problem that I can think of two soultions for. I haven't got a clue how to do either of them though. I'm writing a program that gets a list of transactions from a website. The website saves the transaction in a CSV file. Solution 1 Directly download the file and read from it using StreamReader - I have used the WebClient method to do this but when it goes to the server, it is returned with the html code that diverts you to the login page. Obviously doesn't support direct linking. - I don't know how to auto download a file using the webBrowser control. If I navigate to it, I'm presented with the message box that asks if you want to Save or Open. If I save, it leaves the possibilty of the file ending up in the wrong directory so I'd ...Show All

  • SQL Server Trigger on a table in TempDB

    I have an application that creates and makes use of a table in tempdb. My problem is that I have a couple of triggers on this table that get dropped everytime SQL Server restarts (due to the fact that tempdb gets recreated). Is there a way to automatically recreate these triggers each time SQL Server starts It looks like it is not possible to have a "create trigger" statement within a stored procedure. I would greatly appreciate some ideas....thanks in advance! You can issue CREATE TRIGGER from within SPs if you use dynamic SQL. See EXECUTE statement in Books Online for more details. You can create the triggers automatically by using an auto-start SP or SQLAgent job that runs on service start. Bu ...Show All

©2008 Software Development Network