(H)MICHAEL(H)'s Q&A profile
Visual Studio Express Editions HELP PLEASE
I AM BUILDING A SIMPLE PROGRAM BUT I GET A PROBLEM THIS IS THE CODE #include <iostream> main() ( std::cout << "Hello World!" << std::endl; ) When i press buil solution it show me this message 1>------ Build started: Project: hello, Configuration: Debug Win32 ------ 1>Compiling... 1>hugo.cpp 1>c:\documents and settings\hpolanco\my documents\visual studio 2005\projects\hello\hello\hugo.cpp(5) : error C2143: syntax error : missing ')' before ';' 1>c:\documents and settings\hpolanco\my documents\visual studio 2005\projects\hello\hello\hugo.cpp(5) : error C4430: m ...Show All
Visual Studio 2008 (Pre-release) Passing parameters to services
Hello All, Hoping for a quick idea of the "best" way to pass simple parameters to services. For instance, I am developing a service that hooks into a SQL database for it's data persistance... anyone know the best way for the service's constructor to pull a connection string out the creating host Thanks, Rick You could store your data in an IExtension < ServiceHostBase > object (or at a different level if you like). See http://windowscommunication.net/ControlGallery/ControlDetail.aspx Control=2241&tabindex=2 for sample. Or you could subclass ServiceHost with additional proper ...Show All
.NET Development can i create web forms from xml templates
I'm producing a dynamic web form system which stores the web page in the database. It renders the page from the database to a real page by adding the controls to the ControlCollection of a PlaceHolder control. There appears no easy way to do this- I go through each element of the web page, work out which control it is, create the control and add it to the collection. I think the process is correct. The way I work out which control to create involves a large switch statement. I then iterate through all the attributes to set the control attributes. This bit of the process is complicated and I think is wrong! Is this process possible- ...Show All
Visual Studio Team System Scenarios list, when?
The Scenario List is an entry point for Planning Trac k and for its workstreams Create a Scenario and Define-Update Test Approach too. I couldn't find it as a result of any activity of Envision Track . When should it be done There is an exit criteria for Create a Scenario , Prioritized list of scenarios , so I'm assuming this is the point we create the Scenario List . But in other hand, Scenario List is an entry point for Define-Update Test Approach and this contains a dependency for Scenario List . This is the point I got confused, what am I missing here One more thing... Is Define-Update Test Approach a workstream It says so, but doesn' ...Show All
Visual Studio Express Editions Question about errors in Swimsuit Calculator project
I just converted a second project to VB 2005 EE format from VB 6 called "Ami Mizuno's Swimsuit Calculator!" and there were 2 errors in it which are the following: ================================================================== Error 1 'Public Event Load(sender As Object, e As System.EventArgs)' is an event, and cannot be called directly. Use a 'RaiseEvent' statement to raise an event. C:\Visual Basic Projects\Ami Swimsuit Calculator\Ami_Swimsuit_Calculator.NET\Form1.vb 9 3 Ami_Swimsuit_Calculator This is found in Form1.vb, Line 9, Column 3. I managed to fix this error by adding a RaiseEvent statement thanks to the corre ...Show All
SQL Server Having trouble getting connections
I have a custom Data Flow Destination Adapter that is looking for a particular type of ConnectionManager. I want to check that this connection exists in the Validate method. I first checked the ComponentMetedata.RuntimeConnections, but it was was an empty collection. I am guessing that it gets populated at runtime. Is there anything available for to check at design time Another way of asking this would be, Is there a way to programatically select which ConnectionManager gets assigned to a RuntimeConnection Normally, this is done on the Connections tab of the Advanced Editor. Thanks, Graham I would ...Show All
.NET Development Error in SoapFormatter after registering remoting objects
We have a application which receive Datatables over Remoting and then show the content in an UltraGrid from Infragistics. The nice feature of this Grid is that it can load and save their Display layout with the Soapformatter. From Framework Version 1.0 to 2.0 Feb CTP this works very fine but now in Beta2 after register a Remoting object with the following line: RemotingConfiguration .RegisterActivatedClientType( typeof ( rawConnection ), "tcp://" + HostName + ":" + 12000); The SoapFormatter doesn’t work anymore with the following lines: SoapFormatter f = new SoapFormatter ( null , new System.Runtime.Serialization. StreamingCon ...Show All
Windows Forms Exception of type ExceptionCollection thrown when a form is attempted open from VS2005's IDE
The Exception : Exception of type ' System.ComponentModel.Design.ExceptionCollection ' was thrown when the form is attempted to open from VS2005 IDE. The form contains an implementation to allow a Host Designer at run-time. Someone knows a solution to this issue . The form can't be opens until the VS2005 is closed and the solution is re-opened and rebuild process is executed again . Thank you in advance. After the above exception, Visual Studio 2005 needs restart. See the image for more details about this exception. Please, if anyone has a fix or solution to this issue, share w ...Show All
Software Development for Windows Vista Administrator security issues
Maybe it's me... then there are only 7 posts before me on here, so now I am worried there will not be an answer.... Trying to install a simple antivirus program before I really start to test. I am the administrator account, but I do not have sufficient rights to write....hence install fails. Anyone else seen this... Hmm... Do you have UAP enabled And what simple anti virus program are you referring to What exact error message are you receiving ...Show All
Visual C++ Italicized/Bold formatted I/O streams
I can't find any flags to set these, any help would be appreciated. Sorry, unfortunately it can't be done ... the console (e.g. cmd/DOS window) is a single font display. You can do this if you create your own Windows dialog/form for input/output, but the console itself doesn't support this. josh ...Show All
Visual C++ The old Visual C++ Express Beta Directories problem
Will this ever be addressed properly I have followed the instructions to edit "VCProjectEngine.Dll.Express.config". I do not have a "vccomponents.dat". Visual C++ still does not recognise my specified directories and can not find any external header files. This is very frustrating. Log a bug against such documentation at http://lab.msdn.microsoft.com/productfeedback/default.aspx and the responsiblefolks should update the instructions. Till then, what problems are you facing exactly Thanks, Ayman Shoukry VC++ Team ...Show All
Visual C# Encrypt string using DES
Hi to all, I'm trying to encrypt a string using DES, but I'm not getting the result that I espected. Key 0123456789ABCDEF Data 1234567890123445 Result BD0B1A49070AC376 (this is using CrypTools, I also get the same value using a program that I made using C#). But, I ask a friend that use a another program (to encryp data, using DES) for make sure that I have the correct encrypt value, and his got this result: Key 0123456789ABCDEF Data 1234567890123445 Result A34D F697 196A CB48 I'm sure the result of my friend is correct (because I use another tools -a comercial tool from Prime Factors- ) and I got the same result that my friend. why ...Show All
Visual Basic Parameters in TableAdapters
In a project done to test some feautures in VB 2005 we create some datasource and a datagridview in order to show data from a simple table using parameters. Dataset is: Comprobantes, Table is tb_datos and datagridview is comprobantesDataGridView. The code to fill the table adapter is: Me .comprobantesTableAdapter1.FillTemp( Me .Comprobantes.tb_datos, 2005, 1, 8888) Me .comprobantesDataGridView.DataSource = Me .Comprobantes.tb_datos Note that table adapter has three parameters created using collection options of table adapter properties. Next, we include the parameters in the query asociated with this tableadapter, in the fol ...Show All
Visual C++ How do I distribute Visual Studio 2005 apps?
I'm using Visual Studio 2005 Professional to create a C++/MFC application. I just recently made the switch to VS2005 (from version 6.0!) so there's probably a lot of stuff I have yet to learn... Anyway, I recently tried to give a user a work-in-progress version of the executable for testing, and the user reported that the program failed with the following message: "This application has failed to start because the application configuration is incorrect." The application is a straight-up native C++ program linking to MFC in a shared DLL. The only other dependency of the project is GDI+ (gdiplus.lib). I did a bit of lo ...Show All
Visual Studio 2008 (Pre-release) Camera transform affects hit test results
I used to move the camera by modifying the Location and Up vector. Nov CTP introduced camera transform so I have rewritten the application to use this property. The problem is that if the camera transform is not the identity, the hit test results are "distorted" (I am clicking on an object and a different one is selected). I am not sure but I suspect that camera transform is not taken into account when converting the 2D hit point into a 3D ray. This bug has been fixed. It may have made it into the Jan CTP but if not it is in the Feb CTP. Let us know if you still have any problems with latest CTP. Jordan (Hmm... the po ...Show All
