John Zolezzi's Q&A profile
Audio and Video Development Debug Help with Simple Animation
I trying to debug a small problem. I cannot get the animation to activate. I'm missing something simple. MARKUP < xml version="1.0" > <root xml:lang="en" xmlns="http://www.dvdforum.org/2005/ihd" xmlns:state="http://www.dvdforum.org/2005/ihd#state" xmlns:style="http://www.dvdforum.org/2005/ihd#style" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.dvdforum.org/2005/ihd http://www.dvdforum.org/2005/ihd/iHD.xsd"> <head> <styling> <style id="BACKGROUND" style:position="absolute" style:backgroundFrame="0" style:backgroundImage="url('bg_main.jpg') ...Show All
Visual Basic Manner to retrieve total amount of memory used by a launched process & it's children?
I've written an app that launches a .exe file as a synchronous process and monitors it's processID while waiting in a loop. While in that loop, I can check the stats of the .exe's process, returning info I need such as the maximum amount of memory that was used over the course of it's "run". However, I've noticed that the Process Class properties (.PeakVirtualMemorySize64, .PeakWorkingSet and others) only report the memory used by the .exe (root process) itself--they do *not* take into account any memory used by any child processes that the .exe might utilize. Since the Process class does not contain a "childProcesses"-type collection, I am unable to recursively loop below the level of the parent exe process and get a t ...Show All
Windows Search Technologies MS Project Filter for WDS
Is there a WDS filter available for MS project files Hello Gordon, You can download an MSProject IFilter here: http://www.ifiltershop.com/ms-project-ifilter.html Paul Nystrom - MSFT ...Show All
Visual Studio 2008 (Pre-release) TranslateTransform on TextBlock clips text
I seem to be having some difficulty applying a TranslateTranform to the RenderTransform property of a TextBlock. I have managed to animate my TextBlock so that it moves left across the screen, but my problem is that only the text that was on the screen is shown, with the rest (that was initially off the right hand side of the screen) is never rendered. I am building a simple ticker, but having anything that was initially clipped never paint is obviously not too useful for me. Any help would be fantastic :) Ross. Edit: I should point out that it only does this if I change the text once it is animated. Once it is moving I change the Text property and then call Measure again on my text block but it does not seem to take the call to Mea ...Show All
Windows Forms DataTable
How I can get the value that is in a listbox and put in a datatable Thank you! Hi Leandro, You should use SelectedValue property for ListBox. Good coding! Javier Luna http://guydotnetxmlwebservices.blogspot.com/ ...Show All
SQL Server Alternative to binary_checksum?
I am using binary_checksum to verify dataintegrity between two servers but the algorithm apparently is not strong enough and returns false positives. Are there any alternative algorithms that can be used instead of or combined with binary_checksum I am running on SQL Server 2000. Rgds Bertrand A "checksum" will never guarantee a unique value. The best way to track changes it to use a change field and a trigger to update the changed field. Either a datetime or a Y/N or something. Then reset the Y/N or do a > last update date on the refresh. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Progressive Meshes
Hello there! I was trying to accomplish a complex LOD scenario and as far as I can see, there are no progressive mesh methods in the XNA framework (yet) like there are in D3DX. So I was wondering... will there be any framework-sided support for progressive/enhanced meshes in the final XNA (or the next beta) Or did I miss something What I am trying to do is the following (in case you are interested): A spaceship approaches a planet and is getting closer and closer - while the planets surface gets more detailed - until it lands on the surface without any loading screen or "cut" in between (just like in the Black & White games when you zoom in and out). I could not think of any other solution to that than using a progr ...Show All
Software Development for Windows Vista Using VB6 on Vista
Is VB6 support on Vista as a development language I have a VB6 application (which is pretty big), but when I come to compile it on Vista RC2 is fails to register all the activeX dlls that are build as part of the application. I did manage to get round it, but only by running VB6 as Administrator. In a day to day dev environment I don't want to do this every time. I am a local admin so why doesn't this allow VB to register my dlls. Does this behavior have something to do with UAC Thanks for your help Graham Hi. Yes, I've tried that. However when I run the IDE with that checkmark checked, none of the OCX's are found to be registered. The only way I can actually get the IDE to start nor ...Show All
Visual C# Stack and Heap Data Structure
hai all, value-type uses Stack Data structure, for method calls. ref-type uses Heap Data structure, for method calls. And my question is, What is Heap DS Anyone pls explain me . Also in this regard, how it is used with ref-types .That is how heap is used to change the original value Also, how is Stack DS used with value-types thanks.. Hi, Please go through the following link. Hope this helps. http://msdn.microsoft.com/library/default.asp url=/library/en-us/dv_vstechart/html/datastructures_guide.asp Thank you, Bhanu. ...Show All
Windows Forms Best way to handle shortcuts ?
Hi, I was wondering if there is a good OO-way to handle keyboard shortcuts. Atm my shortcut handling code consists of a big list of if else if else statements containing switch statements (if/else to detect the modifiers, the switch statement to handle the keys) As you might have guessed, this is ugly and not very clean. I tried using a Dictionary of Keys to Action (a simple void delegate) mapping. but the problem here is that the keys pressed never match those in the dictionary because extra modifiers and flags are present. I was wondering if anyone has any suggestions how to make a decent key to action mapping. Thanks, Ben. Are you using a ContextMenuStrip control for this Its men ...Show All
Microsoft ISV Community Center Forums Auto-complete entries in inputboxes
I have some vba code that prompts the user of Excel spreadsheets for various data items needed to complete tasks on the particular spreadsheet. I have not been able to come up with a way of auto-completing the entries once enough characters are entered to make them unique based upon a range of data entries that I already have available. If anyone can help I would appreciate it. Hello Pat, If you have a Range named "Names", say A1:A10 filled with names (any data). The following should do what you need. Any problems, feel free to write again. Chas Private Sub TextBox1_Change() Dim testStr As String Dim foundAdress Range("Names").Select For Each cell In Ra ...Show All
Visual Studio 2008 (Pre-release) Issues with generating .net 2.0 client for consuming a WCF service
hi all, I have created a WCF service and specified message contracts for defining how a request should be sent when invoking a WCF method and also the response. I am using a Windows Service to host the WCF service. The service runs fine and there are no issues with that. The problem is when I try to generate the proxy class (.Net 2.0 client), I am getting a warning as shown below Warning: This web reference does not conform to WS-I Basic Profile v1.1. R2710: The operations in a wsdl:binding in a DESCRIPTION MUST result in wire signatures that are different from one another. An end oint that supports multiple operations must unambiguously identify the operation being invoked based on the input message that it r ceives ...Show All
SQL Server The use of databaseFields in ReportHeader
Hi, I'm trying to use a database field in my reportheader. Normally this won't work but with the workarround with the 'hidden textbox' it works. But i have another problem. If that textbox is not on the same page as the header for instance, the subreport is two pages. My first page will show the field in the header as the second page won't show. Is there anyone who has another workarround to solve this problem greetz Hello, One way to do this would be to create a new dataset that depends on the same parameters of your main dataset and houses the value you are looking for. so the data set will have a sql statement that returns a 1 row 1 column result set. Create a parameter call it what e ...Show All
.NET Development the data adaptor does not "bring" the milliseconds in dateTime from SQL
hello, 1.when I am bringing the dateTime coulm (ScenarioDateTime) from the SQL express, it does not "bring" the milliseconds: SELECT ScenarioName, ScenarioDateTime FROM ScenarioItem am I Doing something wrong 2. the .net shows me the date in a difrent format of the SQL, how can i change the format to yyyy-mm-dd hh:mi:ss.mmm(24h) in the display of a comboBox in the .net thanks If you want to reformat the date value in a consistent fashion you can use the convert function like so: SELECT ScenarioName, convert(varchar(20), ScenarioDateTime, 120) as ScenarioDateTimeFormatted FROM ScenarioIte ...Show All
Windows Forms Control.FindForm() returning null
Does anyone know the situtions where Control.FindForm() would return null In particular, I'm looking for the form containing a button. This button is in a groupbox on a control derived from UserControl. There are several nested user controls, and there is class derived from Form containing them. I wrote this little ditty to try and work around the problem, it makes much progress, but does not accomplish the goal: /// <summary> /// recursively search for the parent form of a control /// </summary> /// <param name="c">control whose form you desire </param> protected static Form FindForm(Control c) { if (c.FindForm() != null) return c.FindForm(); else ...Show All
