Bandile's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. Using Webcam in XNA?
I've managed to easily create games that interact with feeds from a webcam on another platform. But is there a native class that is easily available in XNA :p Thanks! ...Show All
Visual Basic filling a bitvector32 in a loop
Dear all, I can fill a bitvector32 like this: Dim InBytes As Int32 dim i for i = 1 to 1000000 InBytes = i 'for example Dim InBitVector As New System.Collections.Specialized.BitVector32(InBytes) next i and then I can read out the individual bits (need this for a graphics conversion). Problem: this gets VERY slow, and I trailed that to the Dim InBitVector statement. Is there ANY way to assign an Int32 number to the InBitVector WITHOUT using the dim statement Thanks, Kees Hmm, odd. It shouldn't make any difference and it didn't when I tried it. There is however a huge difference between running the release mode or debugging with the IDE, I ...Show All
Windows Forms about DataGridView
how can make copy the all column and rows that contain information and paste them into MS Excel file or MS Word file Reads these samples for clipboard handling: http://www.codeproject.com/csharp/clipboard01.asp http://www.codeproject.com/csharp/clipboard02.asp Charles ...Show All
Visual Studio Team System Datagrid row style
Hi, I am using datagrid within windows form. I have applied column styles to each columns. Now I want to change the row style dynamically with certain criteria. I can't find any classes within grid. Any Idea how to change the row style for particular single row dynamically like row backcolor, font color etc. Thank You Mohan This is the wrong forum, try this Windows Forms forum: http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=7&SiteID=1 ...Show All
Visual Studio 2008 (Pre-release) WCF Sample: Databinding in a Windows Forms Client samples
Hi... I'm new in WCF... I try to add Operation Contract in WeatherServiceContract to return only one WeatherData, and I got an exception: The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter http://tempuri.org/:GetWeatherDataResult . The InnerException message was 'Error in line 1 position 558. 'EndElement' 'GetWeatherDataResult' from namespace 'http://tempuri.org/' is not expected. Expecting element 'HighTemperature'.'. Please see InnerException for more details. Inner ex: Error in line 1 position 558. 'EndElement' 'GetWeatherDataResult' from namespace 'http://tempuri.org/' is not expected. Expecting element 'HighTemperature'. I don't know what does ...Show All
Visual Studio Contacting the VS SDK Team??
Hello, the company I work for saw some of the personal coding that I had done for plugins into Visual Studio and are interested in possibly persuing some SDK development as a company project. However, when they saw that an individual had to sign up to a Passport account that has personal liability to the individual in the terms of use of the Passport account and couldn't sign in as the company they had some questions. Does anyone have an email address of a contact that I would be able to pass on to my company's legal department Or is there anyway to gain access to the VSIP sites and sign up without a passport account The agreement is between the person who created the Passport and Microsoft. It d ...Show All
Visual Studio Team System Team Foundation Object Model license
I am going to develop a commercial application which can be distributed and purchased. This application will use some of Microsoft private assemblies from Team Foundation System (Team Foundation Object Model). Question: What do I need to have for purchasing and commercial distribution of the application I mean license, commercial distribution rights and so on. Thanks to all!!! e-mail: smetanin_pavel@mail.ru ICQ: 345239061 There was an internal email thread about this recently. The answer for now is that you have to require that the user install Team Explorer as a prerequisite for your application. Buck ...Show All
SQL Server Cannot open user default database. Login failed. Login failed for user 'UserName'. (Microsoft SQL Server, Error: 4064)
Hi, SQL Server 2005 installed on my computer. i was trying to make a login page with VS.2005 pro. But i got some errors on Website Administration Tool. Whatsoever, i registered a database (aspnetdb) . Then, i think i made my default database to aspnetdb. Something went wrong and i decided to delete aspnetdb and start whole procces from the begining and i did it. AAANDD WHOOOLA. I got this error: Cannot Open User Default Database, Login Failed Microsoft SQL Server, Error 4064 Is there anyway to change my default database to "master" again Or simply will i uninstall all the sql server 2005 ( f you say uninstall, answer this:: Will be any problem on VS 2005 I can't uninstall both :) ) You should post to ...Show All
Visual Studio 2008 (Pre-release) debugging an XBAP app doesn't throw expected exception
got an XBAP app that is supposed to run in partial trust. when debugging in VS.NET, it opens it up in a browser from a local file path. running in this manner, it throws some SecurityExceptions, but not for local file access ... which i expect to exception. if i actually deploy it from a web server, then it does throw the expected FileIO exceptions. is there some debug setting i can change to make it throw all the security exceptions that deployment over the web will throw Thanks, casey Thanks Matt, then my follow up question is ... how can i debug an XBAP app in VS.NET, but have it enforce the Internet Permission set casey ...Show All
Visual Studio 2008 (Pre-release) Focus() does not always appear to work for me ...
I've got a window created in XAML, and it's got a couple of TextBoxes on it. They are both focusable. Before I display this window using ShowDialog(), I set the focus to one of the TextBox controls. The first time the window is displayed, this works fine. But if the other TextBox gets focus, then it doesn't seem to relinquish it - the next time the window is displayed, the second TextBox has focus, even though I am specifically trying to set the focus to the first TextBox in code. I don't know if this matters, but I'm not destroying the window in between the times it is showed. I simply call the Hide() method to hide the window. Then before I show the window the next time, I attempt to set focus to the correct TextBox. I've stepped thro ...Show All
Visual Studio Team System MSF 4.0 related exams
Is there any MCP exam related to MSF 4.0 Not yet. In the short term we will have one for TFS as a whole. A specific MSF4 exam is still in the planning stage. Regards, Clementino Mendonca ...Show All
Software Development for Windows Vista Can't register DirectShow filter
Hi I've just created a DirectShow filter, with every required method according to the Platform SDK help, but when I try to register my DLL with regasm (since regsvr32 does not work), I have a problem. I'm told the registration worked, but when lookng in GraphEdit, I can't find my filter. And when I generate a .reg file, I can't even find any new entry in HKEY_CLASSESROOT\CLSID. I only get things put in HKEY_CLASSESROOT\Record. I don't get it, since I've done everything about registration according to what I read in the help file, on the web, and etc... Thank you very much for any help... Emeric Assuming you are programming in c++, the entry points you need for RegSvr32 are DllRegisterServer and DllUnregis ...Show All
Visual Studio Is it possible to change the Logo of my custom plug-in in the VS About form?
We use VSPackage to package our plugin which includes some special features on the VS.NET Menu. After the installation, our plugin will appear in the about screen of VS.NET. Is it possible to change the logo associating with our plug-in in this screen I am not sure about VS packages but for add-ins there are two registry entries: AboutBoxDetails AboutIconData Check the docs about them: http://msdn2.microsoft.com/en-us/library/19dax6cz(VS.80).aspx There should be something similar and more for packages in the SDK docs, because packages can add icons to the splash screen while add-ins can't. ...Show All
SQL Server Installing on a Domain Controller
One last question ( for today)... The recomindation to not install SQL express on a Domain Controller. Is there a specific technical reason or is it just the general don't use the DC has a Terminal server / sql server / application server line of thought The reason I ask is we have been using SQL 2000 on a W2k3 server configured as a DC as well as for Terminal Services. (yes I am aware of the security risks) but in a small network with 5 or less ft clients and 30 thin, I can't justify a seperate DC and App server. Kay I seem to remember that SQL 2005 creates local security groups to setup security. On a DC those would be domain groups - maybe that is suspect to security threats IIRC beta versions of ...Show All
Microsoft ISV Community Center Forums [Excel] How to convert Excel to jpg, gif image?
How to convert MS Excel to jpg or gif and paste/insert to MS Word thank you very much I had no idea we could copy a range and paste as a graphic... I do the chart gif thing all the time for userforms (load the .GIF in to an image frame or the background of multipage, etc.). Copying a range as graphic and saving is as GIF and then using the image would reduce so, so much code writing. I see many great uses for this!!! So --- once we copy the range, can we: 1) export as a graphic file and save to the hard drive (like we can with GIF export for the charts) 2) control the file fomat (aka - .GIF, .JPEG, etc) I did follow the link the gentleman's website and all his code sho ...Show All
