Rodrigo Landaeta's Q&A profile
Visual C++ ActiveX "Object required" error
hello sorry if you have replied to my previous question, i didn't have the chance to read your answer (thread deleted) I have this error that stop me from using an ActiveX that i have just programmed and checked using the control test container. "Object Required" (error is fired when i try to attach a variable to my control) Thanks a lot for your time Olivier Please provide more details. If this is inside I ...Show All
.NET Development where does ServiceController gain its authority to start and stop services?
OK, second time I'm posting this question... some a-hole thought it was off topic on the windows forms forum (so they just deleted it... how nice eh ). guess since its a Component and not quite a "control" its out of place... how lame. my question is about the service controller. I started looking at it today, but do not see anywhere that allows someone to specify "who" is controlling the services. Where does the service controller d ...Show All
Architecture Advantages of OOP ?
Hello, Im a fun of OOP designs. I design my bussiness classes when I start a new project. Then maybe I will write mapper classes for bussiness classes to map DB tables or using an O/RM tool or an ODBMS . Think that this project is big one and it has long deadline. You will develop it 2 or 3 years. Requirements will be changed. To develop this project with OOP designs and n-Tier application design is good idea. But I am asking myself ...Show All
.NET Development Custom Applicationexception question
I have just created an exception class with a base class of system.applicationexception. The question I have is what is the best way to use them. For example, say I had a class to read a csv file, the possible exceptions I could see occuring are 'invalid data','error opening file','Error reading from file'. I am sure there are more but this will do for this example. Now would I have one exception class that can return all of the ...Show All
SQL Server Generating File names on the fly
Hi, I want to create a package that can process a flat file based on the current data. i.e. name of the file contains current date and some predefined characters. What is the best way to process it Use a property expression on the ConnectionString property of your FlatFile connection manager to set it to the correct filename (containing the date). -Jamie ...Show All
.NET Development Help!!?? Question about looping a Dataset
Below is some example code, my application runs this and it seems to run a somewhat less than infinite loop. It seems to repeat exponentially by the number of records in the dataset. Am I missing a termination of the loop somewhere Do I even need to Any thoughts would be appreciated. For Each myRow In sqlDataSet.Tables( "MinimumDataSet" ).Rows() Try 'Do some stuff Catch ex as Exception 'Catch an exceptio ...Show All
Visual Studio 2008 (Pre-release) System.Runtime.CompilerServices.RuntimeCompatibilityAttribute error
I have installed the september CTP of VS 2005 and the WinFx SDK. If I load any Avalon project and run it I get the following exception .. "Could not load type 'System.Runtime.CompilerServices.RuntimeCompatibilityAttribute' from assembly 'mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.":"System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" I have followed the correct installation process and I have .Net Fra ...Show All
Windows Forms CancelButton not compatible with ToolStripButton
I want to use a button in my ToolStrip (a Forms.ToolStripButton) as the "escape key handler" for my form. In the form designer only plain Button objects show up in the list of candidates for the property. Also, if I try to cast my ToolStripButton--as in "this.CancelButton = (IButtonControl) myToolStripButton"--that generates a runtime error. So my conclusions are: Only plain Button objects may be assigned to the Form ...Show All
Visual C# Speech to text using SAPI5.1
Hi, I have created few profiles in the control panel-speech. But when i try to convert the speech to text, it takes the default selected profile and gives the incorrect result. If I select the correct profile in the control panel-speech, then my application works fine. Tell me how to set the profile programatically, in c# application. Thank you, Prashant ...Show All
Windows Forms DataGrid: Where Am I?
I have added a ContextMenu to a DataGrid in the forms designer of VB Express 2005. Having added items to the menu, the functionality I am trying to achieve is to perform one of the menu actions on the current row of the DataGrid. Firstly, which event of the context menu do I trap Click Mouse Up Secondly, how do I find out which row of the DataGrid I was on The event is owned by the ToolStripMenuItem, which is owned by the ContextMenu whic ...Show All
SQL Server subtotal and subaverage
Hello, I want to have a subtotal column AND a subaverage column (or n total columns) like the one in the following example - but without the extra Avg column in the Data area. How to do that 2000 Q. 2 April Avg May Avg June Avg Total Avg North 4800 4800 5708 5708 5580 5580 16088 5363 ...Show All
Windows Forms What's the Windows Form Equivalent to the ASP Drop down list
I want to download a list of names and reference numbers, display the names to the User, and from his selection read the associated reference number, but I can't see the Windows Form to do this. I'm missing something pretty basic and deserve contempt, but would appreicate being enlightened. Thanks in advance. Following you suggestion of a binding problem, I re-configured the data adapte ...Show All
Windows Forms Changing listview cells backcolor...
I have a listview that has 2 columns and 2 rows what I want to be able to do is change the backcolor but just for individual cells. I have used the following code but it does not seem to have any effect, can anyone see why ...Show All
Software Development for Windows Vista K2.NET vs WWF
Hi.. I have been evaluating K2.net and other workflow tools.. and addition of WWF adds to the confusion. now k2 solves most of the workflow scenarios though the licensing may be a issue with some clients. Now WWF g8 to use and with not many licencing issues but the problem its still beta.. So what should you suggest to a customer who is planning for a workflows at a large scale in the next 6 months .. any pointers Regards Parito ...Show All
Visual Studio Class Designer with VS2005 C++
Hi, I have VS2005, is the class designer supported with projects written in C++ Cheers, Robs Pierre r2d1 wrote: Robs Pierre wrote: Hi, I have VS2005, is the class designer supported with projects written in C++ Cheers, Robs Pierre Why do you think class designer is supported for C++ I'm asking this question of anyone, not just Robs. ...Show All
