programmer01's Q&A profile
Gadgets Image PReview
Hi, I need to know how to use an image preview script in the settings.html part of my gadget, because i added the ability to change backgrounds of the gadget it would be nice if i could use an image preview script to show the background before applying it to the gadget. please let me know guys!! TIA for all your help. This is the code I use, slightly modified (tho not much) from another gadget: in your settings.html file: <body onload="init()"> <DIV style="position:absolute; top:0; left:0; width:260;height:150; background-color:white; border-style: solid; border-width:1px; border-color:rgb(180,180,180); overflow:hiddem;"> <DIV style="position:absolute; top:50% ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Build for Xbox 360 and Windows in one project
I have created a Visual Studio project template that can be built for either Xbox 360 or Windows, by selecting the correct platform in the VS IDE. There's nothing particularly clever about this, it just uses some of the conditional abilities of MSBuild projects to merge the properties of an Xbox 360 XNA project with a Windows XNA project. There's a slight problem though - the VS Express C# IDE has, by default, disabled the build configuration and platform settings to present a simpler interface to beginners. In order to use this project template you need to re-enable these features and should probably have a reasonable understanding of what they do. This could be the reason that the XNA devs have mentioned that building for both platforms ...Show All
Visual Studio Team System MS Project and "Assigned To" field
Hello, I'd like to know if it's possible that the "Assigned To" field in Team Foundation has the format "firstname.lastname" instead of "last name, first name". I have to publish my MS Project plan in a global MS Project server of my company, that uses the "firstname.lastname" format for the Resources Pool, so when I try to syncronize with Team Foundation I get an error because the "Assigned To" field is not a valid user. Please, could you help me Thanks, Montse Montse, The fix will not address your issue. It will fix the problem where Project considers the comma to be a separator and breaks the user name into 2. I'll have to find out ...Show All
SQL Server Uninstalling SQL 2005 Completely
hi all, i have gone through the thread which had the same subject but still it didn't work out.. i have even removed SQL 2005 install bits using msicuu2.exe but still i can find SQL 2005 in my programs list in start menu.... Can anyone please let me know how i can remove SQL 2005 completely when it does not show up in Add/Remove programs and WindowsInstaller Cleanup Tool but i can still find it if i navigate to Start --> All programs --> Microsoft SQL Server 2005...... regards, All my attempts till step 2 gave me error message "registry enumeration failed". But when I tried step 3 I am getting some other error message: "The Setup has encountered an unexpected error in datastore. The action is R ...Show All
Software Development for Windows Vista AmCap Sample Source Code
Hello, Someone know where can I download "AmCap Sample" source code I need to download the whole SDK It has more than 500MB !! I just need to view camera image and capture frame when I press a button in the UI. Thanks in advance, Guilherme Guilherme Labigalini wrote: Try DirectX SDK And Windows Platform SDK. If you whish send me a e-mail and I can send to you the source of AmCap. But to compile, you will need SDK. (You can google for .h files and discovery SDKs) guilherme.labigalini at gmail dot com I beliave that SDK are http://www.microsoft.com/downloads/details.aspx FamilyID=c2b1e300-f358-4523-b479-f53d234cdccf& ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Missile Commandeer Game (including Source)
First XNA game...done! It's an old school missile commander clone (only its CommandeEr, like pirates...ARRRR!!!). I spent extra time to maintain the original "cutting edge" graphics to make it a true classic. Check it out... (I just added the screenshots, game and source code to my website) Click here for the game Improvements to come: - MIRV missiles - Extra lives - High scores - suggestions Very fun. I think I encountered the same issue with the missiles, but can't confirm since I was using my peripheral vision and didn't see what happened. Should points really be taken off if a destroyed city is hit again It's not destroying anything, right ...Show All
Visual Basic Simpler Coding?
Is there a simpler, more efficient way to code the toppings section, while still maintaining checkboxes I am trying to get away from the multiple If/ElseIf/Then statements, if possible. Thanks! Private Sub btnOrderTotal_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnOrderTotal.Click Dim pizzaCost As Single = 0 ' Base cost of pizza, based on size If radSmall.Checked = True Then pizzaCost += 12.99 ElseIf radMedium.Checked = True Then pizzaCost += 14.99 ElseIf radLarge.Checked = True Then pizzaCost += 16.99 Else MessageBox.Show("Please choose a pizza size.") End If ' Add on a ...Show All
Visual Studio 2008 (Pre-release) Windows Controls in Viewbox
I have a problem when putting several elements in a group and try to specify the coordinate space. I am writing an application to export XAML from our internal vector graphics. The source graphics has group concept and each group has its own coordinate space. To simulate the group concept, we use a Viewbox containing Canvas. Also specify the Width and Height. However, found that it works for shapes but has issue with controls like CheckBox. <Viewbox HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="Auto" Height="Auto" x:Name="Viewbox"> <Canvas HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="1000" Height=&quo ...Show All
Visual Studio Express Editions Capture a picturebox
I am trying to capture the contents of a picturebox. The picturebox's location property is 0, 0 Only the upper left corner of the picturebox and part of whatever is in the background, is captured. Dim b As Bitmap Private Sub CapturePictureBox1() Dim myGraphics As Graphics = PictureBox1.CreateGraphics() Dim s As Size = PictureBox1.Size b = New Bitmap(s.Width, s.Height, myGraphics) Dim capturedGraphics As Graphics = Graphics.FromImage(b) capturedGraphics.CopyFromScreen(PictureBox1.Location.X, PictureBox1.Location.Y, 0, 0, s) End Sub Private Sub Button1_Click(ByVal sender As System.Object, _ ByVal e As System.EventArgs) Handles Button1.Click CapturePictureBox1() End Sub ...Show All
.NET Development No symbols are loaded for any call stack frame. The source code cannot be displayed.
Hello. I installed VisualStudio.NET 2005 a few days ago. ( not beta ) While I'm debugging, I'm faced with strange message box. -- MessageBox -- No symbols are loaded for any call stack frame. The source code cannot be displayed. -- Debug Detail Window -- FatalExecutionEngineError was detected Message: The runtime has encountered a fatal error. The address of the error was at 0x7a2b5aec, on thread 0x358. The error code is 0xc0000005. This error may be a bug in the CLR or in the unsafe or non-verifiable portions of user code. Common sources of this bug include user marshaling errors for COM-interop or PInvoke, which may corrupt the stack. How should I solve this problem Please answer me.. Thanks. Gwisun. ...Show All
Visual Studio Tools for Office MenuButton click event not firing
Hello All, In VSTO - I had created a Word Template Project, where I had created a new menu and attached an event handler to the menu button's click event. The menu and menu buttons gets created when I try to test this project, but these events are not firing when I click on any of the menu button. In VBA - Then I have tried to create a macro in which shows a simple message box and then I have created a menu button for this macro. And surprisingly this works. Now I want that above created VSTO menu button's click event should fire as just like VBA menu button, anybody has any clue regarding this Please let me know if any workout is there. Thanks and Regards, Vikram Chudasama Sorry for n ...Show All
SQL Server Help me ..to figure out a solution
Hello, Can any one tell me ..is there any restriction on the total number of records that can be added to a table ( SQL Server 2005) .Because .. i added 100 records to a table through my program..but i was able to c ..only the last 20 records which is being inserted..can any one tellme any way to increase the total number of records.. pls..help me.to figure out a solution Regards, Sweety You’ll have to be more specific... how are you adding these records What sort of error (if any) are you getting I ask because there is effectively no limit as to how many records you can add to a table. ...Show All
Visual C++ Installing Windows XP on Windows 95
I'm trying to install Windows XP on my other computer which has Windows 95. It won't download and I don't know why. I get a message that says it could not be loaded or is corrupt. Is there anything that I can do It's a Dell Dimmension XPS P100c Intel Pentium Prossesor, It has 32.0MB of Ram, the System Resource is 88% free, 32-bit for File System and Virtual Memory, the Disk compression is not installed and no PCMCIA sockets installed. Firstly you have asked in the complete wrong place. This is a section on the forum for people who program in a language called C++ Secondly it looks like your pc falls somewhat short of the minimum specification of windows xp: http://www.microsoft.com/win ...Show All
SQL Server Profiler for SQL Server Express 2005
Dear All, I need a tool to see what transactions and in what order are being issued against the SQL Server Express 2005 DB. Because of the SQL Server tools don't come with SQL Server Express 2005, then i run SQL Server 2000's Profiler with SQL Server Express 2005. But It prompt error "Failed to start a new trace". FYI, i don't want to use the backend sql trace .in command prompt.. Pls advise me on how to run the sql profiler to trace the transaction being executed in SQL Express 2005 Thank you. Thanks for replying the email. I got the idea of this "SQL Server 2000's Profiler works with SQL Server 2005" from some other forum. However it doesn' t work at all. So is there any ...Show All
Audio and Video Development 25FPS for HD DVD
Any news on players correctly playing interlaced video at 25 frames a sec. The Toshiba player doesn't seem to handle it well. Can you be specific about which Toshiba player There are, what, five models now I think. Does the Xbox player handle it 25fps support is optional per the HD DVD spec, and only for 50Hz markets I seem to recall. I assume you have some PAL video to play Which encoder/muxer are you using ...Show All
