Answer Questions
Yairt I Can't find system.speech dll. I have vista (final version) installed along with .net 3.0
I found this link: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=184403&SiteID=1 However, I have Vista and I have also installed .net 3.0 (WPF, WCF, WWF) but I still cannot find the system.speech dll anywhere. I also have the speech SDK installed. Also, I am able to get the speech recognition working using the old COM speech library on XP, but when I try to use the same code on vista, the inbuilt speech recognition software kicks in and overrides my code, or somehow prevents it from working. Thanks Simon All three posts marked as the answer and still no help. Try this: Project + Add Reference, Browse tab, navigate to c:\program files\reference assemblies\microsoft\framework\ ...Show All
Enniobozzetti DCOM got error "RPC server unavailable"
Hi, I got the above error on the client when I tried to invoke a COM+ enterprise service on the server. I checked the RPC service is started. I could ping the server with out issues. Any idea hi, this is the code i am using to create the remote object. public static object CreateRemoteObject( string progID, string server) { Type remoteObjectType = Type .GetTypeFromProgID(progID, server); return Activator .CreateInstance(remoteObjectType); } Try going to the remote machine and seeing if RPC is being allowed through the firewall. I've had a lot of problems in the past where the firewall was getting in the way of my DCOM calls. As test I usually temporarily disable the firew ...Show All
D.C Accessing WebService From Behind ISA
I'm trying to access a webservice in Windowsapplication using VS.net 2003 from a network with a ISA server proxy. When I add a webreference to any webservice I get the following error The request failed with HTTP status 403: Forbidden ( The ISA Server denies the specified Uniform Resource Locator (URL). ). At this point I'm convinced that ISA Server is the Devil!!! Any help appreciated, Thanks Saran . I have the same problem and I can view the web service in the browser from behind the ISA server, but error (http error 403: forbidden) when I access the service through my VB.NET Windows application. Can you view the web service in your web browser I'm wonde ...Show All
thomas_woelfer Object Oriented
Hi, I'm having a problem with OO and CompoBoxes I wrote this code to get drives and then create an object contain some information. My problem is how to add this object to a combobox and then display only a proberty as a default property or something. This is a class for example: Public Class DCompoI Dim text_ As String Dim drivetype_ As IO.DriveType Public Property Text() As String Get Return text_ End Get Set ( ByVal value As String ) text_ = value End Set End Property Public Property DriveType() As IO.DriveType Get Return drivetype_ End Get Set ( ByVal value As IO.DriveType) drivetype_ = value End Set ...Show All
mcnamaragio replacing Thread.Sleep and Thread.Resume
hrm... second post. dunno what happened to the first. how might I go about replacing the functionality of Thread.Sleep and Thread.Resume you beat me to it... thats exactly what I was about to ask. the method is part of a massive multiplayer game server and logs client stacks under certain conditions (errors namely) on the server. Why do you want to replace them Nimrand wrote: If the thread is momentarily suspended and then almost immediately resumed, what operations that the thread could be executing might fail I understand the scenarios where stopping or suspending a thread for an indefinate amount of time woul ...Show All
regthesk8r Exposing dynamic properties of a com object using Reflection
Hi All, Could any one suggest how expose the dynamic properties which are exposed by the com object at runtime using the Reflection. As per my knowledge the com object will show the dynamic proeprties using the IDispatch and itypeinfo. If any one have ideas to expose the dynamic properties using the reflection please suggest me. Thanks. Do you mean late-bound properties That's not possible, neither through reflection or through the native methods of IDispatch. A COM client would use IDispatch::GetIDsOfNames() to check if a named method or property exists and IDispatch::Invoke() to call it. That's the wrong way around for what you want to do. Thanks for your reply (Great help to me). I mean to display the ...Show All
RubenPieters Is it possible to run an application in Windows XP SP1 which is developed in VB2005, .NET2.0, Windows XP SP2?
As described in the subject, I developed an application using VB2005 with .NET framework 2.0 which is required to be upgraded when installing VB2005. Set it up on an older computer(There is no problem during setup) which is running in XP SP1, it gives error message as follows: "Selected collating sequence not supported by the operating system." followed by "There is no row at position 0." It seems to me the target database was not connected correctly so the data could not be read. Anybody has the same experience The problem is the older computer system could not be upgraded until after Christmas. The system can not be updated untill after Christmas. I will give more details later. ...Show All
stroller Problem getting schema information: AllowDBNull vs. IsNullable
Hello, I'm trying to gather the schema information for a tables columns using ADO.Net with OleDb (an Access Database) and Sql (a SQL Server database) and found some problems: For Access .mdb: method 1 to get the MetaData Collections OleDbConnection currentconnection = ...; DataTable schema = currentConnection.GetSchema("COLUMNS"); method 2 to get the schema for the commands result: OleDbCommand cmd = ...; OleDbDataReader reader = cmd.ExecuteReader(CommandBehavior.KeyInfo); DataTable schema = reader.GetSchemaTable(); Both give me the correct list of columns, but the values for IsNullable (from method 1) and AllowDBNull (method 2) differ! I'm using the Northwind database for example purposes and for one table (Order Details) ...Show All
Steve1999 Query all Table Names in Access Database
I would like to write a function which queries a list of all tables within a certain Access Database using the OleDB classes. This is what I'm trying so far (I found the big SQL select string online somewhere): Dim AccessDBConnection As New OleDb.OleDbConnection( "Provider= Microsoft.Jet.OLEDB.4.0;Data Source=c:\Northwind.mdb" ) AccessDBConnection.Open() Dim AccessDBAdapter As New OleDb.OleDbDataAdapter( "SELECT [Name] FROM MSysObjects WHERE Type=1 And Left([Name],1)<>'~' And Left([Name],4) <> 'MSys' Order By [Name]" , AccessDBConnection) Dim AccessDataSet As New DataSet() ' AccessDBAdapter.Fill(AccessDataSet) --- Unfortunately, I get this run-time error messa ...Show All
venp thread-safe enumerator
Does the use of yield as shown below create a thread-safe enumerator by any chance IEnumerator<KeyValuePair<TKey,TValue>> IEnumerable<KeyValuePair<TKey,TValue>>.GetEnumerator() { lock (m_innerList.SyncRoot) { // Not thread-safe //return m_innerList.GetEnumerator(); // Is this thread-safe foreach (KeyValuePair kvp in m_innerList) { yield return kvp; } } } Thanks. The following is from another user group. Which is correct http://groups.google.com/group/microsoft.public.dotnet.languages.csharp/browse_thread/thread/28ec0b2ae93b6c05 hl=en#338da1f1ece946ec Thanks No enumerators are, by definition, not thre ...Show All
TMF Binding My Application to SQL Server 2000 ??
Hi Firstly many more thanks for any collaboration and help I have the following situation :- I work on a very small text exchange application among clients connected to a SQL Server 2000 database through Windows Forms App. the problem is generally : how I can handle the lost of the connection e.g. : how I can update a field in the database and say hey xxxxx is now offline WHILE I do not have any actual live connections to the Data Source ( think of this lost during to any network problems). But I want to know another important aspect !! in the SqlConnection object we have an StateChange event , O.K I add handler on that event and Stopped the SQL Server from the Service Manager !! the event does not respond If ...Show All
Jacobeo MS Money 2007--missing msvcr80.dll--Where can I get it, and be safe
I have used MS Money for 8 years, and when I purchase the 2007 edition, I was having some problems with back up to a flash memory on the E drive (USB). I ran my Symantec System Works, -- find and fix problems it gave me a message that MSVCR80.dll was not available to enable one Money function. I did a google search and came up with .net and msvcr80.dll however it did not have the MS assurance tag and I was hesitant to try to download it and possibly get a virus or a trojan horse. I also do not want to download .net because I am not a developer, and I have read messages that indicated that they cannot get rid of the .net software after they installed the dll. Why would MS fail to put all of the .dlls on the Money Disk. I bought t ...Show All
freddieb Urgent Problem - Receiving 0 bytes when sending bytes to remote socket
Hi, I'm having a real urgent problem that only started to show in production. We're using async SSL sockets broadcasting packets to several clients. However, some clients reply with 0 bytes when the packets are sent to them, whereas this problem never showed on our internal network. This only happens for clients connected via the internet. Any idea what could be going on here Tom What do you mean by SSL Sockets Are you using System.Net.SSLStream Could you provide a short code snippet showing the send code and receive code Thanks A received byte count of 0 indicates that the connection has been closed by the other end in some of .NET's networking APIs. What API are you using What's the me ...Show All
Tadwick passing runtime queries to DB...
Hai, I'm using these codings to pass values to insert query during runtime i.e; from TextBox control. Given here is partial coding, anyone pls give me a sample coding just to insert atleast 2 values to db Table from the user. using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Data; using System.Data.OleDb; namespace Student { class InsertDemo: System.Windows.Forms.Form {//start of class private System.Data.OleDb.OleDbConnection myCon; private void InitializeComponent(){ this.myCon = new System.Data.OleDb.OleDbConnection(); this.myCon.ConnectionString = @"Provider=SQLOLEDB.1;Persist Security Info=False;Use ...Show All
Syed Atheeque Pasha WSE066 Error
Hi, I'm getting the following error on a few clients. -------- Microsoft.Web.Services3.Security.SecurityFault: Message Expired ---> System.Exception: WSE066: Timestamp is expired. This indicates a stale message but may also be caused by lack of synchronization between sender and receiver clocks. Make sure the clocks are synchronized or use the timeToleranceInSeconds element in the microsoft.web.services3 configuration section to adjust tolerance for lack of clock synchronization. -------- I've set the timeToleranceInSeconds to 14400 and verified that the clients receiving this error are within this time window. Since this is only happening on about 5% of my clients, I think this is a client configuration issue and not a service re ...Show All
