Timmos101's Q&A profile
Visual C++ __asm keyword not supported on this architecture
Hi All, I am currently working on porting my current application to a windows 64-bit machine. I am facing a compilation error as follows: osstktrc.cxx(228) : error C4235: nonstandard extension used : '__asm' keywor d not supported on this architecture I wanted to know if there is a corresponding replacement for __asm keyword on windows 64-bit or any other work-around to get my compilation done. Thanks, - Navin Inline asm us not supported in 64bit dev using VC++. The suggested way to get around this is to use the 64bit intrinsics. A list of such intrinsics could be found at http://msdn2.microsoft.com/en-us ...Show All
Windows Forms Unbound DataGridView adding many rows is very slow
Hello, I hope this is the right place to post; if it's not, someone let know, okay I am using an unbound DataGridView, and would like to add something on the order of a 1000 rows. It works fine, but it quite a long time to add the rows. I am not sure if I should be using sometype of method to cause the data not to be refreshed until I am done drawing. Something similiar in concept to .SuspendLayout/.ResumeLayout. Anyone have any ideas Usually I make my own classes and collection and use them as data sources. I would say that this way is the fastest that c ...Show All
Smart Device Development Working with multiple forms and using form text
Hi All, I am working with multiple forms form1 and form2, I have added form text to each of the form. On a button control in form1 I have added the below code, which loads form2 and hides form1 but in the taskmanager it shows both forms at the same time. I have tried using an empty text in form2 and it works. Is it possible to show the form1 text on the top of the titlebar in form2 when it is activated instead of empty titlebar. Dim frm1 As New frmMain frm1.showdialog or frm1.show netcf v2 added support for "owned dialogs". In the code below, when I set the Form.Owner proper ...Show All
SQL Server User Instance=True causes invalid connection string
Whenever I use "User Instance=True" as in the connection string below, I get an invalid connection string error. If I take it out, the connection string generates other errors. "Provider=SQLNCLI.1;Integrated Security=SSPI;Persist Security Info=False;User Instance=True;AttachDBFileName=|DataDirectory|\DbName.mdf;Data Source=.\\sqlexpress;" Removing User Instance=True always eliminates the invalid connection string message. BTW, I tried both Data Source=.\\sqlexpress and Data Source=.\sqlexpress. Hey, Never used User Instance; I didn't even think it was part of the connecti ...Show All
Visual Studio Team System workitem issues after upgrade to RTM
Hello, Two questions: After the upgrade for B3R to RTM we noticed that the workitems reflect the logonnames and not the displayname (as is standard in RTM). Is there any way to update existing workitems to reflect those changes In the selection lists we still see a lot more users than just for this project (as this lists seems to be populated from the team Foundation valid users group) Is it possible to have the lists be limited to only the users on the current team project Tnx Rene Hello Rene, Check out the code snippet here for changing logon names to display names: http://blogs.m ...Show All
Software Development for Windows Vista Example Web.Config
Could someone post a example web.config with all the sql services (persistance, tracking, etc). For some reason the following config items in web.config (in there respective places). < add type ="System.Workflow.Runtime.Hosting.WorkflowPersistenceService , System.Workflow.Runtime, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" ConnectionString ="Initial Catalog=WorkflowStore;Data Source=.\SQLExpress;Integrated Security=SSPI;"/> < add type ="System.Workflow.Runtime.Hosting.WorkflowTrackingService, System.Workflow.Runtime, Version=3.0.0.0, Culture=neutral, PublicKey ...Show All
Visual Studio Team System Where is consolebuild?
I'm trying to find "consolebuild" to automate our build process, but I can't find it anywhere. There is a video that shows how to use it, but there are no project/binaries in that website.... Does anyone know where to find it Thanks Here is a detailed entry on how to do scheduled builds for Team Build - http://blogs.msdn.com/abhinaba/archive/2005/11/21/495179.aspx ...Show All
Visual Studio Add-In deployment [VS2005 - April SDK]
Hi, I put up a very simple add-in using the VS2005 SDK (April release), and i can't see the attached Setup project presented in a tutorial found here : http://lgmorand.developpez.com/dotnet/vsaddin/ (in french, sorry) So now, I'm stuck with a very simple add-in, but don't know how to deploy it. Thanks in advance, Kevin. Simply copy the .addin file in the directory of your project, the DLL file for your Add-in, as well as any dependencies into the "...\My Documents\Visual Studio 2005\Addins" folder on the target computer. Visual Studio now uses a dynamic loading mechanism rather than a registry bas ...Show All
Visual Studio Team System MSF Info
Dear ALL, I need following information on MSF, 1) In which all companies is MSF(AGILE and CMMI) implemented apart from Microsoft, How has been the result of implementation, i mean in terms of Productivity and other factors 2) How can one get trained on MSF methodlogy for CMMI (in india) 3) Is there any certification after implementing MSF or any proof that org is MSF compliant 4) Is there any comparison available of MSF with other methodlogies like RUP, CMMI etc. Please provide the following information or related links, Thanks in Advance. Regards Uroj >1) In wh ...Show All
Windows Search Technologies Blogs for Developers to check out
Steve Ickman, a WDS developer, posts some very useful information for developers that want to leverage WDS in their apps. http://spaces.msn.com/members/WDSTech/ Also, my own blog contains some additional information you might find useful: http://brandonlive.com/category/desktop-search/wds-development/ Alright, that's enough shameless plugging for now :) ...Show All
SQL Server SSIS doesn't start’anymore after SP1 installation
Hi everyone, I've a problem which I think a lot of SQL Server 2005 users had already ...however I didn't found any answers so far. Maybe anyone of you might know. I have installed SP1 for SQL Server 2005 on 2 systems, one is an Enterprise Edition (english) on a Win. 2003 SP1 system and one is a Developer Edition (also english) on a Win. XP Prof. system. On both systems the installation process of the SP1 worked fine except that it gave me the message "Reboot required" on the step installation of SQL Server Native Client. After my reboot I reexecuted the installation of SP1 with the result of no error nor reboot message ...Show All
Visual C# Dictionaries and the objects they contain!
I was just wondering, is there some way to synchronize the modification of objects that are in dictionaries (or any other IEnumerable interface for that matter), if they are modified without referring to the dictionary I find that this code snippet doesnt work (I might be too naive): foobar bar = new foobar(); bar.setText("hollathere"); Dictionary <string, foobar> someDict = new Dictionary<string, foobar>(); someDict.Add("handle", bar); Now if I modify bar directly, without going through the dictionary, the changes aren't reflected in the dictionary. Same is the case the other way round. bar.setText("blahblahblah"); ...Show All
SQL Server Failed to generate a user instance of SQL Server due to a failure in starting the process for the user instance
No wonder Microsoft is giving it away for free. It’s not worth anything. I am very disappointed in this version of SQL server. I decided to start learning VB so I downloaded and installed VB 2005 express edition and SQL 2005 express. I tried to build a personal website using the starter kit. I kept getting the following error message, for which I have seen numerous postings on this forum. “Failed to generate a user instance of SQL Server due to a failure in starting the process for the user instance. The connection will be closed.” I went out and bought the Standard version of VS 2005 thinking there may be a feature that the free exp ...Show All
Visual Basic VB .NET 2005 Express Beta 2
After installing the new BETA 2, I get the following error anytime I try to open a form from a project created with BETA 1: "Could not load type 'Microsoft.VisualStudio.Shell.Interop.IVsRunningDocumentTable2' from Assembly 'Microsoft.VisualStudio.Shell.Interop.8.0, Version 8.0.0.0, Culture=Neutral, PublicKeyToken= b03f5f7f11d50a3a'. I have tried repairing and reinstalling but can't seem to clear this up. Any suggestions Have a look at the following bug report: http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx feedbackid=32436416-ff0b-4b7f-8e98-5aa042d0835b ...Show All
.NET Development getting errors while doing .Net Remoting in webapplications...
hi.. Iam making a small client application which will sends request to remote server and gets the repsonse... im giving these following declarations in each page where im sending request to that remote server... private void Page_Load( object sender, System.EventArgs e) { try { string ipAddress = ConfigurationSettings.AppSettings["IpAddress"].ToString(); if (!IsPostBack) { ch= new TcpChannel(); ChannelServices.RegisterChannel(ch); Pr= new clsCustomProxy( typeof (Adapter),"Tcp://" + ipAddress + ":1020/Adapter_Implement.tcp"); Session["prSes"] = ...Show All
