Interflex's Q&A profile
Windows Forms listbox if statment
Ok, So i would like to make it so that when no one selects something from the listbox, that i can pop up something and tell them like a messagebox. Thanks in advance Ok, So i would like to make it so that when no one selects something from the listbox, that i can pop up something and tell them like a messagebox. Thanks in advance ...Show All
Software Development for Windows Vista Displaying Media from an IStream - is Directshow what I should use
Warning - I'm a complete beginner at DirectShow. I need to come up with a solution to play audio and video in our application. However there are several gotchas in the requirements, that are making it difficult for me to know where to begin - I think Direct~Show is the answer, but am not sure how to proceed. The first gotcha is that the media does not exist as files on the users machine - they are downloaded from remote machines and need to be played as they are downloaded. I can provide an IStream interface to the data. The second gotcha is that I do not know what format the data is in ahead of time. I do receive the filename of the data on the remote machine and I can seek to any position in the file and read a block of data. ...Show All
Windows Search Technologies Performance problem
After trying WDS 2.6.5 during some days, I have a doubt concerning indexation perfomance. In the beginning, the indexation was very fast. But now I don't see any significant evolution. At this time, 17046 documents are indexed and 23627 are waiting. During the last days, I put the computer working only in the indexation during 1 or 2 hours in a day, but I don't see any significant variation of these numbers. However I see that WDS is scanning files (at least it shows their names in the indexing status window). Can anybody explain to me the one what happens Thanks. Today, very quickly, the number of indexed files changed from 17000 for about 35000. However, in the last days, as I already explaine ...Show All
Visual Studio 2008 (Pre-release) Why Avi play failed when i change the parent of MediaElement
Hi all i want to change the size of my video, so i have two Viewbox,viewboxA is 400x400 and viewboxB is full screen. i put my mediaelement in a grid(g) and put g in viewboxA,when i double click on g, i remove it from viewboxA and put it into viewboxB, and double click again, i move it back to viewboxA. That's all i want to do.There is only one problem: After i removed g from one viewbox to another, the mediaelement failed, and a few seconds ( sometime soon and some time long, depends on the size of the video file) later, the mediaelement replays automatically. the fail information is like below: e.ErrorException {"Exception from HRESULT: 0xC00D11CD"} System.Exception {System.Runtime.In ...Show All
Visual C# Pointer
as far as me know, this statement MyClass o = new MyClass(); are actually create instance of [MyClass] in memory and [ o ] are not the instance but the pointer which point to memory. am me right My problem is : Dictionary<string,MyClass> myCollection = new Dictionary<string,MyClass>(); myCollection.Add("Object01",new MyClass()); // and somewhere else MyClass obj = myCollection["Object01"]; ok, here the problem, according to theory above, [ obj ] are also the pointer which point to the momery, when me :- myCollection.Remove("Object01"); the instance are still exist, because what me have remove/kill are only the pointer which point to the "real" instance, so the [obj] are still able t ...Show All
SQL Server This is how to check your version. From FAQs
I just tried to install SP2 of the Sql Server Express but it wouldn't install. The message was somthing like: No effective changes to make. Am I missing something here How do I check my version It doesn't matter how many time I read the FAQs. I always get caught out! ( and I couldn't find a way to delete my question so I hope the extra effort here allows me some leighway) This code copied from one of the excellent FAQs and converted to vb.net Start a new project. Project | Add Reference ... | System.Management Solution Explorer | My Project | Application | App type: Console App | Startup: Sub Main <code> Imports System Imports System.Management Namespace ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Stange SpriteBatch...
My problem is: if I call spriteBatch's Draw() method, it automatic turns vsync to on But why And how can I avoid it I tested it, and if I delete that line, it works fine (vsync off). ...Show All
Windows Forms Custom Message box C# 2.0
Is there a custom message box method that can be used Is there a way to create a custom message box ...Show All
Smart Device Development Read SMS already on phone
So how do i exactly read the sms that is already in the phone (mobile window 5.0 ppc) do i access cemapi.vol Can anyone pls help This has been answered before - try searching the forum Some answers that may help see: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=521509&SiteID=1 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=926049&SiteID=1 ...Show All
SQL Server Metadata Model in SSIS 2005
Hi *, Can anyone tell me what Metadata Model Microsoft supports with SSIS 2005 DTS in 2000 was supporting OIM but I was not able to get some information about this topic on SSIS 2005. The reason I need to know is that I wanna import some metadata from Business Objects Data Integrator into SSIS 2005 and Business Objects is supporting CWM.... I would appreciate your help! Thank you, Steve Hi Jamie, thanks for your help. I'm really frustrated that Microsoft's information policy on this subjects is so poor... DTS supported OIM because Microsoft had a different approache in storing meta data. Correct me if I'm wrong but SQL 2000 had a central repository, right Well I'm disappointed that MS that there is no chance to import metadata into ...Show All
Visual C# Slowness when typing in IDE
I encounter an incredible slowness in typing in the c# ide, when programming windows forms aplications. It's like if the intellisense stuff is lagging behind... I encouter this from the moment i compile and start the application. When i restart the IDE the problem's gone till the next time i compile and start... Any thoughts on this Am i the only one who has this (hope not) Tnx Tom Try two other things as well. 1) Disable the Navigation Bar Go to Tools | Options | Text Editor | C# | General and uncheck "Navigation Bar" 2) Disable AutoToolboxPopulate Go to Tools | Options | Windows Forms Designer and set "AutoToolBoxPopulate" to false. Let me know if either of those wo ...Show All
Visual Studio Team System Excel report is not opening
Hi, Excel report is not opening using VSTS Load testing tool. Scenario: Open the web application. Select search criteria and click on search button. search results appear with the link “Export to Excel” in each row Click on “Export to Excel” link. Report opens in excel sheet. Question: Using VSTS Load testing tool I have recorded the above scenario. While replaying the script, 4 th step is not working. I think it is not clicking on link “Export to Excel ” Excel report is not opening. Why it is not clicking on link “Export to Excel” What is the solution When I am clicking on "Export to Excel” link in Web Test Recorder it is not adding any new step under web te ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How to draw an arbitrary segment of triangles from a VertexBuffer?
Good Evening- I basically have a VertexBuffer containing 20 triangles, but I want to be able to just draw 2 of them at a time and then change settings (for example the World matrix). I don't see how this is possible in Managed DirectX... for example if I use DrawPrimitives(), you can specify an offset to start rendering but it will continue rendering until the end of the buffer is reached. I want to specify an offset and a length... Could someone please show me how or point me in the direction of a different method of storing/drawing triangles that would Thanks, Philski yeah... that's what I get for coding late at night. I was putting in the vertexes per triangle as the third option... (napolean dynamite) ...Show All
Visual C++ Where is this said "fulfillment site"?
"The last SDK that will work with VC 6.0 is the February 2003 Edition, you can order a CD on the fulfillment site. Side by side installations are not supported." OK, sounds good ... how about a link to it, Bill!! Can someone please post a link to this "order a CD of February 2003 Edition of the Platform SDK for Visual C++ 6.0 fulfillment site" Many Thanks in Advance! Robert Is this what you are looking for http://www.microsoft.com/msdownload/platformsdk/sdkupdate/psdk-full.htm ...Show All
SQL Server MICR Font Issue When Exporting to PDF
Hi, I'm using Reporting Service to print checks. Everything seems ok when I design and deploy and view the reports. But when I try to export to pdf, the MICR font I'm using does not work. I've tried a couple of different MICR fonts from the web and they either get replaced by a standard font or disappear altogether. I would love to know why that is. Thanks in advance, Tom Could you help me fix my MICR report like you fixed yours I tried increasing the height and width of the text box. I need help ASAP. Thanks ...Show All
