robinjam'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 2008 (Pre-release) Some basic questions...
I'm debating on whether to go with SQL Server merge replication or to use the new ADO.NET Sync Services. (It's a future project with no deadline, so I can test with the CTP until it's released.) The server will be some version of SQL Server 2005. The client will be SQL Compact. 1. Tracking changes on the client (SQL Compact): How is this done, since you can't write triggers in SQLCE Must the client application maintain this 2. Schema changes: Merge replication seems to handle this pretty well in my experience. Will the ADO.NET Sync Services have a similar feature 3. Merge replication requires a paid-for version of SQL Server to be the server/publisher. If I understand ADO.NET Sync Services correctly, I could use SQL Express as th ...Show All
Visual C# How do i find file by time of its creation ??
hello, i have to create application to check some data from .dat files according to file creation(like online but with 20s delay) so i’m asking if anyone know how to find this kind of file The best thing to do is to call Directory.GetFile() function on some directory, it'll return an array of file paths of all files in the directry then you search what names matches your file name you have to search, if one exists in that array with the name you provided then you can check its Creation date time using Methods available in File class. I hope this will help! Best Regards, ...Show All
SQL Server problem with reporting charts
hello to everybody, well i have a problem. in order to display some values in a matrix i use the expression aggregate so i get the evolution of the values during the time. When i try to use the same function in a line chart with data for ex (aggregate.fields!budget.value) and as category the time, i dont get the line... it gives me zero values, while in the matrix i can see the numbers. What can i do ...Show All
Visual Studio 2008 (Pre-release) Resources, Templates and Styles
I think there must be some fundamental that I'm not understanding correctly. Why are Style Resources with an explicit TargetType key not utilised inside DataTemplates This does not seem intuitive to me as DataTemplates with an explicit DataType key are utilised. See the following example: < Window xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x = " http://schemas.microsoft.com/winfx/2006/xaml " xmlns:sys = " clr-namespace:System;assembly=mscorlib " > < Window.Resources > < Style TargetType = " {x:Type TextBlock} " > < Setter Property = " Background " Value = " Cyan " /> </ Style > < DataTemplate DataType = " {x:Type sys:Int32} " > ...Show All
Visual Basic Problem populating a crystal report from VB
I have created a database(.mdf) in Visual Studio. I created the project using the instructions given in the crystal reports walk through. Below is the code I have used to try to create and populate a crystal report from the database through the ADO.NET dataset. When I preview the report at runtime, it contains no data. Can anyone see any problems with this code. I suspect the DataSetConfiguration might have some problems. The version of SQL Server and Crystal Reports I have is the one that ships with Visual Studio 2005. I am new at this. Please help DATASETCONFIGURATION Imports System.Data Imports System.Data.SqlClient Imports System.Data.Sql Imports Teacher.TeachersDataSet Imports Teacher.Teache ...Show All
.NET Development .net 2.0 instable?
After converting web app to .Net 2.0, once in few hours it dies. I've seen people having same problem with different apps on .Net 2.0, web and winforms, and haven't seen one yet saying the problem solved or at least understood. I'm trying to narrow it down from event log entry. Can anybody help on P7 and P8 values I was not able to find any info. Event Type: Error Event Source: .NET Runtime 2.0 Error Reporting Event Category: None Event ID: 5000 Date: 11/30/2005 Time: 8:35:13 AM User: N/A Computer: DAWWEB2 Description: EventType clr20r3, P1 aspnet_wp.exe, P2 2.0.50727.42, P3 4333aece, P4 app_code, P5 1.0.2159.23957, P6 438cc5aa, P7 34, P8 93, P9 system.invalidoperationexception ...Show All
Software Development for Windows Vista Tracking Query returns null
I have update the Workflow Foundation from the Beta 2.2 to the RC1. In the RC1 there is no "SharedConnectionWorkflowService" anymore. It is called "SharedConnectionWorkflowCommitBatchService" now. So I changed that. Since that I get an error in following code statements: SqlTrackingQuery sqlTrackingQuery = new SqlTrackingQuery (ConnectionStringWorkflowService); SqlTrackingWorkflowInstance sqlTrackingInstance; sqlTrackingQuery.TryGetWorkflow(e.WorkflowInstance.InstanceId, out sqlTrackingInstance); The method "TryGetWorkflow" doesnt populate the SqlTrackingInstance. It is being null. Before changing the Shared Connection Service it worked. Any suggestions, where the problem may be Thanks ...Show All
Visual Studio VS 2005 installed fine, MDSN library having trouble reading a file? Help!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
I am recieving the following error while installing the first CD of the MSDN library that came in my VS 2005 standard edition box. Error 1305.Error reading from file: D:\Program Files\MSDN\MSDN8.0\Common\1033\_vsmsdn.hxq. Verify that the file exists and that you can access it. If I hit retry it just keeps popping up with the same error. The file does exist on the CD. what should I do take a look at this: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=778624&SiteID=1 ...Show All
Visual C++ Illegal Character in File path...using *
I'm using StreamReader to read text from a file. The problem is I cannot get the exact filename of the file I intend to read. So I'm using a wildcard - something like "Monitor_log_08_20_10_15_*.txt" where the Monitor_log is followed by month_day_hours_minutes_seconds. I cant time it right to get the seconds field exact, so I'm just using a wildcard. StreamReader doesnt like that. It errors with an Illegal Character in File Path. How do I workaround this problem Any suggestions... Thanks!! Files is the full path name. To get just the filename, use Path::GetFileName(Files ) or Path::GetFileNameWithoutExtension(Files ); ...Show All
Software Development for Windows Vista directshow build problems?
I need to rebuild the baseclass of directshow(I am using dxsdk_feb2005_extras in Visual Studio 2005), but there's an compiling errors confused me. The error code is "error C4430". It lies in the code line" operator=(LONG);" in the ctlutil.h, a private member under the class object COARefTime. The output is" missing type specifier - int assumed. Note: C++ does not support default-int " MSDN tolds that the error is caused by "Compiler will not inject int as the default type in declarations" Can anyone tell me how to resolve the errors Thanks! Look at this : http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=441358&SiteID=1 ...Show All
Microsoft ISV Community Center Forums Can you tell me why Int(1.4 * 100) = 139
Can someone help me to find solution: Int(1.3 * 100) = 130 Int(1.4 * 100) = 139 (also Int(1.38 to 1.49 * 100 ) ) Int(1.5 * 100) = 150 (VBA:Retail 6.0.874) Thanks in advace Haven't verify this. But I think if you declare the variable with proper type should save you from the problem. Try to avoid variant type if you can. Dim d as double d = 1.2 Debug.Print Int(d) ...Show All
Visual J# boxiterator
If I use the following sentence I get a messagebox with the text English is checked MessageBox .Show(BoxIterator.get_Text() + " is checked" ); But the following sentence is never true. BoxIterator .get_Text().equals( "English" ) I have checked everything and the problem is here. Can somebody tell why it doesn’t work. Please post your XML file. What is the goal of your code Regards, Lars-Inge Tonnessen Microsoft VJ# MVP ...Show All
Visual C# Connect to database on server
Hi, I'm trying to connect from C# to a database on my server. Below is my code, it didn't seems to work. Please help me on how do I specify the path that C# would recognize and connect to the database on my server. Open( "Microsoft.Jet.OLEDB.4.0" , "Admin" , "" , "//10.21.10.12/JasonDB.mdb " , "ReadWrite" ); Thank You!! Jason Jason, your connection string seems incorrect: it uses slashes instead of backslashes, and you don't have a sharename between the server and the filename. In VS2005, you can use Server Explorer. Summarizing the steps: 1) Open Server Explorer. 2) Right-click on "Data Connections", choose "Add Connection". 3) In the dialog ...Show All
SQL Server Deadlock at trigger
a trigger need to insert or update record at the other table in high traffic environments however, the deadlock happens; ie, a trigger running twice at the same time want to need to insert record at the table. i trid to change isolation as SERIALIZABLE or REPEATABLE , but i cannot solve the problem. i guess the "while loop" affects the result because i try to cancel the loop and execute smoothly. How to solve the deadlock Thx ----------------------------- i used the following commands to change isolation level: SET TRANSACTION ISOLATION LEVEL SERIALIZABLE begin transaction commit transaction ----------------------------- the code are as follows: declare setskuCursor cursor local static for select item, qua ...Show All
