Ishtiaque Hussain's Q&A profile
Visual Studio Package Load Key for Managed Package in VS2005 Beta 2
Hello, I am developing a managed package in VS2005 Beta 2 and I need a PLK for it. I've tried requesting one from here: http://www.vsipdev.com/plkregister.aspx but I noticed that VS2005 is not listed under the minimum version selection, so I selected VS2003. Will my PLK work in VS2005 So far I've followed all the instructions here: http://msdn.microsoft.com/library/default.asp url=/library/en-us/dv_vstechart/html/plkwalkthrough.asp but my package still won't load correctly and the IDE complains about "invalid key authentication". Any suggestions Thanks. Eric VS2003 PLKs work in VS2005, ...Show All
.NET Development (Possible) How To:Validating a client . . . Please Comment!!!
Source can be found here NOTE 1 : Only for Proof of concept. I know there would be alot to get it into production. . . The idea here is to be able to detect that the client library is signed by the same certificate as the server. NOTE 2: Please!!! Comments welcome! Style Suggestions Do you see any holes Please bring 'em on!!! NOTE 3: This is for .NET 1.1 as I am restricted to that for proprietary reasons. NOTE 4: This uses patterns outlined in Advanced . Net Remoting , Second Edition (Rammer & Sputszta, Apress 2004 ISBN 590594177). There is very little original thought and copyrights be ...Show All
.NET Development What's win32 and 64-Bit?
Hello, I am so so so lost with this stuff!!! Can you please explain to me what's 64-Bit and win32 Is there relation between the two things or not Anythig else I should know Your help is appreciated. Win32 is the API set that was introduced with WinNT as a transition to 32-bit code, used in Win95 and lives as the Windows API to today. 64-bit Windows has the Win32 API at its core, with pointer sizes (and pointer sized things) increased to 64-bits, but otherwise the API is intact. There is no Win64 API. It is an unfortunate artifact of naming that the Win32 API is at the heart of writing 64-bit unmanaged cod ...Show All
Visual Studio 2008 (Pre-release) GridView representation of XML
Hi, I am trying to display the contents of an Xml Document in a GridView. An example of the the Xml is as follows; <Table> <Column>Name <Cell>Dave</Cell> <Cell>Pete</Cell> </Column> <Column>Age <Cell>32</Cell> <Cell>26</Cell> </Column> </Table> I want the GridView to look as follows; [Name] [Age] Dave 32 Pete 26 That is, in tabular form. My Xaml contains an XmlDataProvider; <XmlDataProvider x:Key="TableModel" /> and the C# XmlDataProvider xml = (XmlDataProvider)FindResource("TableModel"); xml.Document = doc; Each Gr ...Show All
SQL Server Which edition of Sql server 2005 provides mirroring
Hi.... I have sql server 2005 evaluation edition. And This version doesn't provides Mirroring option.Even after installation of service Pack1. Is there any other edition (Freeware or Evaluation) which provides the Database Mirroring. waiting for the prompt reply. Thanks Unfortunately, there is no other evaluation or free version that supports Database mirroring. Database mirroring works only on Standard and Enterprise editions. You also need to have SP1 installed for database mirroring to work. ...Show All
SQL Server Grouping question
Hi guys, on my report i have 3 separate matrices with monthly sales results, each gives a different view on the same data. This all works nicely, but the customer wants these matrices grouped by product (the product is a parameter of the report, they can choose several or all products to report on). Exactly what would be the best way to achieve this grouping It seems i can't house them within a table, and i can't put them in another matrix without running into scope errors. Thanks!!! sluggy There are multiple ways to do this: 1. Add a copy of the original matrices outside ...Show All
Windows Forms Win XP and Icons
I was cleaning my keyboard the other day and I guess I pressed something and all of a sudden I get blocks around my desktop icon name...you know,like in the previous versions of Win.Is there anyway I can fix this,its really annoyin. Hi, This forums discusses programming related questions. On Windows specifics you could try posting on the Microsoft Newsgroups to have a better chance of being answered. cheers, Paul June A. Domag ...Show All
Visual C# Get (MAC address or Hard Disk serial number) without WMI
how can i get "MAC address" or "Hard Disk serial number" without WMI(System.Management reference) I need this because WMI is not standart for all windows versions (Ex:95-98-NT does not contain WMI), though WMI can be installed on these versions, i dont want to be dependent on that. MAC: C# http://pinvoke.net/default.aspx/iphlpapi/GetAdaptersInfo.html VB Example http://www.dotnet247.com/247reference/msgs/18/91898.aspx SendArp (MAY NOT BE AVAIL/WORKING FOR WIN95) http://www.codeproject.com/csharp/Host_Info_within_Network.asp the following are not C# but usable with so ...Show All
Visual Basic VB.NET reference to VB6 DLL recompile
Hi all, I have developed a simple VB6 DLL to be used in VB.NET. My problem is that everytime I compile VB6 DLL, my reference in VB.NET was loss and I have to re-make the reference. Do I miss anything to automate it Thanks. Make sure you've enabled Binary Compatibility in the VB project properties (and that you don't break any exported interface). ...Show All
Visual Studio Tools for Office Word/Excel Designer Error in VSTO 2005
Last week I received a new machine at work. On Friday, I installed VSTO 2005 (which had been previously installed on my old machine and worked fine) with no problems. I modified and existing Excel project that I was working on and everything worked fine. Yesterday I opened another existing Excel Workbook project. I was able to compile and run the project successfully, but I received an error message when I tried to view the workbook in the VS IDE. The error message was: "Programmatic access to the Microsoft Office Visual Basic for Applications project system could not be enabled. If Microsoft Office Word or Microsoft Excel is runn ...Show All
Visual Studio Team System unenable code analysis
Hello, I do not know how this happened but it appears Code Analysis is enabled in my VS 2005. Unfortunately, there is no way to unenable it without the Team Edition. So this results in a build error - unable to spawn fxcopcmd.exe. Any ideas Registry settings A couple of questions: Have you installed the Visual Studio Team Foundation Client (TFS Client) Was the project created or edited on a system with Visual Studio Team System installed You can disable the Code Analysis by manually editing the csproj/vbproj and changing the RunCodeAnalysis element to false, for example: < Prope ...Show All
.NET Development How do I change the date format in a form? Havin a major nightmare!!!
I have a DataTable with a column defined as a date type. The Data Table is not linked to a SQL database or MS Access but I read and write to it from text files. This date column is databound into a Form as a Text Box. The DataTable takes format “Month DD, YYYY” e.g. "May 04, 2005" This is displayed in the form as “DD/MM/YYYY HH(24):MI:SS” e.g. "04/05/2005, 00:00:00" How do I change the form display and accept user input in a more friendly format, e.g. something like “O4-MAY-2005” Hi, Upon binding the Table to the textbox you can specify your own format: ...Show All
Visual Studio Express Editions Different between Me. and My.
Dear all, Would like to ask what is actually the different between Me. and My. in Visual Basic programming (Visual Studio 2005 Express Edition) If I wana do a comparison between data captured from user input and Database data.. which one I should use when TableAdapter applied Now learning VB..Hope can discover more and understand more Especially Database application. Thanks ya! GOD bless, Jesse Me refers to the current instance of an object. That is, if you have a form, and in the Form.Load event handler you type Me, you refer to the form that you are currently loading. You can find the definiti ...Show All
Visual Studio Remote debugging VS 2005 / SQL 2005
Hi there! We are developing T-SQL Procs on SQL Server 2005 and want to debug the procs on the client. When i "step into stored procedure" i get the error message: Unable to start T-SQL debugging. Could not attach to SQL Server Process on <MyServer>. Some remarks: Remote Debugging on the server is running, i've tried as service, as application, native without authentifaication and so on. Does'nt effect anything. I've tried some other permissions like admingroup and sysadmin - does'nt effect. Any idea When i manuelly "Attach to Process..." in the Debug-Menue, i can see the processes from my server (Transport: Remote (n ...Show All
Visual C# How do I tell when all threads in a pool are complete
I have an app that uses a thread pool to ping all hosts on the local network. Each thread updates a listview with the status of that IP - alive or dead. When all the threads are done, I want to remove all the dead links from the list view. How can I tell when all the threads have done their job What is the best way to loop over the listview backwards (I assume backwards is best since the items are indexed...), removing each dead link (text in column 1 = "dead") Thanks in advance. if ( this .InvokeRequired) { return this .Invoke( new _InvokeGetListViewDelegate (_InvokeGetList ...Show All
