thechristopher's Q&A profile
Visual Basic Debugging Error! Interface not supported
Please assist! I'm a raw rookie-'ve been working in Visual studio.Net 2003.(3months) Writting basic windows form application- I've been succeful in building & debugging my solutions but all of a sudden I'm getting the attached error on all debugging of my solutions/projects.(Previously succefull solutions & new-this happens when debugging - I believe that experimenting with Web applications i've adjusted a profile or setting! Error Message: "Error while trying to run project. Unable to start debugging. No such interface supported" Can you please advise as I'm now stranded & can not progress! Tools>Options , I dont have an Import And Export setting in my menu set-up ...Show All
Windows Forms Image display form....some questions
I've written a very simple form that loads an x number of images from a local directory and displays each bitmap in picture boxes. The result is that each image is displayed one row at a time. I don't like the way the images are currently being displayed. Is there some kind of formula I can use to display them in rows of 5 at a time There could be anywhere from 50 images to 500 images being loaded at a time. I don't want the images to be displayed one row at a time like it is right now, but i can't quite figure out how to come up with the correct row and column offset numbers when setting the location for each picture box. thanks in advance! Try this algorithm int i, cnt = 0, currX = 0, currY = ...Show All
Smart Device Development How to change the device emulator screen resolution to 640x480 ?
Dear Ppl, I have been working on a PDA applicaion for a while. The device I was working for got the screen resolution 320x240. Now i have got a new device which got the resolution 640x480. The Windows Mobile 5.0 device emulator that comes with VS.NET 2005 got the screen resolution 320x240. Is there a way I can make the screen resolution of the device emulator to 640x480 Awaiting Nabeel ...Show All
SQL Server SQL Server Connection Problem.
Hi, I Have installed SQL server 2000 on a windows 2003 server.Client version of SQLServer 2000 is installed some of the client machines. I'm also able to register the SQl Server in those client machines. But I am facing the problem while connecting SQL server 2000 database from the client machine through the ASP.net application connection String. But I'm able to connect the SQL Server database on the local machine. So I'm sure there is no mistake on my connection string. The below error I'm getting "SQL Server Doesn't exists or Access denied" Kindly help me to over come this. Thanks in advance. Regards, Are you able to reach the SQL Server box from the machine that has problem conn ...Show All
Game Technologies: DirectX, XNA, XACT, etc. memory leak
My game slows down to a creep and eventually its using 100% of resources for a simple 2d game. ...I'm thinking it must be a memory leak. Being relatively new to C# and XNA, what is the best way to find and kill the leak C# is all about garbage collection, some of C# is built on COM and win32 etc, this can leak. However components built on these thing usually implement the dispose pattern. Components that use this pattern have a Dispose() method you should call, this will do a proper release of these resources. The gabarge collector will release those resources also it will dispose also, but you cannot guarentee when garbage collection will happen. C# has the handy using keyword (not the same as t ...Show All
Game Technologies: DirectX, XNA, XACT, etc. I made a DirectInput (MDX 1.1) GameComponent...
I've made a quick DirectInput GameComponent that supports "legacy" controllers through DirectInput. If anyone is interested I'll figure out a place to put it so you can download it (and hopefully improve it). Let me know. That sounds pretty handy, Khass. A lot of folks seem to be wondering how to support such legacy controllers. Keep us posted! Dan ...Show All
Software Development for Windows Vista Major bug in Vista File Sharing (Peer-to-Peer)?
Major bug in Vista File Sharing (Peer-to-Peer) Description: Microsoft Vista will lockup when more than one Vista workstation attempts to access the same file in a shared folder at the same time. Steps to reproduce: 1. Install a new copy of Vista (Does not matter what version) on two different computers. 2. Install a new copy of MS Office 2003 each computer. 3. Share the Public folder on one of the machines so that other computers can access it. (We will call this Machine A). 4. On Machine A, create a new MS Word document in the Public folder and leave it open. 5. On Machine B, browse to the network share on Machine A and try to open the same Word document. MS Word will freeze and will not come back until the file is close ...Show All
Visual Studio Express Editions prank program on my friend :)
im making a program to pull a joke on my friend and i need a little help. the program's background is a picture of him and whenbuttons are clicked labels appear that say a 'smart' remark and other buttons appear. i am making it so that he has to enter a specific number in a textbox in order for the program's exit button to appear. if anyone can help to lead me in the right direction i would be incredibly grateful. thanks in advance problem: 1.) how to disable the ability for the program to be moved around on the screen. 2.) how to disable shortcuts such as Alt+F4 and double-clicking on the controlmenu .to minimize the mainform when it is maximized. 3.) how to disable Ctrl+Alt+Delete, or at least to change it to an inactive window when open ...Show All
Visual Studio 2008 (Pre-release) LocBaml Namespace
After running: msbuild /t:updateuid The x:Uid is added to my XAML file correctly, but VS Express doesn't like them. Apparently they aren't in the correct namespace. What namespace needs to be added, or how do I remove this warnings -- June CTP Visual Express C# The warning occurs in VS Express C# and reads: Warning 3 The 'http://schemas.microsoft.com/winfx/2006/xaml:Uid' attribute is not declared. This is after running: msbuild /t:updateuid projectName.csproj It has placed x:Uid="blah" in all of the XAML element like below: <Border x:Uid="Border_2" Style="{StaticResource MenuBorder}" DockPanel.Dock="Top"> <StackPanel x:Uid="S ...Show All
SQL Server Installing Data Mining Web Controls
Hello, I have SQL 2005 and Visual Studio 2005 and I’m trying to install the Data Mining Web Controls. I downloaded the SQL Samples and I’m following the instructions of the "ReadMe_Data_Mining_Web_Controls.htm" file, but when I try to install de data mining web controls the setup.exe does’nt create the folder "C:\Program Files\Microsoft.AnalysisServices.DataMiningHtmlViewers " and the folder "C:\Inetpub\wwwroot\aspnet_client\microsoft_analysisservices_datamininghtmlviewers ". Then, I don’t have the file "C:\Program Files\Microsoft.AnalysisServices.DataMiningHtmlViewers\Microsoft.AnalysisServices.DataMiningHTMLViewers.dll " for using the web controls. Can somebody help me Dunia ...Show All
Visual C++ Changing Static properties.. Is this impossible?
Hi there.. I have been trying for days now to change the property of visible on a static text control in my application to false during runtime. I have researched this and researched this, and even posted on Expert Exchange, but no one seems to know how to do this.... I'll post the answer I was given on EE.com, and hopefully someone here will know more about it. I have only been programming in C++ for a week now, so forgive me if this is a stupid question.... I have several static text controls setup in my application (DirectX pong game) to report various stats that assisted me in creating the game and diagnosing troubles that may arise setup in a console.rc resource in my project. These are displayed in a control panel beneath the ...Show All
Internet Explorer Development Close all Tabs
There has got to be a way to close all IE7 tabs....(C#) Have been trying keybd_event, throwing Control W's...with shaky results. ...Show All
Visual Studio 2008 (Pre-release) SplitButton
Hi, I would like to know if there is a split button available, and if so, what is it called or how do I create it If not, well then, is there another default control or way to quickly get the same behaviour. Thank you, Jaco Ah. You're referring to the one with the little drop down arrow on the right There is no built in implementation of this in WPF, but you can create one pretty easily. You would need a Grid with two buttons in it... one's the "default action" button, the other one is the button to click for advanced options. When the advanced options button is clicked you can show a PopUp which contains a StackPanel of other actions as buttons. HTH, Drew ...Show All
Visual C# Convert array to nullable array
Hi, The following code does'nt compil : int[] tab = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 }; int [] nulltab = (int [])tab; Cannot convert from 'int[]' to 'int [] How I can cast my array Thanx int[] tab = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 }; int [] nulltab = (int [])tab; Why do you need a "nullable" array Arrays are already nullable. You can do: int[] tab = null; if (tab == null) ... Etc. ...Show All
Software Development for Windows Vista Can not use mixerOpen() callback to receive MM_MIXM_CONTROL_CHANGE message
As title, it is work on WinXP but can't work on Vista. Does anyone meet this issue ...Show All
