WillfinDavid's Q&A profile
Visual C++ Can't run NMAKE from command line
All: Very new to VC++. I just installed VC++ 2005 Expresss Edition Beta 2 on a Window 2000. It was activated as instructed. From the command line I entered: nmake and it gave back: 'nmake' is not recognized as an internal or external command, operable program or batch file. What should I do from here Should I set path to point the VC++ home Thanks PCZ The solution is just as you expect - the path needs to be set. Ok, I am using VC6, and assuming the solution will be the similar, if not the same; if you have a look in the bin directory, you should find VCVARS32.BAT. This batch file will set up the environment as you need to. ...Show All
.NET Development Raise / Trigger events programatically
How do I trigger an event in an object. I do not want to call the code in the event handler directly or multiple reason: 1) There may not be one 2) There may be a number of event handlers 3) My event handlers are private I want the equivalent of PerformClick but for any event. This was piece of cake in my last language but seems perversely difficuly here. It's probably a security issue, but it's hard to figure out why sending events is less secure than using Reflection methods. Is there any problem in the CLR environment with getting the object handle and using SendMessage Paul Cotter <Aside > In my last languag ...Show All
Visual Studio VS Team Test extensible to support alternate languages?
We are VSIP members with debugging support for our own scripting language. Can Visual Studio Team Test be extended for any arbitrary language If not, is this planned and what is the timeframe Thanks. See Microsoft Technical Forums Visual Studio Team System Visual Studio Team Edition for Software Testers That forum will be helpful to you, because the Team System folk are more active over there than in extensibility. ...Show All
Visual Studio VSS Add-in Missing after Installation
I have installed Visual Studio 2005 RC1 and VSS 2005 RC1 on a machine that has never had a previous beta. The VSS add-in is not available from within VS2005. I did it on another machine and it worked fine. I also uninstalled and re-installed VSS with no effect. VSS works fine except that it is not integrated with VS2005. Has anyone seen this problem How can I install the Add-in manually Thanks, Steve Wright Hi, I have read through the entire thread and I seemed to have followed all instructions and suggestions, evene reviewed my registry keys... but there appears to be one critical thing missing that I c ...Show All
Windows Forms MySQLDataAdapter Insert Not Working...
Can anyone see why this insert command is not working It is not generating any error messages. It acts as if it has inserted the records, but when I check the database the row count is still 0. Here is my code... <hr> <color="Blue"> Public Sub UploadJournals() 'Import table structure. Dim mSQL As String = "SELECT * FROM salejnls" Dim conStr As String ...Show All
SQL Server making two sums in one query
Hi Im new in this forum so don't if this is the right place to post these kind of questions.. Im using vb2005 and have made a program that deals with customers and payments. I have a table called acount. Roughly it contains these columns Number, amount, type.. type can be a payment or a charge I would like to have a query that gives me this result: Number, sum(payments), sum(charges) (grouped by number) I think it is some type of merging these to querys select number, sum(amount) where type = 0 group by number and select number, sum(amount) where type <> 0 group by number Im using it to calc ...Show All
Software Development for Windows Vista Best archtiecture for long runnig workflow?
Hello, I'm still not came over a good example for long running workflows with human interaction and don't see clearly the best architecture for it. Would a Windows Service be the perfect host It should contain some Webservice interfaces. Especially the one to start it with. Greetings, Andreas Can you give me a bit more information on what you are trying to do StateMachines can be run with Long running workflows, even to web services. ...Show All
.NET Development can anyone compile a ia64 project on Win2000 with VS2005 team edition?
hi, my project always give the following error: error MIDL2457 : oleaut32.dll in build system doesn't support cross platform tlb generation midl. this error doesn't appear if the project is compiled on a WinXp environment... Is there a work around I don't want to reformat my work pc... Florian This question was answered on a different forum. http://forums.microsoft.com/msdn/showpost.aspx postid=286933&SiteID=1 Jeff ...Show All
Windows Forms data storing in c# windows app
I've always been curious about how this is done in windows application. Let's say I need to develope a c# windows app that let me manage my CD collections, I don't want to use MSAccess as database backend because user can open it directly I don't want to use MSSQL becuase most user don't have it How would I store the info, and at ...Show All
Visual Basic Relase the Fix for Visual Basic Compiler Error &amp;H8013141e&amp;
Hi all i just want to know when is going to be released the fix for visual basic compiler error &H8013141e& this is already reported in the microsoft productfeedback site. i think this is a very urgent patch that must be released asap and please do not repond that i should go back to vs.2003 because i have lots of code developed in VS 2005 to framework 2.0 .. JSB PS: this error pisses me of, i need to restart VS.IDE every 5 minutes. i think this is too bad for a recent relesase product ( its full of Bugs ). Hi, João, This is a good opportunity (in the ...Show All
Visual Studio Team System Create new root folder?
Hi all, how could I create a new root folder in Source Control of TFS I have a new solution which I want to add so I click "Add Solution to Source Control". But then I need to place it in an already existing folder Isn't it possible to create there a new root folder Thanks! Root folders in TFS are called "Team Projects." You can read about them here: What is a Team Project Planning a Team Project If you want a blank root folder without any of the other features, see this thread . ...Show All
Windows Forms Retrieving theme color values
Does anyone know of any good documentation on the Windows themes Or how to retrieve the various color values with either VB.NET or C# TIA, Richard Are you refering to the Windows XP themes In that case, what kind of values would you expect Most of it is image-based, so you can't extract color values from it. If you are refering to the colors that the user can set in the display properties: those can be retrieved by using the SystemColors class. ...Show All
Smart Device Development Combobox Bind to a SQLCERESULTSET
Does anyboy how to bind a Combobox to a result set like a datagrid When I bind a combobox to resultset and i have few registers its work fine,but When I have a lot of registers its to slow and also fill my pocket pc memory. Me.ComboBox1.DataSource = ResultSet Me.ComboBox1.DisplayMember = "Fecha" Me.Combox1.ValueMember="N Parte" Why when I bind a resultset to a datagrid its much faster (3seconds) and dont use such a lot of memory than with the combobox Thanks for your help All controls except for DataGrid would fetch all data from DataSource and d ...Show All
SQL Server identity_insert in SQL 2005
Hi, we're currently doing test runs to make our application run on SQL 2005. In one of our projects, we need to replicate data from one master database to several slave databases. As the primary keys need to be the same, I used the "set identity_insert <table name> on" command to insert the exact same keys in the respective identity columns. This has always worked on our SQL 2000 databases. However, in the test runs on SQL 2005, I get the following error message: "Cannot insert explicit value for identity column in table 'NomenclatuurSleutel' when IDENTITY_INSERT is set to OFF." I cannot understand why I get this error messag ...Show All
Visual C# API
Does anyone know where I can get examples of c# code using winAPI I tried using the msdn but since Im a beginner to any kind of programming language, it seems they cater mostly to higher level programmers, either that or I couldnt find the beginner's section. Thanks http://samples.gotdotnet.com/quickstart/howto/doc/Interop/PInvoke_Simple.aspx ...Show All
