Goh Wah's Q&A profile
Windows Search Technologies WDS 3 Beta 2 Index
Hi How do I get WDS Beta 2 to index my network drive, I cannot see a check box anywhere in the network drives properties which allows me to index this drive, like I can do on my local drives. I am running Office 2007, Windows XP SP 2. Cheers Johann We've recently introduced a protocol handler that allows WDS 3.0 to index network shares. The protocol handler can be downloaded here: http://www.microsoft.com/downloads/details.aspx amp;amp;displaylang=en&familyid=f7e981d9-5a3b-4872-a07e-220761e27283&displaylang=en Paul Nystrom - MSFT ...Show All
SQL Server Calling debugger from SSMS
I realize that the DEBUG capability has been removed from SSMS and moved to the IDe for Visual Studio. As much as that annoys me , I am dealing with it. Is there a way I can open a SP into the debugger from SSMS I very much miss the ability to right click a SP in my list of 300 and choose form edit, run or debug. I dont care if hte debugger is a separate app, can't I have SSMS send my proc to the visual studio debugger Currently I have to open the VS app separately, and then establish connection, and the re-fnd my proc in that very long list of 300 that is in there. I know that. The question more specifically is: Is there a way to link the SSMS annd hte visual studio together such that I ...Show All
Windows Forms Tab Key is not tapped!
Why doesn't my code work The code is in the KeyPressed event of my textbox - If e.KeyChar = ControlChars.Tab Then messagebox.show ("Tab key was pressed!") end if Regards! Kapalic you can do in this way Private Sub TextBox1_KeyUp( ByVal sender As Object , ByVal e As System.Windows.Forms.KeyEventArgs) Handles TextBox1.KeyUp If e.KeyCode = Keys.Tab Then MessageBox.Show( "ddd" ) End If End Sub ...Show All
Windows Forms change not reflected in the underlying data object
This is a basic question. Maybe there is a simple solution, but I just cannot find it. I have a TextBox which is bound to a data object's property. This data object implements IEditableObject interface. So this is a two-way binding . The data can be shown in the GUI control and the changes made through the GUI control will be reflected in the underlying data object. The code to bind is shown below. nameTextBox.DataBindings.Add("Text", myObject, "Name"); But the trouble is that I have to press Tab key to leave the TextBox before the changes can be reflected in the data object. If I just change the text from "Name" to "Name 2" , and then press the Save button without pressing the Tab key, ...Show All
SQL Server Search column name in database?
Hi all: what i am trying to do is search one column name in whole database. i used to achieve this by using Query Analyzer . Can anyone tell me does this function available in SQL 2005 Thanks Nick Robert Varga wrote: Hi Nick, Yes, this information is still available via INFORMATION_SCHEMA.columns. Cheers, Rob You can use it with this syntax SELECT * FROM INFORMATION_SCHEMA.columns WHERE Column_Name = 'TheColumnNameYouAreLookingFor' ...Show All
SQL Server Lost Messages ?
Hi There What happens to messages that go to error I know that they are returned to the queue of the service that sent them, but the message it the queue is the error message and description. Transmission queue is empty. Where is the actual message that was sent In my case if the message went to error i must resend it. But there is no error when you send the message, transmission queue is clear, the error just comes back to the queue but i need the original message so that i can resend it after the error is fixed but i cannot find it anywhere Thanx Hi Remus Sorry for wasting your time, ever write sql with an obvious problem and you just never saw it no matter how many times you looked o ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Mech Commander 2 code/assets gone
On the XNA blog, you give the link to the Mech Commander 2 code/assets: http://blogs.msdn.com/xna/archive/2006/08/13/698300.aspx However, the link is broken! I was able to find the link here: http://www.microsoft.com/downloads/details.aspx FamilyId=868FE562-5DED-4BB1-8648-708D3481BDA3&displaylang=en By clicking the " MechCommander 2 Shared Source Release " at the bottom, but now it directs you to the XNA main page. I was able to get to the download page last night, but I was going to wait until today to download it from work. (silly me). Will the link be restored ...Show All
Visual C# Sending message to dialog form
How can I change text in TexBox of dialog window 1st line (in code posted earlier) running some application and 3rd line (with SendMessage) is displaying dialogbox with TextBox. My application isn't responding while dialogbox is displayed. When I close this dialog my app works fine. I think that I must run this application in some other way or change some attributes of _proces object to make my app works while dialogbox in other application is displayed. ...Show All
.NET Development Screen Saver notifications
I want to get notifications of various System Events in my C# app (Shut down, logoff, Session change, etc). So far I found that the SystemEvents class is very useful ( http://msdn2.microsoft.com/en-us/library/microsoft.win32.systemevents_members.aspx ) However it is missing the notifications for Screen Saver start and stop. I want to be notified as soon as the screen saver starts to stop a 3D animation preview in my app. And then, resume the preview when the screen saver stops. Does anybody have an idea to subscribe to Screen Saver events Regards Thanks for the hints. It could have been great to have a system notification event for the screen off as well :) Regards ...Show All
SQL Server How to reset all tables ownership programmatically through a sp
Before in SQL 200 I was using this script to do it, even if the change to Ad hoc updates to system catalog weren't allowed: USE Rouyn_Noranda PRINT 'Section 5: Resetting Objects ownership ...' GO update sysobjects set uid=1 where xtype = 'U' PRINT '***** Section 5 completed *****' PRINT '' GO In SQL 2005 change to the catalog are not permitted, is there a way to reset the ownership of all table from a database. Thanks, Stanley Please don't modify system tables directly. You cannot do that in SQL Server 2005 and even if you figure out a way, you will rely on a behavior that is not documented. So your code can break any time due to change in the server in a hotfix or service pack or major release. We can and will make chang ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Missing VC# Template
Hi, I've just installed VC# and the XNA Game Studio Express Beta. VC# were running well including the normel project templates. After installing XNA the standard VC# project templates are missing. I only get the three XNA templates: game, library and SpaceWar. Any idea what had happend Thanks! Bastian hmm...after downloading the VC# setup files I did not get an prompt to do an repair install. I only had the option to do a complete install. After doing this everything works well now. All project templates are back. Little bit strange... Thanks for you advise! ...Show All
Visual C++ finding the root path
Hi, i am working in VC ++ 6.0. i have some problem in hardcoding the path saving the files. My application saves the log files on hard drive (exception handling). for the time being i have hardcoded the path (e.g : c:\programfiles\abc\log) i don't want to hardcode the exact path. i want that my application should save the log files automatically in a folder (application root folder). wherever user installs the application either it should be c:\program files\abc or d:\program files\abc, my log file should automatically pick the root path and save the files in log folder in that root path. Pls help me in doing this. In my opinion, first you should obtain the path of your execut ...Show All
SharePoint Products and Technologies Problem in IIS after installing WSS 3.0
Hi all, after installing WSS 3.0,it creates a site which listen on port 80,and all of you know that default web site is working also on port 80. now,i'm trying to change the port for WSS site,but when i changed for example from 80 to 90 or any other port # the site is not working. any one know how can i solve that I guess it depends on how much work you already put into that site that listened on PORT 80. If this is brand new simply go into your Central Administrator and create a new web application to extend and then build your site collection off of that. Pretty simple and straight forward. ...Show All
Visual C++ Problems with msvcirtd.lib
I have Visual C++ Express Edition and the Microsoft Platform SDK installed in my machine. I'm trying to build an example COM application following the steps I found in a tutorial. It's just a Win32 console application defined by means of the AppWizard. When I tried to build the code, the compiler said that the module msvcirtd.lib wasn't found. Then, I searched this module in my machine and found two instances. One under an AMD64 directory and the other one under a IA64 directory. I put one of them in the VC++ directories section by means of the Tools-->Options menu. Then, the error message changed to a fatal error LNK1112, saying that the module machine type 'IA64' conflicts with target machine type 'X86'. A similar message com ...Show All
SQL Server SSIS Packages Encryption & Decryption
1) We are migrating data from SQL Server 2000 databases to SQL Server 2005 database. 2) We are developing SSIS packages in client and then transferring to server to execute. 3) Here we are encrypting entire package with password i.e. protection level 3 using dtutil and executing while decrypting with dtexec. 4) Actually we have master execute package with child execute packages in it for each data flow package. Hence, we need to execute only this master execute package. 5) Can you let me know how to go about doing it this way instead of executing individual packages one by one in correct relational order while maintaining transaction integrity. ...Show All
