poita's Q&A profile
Visual Studio Express Editions a quick MFC course
hi i have visual c++ 6.0 and i have a little game to develop with MFC did any one know where i can find a quickcourse of MFC or an MSDN for MFC. i know programming c++ but i don't know anything about MFC can any one help me please hello Sorry for lack of reply, for course material of MFC, you can find as much as you want in MSDN, here I found some, hope it helps: Hierarchy Chart http://msdn2.microsoft.com/en-us/library/ws8s10w4(VS.80).aspx Class Library Overview http://msdn2.microsoft.com/en-us/library/fe1cf721(VS.80).aspx Sinceresly, Bite Qiu Microsoft Online Community Support ...Show All
SQL Server Parameters in an OLE DB Command
Hello! Is there a way to use an OLE DB Command transform to execute the following SQL query "Select sum(length(" + @[User::varDBName] + ":informix.cyh_t.u_obj)) from " + @[User::varDBName] + ":informix.cyh_t, " + @[User::varDBName] + ":informix.cch_t where " + @[User::varDBName] + ":informix.cch_t.d_obj = {D '" + @[User::strQueryDate] + "'} and " + @[User::varDBName] + ":informix.cch_t.n_objid = " + @[User::varDBName] + ":informix.cyh_t.n_objid" I get a DB number from an OLE DB Source, do a lookup to get the DB name and then I want to use the OLE DB command to get a result from the query but I can't seem to get this to work. Am I using the wrong transf ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Rocket Commander XNA Game
Hi everyone. I ported my famous Rocket Commander game (first .NET 2.0 game, free game with source code) to XNA and thanks to some multi-threaded optimizations it runs very good on the Xbox 360 too now. More information, the download links, screenshots and some notes about the porting process from MDX to XNA can be found on my blog: http://abi.exdream.com Rocket Commander XNA Screenshot: can not compile the source... its missing the XNAGraphicEngineContentProcessors.dll ...Show All
SQL Server customize template.ini to upgrade from msde to express edition?
I need to create the script to upgrade the current named instance of sql 2000 desktop engine to sql server 2005 express edition. I am having difficulty preparing the template.ini and would appreciate help. [Options] INSTANCENAME=MY_INSTANCE SQLBROWSERACCOUNT=NT AUTHORITY\NETWORK SERVICE SECURITYMODE=SQL SAPWD=music UPGRADE=SQL_Engine SQLBROWSERAUTOSTART=1 RSCANINSTALLDEFAULT=0 RSCONFIGURATION=FilesOnly RSSQLLOCAL=0 I get an error that this file is invalid..Any clues I am trying to upgrade existing instance of msde 2k to sql express 2005 and uses sql authentication When a parameter includes space characters, you need quote with " or '. For example, the browser account should be specified as ...Show All
.NET Development which is the better data storage, XML or Excel
Hi, I am developing a windows application that requires constant connection to data store. The data will then be used for calculation. I don't wanna use SQL database as i thought the retrival process could slow down the performance. Hence, I am thinking of using either XML or Excel as data store for retrival and calculation. Is there anyone know where I can find more information about how to choose the approperiate data store. any help is appreciated. Thanks!! Carol You do NOT need to install Excel to be able to work with Excel files from the application. You could read and write Excel files using Jet OLEDB provider or some other tools and you do not need Excel application for it. Excel will work faster, since XML adds extr ...Show All
Visual Basic MS Press book errors/corrections found where?
Hi: I am working thru the book: "Developing Web Applications with VB.Net and Visual C#.net"-ISBN--0-7356-1927-1--and am finding many errors in it! Where do I go to find a list of errors (and hopefully corrections) for MS Press books I have been to the page on Microsoft's site where you type in the ISBN --and it returned nothing. thank you in advance! julie s Just as a side though - did you check that the version of .net products you are using is the same as the version that the product is referring to. There are three versions of .NET 2002, 2003 and 2005 and wach product has a number of different versions which may mean you will see some options in one version and not another. An example of this ...Show All
Visual Studio 2008 (Pre-release) cant log in vpc orcas !
I am using Visual Studio Orcas VPC Credentials: Username: Administrator Password: P@ssw0rd but it wont log me in I had same problem like you, but after about 1 hour of typing password that couldn't log in, i found that I type wrong password :(. correct pass is P@ssw0rd (0 means zero number, not big O character). And I loged in successful. But I have a problem that couldn't use any new feature like: WPF, WF or WCF, LINQ... Could you tell me the guidance. Thanks very much Rgds Nguyen Minh Dung ...Show All
Visual Studio Tools for Office Which Interop To Choose?
Hello everyone. I have a question about the Office 12 Interops - I wish to develop a solution for that platform under .NET v2, But the interops i have right now are either COM or .NET v1.1 assemblies. Are there any v2 interops planned (Although the v1.1 interops seem to work with v2 form applications) Which are preferable - COM or Managed Thanks in advance, Ran Sagy. I'll describe a common scenario to illustrate it better. Let's say i create a new solution with a normal C# WinForms project. I now go to References, Add Reference... and i have two choices - The PIA Interops that are compiled as .NET v1.1 runtime assemblies, Or the COM .OLB Interops. My question is, Which should i use (And ...Show All
.NET Development Valid Access Query Creates Empty Table using OleDbCommand?
I have a very simple query which runs through the Northwind customers table and extracts all CustomerIDs who live in a city starting with 'P'. It works great if I double-click on it in Access, but when I run it through my VB code, an empty table is created. Any idea what is going on Here is the very simple query text, which works well in MS Access, called 'MyQuery': SELECT DISTINCT Customers.CustomerID, Customers.City INTO pCityCustomerIDs FROM Customers WHERE (((Customers.City) Like "P*")); Here is my very simple VB Code: Public Function ExecuteProcedure( ByVal sFileLocation As String ) As Integer Dim dcMSAccessConnection As OleDb.OleDbConnection = New OleDb.OleDbConnection( _ "Provider= Microso ...Show All
Software Development for Windows Vista Distributed Transaction problem
Hi, I'm having problems getting transactions to work correctly in a state machine workflow. Within the TransactionScope activity I have a Code activity that does a couple of database writes, another Code activity that sends out a notification email, and a SetState activity, which I want to be executed only if the rest of the code executes correctly. The WF runtime and DB are hosted on different servers. After fixing a "The partner transaction manager has disabled its support for remote/network transactions" error by enabling the MSDTC stuff on both machines, I'm now getting a new error: "The transaction has already been implicitly or explicitly committed or aborted (Exception from HRESULT: 0x8004D00E)" A ...Show All
Visual Studio Team System Unshelve after element move
Hello, I just moved a bunch of element off the main branch down to a development branch. Before the move I told the developers to shelve their work, once the move was done they could unshelved their and continue working on the new development branch. All was well until the developers started to check in there code. Their check-in's were being pushed back to the old folder structure on the main branch. While the elements were in the pending change status in the correct location as soon as they check in they got a conflict saying that there was a newer version on server. The conflict resolution was to either take the server and lose there changes or pick the local version which in turn moved the element back to old structure. With tha ...Show All
SQL Server Bug?
I have a .rdl file which I opened in visual studio 2005. I answered Yes to the prompt Microsoft Report Designer. . . Do you want to convert this file [Yes] Then I saved the file. The issue is when I am in Visual Studio and click on the Preview tab, I get the following error: [rsErrorLoadingCodeModule] Error while loading code module: ‘x.ReportDefinitionsHelper, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null’. Details: Could not load file or assembly 'AdvancedMD.Report.ReportDefinitionsHelper, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified. There was a <CodeModule> which existed prior to the conversion and the preview worked fine. I trie ...Show All
SQL Server Unable to save query
Hello and thanks in advance for any advice. I have an application being written in C#, the forms and such are used to show, input or otherwise manipulate data within the tables of the connected database. The database is an SQL Database File (.mdf) and has been created within the project. The problem is I need to create a form which uses the data of a query but when I create the query (right-clicking in the 'Server Explorer' and selecting 'Add Query') and after configuring it how it should be I choose save all and nothin happens, the query is nowhere in my DB or project and it wont even let me rename it in the properties window, before or after I save it. Basically this application is a replica of one I have written for college in Access(vb ...Show All
Visual Studio Team System Database Project Build
I'm receiving an error when building my project. I am creating tables/indexes on specific filegroups. Those filegroups exist on the target server. When I try to build, I get error messages saying that it's invalid. How do I fix this Here is the sample code and the error message. Also, I have a user-defined datatype on the server, but not in my project that causes errors. We have multiple applications within the same database so I'd prefer not to have to include everything in each DB project. Thanks. THIS WORKS CREATE TABLE [dbo].[LetterStatusType] ( [LetterStatusTypeID] [int] IDENTITY (1, 1) NOT NULL , [LetterDeliveryMethodID] [smallint] NOT NULL , [LetterStatusCode] [smallint] NOT NULL , [LetterSt ...Show All
SQL Server Connecting to Oracle RDB from SSIS
Hi Gurus, I am trying to build a Data Warehouse using SSIS in SQL Server 2005. My source data is in Oracle RDB. Now when I am trying to connect to oracle RDB using the OLE DB Source component, I am getting the following error. Test connection failed because of an error in initializing provider. Oracle client and networking componenets were not found. These components are supplied by Oracle Corporation and part of the Oracle Version 7.3.3 or late client software installtion. Provider is unable to funtion until these components are installed. I did install the Oracle RDB client software .Apparently it looks like Microsoft OLE DB for Oracle supports Oracle 7.3.3 and above. At the same time I tried to use ODBC for Oracle RDB driver ...Show All
