Tom_Liu's Q&A profile
Smart Device Development Speech API
Is there any speech API available for .NET Compact Framework I am trying to write an appplication which will be speech enabled. Thanks in advance. Regards, Anirban Please do not cross post. Merging… There’s SAPI-Lite which supports speech recognition but not TTS. No actual speech recognition engine is provided, just an interface for OEMs. ...Show All
Visual Studio Express Editions problem adding menu items
heres what im trying to do: make it so that a user can supply a name,path, and category for a new dropdown menu item ex: if user puts this into 3 diffrent textboxes : name = bob path = C:/bob.exe category = help and clicks "add item" a dropdown menu item is added to the "help" button on the menu and the name is "bob" and the on_click is "process.start("c:/bob") " i got it to work but when i close the app and re-open it the item is not there, i want it to stay there. thanks in advance, You can easily use XML by doing the following: 1) Create a dataset in your code. 2) Use the WriteXML to write it out. 3) Use the ReadXML to read it back in. 4) Then you can ...Show All
Visual Studio Team System Build fails as the DLLs are in separate directory.
Hi, I am trying to do a team build but it fails while local build happens successfully. Teh reason is perhaps because in the build I am trying to copy the files(DLLs) in a separate directory so in team build, it gives error that error while copying ABC.DLL to the location, access is denied. My directory where DLLs are stored is also added in Source control. How can I tackle such a situation in TFS. Thanks, Ekta Ekta, I'm not sure I fully understand what you're saying but if you're stating that the Team Build process can't copy the DLLs to a specific folder (or set of folders) then you should give the user account that Team Build runs under permissions to the destination folder(s). Y ...Show All
SQL Server Stored procedure parameter position
Is there a way to determine the positional index of a stored procedure's parameters from within the stored proc The reasoning is this: I use raiserror state to return the index of any parameter values that are invalid or are otherwise not acceptable; like... if( @RequiredParam is null ) raiserror( 'blah blah blah', 16, 4 ); Currently I'm harcoding the parameter position which is a bit of a pain to maintain. I thought there may be a way of retrieving it so that it is robust against parameter changes; kind of... if( @RequiredParam is null ) raiserror( 'blah', 16, ufn_getpos( 'RequiredParm' ) + 1 ); Is sys.all_parameters and sys.procedures the way to go on this I understand the replies from Waldrop and SQL_Menace ( ...Show All
Visual Studio Team System Unlike Mercury Load Runner, Visual studio 2005 does not replay the correct filter search
Unlike Mercury Load Runner, Visual studio 2005 does not replay the correct filter search Does anyone know why Visual studio does not pick up filter searches. My Automation script when played back does not a perform a filter search that was incorporated during the recording process. Instead it returns the result set of filter search based on default settings. However, when I ran the Loadrunner script, it replayed the events correctly. (Correct filter search results were returned) 1.Should I send the web test files to find out why the parameters revert to a default set of params 2.The HTTP request that had a space in the Query String Parameter, failed as a 400 b ...Show All
Microsoft ISV Community Center Forums Summing up hours on form based on parameter query
Hi there - im finalising my new activity system but i have one issue. on an activity form i have certain fields for information purposes that are non editable - they are 'hours worked with client' , 'hours worked this month' and 'hours worked for the day'. The first 2 fields are populated automatically by opening recordsets on form load or companyname exit and summing up the hours based on the relevant query where the criteria ensures that the query is already populated. However for the 'hours worked for the day' field the query is a parameter query (qrytodayhours) where activitydate = Forms![frmactivity]![activitydate] and i was then hoping to enter the following code to sum up the hours using a recordset on the on exit of the acti ...Show All
Visual Studio Tools for Office Read Application Manifest Without Using ServerDocument
Does anyone know how to read the application manifest from the currently opened document without using the ServerDocument class I know you can loop over all the Shapes in the document and until you encounter the shape with the ProgID "VSTO.RuntimeStorage.1". But then what do you do with that shape How can I extract the XML for the embedded application manifest Thanks in advance for any advice... I'm not sure we really support this scenario. However, the runtime storage control is simply an IStorage implementation containing some streams. You can use the VS Doc File View tool to open a Word/Excel document to view the streams. Why doesn't ServerDocument meet your requirements All this really does is wrap the IStorage ...Show All
Visual Studio Microsoft.WinFX.targets is stealing the Microsoft.Common.targets for itself!
I installed the latest bits and was trying to craft a .csproj using our own msbuild customizations which override some of the "meant to be overridden by customers" targets from Microsoft.Common.targets such as "AfterCompile". I noticed that the stuff that we wire into "AfterCompile" did not take place during the build. Upon investigation I discovered that Microsoft.WinFX.targets is overriding our override of "AfterCompile". So if Microsoft is going to start using these targets in their own project systems, then how are we supposed to be able to work-with/extend/customize the build I am hoping for an answer such as "Oh that was just expedient and before long that will be corrected in ...Show All
Visual Studio Team System Date validation
How would you go about adding date validation in TFS reports For instance, I'd like to ensure the "start date" parameter is an earlier date than the "end date" one. The Calendar Control for parameters will automatically be added if you add a parameter of type "DateTime" to a report. It would help us out if you posted new questions in their own thread. What happens is the original question asked in the thread gets answered and the entire thread is marked as answered. We usually stop looking at answered threads - so any additional questions posted in that thread can get lost. ...Show All
Internet Explorer Development Problem debugging embedded Client Script using IE7
We are getting an error when trying to debug client script (VBscript and JScript) from the Running Documents window using VS2003. This only happens when the script is inline on an asp page. If there is a .js file, there is no problem. Here is the error we get: "The following breakpoint cannot be set: bla bla bla No executable code is associated with this line." I am about to uninstall IE7 and go back to 6 because I am unable to debug our client-script-heavy applications. Any help would be appreciated. Thanks, Kevin Same problem here. IE7-RC1, Visual Studio 2003/Asp.Net 1.1 Breakpoints in script in aspx files are disabled (question mar ...Show All
SQL Server VS2003 - deploying reports - No report server was found at
Hi all, We have many domain users who develop/deploy reports using VS2003 to our remote server at https://server/reportserver with no problems at all. A single workstation on the domain that been used to develop reports cannot deploy though. The message looks fairly simple to diagnose "no report server was found at https://server/reportserver". I have checked dns and the servername resolves no problem. I have manaully edited and added the server to the hosts file also. I have updated and service packed all VS elements (VS2003 7.1.6030). The server is contactable in all ways on this workstation, all ip/dns settings are the same as other domain workstations. Can anyone point me in the direction of log files to look at, ...Show All
SQL Server How to get started on Microsoft SQL Server Management Studio Express
Hi, Was trying to open AdventureWorks when i got this error: "There is no editor available "C: Program Flies.....\AdventureWorksDW_Log.LDF' Make sure the application for the file type(.LDF) is installed. How can this error be corrected I also have some error on mdf not installed.May i know how should be the initally steps to be done inorder for me to view this database. And if i do have a database from microsoft access, what are the steps that i need to do inorder to get it export to Microsoft SQL Server Management Studio Express. Please advise as i really new to it. Thanks! Hi, if you want to let the database be controlled by the instance you will have to do a right click on the database node > Attach Database > S ...Show All
Visual Studio Team System Deleted an administrative account from the Valid Users group !
I've managed to delete the only administrative account (mine) from TFS Valid Users group so now i cannot log in ! I've tried to Repair the instalation but i get Error 28002 during the process - the domain controler + DNS are set ok (the same configuration was on during the first install) - looking over the logs i'm told that my user is already member of the Administration group - which is probabily true because i only deleted it from Licensed users - is there a way to overcome this Pls. help ! Some more details from msi log: User <me> already a member of the Administration group. User TFS already a member of the Service Users group. The Licensed Users group already exists. See this thread for a sol ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How can i adjust SpotLight-Direction
Hi I habe been writing a car simulation and i put my SpotLight-Direction at the same point of my LookAt but while the car is rotating, the Loght-Direction does n't rotate. Thanks Without any better information (what API, what features - shaders or FixedFunc, etc..) its difficult to say for definite. Chances are that you're not transforming the vectors and/or coordinates properly. Fixed function lighting is defined in world space and won't be affected by other Model->World transforms. Try manually transforming your vectors. hth Jack ...Show All
.NET Development .NET equivalent for API
Hie, does anyone know the .NET equivalent for the following API: FindWindow (Ex) SendMessage FlashWindow FindFirstFile (for file enumeration) i dont want to use THE API.. in the C#.. when the .NET classes exist... i want the equivalents Thanx giddy wrote: um.. well thing is i moved from VB6 to C#.. .. i want to assure myself that i did'nt move to this language uselessly...!! Be able to detect if a app. is running by looking for the window handle.. (findWindow) Send messages to it .. like SC_MINIMIZE .. etc to make it do what i want... i want to be able to FILTER a listbox .. i did this in VB by sending LB_FINDSTRING to a listbox.. via sendmessage ...... so if i type 'A' in the filter textbox..the list would endu ...Show All
