DiscoverIT's Q&A profile
Audio and Video Development Pixel Buffer Questions
Where in the spec is the Pixel Buffer discussed My kingdom for an index. Is the Pixel Buffer for markup elements only Or does video also use the Pixel Buffer If I scale a 10x10 image to 10x20, is the Pixel Buffer footprint 100 or 200 It's supposed to have a footprint of 100 pixel. Take a look here: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=765076 ...Show All
SQL Server Insufficient base table information for updating or refreshing
I am using MADC 2.8 to connect to Sql Sever 2000. The Connection string uses a File DSN. I get few records into a Record set using Select Command. Then I update one Col in the Recordset and Updates the database table. I open the recordset in I am getting "Insufficient base table information for updating or refreshing" Error some times . This Code executes in a Multi user Environment. I tried to recreate this error condition on my local system by Deleteing/Updating the Reocrds from the table and even locking the table. I get this error "Row cannot be located for updating. Some values may have been changed since it was last read." Are both of these errors connected or is there any way i can get rid of th ...Show All
Visual C# With "FormBorderStyle.None;", how can I move the form by mouse?
using " FormBorderStyle = FormBorderStyle.None; ", I can not change the location of the form when running... Is there any way to drag the form around as I like Thanks! you would have to change the FormBorderStyle in this case to do so, if its set to none then it won't allow you to move the form closest one probably is the SizableToolWindow however it wont appear in the taskbar or when you do the ALT + TAB combo to look at your current running programs ...Show All
Windows Forms negative value of custom control property: strange behavior in designer
I have a custom control which contains a custom version of the ProgressBar. This control accepts double minimum and maximum values which define the range of the custom ProgressBar. If I set, for example, a min val of -10 the Progressbar is correctly drawn and the code runs without problem. Then, if I reload the designer, the min value is changed to 10 (positive) in the designer window, but in the code it is still -10. If then I build and run the project it behaves correctly. Then, if I modify something in the designer window forcing to reload the form code, min value is set to 10, according to the value in the designer window. Why does this happen Is it a parsing problem I can't understand your reply. Wha ...Show All
Visual Studio Team System Build problem TF42004
Hello, I Have problem with Team Build. When I star building, everythink goes well, but soon as building has started I got a faild message: Team build failed to open folder \\fihel-mibsw02\TestWork\Hei\Testi2_20060607.1 . The system cannot find the specfied path. I am totally lost with this. Hi Aaron, I have followed your instructions in your answer for my own build, but am still not able to get a successful build. The TFSService account is added to the Build group, the account also has full permissions to the share. but I still get the access denied error in the log for the folder that the build is attempting to create - i.e. Drop location = \\SERVERNAME\SHARE\Alpha_20061212.12 . Access to the path '\\SERVER\SHARE\Alpha_2006121 ...Show All
Visual Basic week number
Hi How can we calculate week number in one month. I am bit confused about caliculating this week number in one month for example if we take today date 8/12/2006. Now we are in which week 2nd or first week (in december month) Our zone is united kingdom.. Any help Thanks Dim a As New DateTime(Now.Year, Now.Month, 1) Dim week As Integer = ((Now.DayOfYear - a.DayOfYear) / 7) + 1 ...Show All
Software Development for Windows Vista Vista Certification Test Cases V1.2 Test Case 18
Hi, question concerning ProductVersion-Property of installer package: is it necessary that this number must correspond with ProductVersion-Property of the executables or is it allowed that there are differences (My problem is, that we had used same Version-number for File- and Product-Version property of the executables whereas major number is the year of release (e.g. 2007). While validating msi package ICE24 error occurs). Concretly: can I set ProductVersion of msi to 7.1.0.0 and File/ProductVersion of MyApp.exe to 2007.1.0.0 We've been working with this group Keystone that has been real helpful with answering questions and keeping us updated on the certification program. The two guys I am working with are Curt Maly and Bill Hall. ...Show All
Visual Studio Express Editions The Form1_Load event will not occur
This is very disconcerting. Any new project will not show the main window. I noticed that the Form1_Load event is not happening even though the Form1_Load () sub is clearly specified as the handling procedure for the load event in the events section of the properties window for the Form1 form. Does anyone knows what is going on. I even did a side by side comparison of an older program, stripping it from everything and leaving only one form, called Form1 and a new project containing also one form called Form1 and made sure everything was equal in both instances of the IDE but still…the new project appears to run correctly but exits without every loading Form1 while the old one works as expected. I also uninstalled the net framework 3 ...Show All
Game Technologies: DirectX, XNA, XACT, etc. question about ATI 3D Rage pro
Is my ATI 3D Rage pro graphics card fully compatible with XNA or do I need to upgrade, and if I upgrade which ATI card will work the best with XNA Unfortunately the ATI Rage Pro is a little bit dated for XNA. If you want to buy a new card you should check first the graphics slots of your motherboard. ...Show All
Windows Forms Get problem when deploy my project!
I deploy my project use Crystal Report by follow these steps: 1) Start Visual Studio 2005 (Beta2) 2) Select File , then click New Project . 3) Choose Other Project Types and Setup and Deployment . 4) Select Setup Project 5) Add in your project output, file, assembly...etc 6) In the Solution Explorer, right-click the setup project name, and click Properties 7) From the Property Pages dialog, click Prerequisites 8) In the Prerequisites dialog box, under the Choose which prerequisites to install list, select .NET Framework 2.0 and Crystal Reports for .NET . I check Create setup programe to install Prerequisites and choose Download Prerequisites from the same location as my application . 9) Back to Property Pages dialog, ...Show All
.NET Development Help with MS Access SQL Query
Hi, i'm using an MS Access Database file and i need to fetch a certain amount of rows but "TOP" statement isn't enough because i want to show 50 results per page in my application, can someone tell me how can i fetch records between 50-100 i tried to use "LIMIT" statement from mysql ("Select * From SampleTable LIMIT 50,50") but that doesn't work on ms access. "Select * From SampleTable" is how my sql statement looks without any restrictions. Can someone help me with this. Thanks in advance. Note : My table contains a dynamic number of records so i can't use any query logic based on record count. As I know Access does not support LIMIT and does not have any built-in functionality to select records in a range. What you ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Simple grid component
After seeing a Color.CornflowerBlue screen far too often, and no source to Mitch's Grid component, I decided to have a go at my own. There's not much to it, and I'm sure you'll all tell me how to do it better (I hope so - only one way to learn!), but I thought it worth posting all the same. If anyone wants to put it (or a modified version) on their site along with the other stuff going up, feel free :) Not sure how it'll come through here, but you can download the file here: http://www.dannytuppeny.plus.com/Grid.cs using System; using System.Collections.Generic; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Audio; using Microsoft.Xna.Framework.Components; using Microsoft.Xna.F ...Show All
Visual C# While Loop Optimization
I have a while loop that tests the value of (A*B > SomeNumber). This while loop is repeated at the very least several million times so code efficency is very importatant. A and B do not change while the loop is running. My question is would it be more efficent to first get the product of A and B and then test that variable against SomeNumber, or does it not matter Any other tips for optimization would be helpful too, thanks in advance. This is a general advice reply...look into NGen tool for performance upgrades at the assembly / application level. Read up on it in an MSDN article NGen Revs Up Your Performance with Powerful New Features . ...Show All
Software Development for Windows Vista Consistent set of components
Please consider this as a plea for help - not a complaint I just downloaded and installed the newly released .NET 3.0 RC (Release Candidate) as well as the Update for Windows Communication Foundation (KB912817) which has likely nothing to do with WWF, so I am mentioning it here for the completeness sake. In addition, I installed the Visual Studio Extensions for Windows Workflow Foundation RC4, after the RC5 failed to install. Finally, I installed the Hands On Labs from http://wf.netfx3.com/files/folders/documentation/entry4919.aspx Then, I tried to re-create the Lab1 and found that everything behaves as it should, I was able to compile the application with no errors. However, setting the break point does not cause the appli ...Show All
.NET Development Does anyone know the reason for this error.
Hello, I'm getting an error while trying to read XML into a dataset and I was wondering if anyone knew what the error might be. Here is an example of the data causing the error... the error is an Expected End Element error. <data>--- summary </data> It's the --- that looks to be iffy, when it's removed the data imports fine. I was wondering if the import is seeing the >--- as a comment or something. Thanks Hi, Thanks for looking into the problem for me guys, I tried out the file with a XmlTextReader and I got the error again. So I decided to investigate the problem more and I think I know what is causing the problem and it's not the --- I first thought, although I know why I thought it was. The XML ...Show All
