Luis Esteban Valencia Muñoz's Q&A profile
Visual Studio 2008 (Pre-release) Vista style blur?
So I have a canvas, and I know how to plur a bitmap in its background, but how about if the canvas (that say takes up 25% of the window) had a transparent/translucent background and I wanted to blur the corresponding section of a bitmap in the background of the whole window - thus creating the Vista blur effect for the canvas' background. Anyone got any good ideas / tricks to do this I believe you could achieve this by painting the background of the canvas with the equivalent part of the image that is behind it (by using an ImageBrush, setting the viewbox and/or viewport), and use the blur bitmap effect on the canvas. ...Show All
Visual C++ Release version crashes when not in debugger
When I run my program in the debugger,the program runs smoothly. It compiles without any warnings. I then try running it without the debugger and it crashes trying allocate memory for a new operation or in the xutility. Sample code: vector<Classname*> vVector; Classname *lpClassname=new Classname; //sometimes fails here if (!lpClassname->ReadFile(szFilename)) return false; vVector.push_back(lpClassname); //sometimes fails here Has anyone else run into this problem with pointers and vectors Memory allocated and handling is different in debug and release configuration. Read http://www.codeproject.com/debug/survivereleasever.asp article for clear understanding of difference between two ...Show All
Internet Explorer Development Favicon in IE7
Hi My site uses a FAVICON, which works well in IE7. However, I've noticed that if you create a shortcut to a webpage on your XP desktop, the FAVICON is used as the desktop icon. My favicon.ico file has 2 res images of the file, 16x16 and 32x32. However, the desktop icon picks up the 16x16 version and uses that. Is there a way to make it use the 32x32 version. Or can I get windows to use a default icon. Thanks thegooner, Can you tell me how you got your favicon to work in you website with IE7 If I call up my website using IE7, I get the Microsoft icon instead of my favicon. It worked fine will back level IE's, but it does not work with IE7. Thanks, TK-Inflight ...Show All
Software Development for Windows Vista Custom allocator presentation issues.
Can anyone provide me with some insight into this problem Using the VMR9 I have implemented a custom allocator which is working fine with no memory leaks, or issues. It will render till the cows come home on a single stream or multiple streams with the same time base. Once I attach an AVI and a 30 fps capture device it will run for 1-3 seconds and then I get a Direct X exception on my BeginScene call. I have determined that it is related to the frequency with which each graph is calling PresentImage. By backbuffering the frames and then syncronizing my rendering to the faster of the two streams the problem is eliminated... This however creates minor artifacting every so often when the capture device has a buffer or the device locked. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XNA Game Engine: Xna5D Alpha Release!
I have been posting here... trying to post a bit more and get involved with helping. My name is John Sedlak (hence the username), I am 20 years old and am currently taking a semester off to work and code in my spare time. I will continue being a poor college student this spring however... anyways. Here is my project so far: Xna5D! Since late September / early October I have been working on the sequel to my MDX2.0 engine, Dx5D. I have finally got the code to a state that is acceptable for some sort of a release, hence the Alpha tag. Xna5D is all 2D based code so far, although 3D is certainly planned for its future. Here is a breakdown of what is in this release and how to get it. For more information please visit http://jsedlak.org/ ...Show All
Visual Studio Express Editions how can I make an application read an rss file
I'm making a feed program but I need it to have the ability to read rss files(XML). How can I make my program act like an rss reader. Check out lession 12 in Learning Resources for Visual Basic Express . ...Show All
Internet Explorer Development IE7 and page-break-before
I have some code that uses page-break-before: always that works fine in IE6, but in IE7, the page-break-before is ignored. Was there a change in this behavior that I have not seen documented --SOLUTION-- Page break before and after ect no longer work on elements with no contents. Either put a inside the element (must be block level) you're doing it on, or put it on a table. <table style="page-break-after:always"> <tr><td>raa</td></tr> </table> that works <div style="page-break-after:always"></div> does not work <div style="page-break-after:always"> </div> does work ...Show All
Visual Studio 2008 (Pre-release) Where to Download XAMLPAD?
Hi, I am looking for XAMLPAD, does anyone knows the link to download it The closest I could find is XamlPadX v2 at http://blogs.msdn.com/llobo/archive/2006/12/30/xamlpadx-v2.aspx Not sure if this is the correct one Thanks Ponnu xamlpadX is basically an extension of Xamlpad in response to customer requests. In effect its the same as xamlpad. ...Show All
Community Chat Hottest Technology for webdesign
Hi guys, I am looking to make my first website. I know about dreamweaver and frontpage, but what other web-building software is there that's really popular and can get the job done well Anything free Thanks, Cyan I use 1st Page 2000. It is 100% free unlike its later version. The 2000 version is only a text editor and shortcut buttons to generate the code for you, like a swap image button. You need some HTML experience and you will learn more about HTML along the way. Program like Dreamweaver lets you move image and stuff around and generate the code for you; it is very easy that you don't need to learn HTML. I prefer text editor because I like to know what I am doing. Later version of ...Show All
Visual Studio Express Editions Fill an array from a text file.
Sir/Madam, I need to fill an array from a text file. My text file looks like this for different people. First Name|Last Name|Address|Phone First Name|Last Name|Address|Phone First Name|Last Name|Address|Phone First Name|Last Name|Address|Phone First Name|Last Name|Address|Phone Do you know of any way to put these into an array from a text file where the "|" symbol seperates the columns Any help would be greatly appreciated! Each cell will contain only 1 value. For instance, in the first row, the First Name will be cell (0,0) The "Last Name" that corresponds to the "First Name" will be cell (0,1)..... In the second row, the First Name will b ...Show All
Game Technologies: DirectX, XNA, XACT, etc. the error
I would like my game to come up to the opening scene, and when i press the spacebar it goes away and my game starts. I have tried something like this in my program: void _startGame; { using (Blank game = new Blank()) { game.Run(); } } But when i press spacebar it gives me an error. Thanks, for the help! Ok, so i understand i cant run another game in the same window, so how do i make it to where the splash screen appears and when spacebar is pressed it goes away and there the game is. Or maybe even a button that would make the splash screen disappear. If you can plz right the code and thx again for all the Help ...Show All
Commerce Server Product Popularity
What is the recommended way to track and sort products by popularity since the Predictor has been removed Are there controls in place for this If I understood the question right, you are looking for a "best seller" list within a period of time. Colin's method certainly works directly against the database. Just be aware that the tables are used for online production purposes, so you'll want to avoid running the script at peak times (e.g. schedule it for a nightly run at off peak time). Additionally as Joseph hinted. There is a Product Sales report available that you can run. You'll need to run the Data Warehouse import first, and then view the report (it's parameterized so you can specify the date range). This method i ...Show All
SQL Server omitting null columns
Hey everyone, I haven't got any idea where to even start looking for a solution to this problem so any help would be appreciated. I'm trying to write a stored procedure that will return a table yet omit any columns that don't have anything written to them, so any columns that have no data will not be present in the table returned after the stored procedure. Thanks in advance. Menace is right: The dynamic SQL to accomplish what you want is pretty ugly. Here is an example of one way to do it: create table dbo.example ( column_01 integer, column_02 float, column_03 integer, column_04 varchar(30) ) go insert into example values (1, null, 2, 'This is a test.') insert into example values (2, null, null, ...Show All
SQL Server call a sap remote-function-module from t-sql Stored-Proedure
Hello, is it possible to call an sap remote-function-module directly from a stored-procedure in SQL-Server-2005 If yes, where can I find an example Thanks Gerd Hi, Never touched SAP, but can you run the remote function module from a DOS prompt if so, could you use xp_cmdshell from the extended stored procedures Just an idea :) Cheers, Menthos ...Show All
Visual Studio 2008 (Pre-release) Quick NetMsmqBinding question
Hi guys, I have a quick question about the NetMsmqBinding. I knew the answer to this at one point but managed to forget and now I'm having trouble finding the answer again. For the NetMsmqBinding, the queue needs to be on the Service-side right Can you use a queue on the Client-side or on a third machine Thanks, Ting Hello, there are two queues involved in a typical MSMQ scenario. - there's a destination queue, the one you specify in address. This is where the server picks messages from. This queue typically resides on the same machine as the server application, although it is possible to have it on some other machine. The server application has to have a live connection to the destination queue in order ...Show All
