Michael Bird's Q&A profile
SQL Server Server: Msg 7609, Level 17, State 2, Procedure sp_fulltext_database, Line 46 Full-Text Search is not installed
I have SQL Server on my webserver. The version of SQL Server and My Operating System, which I have got from the query "Select @@version" is Microsoft SQL Server 2000 - 8.00.2039 (Intel X86) May 3 2005 23:18:38 Copyright (c) 1988-2003 Microsoft Corporation Desktop Engine on Windows NT 5.2 (Build 3790: Service Pack 1) I want to do full text indexing on my Database. but when the option of Full Text Search is disabled in Enterprise Manager. So, I have executed the Query "EXEC sp_fulltext_database 'enable'". It gives me error message. Error is "Server: Msg 7609, Level 17, State 2, Procedure sp_fulltext_database, Line 46 Full-Text Search is not installed, or a full-text component cannot be loaded." wha ...Show All
Visual Basic how to get windows
Hi again, How could i get the window of a process I got the process and i know it has a windows, called mainwindow. now how could i show it the a user if he clicks on a button associated with the name of the mainwindow of the process thnx unfortunately I'm not sure about that one, my apologies for the previous response. I am sure however someone else would know about this or even if it's possible. Somehow you would have to catch the program events and "invoke" it in some way I really don't know, just guessing from the top of my head ...Show All
Visual C++ How to write on Windows desktop from C/C++ code ?
I want to display on my desktop some useful informations like my IP, MAC address, current time, etc.. Is it possible to write these informations directly on Windows desktop from C/C++ code Any ideea If you do want to write there, you will have to intercept all painting calls aswell. Otherwise your output will be obscured / erased every time there's a repaint or invalidation. Anyway, please direct this question to the UI newsgroup at http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.win32.programmer.ui&lang=en&cr=US . This forum deals with C++ language questions, so unspecific concept discussions are better routed to the appropriate newsgroups. BTW.: there's another a ...Show All
.NET Development Putting try-catch everywhere. What about peformance ?
Hi, How does try-catch affect performance If I start putting it in each and every function I have, does it affect performance What if I put a global catch in Main Well, I think its better to write if(null == VarFoo) return; than putting a try-catch block around it. What do say Hi Tailor, No problem, having try/catch is not bad, they will do the work. The important is to measure the amount of exceptions that it raises. If is it rarely, your code is doing the job. Try not to relay on exceptions to follow the business rules, they are "exceptions" Happy coding! ...Show All
Windows Forms datagridview showing no grid
I added a datagridview control to a form (VS 2005), filled with data at form load time. The datagridview control keeps being grey, not showing any grid at all.. I have another example working properly but,.... I can't see the difference... Any hint, please thx here you are, the code from the form ============================================= Imports BL ' ' ' Public Class EmpInfo Inherits System.Windows.Forms.Form ' Private mdsEmps As BL.EmpService.Employees Private mdsEmps As New DataSet Private Sub EmpInfo_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load GridLoad() End Sub ' ' ' Public Sub GridLoad() Dim br As BL.Employ ...Show All
Visual Studio Load Report Failed
I have designed a Windows application that has a fairly simple crystal report in it. I created the form, then added the Crystal Report Viewer. I added a report by browseing to my local machine and added the report to my solution. I pass parameters to the report via the following code. I would say that 4 of 10 times I call the report to be opened, it fails with "Load Report Failed". The other 6 times, it works great. This happens on my development machine in debug or from the actual installed package and from a machine that I have done a fresh install of the package. What am I doing wrong. I have downloaded the MSM file from Business Objects and added all, at least all of the files that I think I need to the project. ...Show All
Visual Studio Tools for Office Email Address of the Current User
Hi, How can I get the Email Address of the Login User from Outlook. The Me.Session.CurrentUser.address return a lot of additional data, what I want is just the Email Address. Thanks. Andy Ho Hi Mike, It seems that the code snippet u have put could be of my help in my scenarios. Can you let me know, how to use ur code in the InfoPath 2003 forms to get the current user and his Manager's name and email IDs from the Exchange Server. I need to display them on an InfoPath 2003 form. Thanx for any help. ...Show All
Visual Studio Team System The system cannot find the file specified on project get force all recursive
I execute on the command line the instruction: tf.exe" get $/Nsietv/_main /force /all /recursive I get the files from my project and at the end I get the messages: ... --- Summary: 0 conflicts, 0 warnings, 1 errors ---- the system cannot find the file specified I can not found a way to understand what file is missing. I write the output to a text file and I can't get any error info inside the file. Is there any way to get more detail Thanks, Rui Can you show the full command-line you're typing Off-hand we're pretty good about our error messages, so I wonder if this isn't coming from the shell trying to interpret something on the command-line as a separate comm ...Show All
Visual C++ DLL Project migrated from VC6 to VC8 crashes.
Hi, I am currently maintaining an MFC/ATL COM project that has been compiled till now with Visual C++ 6. I have been assigned the task to maintain the code under the VC8 compiler. The solution has several projects under it. Most of them generate DLLs, and there is also an Application project that uses these generated DLLs. Migrating the code from VC6 to VC8 has meant mainly performing the following minor changes to the code... using the _CRT_SECURE_NO_DEPRECATE macro definition to suppress various warnings (not errors) regarding deprecated function calls etc. removing the @1, @2 ... ordinals from the .def file changing string functions like ltoa() to _ltoa() etc. static_cast<> for conversion errors ...Show All
Gadgets Gadget Piracy
Vista hasnt been out for long but we are already seeing a big issue relating to gadgets which is piracy. I have already seen probably 5 examples of people taking someone elses gadget, making a few changes and re-releasing it. I have been developing widgets/gadgets for Mac OS X and Yahoo Widget Engine for 2 years now and i dont think i can even think of 5 similar cases in that time. As far as im concerned unless a gadget specifically states that you may modify and re-release it then those people are breaking copyrights. Just because you can view the source of a gadget that does not mean it should be considered open source in a typical sense. I've released more then 25 widgets/gadgets over the past 2 years and ive never had a proble ...Show All
Software Development for Windows Vista LocalService.MyEvent += new EventHandler<AuthorizationEventArgs>(MyEvent _HandleAuthorizeRequest); makes me error;)
I have a winapp where i host a runtime. In this winapp i have a form where i can initiate workflows. I want my form to be informed when the a workflow event raises. i add the Service to my to the ExternalDataExchangeService (that have been added to the runtime) ExternalDataExchangeService dataExchangeService = new ExternalDataExchangeService (); runtime.AddService(dataExchangeService); authService = new AuthorizeService (); dataExchangeService.AddService(authService); // Start the Workflow services runtime.StartRuntime(); //This causes the app to fail when i create a workflowinstance authService.HandleAuthorizeRequest += new EventHandler < AuthorizationEventArgs >(authService_HandleAuthorizeRequest); ...Show All
Visual Studio Team System Avg.Response time deatail
Hi, In our load test result we have avg.response time max = 9.38 and we would like to find out what request or test scenrio happened during that time which caused peak time. Is is possilbe to find out For some of my requests, the page counter is not recorded at all. So for instance i will have 224 *requests* to shop.aspx, but only 42 total "page views" to Shop.aspx. Shouldn't the total requests and the total page views be equal ...Show All
.NET Development How to call Page.Validate() using javascript
Hi I need some help :) How to call Page.Validate() using javascript can anybody help me It's name is Page_ClientValidate and I have read some code that you should check if it's a function using typeof(Page_ClientValidate) == 'function', i then used the return valud to see if it was valid or not. ...Show All
Software Development for Windows Vista Using WF to script NPC behavior in games (state->sequential parent->child pattern)
Take a look at this blog entry : http://dotnetaddict.dotnetdevelopersjournal.com/ua_enemyworkflow.htm Many thanks to Serge for helping me out with the syntax for this one as there were definitely no clear examples of how to do this available on the net that I could find. ...Show All
Visual Basic DataGrid Question
I have a datagrid called dgrid in a form, and have made this code so far: Public Sub SetupDG( ByVal columns As Integer , ByVal rows As Integer ) For x As Integer = 1 To columns dgridSimulator.Columns.Add(x, x.ToString) dgridSimulator.Columns(x - 1).Width = 10 Next x End Sub But i don't know how to change the columns so they are image columns (DataGridViewImageCoumn on the Column designer if i was able to do this via the Design View in VS.NET 2005), how do you do this And then set the images in these columns I thought i better post in here since i've figured it out. The new code does like this if anyone needs it in future: Public Sub ...Show All
