Santhosh Pallikara's Q&A profile
Visual Studio Express Editions Programming a Virtual File System
Does anyone know to Program a virtual file system It is for game files Programming a Virtual File System Well se what im trying to do is "encode" files to where they wouldnt be easily readable by anyone who downloads the game any better ideas someone told me that was best way... ...Show All
Visual C# Access A Treeview From Another Form
Hi, i need to know how i can add a node to a treeview that is on a different form. You can do so in the constructor for the newly created form. For example, overload the constructor of the new form to take an extra parameter which will be a treenode. So if the new form is Form2 then you would have: Form2(TreeNode tNode) { ... } When you create Form2 from the old form you just pass that node in: newForm Form2 = new Form2(node); This might not make much sense of you do not have an understanding of object oriented programming, and referencing variables in C-centric languages [In c# class objects are pass by reference and struct objects are passed by value]. ...Show All
SQL Server Data retrieval is much slower in RS than in management studio
A call to a stored procedure completes in 13 seconds when ran from within SQL Server Management Studio. A report whose data source uses the same stored procedure can take as long as 10 minutes to run. The same parameter values are used in both the direct call and the report. The execution log says almost all of that time is spent on data retrieval. How could that be What might be the cause I'll give it a try. However, looking at the Parameters column from the ExecutionLog table confirms that the values are the same. The report has the same parameters as the stored proc and simply passes the its parameter values along to the stored proc. ...Show All
Smart Device Development How to Merge *.reg File From Code
Hello, Reg files usually are merged automatically during Cold Boot. Is there a way of merging a reg file from code (Something different than reading the file, parsing it and manually calling Reg functions from API.) The only thing I was able to find out about the issue was information about existance of RegMerge.dll. Thanks, Artur Good point. However, if you actually choose that item it would ask you "If you'd like to add it to registry" not if you'd like to "merge it". Menu in regedit states "Import". Another point would be what not everybody’s using explorer to import/merge/add registry files, some prefer command line or Start/Regedit/Import and might never see ...Show All
Software Development for Windows Vista PrintFilterPipelineSvc.exe getting closed.
Hi, My print driver is giving the following problem in RC1 WDK and VISTA. The print filter pipeline ( PrintFilterPipelineSvc.exe) is getting closed. Exception. Print Filter Pipeline Host stopped working and is closed. It may be because of DEP (Data execution prevention), which cannot be disabled for ( PrintFilterPipelineSvc.exe ) in VISTA OS. I am not able to find the exact cause of this problem, because the printdriver was working properly earlier before RC1. When trying to print an image in PhotoGallery I am getting the following error dialog "Windows can't find a print provider for this printer. You may need to re-install the printer and try again." Please help. Regards, Lalit. It looks like you are using the SimplePipelin ...Show All
SQL Server Dependency Network Graph Question
I have some problems in understanding the dependency network graph which is built in the association rules algorithm. My questions are: 1) Assuming an arrow goes from Node A to Node B ( A --> B), is Node A dependent from Node B or is Node B dependent from Node A 2) Are only rules used with one element on each side of the rule (itemset size = 2) or is the graph also influenced by rules with more elements 3) it is said that the slider on the left side is related to the probability of the rules. when viewing my rules table I don't understand why some rules are viewable later then other ones because they have the same probability. Is there another parameter influencing this slider Which one I would be grateful for your help! Regards, David ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Vision Camera APIs?
Are there APIs available for the Vision Camera under the XNA GSE If so is it possible to use it as an input device as in TotemBall ...Show All
Visual Studio 2008 (Pre-release) Routed Commands (bis)
Hi I tried to implement a custom routed command and referring to the thread "Routed Commands", mine doesn't work. Here are the code snippets: namespace CommandTesting { public partial class Window1 { public static RoutedCommand customCommand; public Window1() { this .InitializeComponent(); customCommand = new RoutedCommand ( "custom" , GetType()); CommandBindings.Add( new CommandBinding (customCommand, CustomOnExecute)); } private void CustomOnExecute( object sender, ExecutedRoutedEventArgs args) { MessageBox .Show( "help!!!" ); } } } < Mapping XmlNamespace="Local" ClrNamespace="CommandTestin ...Show All
Visual Studio Using the enterprise library with VSIP
I'd really like to be able to use the Enterprise Library with our VSIP packages for exception handling and logging. However, I'm not able to get the configuration source to use the app.config created with my package dll, and not "devenv.exe.config". Has anyone done this before Is there some way to tell the Enterprise Library to use one config file instead of another Thanks. Found the answer, thanks to Tom Hollander's blog entry . ...Show All
Software Development for Windows Vista Automate testing Website using C#
I would like to automate testing of a Website writing code in C#, The idea is to open the browser,navigate to the site,once the page is loaded search for a text box write some stuff in it click a button wait for the page refresh and search a string or an element on the page if so Succeeded else report failure, Guide me with some method or article describing the procedure how to do it, Thanks in advance Habeeb Hi Shaik, You can use this artical for referance http://www.webtropy.com/articles/InternetExplorer.asp Internet%20explorer . It's giving web automation code smaple. ...Show All
Windows Forms Microsoft SQL Server (SqlClient) connection for Visual basic
why when i try to add a datasource in visual basic 2005 the option for Microsoft SQL Server (SqlClient) is no show...only for Microsoft SQL databasefile Help please I use sqlexpress and Visual basic 2005 express I use visual web developer, in this case i can add datasource with sqlserver client ...Show All
.NET Development Custom (inherited) ConfigurationSection saved using Configuration.Save() Problem! Please Help!
I have taken a common Generic ConfigurationSection that was posted on some public forums a while back and modified it to be a fully generic ConfigurationSection for use on any generic object type. The purpose is to be able to write a Configuration Object that uses Xml Serialization attributes for how to write the XML configuration section. Well, everything works excellent, however, there is a problem. ObjectConfigurationSection and ConfigurationObject classes are defined in a shared assembly that is registered in the GAC and re-used. This assembly has a high likelihood of being upgraded over time, but I DO NOT want to have to upgrade the product. Since GAC assembly references in the <configSections><section> type attribute ...Show All
.NET Development vfpoledb & cdx > dbf problems
When I try to open, (i.e. join), .dbf files using vfpoledb and there are .cdx files present in the free table directory. It will not work. I get a prompt for a 'convcpp.prg'. This must be a run-time expression compiler or something. I am using C# over FoxPro and VFP tables. When I copy the .dbf and .fpt files to another directory, then I have no problem with the vfpoledb data access. I don't get these prompts with the ODBC drivers. Is there a way to specify in a connection string for vfpoledb to ignore .cdx files A read-only scenario for my vfpoledb connection would suffice for now... and what are those prompts for .prg I've never used FoxPro or VFP. My problems show when I try to query with joins, which is what the .cdx files concern t ...Show All
Visual C++ Why does VS rebuild all projects again when we start to debug?
Hello everyone, We have about 10 projects in our solution and obviously the rebuild of the solution takes some time. The problem I have with Visual Studio is that if I make a change to a project file(code change) rebuild the solution and then say "Start Debug" the whole solution rebuilds again for the second time even though it was built a second ago and no change has been made to the project files. Why does Visual Studio do this I would like VS to rebuild the solution on "Start Debug" only if changes have been made to the project files since the last rebuild. Is this a simple setting change in the VS or is there a reason it has to rebuild everytime on debug Any suggestions will be greatly appreciated. Thank ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How do I know if a resource is managed or not?
I'm following the recommended pattern on Loading Resources in the XNA Framework . I know that if I do something like the following: vertexBuffer = new VertexBuffer(device, typeof(VertexPositionTexture), vpt.Length, ResourceUsage.WriteOnly, ResourcePool.Managed ); Then that is a managed resource. But what about the following resources Are they managed or not How do I tell for resources where you don't specify a ResourcePool effect = new Effect(device, compiledEffect.GetShaderCode(), CompilerOptions.None, null); texture = Texture.FromFile(device, "mytex.png"); vertexDeclaration = new VertexDeclaration(Device, VertexPositionTexture.VertexElements); Also, just to make sure, I never have to call .Dispose() on a managed resour ...Show All
