A1Programmer's Q&A profile
Visual Studio Express Editions How to compile? (link and run?!)
I'm new to Visual Studio Express and I was wondering how to compile a .cpp or .c source code file I have just created. Any help would be much appreciated. Thanks. Go the build menu in the tool bar and choose to build solution. To run it, press F5. For more details, check the last video at http://msdn.microsoft.com/visualc/learning/vcexpvids/default.aspx Thanks, Ayman Shoukry VC++ Team ...Show All
.NET Development StackOverflowException in ServicedComponent cannot be caught
I got a serious problem with a ServicedComponent: A ServicedComponend running in a server sided COM+Application had an endless recursive loop - a bug obviously. It took hours to figure that one out because even narrowed down to a few lines of code to find the spot that causes the problem the only exception I got from the COM+Application was something like "COM+ Surrogate crashed..." and an exception like this: Unhandled Exception: System.Runtime.InteropServices.COMException (0x800706BE): The remote procedure call failed. (Exception from HRESULT: 0x800706BE) at System.EnterpriseServices.IRemoteDispatch.RemoteDispatchNotAutoDone(String s) at System.EnterpriseServices.RemoteServicedComponentProxy.Invoke(IMessage reqMsg) at ...Show All
SQL Server Alter Database Emergency
I currently have a SUSPECT database which I need to put into EMERGENCY mode. Apparently, in SQL Server 2005, I need to do this using an Alter Database command. Does anybody have the syntax or an example ...Show All
SQL Server Can this be Done??
Hi, just wondering if something like this can be done procedure [dbo].[UpdateStringColumn] @KeyValue int, @Column varchar(50), @value float, @TableName varchar(30), @KeyName varchar(30) as begin exec('UPDATE '+@TableName+' Set '+@column+ ' = '+@value+' where '+@TableName+'.'+@KeyName+' = '+@KeyValue+'' ) end If I can get this to work I only need a few stored procedures to update any table column combination, one for each @Value datatype Well, it can be done. But it is a bad idea. Using dynamic SQL like this has lot of implications - maintainability, security risks, performance problems, manageability etc. See below link for some discussion: http://www.sommarskog.se/dynamic_sql.html Other ...Show All
Visual Studio Team System MSF for CMMI Process Guidance 4.1 Inconsistencies
Hi all, I have found some inconsistencies in the MSF for CMMI Process Guidance 4.1, I wonder if anyone else is facing the same issues as I am or there's something that I am missing in here... An example of the inconsistencies that I have found lies within the "Estimate Project" activity in the Plan Project workstream of the Planning Track: This activity includes the creation of end-to-end scenarios and storyboards and so on while having the Quality of Service Requirements as a pre-requisite. If you go to the "Create a Quality of Service Requirement" workstream in the Planning Track, you see that one of the pre-requisites is that scenarios are prioritized, written and validated. How could that happen What is the ...Show All
Visual C# Can Generics solve problem of cross referencing?
I have a solution which I encountered problem of cross referencing when I try to open forms(each other) located in two .DLL projects. Can I solve these kind of problem using .NET 2.0's generics If yes, how Thank a lot. Here is a little newsgroup post about cross-reference, go check it out. Sorry for my doublepost but my browser won't let me edit my post. ...Show All
Software Development for Windows Vista UI Spy can't navigate portions of FireFox
I was hoping to automate FireFox, but I am unable to navigate to certain controls. UI Spy is also unable to navigate to the controls and gives the following exception: UI Automation tree navigation is broken. The parent of one of the descendants exist but the descendant is not the child of the parent Is this most likely a FireFox issue or a problem that will be worked out in future versions of .NET 3 Any ideas to get around this Thanks! James Hello, I'm have got the same problem and unfortunatly I tried with thunderbird that does'nt even work. So hava you found solution ...Show All
Visual Studio can't installing
I am follow " Extensibility Guided Tour" article to make my msi file. But, when setup it then have messagebox " This is a VsPackage and Requires Visual Studio to be installed". Please help me.. thanks.. PS: I have PLK. Sorry but I didn't use the standard setup project for creating the installer. I use WiX toolset instead to do that. This toolset includes extension for Visual Studio which allows you to create special project type inside your solution. Maybe it will be helpful to read my post related to WiX here . IronPython sample includes the Setup created with Wix toolset. You can find it in C:\Program Files\Visual Studio 2005 SDK\2006.11\Visu ...Show All
Windows Forms how to get the name of the image in Picture box
Hi i have a small problem.I saving an image that is displaying in the picture box. i already has a default image in the picture box before capturing the image from a webcam name default.jpg my problem is i want to know the name of the image so that i will ensure whether i'm saving the newly captured image or the default image. hope i conveyed my problem correctly.looking forward for a solution -regards GRK HI thanks for immediate reply. i checked with the above code in vb.net it is giving error when i put a @ symbol like the above. and also there i no tag member to that. ...Show All
Visual Basic VB Express Very Sluggish With 150 Form Project
I just removed the VS Beta and installed VB Express. Now the IDE is extremly sluggish. Many IDE actions, even simple ones like adding a new line, take 10 or more seconds to appear on the screen. VB is bordering on not being usable. This is on the same desktop platform as the beta 2 was installed and it was usable - build was taking a bit longer than I wanted but OK. The project has over 150 forms. Is VB Express intentionally crippled compared to the full VS Standard version That is can VS handle a 150+ form project better than VB Express Was there some change between Beta 2 and RTM that makes big projects unusable Is there some user option I can set to make the IDE more responsive TIA Hi Bo ...Show All
SQL Server Blank page in report manager
When i load report manager everything appears to be running fine. The header, footer and nav bar at the top load correctly. Even the directory and file tree load fine. The problem is when you click on a report everything from below the nav bar ( where the report would be rendered) blanks out and load bar at the bottom just tacks at full. One way to fix this problem is to open the web config file for report manager save it then close the file. This is not a viable solution to the problem. I was wondering if any one else had the same problem . If so how to fix it We are having a very similar problem that is driving me nuts. My end users will get this situation - Report Manager banner and links at ...Show All
Visual Studio Express Editions partial classes and windows forms
I'd like to break my windows form code up into several different files using the 'partial classes' feature of .NET 2.0. (Writing in C#) The problem is, when I try to do this, I get an empty DESIGNER FORM for each additional partial class (form) file that I create. In VS2005 Express, when you double click on Form1.cs, you get the form designer. When you double click on Form1.Designer.cs, you get the CODE. With my partial class files, I get the FORM DESIGNER when I double click, when what I want to get is the CODE. Is there a way to disable the form designer altogether for a partial class file that is part of a form (the same way that visual studio apparently does it) This would be really nice because the extra little blank forms could be co ...Show All
SQL Server Memory issues, SSIS package out of memory Help
I am running Visual Studio 2005. I have an SSIS Package which is consuming a huge amount of memory. During the execution of the package the memory keeps increasing. Until finally i get an Out of Memory exception. I have run this package using dtexec, and in the BIDS. No difference. I do have some script components and have added some code to get the assemblies in the current appdomain. I do see that one particular assembly is increasing on every loop. VBAssembly every time it hits the script component is increasing by 6, and along with it the memory is climbing. What is this VBAssembly being used for is there an update to SQL Server Integration Services that I need Thanks! Aaron B. That's interesting. ...Show All
Smart Device Development SMS not reaching destination
I am using SmsSendMessage() to send a SMS message. I get HRESULT result as success ......but the message does not reaches the destination . I printed the logs for dest address and smsc address.. that is also correct..What can be the issue I think that the problem that you are facing is due to the value that you are giving to smsatAddressType (valid for only international phone numbers i.e., '+' as prefix). Please try SMSAT_INTERNATIONAL | SMSAT_NATIONAL and let me know if this also does not work. I hope it helps. ...Show All
SQL Server Need help onGroup and count
Hi, I need a hand on creating a query related to grouping and counting. I have a 3 table. Client, Customer and User. Cleint has many Customers and Customer has many users. In Users table there is a filed which is 0 for live and 1 for Inactive.I need to group Users by Client and customer and need to show how many live and Inactive users per Customer in the following order. Client Customer User LiveCount InactiveCount Is this possible. Thank you. -VJ CREATE TABLE [dbo].[TblClient] ( [ID] [int] IDENTITY (1, 1) NOT NULL , [Name] [varchar] (100) ) CREATE TABLE [dbo].[TblUser] ( [ID] [int] IDENTITY (1, 1) NOT NULL , [Name] [varchar] (50) [CustomerID] [int] NULL , [Inactiv ...Show All
