KalyanPushpala's Q&A profile
Software Development for Windows Vista Garbage folder "ConfigSetRoot" appear after vista install
Following Windows Vista OPKFest lab Creates Windows Vista Product DVD. After install complete , one folder named "ConfigSetRoot" will appear and it's size is 2.5G or more. Our company's products ship with WIndows Vista Product DVD. Didn't want this Issue feedback from customer. Here found out when install used autounattend.xml , the folder will appear after Vista Installed. Asking for Microsoft have and update for Vista OPKFest to sovled this issue, please, thanks ! ...Show All
Software Development for Windows Vista Dropping frames using Directshow
Hi, I am writing an application for preview and capture of Basler A602f cameras using the Basler directshow filter. The camera uses firewire interface and is capable of capturing at 100fps at 640x480 (~30MB/s). However, I am only able to capture at around 90 fps at that resolution. I am sure that my hardware is capable of supporting 100 fps at that resolution as I have used an application that uses the driver to do so. Hardware specs are as follows: Windows XP Professional Dual Xeon 3.0 Processor (CPU usage only 20% max when running application) 4 x SCSI U320 in raid 0 (NTFS) Firewire card plugged into PCI-X. I am using preallocated capture file. Have also tried capturing without preview.I am able to preview at 100 fps wi ...Show All
Internet Explorer Development Please help
Hi, I want to download a file type (which have new extension) from a web page without prompting 'open and save' file download dialog box from internet explorer. i have done file type registration by using folder option>>file types >>new. i am opening this file type by using .exe (which is created by me). This dialog box is appearing when i am downloading from web page. dialog box not contain any "always ask before opening" checkbox. please help ...Show All
Visual C# generics: T Create<T>() where T : MyClass, new(...)
Is there a way to enforce a non default constructor And if not, why not ! I wrote a class that implements a constructor that is in need of an XmlDocument as a parameter. Several other classes inherit from this base class. Now I would like to write a generic create method that instantiates one of the child classes and sets some base properties: class MyClass { public MyClass(XmlDocument xmlDoc) { ... } public ElementName { get { .. } set{ ... } } } class ChildClass1 : MyClass { ... } class ChildClass2 : MyClass { ... } class MyClassFactory { ... public T Create<T>(XmlDocument xmlDoc) where T : MyClass, new() { T myClass = new T(xmlDoc); ... } ... } Obviously that does not work because the generic all ...Show All
Visual Studio 2008 (Pre-release) TabControl hiding tab headers.
Hi. I have some code to hide tab headers when there is only 1 header, thus: < Style x:Key = " MakeInvisible " TargetType = " {x:Type TabItem} " > < Style.Triggers > < DataTrigger Binding = " {Binding ElementName=CustomTabControl, Path=Items.Count} " Value = "1 " > < Setter Property = " Visibility " Value = " Hidden " /> </ DataTrigger > </ Style.Triggers > </ Style > When used as the item container style, this works perfectly. Note that this is using element name binding. When I change it to use RelativeSourceBinding, thus: < Style x:Key = " MakeInvisible " TargetType = " {x ...Show All
SQL Server HOWTO disable package start / finish events in eventviewer
hi all, i searched and all i found is questions, not answers. maybe it's a silly question, but i really can't find any documention / posts about this. i have a scheduled job in sqlagent that executes a SSIS package that runs every minute. As a result, my application log in eventviewer gets filled very quickly. i tried using "/REPORTING E" option with no luck. i tried enabling logging on the package, and then select only the OnErro Event, no luck. does anyone have this problem does anyone have a solution TIA Thanks for the reply. i know that Logging is very configurable, but, where can i configure in order that start / finish events won't appea ...Show All
Visual C# error CS0117:'System.Exception' does not contain a definition for 'Error'
catch(System.Exception e) { for(int i=0;i<e. Error .Count;i++) { _errInfo += "Error Sequential Nubmer:" +i+ "\n" + "Error Info:" + e. Error .Message + "\n" + "Error Source:" + e. Error .Source + "\n" + "Program:" +e. Error .Procedure; } System.Exception contains several properties which give some information about the exception that occurred. If you would like to know how to check at which method the exception occurred, and in which object, you could do this with reflection. This is rather expensive, but might be useful... For more information, read this post on my blog. ...Show All
Visual Studio Team System Trying to move source causes weird error
I am trying to move a source project from one team project to another. I keep getting the error: The item $/foo/webui/webapp/obj/Debug/webapp.dll is locked for check-out by domain\user1 in workspace computer1 But I don't even see this file in the source control tree. I don't even see a folder for $/foo/webui/webapp/obj. How to diagnose this Hi Jason: I admit that sounds bizarre. Lets try something really quick. Run the following from the command line: tf dir $/foo/webui/webapp/ do you see the folder obj If you do try to dir the debug folder and consequently run a tf status on $/foo/webui/webapp/obj/Debug/webapp.dll thanks, mario ...Show All
Audio and Video Development Scaling with Media Foundation transform
Hi I'm trying to write a transform that among other things does scaling. To Test it I'm using the PlaybackFX from the Media Foundation samples. The problem I encountered in is that in the transfrom filter it looks like the other parts of the topology is ok with the scaling (I'm getting SetOutputType() with the scaled size), but in the player it doesn't seem like working. I tried to get the video size using IMFVideoDisplayControl::GetNativeVideoSize() and I'm getting the original size before the scaling (the MSDN describe this function as a way to get the size prior to any stretching by the video renderer, so I expected it to be the scaled size). I also tried to set the video size to the output size of the ...Show All
Visual J# Embedding Java in C# Project Library
Hi, I have a C# solution (.NET 1.1) where someone has integrated a java application source files in a library project. Just for the record this application is fop 0.20.5. Currently I need to adapt this solution to use the latest version of fop (0.92beta). When integrating the files and compliling I get many java errors in the imports. Some examples: import java.awt.geom.Point2D; import java.awt.color.ICC_ColorSpace; import java.io.FileFilter; and some others... Can someone help me out What am I missing I have in the references vjslib and also downloaded VJSSupUILib but I still get all these errrors..... Hi. Thanks for the answers... This whole thing is too new for me. Is it possible that using a ...Show All
Visual C++ symbol IDR_TOOLBAR1 undefined.
Hi, I am creating a win32 application with Dialog , i want to create a docable toolbar in that dialog, when i inserted a new resource (Toolbar) named IDR_TOOLBAR1 and using it in source file, resource.h file already included, yet it doesn't recognise IDR_TOOLBAR1, when i find the definition for the same from context meny, it gives a message 'symbol IDR_TOOLBAR1 undefined', but it is there in resource.h. If code for implementing the Docable toolbar in dialog in win32 application, that will be very helpfull for me. Any help will be appreciated. I think you might have renamed that control after adding it. most probably the error will be coming from DoDataExchange function where the controls get binded. Even you rename the s ...Show All
Visual Basic OleDbDataAdapter Wizard - select command vs. stored Procedures
Typically I use select commands with the wizard and I don't ahve a problem. Today, I tried to use a stored procedure and I get an error. I see what its doing but I don't see a way around it. When I select the radio button, 'Use Existing Stored procedure' in the Configure Data Adapter Wizard, I chose the stored procedure from the list for the SELECT. After that, I chose FINISH. When I try to preview the dataset, I get an error that the stored procedure was not found. However, the name of the stored procedure it displayed is basically correct, except it has a semicolon and the number one (;1) at the end of the name. when I check the xxxxx.designer.vb file, here is what I found: Me .OleDbSelectCommand1.CommandText = "dbo.[proc_ ...Show All
SQL Server Understanding ROLAP
We are looking at adding a real-time aspect to our SSAS cube set, to allow reporting against a relatively small but constantly changing data Our initial thought was to use ROLAP partitions and dimensions - we were under the impression that the queries would always be satisfied from the underlying relational tables. However, in our explorations we are finding that understanding to be incorrect - SSAS is in fact caching data, so it ends up returning stale data. We've configured our paritions and dimensions for ROLAP and disabled all proactive caching (we would like this solution to work with SSAS Standard Edition, which precludes the use of proactive caching). Is there something else we need to figure Are are we headed down the wrong path h ...Show All
Game Technologies: DirectX, XNA, XACT, etc. PC Gamepad Input in XNA
I've written an XNA wrapper for PC Gamepad support (via DirectX's DirectInput), and released it as Open Source: http://sourceforge.net/projects/xnadirectinput/ Download and enjoy. You can pretty much use the class (DirectInputGamepad) as though it were a 360 gamepad, with a few exceptions where PC gamepads differ from 360 ones (for example, PC gamepads support far more buttons, but may have far fewer). I would love to see a little more info about this. Im just starting to learn and play with XNA, and the gamepad thing already bugs me. I was just looking for some way to use Direct Input with c# to try to read the gamepad and came across this.. Would love to see some sample code to see how this is ...Show All
Visual C# Communicating with my USB MIDI Keyboard..
I'm trying to write a C# program to communicate with my MIDI controller keyboard which uses a USB connection and shows up as a USB Audio Device. I'm wondering how exactly I can communicate with my keyboard, since I'm going to write a program that will play the appropriate note, and run in the background, so I don't need any other programs running just to listen to what I'm playing. I've been unable to find any information on how to access my USB device, and though there are some C# USB communication libraries, I havent exactly figured out how to work them, considering usblib-win32 has no documentation of it's own, and usblib's own documentation os so minimalistic to the point of making little to no sence to someone who doesn't have ...Show All
