gauls's Q&A profile
Visual C++ Standard header file?
Hi everyone, I am new to Visual C++ and I thought I need some help here. I am currently using Visual C++ in MS Visual Studio .Net 2003. I am trying to compile a previously written program but I am always getting this error.. Documents\Visual Studio Projects\MV_OPEN_1\MV_OPEN_1.cpp(5) : fatal error C1083: Cannot open include file: 'iacqctrl.h': No such file or directory I looked through the code, and the header file iacqctrl.h is included as #include <iacqctrl.h> My limited understanding tells me that this header file is a standard library file in Visual C++ and when I try to google this header file, there is no hit. I am doubting if this is a standard header file in Visual C++. Can anyone advise Thanks. ...Show All
SQL Server "NOT IN" SQL Statement
Hi, I need to create a SQL statement as a datasource. I need the SQL statement to exclude the records that exists in another table! I tried to use the where clause SELECT X.A,X.B,X.C,X.D From X where X.B,X.C,X.D NOT IN ( SELECT Y.E,Y.F,Y.G From Y ) The SQL Statement works fine when I have only one column in the NOT IN part but gives me syntax error when I have more than one column in the NOT IN part. Please advise how can I write this SQL statement in T-SQL Thanks, Aref For more information about the provided syntax by joeydj look for the keyword correlated subqueries. HTH, Jens SUessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Waiting is booooooring....
Do you think somebody at Microsoft is reading these posts Are they making us wait on purpose do you realize that we are fan of a software we have never seen... :d it's probably a little stupid... Anyway, we are all impatient (and i have to setup a fresh XP and setup AGAIN my vista pre-RC1...). I was really desappointed when i read that Vista was not supported (as for Atlas, Gat/Gax and factories). long day!!! ...Show All
.NET Development Accessing custom Performance counters & .NET security.
Hi folks, i have a quick question about custom performance counters and .NET security. On my local machine XP i can create and use custom performance counters in my c# application without a problem. all is perfect :) When i deploy my application to another server i get securityExceptions with the performance counters. So my question is this:- 1) Is it possible to use IN-LINE code to allow your program to get the 'proper' access to performance counters on the machine the application is running 2) If #1 == No, then is the only way to do this via manually allowing the user the application runs under special privaliges (eg. part of the admin account ). 3) if #1 == Yes, then could someone please provide some clues/hints ...Show All
Visual Basic Cannot save to database?!?
I have a form with tabs. The first tab is used to enter general data about a site. The second tab is used to enter data about specific applications to said sites from the first tab. The information in the first tab can be manipulated as it should, but I cannot do anything with the data in the second. Private Sub SaveToolStripButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SaveToolStripButton.Click Me.Validate() Me.ApplicationBindingSource.EndEdit() Me.ApplicationTableAdapter.Update(Me.Sludge2DataSet.Application) End Sub I get the following errors when deleting or adding data: Update requires a valid DeleteCommand when passed DataRow collection with deleted rows, Update requires a v ...Show All
Visual Studio Team System Cannot access Sharepoint admin after TFS install
I installed a single server of TFS and everything was fine. After the install I am trying to access the sharepoint admin to grant me access to create sites and it won't accept any of my user/passwords. I tried the domain administrator, the local administrator and every other user I can think off and it still keeps prompting me for the user/password. Has anyone seen that I can't create new team projects because it fails saying I don't have access to create the sharepoint site. Thanks! Somehow the problem was related to the application pool. When it runs with the domain\tfsservice I can't log in to the admin page. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. No 3D Audio?
1.4.3. No Support for 3D Audio in Final Release Although, the XNA Framework supports 3D audio in this beta release, the XNA Framework will not support 3D audio in the final release of XNA Game Studio Express. Just for now or forever What's the future of 3D audio on the Windows platform Hi Zingam. We were not able to get 3D audio working cross-platform on the Xbox 360 and Windows in time to make our holiday release. We didn't want to release an buggy code and create more frustration. We plan to address 3D audio in a future release. Thanks. aL ...Show All
Visual Studio Visual Basic Debugger Crash
I have just recently installed Visual Studio 2005 and in my GUI Design class we have opted to use Visual Basic. The problem I am having is that whenever I try to use the debugger by setting a breakpoint, everything goes well until I actually reach the breakpoint. When my program reaches the breakpoint, everything freezes up. I am unable to force quit the program or Visual Studio, or alt-tab to any other applications. The only thing I am ever able to do is bring up the task manager with ctrl-alt-del, but I am unable to kill processes or anything from the window, as it too freezes when I click on the window with the mouse. This is on a fresh install of Visual Studio 2005 on a fresh install of Windows XP Professional SP2. I have all the updat ...Show All
Visual Studio Tools for Office Error when trying to install ClickOnce Application
Howdy, I'm trying to install a clickonce application from IIS on my development machine which has .NET 3.0 installed and VS2k5 sp1 installed. When I navigate to the site and click the Install button I get the download dialog and all is well until I select run from the the setup dialog. I then get the error below: The following error occurred attempting to install 'http://luke/ArlTexAjax/AddressBook.application': "Application not found " I have set the MIME types for .application, .manifest and .deploy extensions. As I was working trying to solve this issue I noticed if I clicked on "launch" link on the installation page, the install is accomplished successfully. It seems as though the setup.exe file ca ...Show All
Architecture Need help on design pattern
Can somebody help me in deciding the best pattern I should use for following scenario Here is my scenario. XYZ is a company with different members. XYZ sign up with different providers. Each provider needs different information from members. Some of which is common to all providers like first name, last name. On member enrollment screen, first member will select provider and depend on that provider I'm creating controls dynamically (normally input boxes). This is working fine. I created member object with all possible information provider needs (object properties in my case). On submit button I’m assigning values from dynamically created controls to member object. My problem is, member object has so many properties and ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Visual Studio 2005 Pro and XNA
For whatever reason, I can't get XNA of any flavor to run with Visual Studio 2005 Professional. (A legal copy, before you ask.) I'm told when I try to install XNA that I need Express Edition. Surely XNA won't lock me out because I have a better program than the required edition Anyone You must not have read the FAQ : Q: Are there any prerequisites to run XNA Game Studio Express A: Yes, you must download and install Visual C# Express and the latest DirectX runtime updates . The full DirectX SDK is not required. Once you have XNA installed you can uninstall VC# Express if you wan to use VS, but as they run side-by-side without problems why bother, unless you're hard up for disk space. VC# Express offers featu ...Show All
SQL Server could not find stored procedure 'dbo.sp_MSdropfkreferencingarticle'
Hi, I'm trying to generate a snapshot of a database (running on SQL 2005 SP1) prior to starting transactional replication to an SQL 7.0 server. After generating the snapshot, the agent fails with the error message 'could not find stored procedure 'dbo.sp_MSdropfkreferencingarticle' and suggests lookin at error number 2812 (which offers no help). I was convinced this worked prior to installing SP1, but that testing was done some time ago.... Andy, this is a bug we need to fix (I am guessing you are using "truncate" as the pre-creation command). To workaround for now, you can: 1) Use drop as the pre-creation command 2) Create a dummy procedure "sp_MSdropfkreferencingarticle" at ...Show All
Windows Forms Rowvalidating event e.Cancel Hangs
I am using Rowvalidating event to validate and prevent user from moving out of the row unless the validation succeeds. The code looks like below if (dgdTelephones.Rows.Count > 0 && e.RowIndex < dgdTelephones.Rows.Count - 1) { if (dgdTelephones.IsCellNullOrEmpty( "TelephoneType" ) || dgdTelephones.IsCellValueExists( "TelephoneType" ) || dgdTelephones.IsCellNullOrEmpty( "TelephoneNumber" )) { e.Cancel = true ; } } I have 2 gridviews on the screen. This is one of them and has this event. When I move from this grid to any other control no issues, but when i move to the other grid, the system hangs. The processor is 100% used. Any idea whats happening. If I use the cell validating event it ...Show All
SQL Server Scheduledefinition.Item returns always null
Hi All, I have a built an application to manage the report-subscription on my ReportServer. I'm having some troubles with retrieving the subscription properties. My problem: I can retrieve all my propertie except the schedule definition, when I deserialize it, the Sceduledefenition.Item always returns null. I use the next code to deserialize it: ////////////////////////////////////////////////////////////////////////////////////////////////////// private XmlAttributeOverrides GetSchedule() { XmlAttributeOverrides xmlAttrOverride = new XmlAttributeOverrides (); XmlAttributes XmlAttr = new XmlAttributes (); XmlAttr.Xmlns = false ; xmlAttrOverride.Add( typeof ( ScheduleDefinition ), XmlAttr); xmlAttrOverride.Add( typeof ( Minut ...Show All
.NET Development Oracle and VB.Net
Hello, I'm new in VB, and I'm doing my first application. I want to publish my application in a file server. The Database is an Oracle 9i, the DataBase is in a different machine than the file server, do I need to install the Oracle Client in the file sever Because, when I try to execute the application in a client machine, I got this error message: Unable to Load DLL 'OraOps9.dll' ************** Exception Text ************** System.DllNotFoundException: Unable to load DLL 'OraOps9.dll': No se puede encontrar el modulo especificado. (Exception from HRESULT: 0x8007007E) at Oracle.DataAccess.Client.OpsTrace.GetRegTraceInfo(UInt32& TrcLevel) at Oracle.DataAccess.Client.OraTrace.GetRegistryTraceInfo() at Oracle.DataAccess.Client.OracleCo ...Show All
