jvwardle's Q&A profile
Smart Device Development Launching video from an app
Hi We are trying to create an app where you would have a clickable image which when clicked would launch a video, avi etc. Could someone please tell me if this is possible please We are hoping to run it on pocket PC. Any help would be much appreciated. Thanks Neil See this post http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=64938&SiteID=1 for how to embed Windows Media Player in your app ...Show All
Visual Studio Team System Beta TFS MSSCCI plugin now available for VB6, VC6 (not yet VS 2002/2003)
There's now a beta of the TFS MSSCCI plugin for VB6, VC6, etc., but it's not for VS 2002/2003 -- that's still too come. You can download it at http://www.microsoft.com/downloads/details.aspx familyid=32202966-EF04-442F-8C5C-88BDF15F551C&displaylang=en . Brian Harry posted some details about it, including the fact that it is not part of the go-live license . http://blogs.msdn.com/bharry/archive/2005/12/29/507993.aspx Buck I believe that MS Access supports Msscci specification, so it should work with our TFS Msscci plugin. However we are testing it only with VB6/VC6/VS2003/Visual FoxPro9 for now (this can cha ...Show All
Visual C++ customize codepage used by "cl.exe"
I'm using Visual Studio 2005, I'm wondering whether there's anyway to set the codepage used by "cl.exe" instead of the default system codepage. For example, the system default codepage (ACP) is 936, but I want the "cl.exe" to use code page 1252 instead. Any suggestions Thanks in advance! As you probably are aware, the compiler uses the codepage corresponding to the setting under the "Regional and Language Options" control panel. I'm assuming that you do not want to change your entire system to English, but rather just use the English codepage for the compiler in particular. I'm not wholly sure how this w ...Show All
Audio and Video Development How to output a bitmap from a mediasource
Hello, I write a mediasource which can output a bitmap. But It cannot show to screen. No matter the bitmap content, it always shows blank. I try to transform the sample to AYUV format, but it is no used. I guess maybe some media attributes are wrong. but I cannot make sure it. does anyone kindly have a look what happend the media type I fill hr = MFCreateMediaType(&pMediaType); // Initialize the media type pMediaType->SetGUID(MF_MT_MAJOR_TYPE, MFMediaType_Video); VIDEOINFOHEADER vi; ZeroMemory(&vi, sizeof(vi)); vi.bmiHeader.biSize = sizeof(BITMAPINFOHEADER); vi.bmiHeader.biWidth = 800; vi.bmiHeader.biHe ...Show All
Software Development for Windows Vista SetState - how to create a Role Based one?
Hi all, For a current project, I'm wanting to create a Role dependant SetState class (ideally). The situation: 2 roles - user + manager 3 states - A -> B ->C (for a manager A->C is possible) StateA will listen to the same event (e.g. Approve) for both Manager + User. For Manager - we want to go to C For User - we want to go to B So....my thoughts - wouldnt it be great to have a SetShape that had some Role dependant collection of 'TargetState' properties.....object model seems pretty tight around here. Question: Why is the SetState class sealed I need to respond to the same Raised Event, but produce different outc ...Show All
Visual Basic Can't edit a Windows Application that's stopped
Why Console Application edits BUT Windows Application doesn't When I run a VisualBasic Windows Application, and stop or break, I can't edit the code. If I run a Console Application, I can edit just like good 'ol VB6. THANKS ! Hi Doug, It's always worked fine for me. What code are you trying to edit Unless it's form initialisation stuff it should be fine. What versioon of VS are you using Mark ...Show All
Visual Studio How to give a signature for a zip file?
I want to know it because I make a snippet or it will always show a messagebox which ask you click "yes or no" See the blog posting at http://blogs.msdn.com/craigskibo/archive/2005/11/16/493570.aspx . This has information about how to sign a file for the Content Installer. Craig ...Show All
Windows Forms listView
i have listView1 and i want to be able to select the index i want..just like in a listBox... example in a listBox u can do: listBox1.SelectedIndex = 10; and it select the index 10... listView does not have the SelectedIndex so how can i select the index that i want No. That returns the index of the focused item not the selected item. The focused item is not the same as selected item, although sometimes they may be the same. Have a look in the Hep for the difference between the FocusedItem and SelectedItems properties. ...Show All
Software Development for Windows Vista Querying workflow event
Hello, suppose that I'm having a workflow who has a parallel activity with an eventsink on each sequence, for example,: |   ...Show All
Visual Studio 2008 (Pre-release) Windows Token and SAML Token and Signing Process
I am in the process of writing an STS that delivers the SAML token based on the windows credentials (hence windows token). I looked at the federation extensibility sample. It has lots of custom token configuration on client side. So I stripped out lot of code and have my client simply invoking a method on the STS which has a return type of Message, which is mapped to RSTR through attribute. It does not have any input arguments as I am relying the windows credentials through configuration. I have my own service authorization manager to allow or deny a particular window client. So far, I am able to build RSTR message that contains the SAML as ...Show All
Visual Studio Team System TFS error
I am getting the below error regularly, when ever this error comes my server will get restart or hangs "An unexpected condition has occurred in a Team Foundation component. The information contained here should be made available to your site administrative staff " Operating System : windows 2003 Standard Edition with sp1 Application : Visual Studio 2005 Teram suite beta 2 , SQL server 2005 CTP, Team Foundation server beta 3( Installed Single server ) Thanks & Regards Srinidhi J.S. Srinidhi , Please try installing the ...Show All
Visual Studio 2008 (Pre-release) How to get scroll events from a GridView?
I have a ListView control with a GridView as the view and I want to get scroll events when the scrollbar for the GridView is dragged or clicked. Is it possible to get a ScrollChanged event from the GridView I have searched the documentation, forum and web but not found a way to do this. Is there a way to access the ScrollViewer or ScrollBar for the GridView in code You can simple add a eventhandler in ListView like lv.AddHandler( ScrollViewer .ScrollChangedEvent, new ScrollChangedEventHandler (dealwithscroll)); Or <ListView Name='lv' ScrollViewer .ScrollChangedEvent="dealwithscroll ...Show All
.NET Development .NET UI Application Crash
Hi, We have a vb.NET client UI application which calls a number of web services. The application is intermittantly crashing completely without any evidence of an exception etc. The application is single threaded for the most part, the only area that deviates is a class managing serial port comms via win32 calls. (we do not use p invoke..) I understand the most likely cause for an unexpected termination of this nature is threading - more specifically that referencing UI elements unsafely... I can say after a very large code review that this does not take place. Can anyone provide any advice on what might be the cause or where else we might lo ...Show All
SQL Server SQL Performance Counters Missing
I built a SQL2000 sp4 on a Windows2003 R2 (x64) machine. I cannot find the SQL performance counters when running the NT Performance Monitor, however, I can pull every counters from the master..sysperfinfo table. Any help would be greatly appreciated. ...Show All
Visual Basic how to insert greek characters and mathematical symbols into textes?
Hello, Is it possible to insert greek characters (ex: rho,sigma, pi etc.) and mathematical symbols in a text Corollary: how to display an exponant These things can be done easily with the math editor in Words but I have not found the solution in VB editor. Thanks Chris This should give you a good starting point. Start a new project and add a combobox, then paste the following code. For x = 1 To 65535 ComboBox1.Font = New Font("Arial Unicode MS", 15) ComboBox1.Items.Add(ChrW(x) & " = " & x.ToString("X4")) Next William VB Programmer wanna-be ...Show All
