Operator10's Q&A profile
Visual FoxPro FoxPro v9 vs Visual dBASE Plus 2.01 BDE 5.2.02
Hi there. I just installed a Visual FoxPro 9.0 and started "playing" with it. Tried to create a table - it is straightforward and then a form. It seems to be a rich platform. Something puzzles me though. I do have extensive experience with Visual dBASE PLUS and previous versions in terms of OO language and form/table designer. Thus I am trying to compare. I am attempting to migrate to MS software/platforms wholesale since the dBASE is offering limited options as compared to MS's tools. I am doing C# and Visual FoxPro at the same time. Anyway, So far, after about two hours of playing with FoxPro Form designer I encountered some problems. They ...Show All
.NET Development How to determine Missing WebMethod
I could not find a missingMethod exception version in SoapException which is thrown by Web Services. When i call a Web Method in my client, I need to determine whether returned error specifies missing method exception. My client code takes Web Service URL as input and call a method in service. Web Service wont return a WSDL file as a security measure. Please help. Thanks, Salim Hello salim. MissingMethodException is returned when a CLASS does not feature a certain method you are trying to invoke dynamically. If you attempt to call a non existing web method in a web service, your call is even not goi ...Show All
SQL Server Detect installed version?
Today I installed SQL Server 2005 developer edition on a test server. Afterwards I also installed the SP1. During the installation of SP1, the installation program said the server should be restarted afterwards, which I did. Now when I look at the Add/Remove Programs dialog I have several items which mention SP1 on the SQL Server items. But when I request the server properties in Managemnt Studio I see the version number 9.0.2047. Shouldn't this be 9.1.XXXX How can I be sure the SP1 is correcty insatlled Stievie If you look on the download page under the Quick Details, the version number is listed as 9.00. ...Show All
Visual Studio vs 2005 beta 2 setup fails
When I try to setup vs 2005 beta 2, it says that it failed to setup visual studio itself after it gets to the end screen. The installation seems normal untill then because the vs 2005 even gets a checkmark next to it when on the install screen. The progress bar never moves when it is on vs 2005 though. I will post the error log when I can find it. Hello, I am getting the same kind of error when installing Visual Studio 2005 Beta2. The comments before the "return value 3" are: MSI (s) (20:D8) [11:12:03:571]: Assembly Error:Function not defined in specified DLL. MSI (s) (20:D8) [11:12:03:571]: Note: 1: ...Show All
Visual Basic Parsing a path
fname = ofd1.FileName ffn = fname.Split( CChar ("\")) w = 0 While True If ffn(w) = "" Then 'finding unassigned element of array lbl_filename.Text = ffn(w - 1) 'setting second la ...Show All
Software Development for Windows Vista quartz.dll SP2 debug
Just wondering, last time I looked (when DirectShow was included with the DirectX SDK) the quartz debug dll was pre SP2, now in the Platform SDK it does not seem to exist at all. (I have the Windows Server 2003 SP1 SDK). Does a quartz debug dll exist in a later Platform SDK If not, is there going to be one Earlier I really liked the debug dll since I would get information about interfaces that was not released and everything like that. And now when I'm going through another development phase it would be really nice to have all that great functionality back. Using the SP1 version of the dll won't work since I need some SP2 features. By the w ...Show All
SQL Server Is there a way to Import Tables From Microsoft Access 2003 with SQL Server 2005 Express?
Hi, I've just installed SQL Server 2005 Express Advanced and I haven't found a way to import Microsoft Access 2003 files. Is there a way to do it Thanks in advance, Sergio Oliveira In Access, go to Tools... DataBase Utilities... Upsizing Wizard. This should do it, though I have not done it myself just yet. ...Show All
.NET Development datasets and direct database connection
Hallo , I am using Visual Studio.Net 2003 to develop a windows application. Using a Datagrid i display values from different tables in the database. If i want to delete or update the database, does it make any difference in updating the database directly or using datasets in sense of speed or performance of the programm I mean like string myExecuteQuery = "delete from mytable where name ='john'" OdbcConnection myConnection = new OdbcConnection(myConnectionString); OdbcCommand myCommand = new OdbcCommand(myExecuteQuery, myConnection); myCommand.Connection.Open(); myCommand.Exe ...Show All
Visual Studio Tools for Office Stop Word fire an event
Hi everybody, Now my word customization is almost finishd. But one thing is left. Every time I want to close the application 2 dialogs are started. - Do you want to save - Do you want to save the changes on the template How can I stop these 2 dialogs. It's nice to get a warning, but I still don't want it. ...Show All
.NET Development Clarification
Hi, I try to do a wildcard string search into a DataGrid and I need an event handler (in my opinion) for an insert/delete row/column event to loosen/restrict the search space (rows x cols). It's important that the type of data source indicated by DataGrid's DataSource property can be DataTable, DataSet, DataView, DataViewManager, or derivates. I hope somebody will enlighten me. Thanks I want to know after an update of the data source the no of all rows and columns of the grid independently of the data source's typ ...Show All
Architecture Saving Composite Data Model
I have a composite data model defind as: class DocumentModel{ string _name; List<PermissionModel> _permissions; } Currently I have two classes in my DAL one handling the core document information (in the example above, Name), and another handing permission related data. So to successfully save a DocumentModel, I would have to make at a minimum 2 trips to the database (assuming I can bulk save List<PermissionModel>). Suppose I to want to improve my current design pattern, would the following methods be better or worse 1) Have a single class in the DAL that takes in the entire Document model and calls th ...Show All
Visual C# In C#, when I insert a record into Access tabel, why will it cause error if the length of string inserted exceed the leng
I define a field "myField" in the tabel "AccessTable", the length of "myField" is 3 when I insert a string with the length 7, it will cause error, why myCommand.CommandText="Insert into AccessTable (myField) values ('123457')"; //cause error!!! myCommand.CommandText="Insert into AccessTable (myField) values ('12')"; //OK When I do the same thing using Pascal in Delphi, if the length of string exceed the length of a field, it will not cause error, the exceeded string will be trim automatically! OleDbConnection myOleDbConnection=null; OleDbTransact ...Show All
Visual Studio Random behaviour with ITaskItem[]
I have a target that I pass an ItemGroup to. I then call a task that takes this ItemGroup as a parameter and a ITaskItem as another parameter. Sometimes, if I pass an ITaskItem[] to the ITaskItem parameter, MSBuild is clever enough to realise that I want the task called once for each item in the ItemGroup. Most of the time, however, I get this error: Multiple items cannot be passed into a parameter of type "Microsoft.Build.Framework.ITaskItem" Anyone any ideas why this behaviour would be so random Hi Michael, This is hard to believe, but this behaviour is actually "by design&q ...Show All
.NET Development Can't get a TCPClient Connection working
I've been working on this same thing for quite some time now. I'm trying to make an admin console to manage my IRC server, but I can't get past the beginning stages of establishing and maintaining a connection. I finally copied the code out of the project and made a new one with just a textbox, trying to just dump every bit of data I'm sent into that box, but even that isn't doing anything now. I've looked into IRC communication, so I know I'm using the correct syntax. Can someone look at this and tell me why I'm not seeing anything in my textbox In the project I copied this out of, I was getting one messagebox, which was good, but a little ...Show All
SQL Server ODBC Driver for SQL Server 2005
I can not find the driver update for SQL Server 2005 ODBC. Does anyone know where I can download it. I look in microsoft downloads not luck. The SQL Server 2000 driver will work for a fair number of cases against SQL 2005. If you have installed SQL Server 2005 locally then you will have the driver installed. The driver is called SQL Native Client(SQLNCLI) rather than SQLODBC as it was in older versions ...Show All
