danni123's Q&A profile
Visual Studio How to force rebuild of Document explorer index manually
On my Visa machine I have installed VStudio Team Suite, Team Foundation Client, and VStudio DB professional. all upgraded to SP1 (took me 4 hours to update :-) After installing Windows Mobile 5 PPC SDK, the document explorer always crashes when trying to rebuild its documentation (it gets to 768 MB memory use and than crashes in HXDS.DLL; online error report never comes up). For this program worked befor install of WM5 SDK, I would like to clear the help index and remove all WM5 files from it. But I can't find any information about how to force a complete new build of the help index or how to build an index that excludes some help files. Is there such an information or what can I do to completely remove any information Document Ex ...Show All
Visual FoxPro foxpro 6.01 ODBC
I'm programing in C++ using "Visual FoxPro Tables" ODBC driver, and querying a table with around 3,000,000 records. when i'm working with my code some query takes me about 50 seconds. Today I installed visual foxpro 9.0 to compare the time with my code and when i use the query wizard i get better resualt faster then in my code. I have two question 1. when I installed foxpro 9.0 the ODBC version stayed the same. doesn't foxpro 9 have an ODBC driver 9.0 too 2. how can i get the same resualt as the foxpro apllication gives (20 second for the same query) The VFP ODBC driver has not been updated since 6.0. However, the OLEDB Provider is current. I would expect the ODBC driver to h ...Show All
Windows Forms problem in axwebbrowser.navigate()
Hi , I am using VS .NET 2003 on XP SP2 when I am using the axwebbrowser.navigate() in my code, its actually locking the file which I supply to it as URL. I am pasting the code below: ################################################################################### public string Xml { set { StreamWriter writer; object missing = System.Reflection.Missing.Value; missing = null; _fileName="C:\\XMLFiles\\"+Guid.NewGuid() + ".xml"; using (writer = new StreamWriter(_fileName, false)) { writer.Write(value); } _ctrlWeb.Navigate( _fileName, ref missing, ref missing, ref missing, ref missing ); if (_previousFileName.Length > 0) { File.Delete(_ ...Show All
Software Development for Windows Vista WF and Sql Server 2005 Service Broker
I am not sure of what the current mix between the two is and what is planned for the future. My ideal app would allow for a "messagebox" BT-like messaging glue so that each step in a workflow can execute on any number of servers. Sql Server 2005 Service broker sounds like the ideal solution. Are there any online resources discussing this particular issue Thanks Costas The first and probably most important thing that comes to mind is checking which Workflow Runtime, if any, is the current owner of a Workflow Instance. Make sure that an input activity only accepts messages for a workflow it either already owns or is not owned at the moment so it can load it. Both MSMQ and SSB support ...Show All
Visual C# Centering a button in a form
I have a simple form that has two buttons that need to be centered in the form. does anybody know how to do it I can't find a resource. I am a newbit to C#. thanks. Hi, You need to take a look at the anchor properties of the button. Greetz, Geert Geert Verhoeven Consultant @ Ausy Belgium My Personal Blog ...Show All
Visual C++ Build sucess but one fatal error LNK1104: cannot open file 'LIBC.lib',
I upgrade a big vc6.0 project (including dll and lib) to vc2005, after I fix all the error, build sucess but one fatal error LNK1104: cannot open file 'LIBC.lib', Currently I did less change in the project setting . Can you tell me why this happen The only thing which I need to fix this problem is to change the project setting and how I appreciate your help. Since you are migrating from 6.0 it probably is because of some project settings. Try this: In your Project Property settings in C++-> Code Generation -> Runtime Library..... see if it is set to /ML If it is, then set it to /MD. That should resolve the issue. By the way, you might have to compile all your dependencies (.lib and .dll) with /MD ...Show All
Windows Forms Problem with DataGridBoolColumn in the DataGrid
I am using a DataGridBoolColumn in my datagrid. I am binding a boolean column of the table to this. Right now it is displaying the CheckBox in the column. The problem I have is I have to select the DataGrid row first and then the CheckBox to select or unselect the CheckBox essentially making it a double-click to select/unselect a CheckBox. Is there a way to select/unselect the CheckBox with just one click Thanks Basani private void dgWP_MouseUp( object sender, MouseEventArgs e) { DataGrid.HitTestInfo hti = dgWP.HitTest(e.X, e.Y); try { if (hti.Type == DataGrid.HitTestType.Cell && hti.Column == 0) dgWP[hti.Row, hti.Column] = !( bool )dgWP[hti.Row, hti.Column]; ...Show All
Visual Studio Team System Viewing more WorkItem columns in the Pending Changes Window...
Hi, I've added a new WorkItem type (MercuryQualityCentreLinkedBugs) to TFS. The only different thing about this and the standard Defect is that it has an additional field - MqcID. When we go to checkin code, and view the "Associate WorkItems" pane of the Pending Changes Window, I'd like to change the columns displayed to include an additional column - the MqcID field. I can't see anywhere how to change the columns displayed there. I can't even resize the existing column widths. How do you change this stuff Cheers As far as I know, you cannot modify characteristics of Pending changes window. So you will probably have to live with current implementation :( Regards, Eugene ...Show All
SQL Server Filtering DB
I have SS Management Studio on my desktop that connects to a SS 2005 hosted by a web host. Since there are many DBs hosted by the same web host, I see them all (though I am not authorized to them). So, I've to search my DB in the Object Explorer. How do I filter the list to see only DBs that are mine That's too bad...you have to do it manually. If you want, you can write a SELECT script to the sysdatabases table of the master database to retrieve the names of your databases SELECT name FROM sysdatabases WHERE name IN (<list of your databases>) ...Show All
Smart Device Development Problem related to CameraCaptureDialog
hi all, I have made appln for camera already once. now what my problem is::: Device have the built in facility of the camera. right now i want to catch the event as soon as the user captures the picture i trap tht and have to display menu for my appln that provides the option to send the picture to the friend, or via mail. How i handle this situation How can trap the click event of built in camera and how to override it. i m using c#. help needed to proceed further. thanx Does this article help you http://www.pocketpcmag.com/_archives/mobile/Article.aspx articleID=1047 ...Show All
SQL Server How do I update a field only if update value is not null?
Hi. I'm not such an expert in sql and I wanted to update a table's fields only if the value that im going to update it with is not null. How do I do that What I mean is something like: --------------------------------------------------- Update database.dbo.table set if(@newvalue !=null) afield = @newvalue; ------------------------------------------------- Really need your help on this. Thanks. UPDATE Crmworks . dbo . Lead SET Lead_PersonFirstName = @firstname, Lead_PersonLastName = @lastname, Lead_CompanyAddress1 = @address1, Lead_CompanyAddress2 = @address2 WHERE Lead_LeadID = @syncid and @firstname is not null ...Show All
SQL Server How to get sql server name with a vb-script?
Is there anyone who knows how to get sql server name using a vb-script I have tryed this: bKey = WshShell.RegRead("HKLM\SOFTWARE\Microsoft\Microsoft SQL Server\Instance Names\SQL") But it cant open it for read. Someone who knows a better way Regards SW-engineer That's not the name of the sql-server it's the product version. You need to know whether you are connection to Sql Server of Sql Express Or are you thinking of the instance name in the case where you have both running on the same machine What exactly are you trying to accomplish With more information we may be able to answer your question. The system variable MachineName is easy to find. Double-Click a DerivedColumn S ...Show All
Visual C++ Edit and continue does not work (for me) with VC2005
Since "up"grading from VS2003, I have been unable to use edit and continue. Whenever I try, I get the error message: "Project : error PRJ0046 : Could not spawn command line because the one specified was empty." Are there any suggestions about getting this to work I'm very surprised that VC2005 doesn't just work out of the box. (This was never a problem with VC2003.) Ayman Shoukry - MSFT wrote: Is the case described by Curt at https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx FeedbackID=98952 work for all of you or you still see the problem. Thanks, Ayman Shoukry VC++ Team Curt doesn't #include stdio.h, so that cod ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Is This For Me?
Hello, Thank you for having me here. I plan on doing more research into this product, however I have a few questions I was hoping this community could please provide to me. - I have never done any programming other then some HTML, CSS and a few lines of PHP. I have also made extremely basic apps using Visual Basic - my knowledge of this was no more then 'playing around' and this was so long ago I have forgetten most things I had learnt. Is XNA Express the ultimate tool for a beginner to learn how to program specifically for developing games - Should I have any previous programming knowledge before attempting to use XNA - What are the first few steps I should follow 'as someone who has never programmed' before - Should I have knowledge ...Show All
Visual C++ msvcr80.dll Problem
Hi there, can someone possibly tell me why Noton WinDoctor is telling me that 10 executables in the .NET Framework 2.0 cannot access the necessary dll file msvcr80.dll I see that the dll exists in the WinSxS directory and I'm running XP pro. I didn't have this problem until I downloaded the 2.0 framework at windows update. Any advice appreciated. Thanks. Naolin I am having the same problem... I even uninstalled it.. and it didnt show a problem then I reinstalled the update and it showed up as a problem in the Windoctor again... any ideas as to what is wrong with this update Im sure its a simple fix but I cant seem to get it.. ...Show All
