hafizsohaib's Q&A profile
Windows Forms ListView versus Datagrid
Hi, I've noticed some major performance hits, in regards to the ListView control, when it comes to large record sets. The listview does seem to lag a bit at 6000 records with 4 columns, however, moving beyond this to 50k records literally cripples the listview. This listview control is being implemented on a standalone application with no databinding (programmatical sql to an arraylist - then constructed to an array and added to the listview via the addRange() method). At this point, I'm considering implementing a quasi paging function that would only apply to the arraylist (ie: sorting etc.) and my data structure (arraylist) would onl ...Show All
.NET Development Can i convert ascx page (presentation) to XML style sheet (presentation) through code.
Hi, I have an aspx page.I would like the presentation of the page which has data with some images to be saved as XSLT with same presentation as of aspx page. My aim is to save the content of aspx page with its GUI on local machine using XML. I surfed web but to no avail.I have to accomplish this task throug code only.Can this be done. Regards, Ashwin I have never heard about such tool. It may be not possible to convert arbitrary aspx page to XSLT. ...Show All
Visual Studio Team System Bug in MSF Agile Process Guidance Build 100.4 - Broken Workstreams Link
Workstreams links on the work item pages are broken in MSF Agile build 100.4 (MSFforAgileSwDevPG-50727.147.01.zip). When you click Workstreams link for any of the work items in the compiled version, it takes you to the overview page instead.When you do the same thing in the Source\ProcessGuidance.htm, it displays an empty workstreams page. ...Show All
Microsoft ISV Community Center Forums Excel Application.MacroOptions and libraries references problems
I created an add-in for excel that contains several user defined functions. The add-in is meant to be distributed among a wide range of users so that they have access to the udfs. In the add-in I use the following statement to add each of the udfs to a new category under the Insert Function Menu: Application.MacroOptions macro:="'add-in name.xla'!FunctionName", _ Description:="Function Description.", _ Category:="Company Functions" I created the add-in using excel 2003 on an XP platform and it works well under the XP platform (and on any XP computer). However, when I install the add-in into an excel 2003 runn ...Show All
Architecture A good second book about arquitecture
Hello I have finished "pro scalable application in .net 2.0" which was nice. Now I want to read another book about architecture. What do you recomend I think Domain-Driven Design: Tackling Complexity in the Heart of Software is a good option, do you know another Thanks. I haven't read this one - but I really disliked his other book (Service-Oriented Architecture : A Field Guide to Integrating XML and Web Services) The best SOA book I read thusfar is Enterprise SOA : Service-Oriented Architecture Best Practices (though it might not be what you are looking for as it doesn't have any source code samples nor is it .N ...Show All
SQL Server Is IIS always required for replication?
I would like to take advantage of either Merge or RDA replication over HTTP, but would like to avoid setting up IIS. Is IIS always required to support connectivity for SQL Server Mobile replication back to a desktop SQL Server database Thanks, Tim I have heard that we can synchronize using ActiveSync is it correct or not, because on Online Book I read we can synchronize using IIS. I need to synchronize my database on Pocket PC to my Desktop PC without using IIS (if we have the cradle why we need access to internet from Pocket PC). And if synchronized only can work with IIS than use the old way try to ...Show All
.NET Development Q: How to: ControlParameter referencing across ContentPlaceHolders
VS 2005 Beta 2, ASP.NET Master Pages, SqlDataSources Master/detail views using linked GridView/DetailView DetailView's SqlDataSource SelectParameters ControlParameter is linked to the GridView that provides the master data. ControlId is set with the designer. This works great when the SqlDataSource control for the detail view is in the same content control as the GridView control, but fails when the GridView is moved to a different content control area on the same master page. That is, the Master page has two content placeholders: cphMain and cphFull. The child page(s) provide the content for one or both placeh ...Show All
System Center where i can find it to download?
i'm looking for SCCP 2006..i'm msdn subscriber..but i can't find it for download... Any help .. SCCP now available to MSDN subscribers ...Show All
Visual Studio Class Details window (MSDN bug ID: FDBK24857)
I'm having a problem with the Class Details window. Click on the following link to see the corresponding bug details: http://lab.msdn.microsoft.com/ProductFeedback/viewFeedback.aspx feedbackid=914d3c3f-efdd-41ed-8c6c-da5ed91f48db When I click on a class in the Class Designer, the Class Details window shows up, docked at the bottom of the screen. But when I click inside the Class Details window, it dissapears! Every time. I tried to reset all my settings, tried all different possible settings and even re-installed VS 2005. No luck! Please help C#-settings, Class Diagram added to a ...Show All
Visual Studio Express Editions Problem with a variable value
I am probably missing something I have a variable called QTY this is used in many different places throughout my code to calculate prices of different things based on QTY, when I step through the code and look at the value assigned to QTY in this example 10000 it is correct however when it writes it to the database it is writing 1.9 as the QTY not 10000 all the calculations are right... The field I have it writing to is a Decimal 18,1 could that be a problem, when I move the code to a different place it changed from 1.9 to 3.0 for QTY do I need to reset the variable at anytime the Total does calculate the correct $5000.00... Any thoughts ...Show All
Visual Studio Team System AvoidUninstantiatedInternalClasses
Just ran a newly converted solution through FxCop and am seeing several of these warnings: AvoidUninstantiatedInternalClasses Cause: An instance of an assembly-level type is not created by code within the assembly. There is one for each of the following classes: MyComputer MyApplication Normally I would just exclude these form my solution but the 'When to Exclude Messages' portion of the warning states: It is safe to exclude a message from this rule, but there are no known scenarios where this is required. ...so this leads me to believe that there is a way to remove these 'My...' classes from my project. Any ideas or pushes in the pro ...Show All
Windows Forms search a string within a string
Hello @all, I've a little problem to check if a string exists within a string. if I try this example it works fine: [code] Dim result As Integer dim subj as string = "My mom has a fat dog..." dim filter as string = "Peter" result = subj.IndexOf(filter) If result > 0 Then ' do something... else &nbs ...Show All
Visual C# help a beginner please how to make this software?it with dictionary and chat and ....
maybe my question so stupid~ please for give me~ i want make this software to help some japanese learn english and can put it into a game but most~ use it at desktop. i think it need thoese function: english dictionary; english <-> japanese dictionary; IM chat; file share,any file had index at server,can load a file from each other, seen like emule and bittorrent and Ares; storage ask and answer like a forum or knowledgebase; i dont know how to make a dictionary software. where to find a dictionary file it is free i think the WIKIdictionary is free but how to do that i find many free translate website how to do that i need the dictiona ...Show All
Windows Forms Form/Control Sizing
Hello, I'm attempting to create a windows forms application using c#.net. the app has one MDIParent form and several child forms. I am programmatically setting the size of the child forms in the constructor, but before the child form is rendered, the size is being changed. I have no idea where in the code this is happening, or why. Can anybody help me Thanks, rc hi, Is your problem solved by the above reply If yes then could you please mark it as answered Thank you, Bhanu. ...Show All
SQL Server Best Practices Analyzer
Hello, I found in marketing materials, than Best Practices Analyzer is included in installation of SQL 2005. Is it right I could not found it. Any ideas I'm a program manager heading up the next version of Best Practices Analyzer for SQL Server 2005. We are pretty early in the development cycle right now... we'll probably ship second half of this year. Check out this blog post for more information: http://blogs.msdn.com/sqlrem/archive/2006/04/06/570292.aspx . Thanks, Paul A. Mestemaker II Program Manager Microsoft Corporation SQL Server Relational Engine Manageability Team ...Show All
