Tylerk's Q&A profile
Visual C++ visual studio 2005 .net framework 1.1
Hi, I've developed a C++ application in visual studio 2005 express, but I'd like it to be .net framework 1.1 compatible. Is it possible to convert it I know it is not possible to target the onld version with Visual Studio 2005 Without recompiling your app in the Visual Studio 2003 or using the 1.1 Framework SDK’s compiler your app is stuck targeting the 2.0 Framework because you used the 2005 compiler which only targets the 2.0 Framework. ...Show All
Visual C++ Email transfer thourg C++
I have written a code for transering mail .I used smtp.gmail.com as my server,But when i execut e it returns de error "Must issue a STARTTLS command first i11sm5100899wxd" .I understand dat dis error is bcoz gmail used SSL.So der is any method to overcome dis problem in C++.So dat i can embede by credtial informantion der .plz i need ur help to make a autogenarate mail system .plz guid me I'm afraid the question is outside the scope of this forum. The C++ General forum deals with the VC++ 2005 IDE, libraries, setup, debugger, samples and documentation -- but not the use of all libraries and technologies. While most borderline issues are answered, and followed up, a great deal of these off topic questions are simply not given their ...Show All
.NET Development ExecWB for print
Hi All, I am trying to print a web page directly without prompting print dialog box. I have used ExecWB method of webbroser control with parameters 6,6 (ExecWB(6,6)). It is working fine with windows 2000. It is not working for Windows XP i.e print dialog box is displayed when calling this method. I am using IE 6.x with both operating systems. Anybody has the solution for this Thanks, Sekhar. Try using the “ printWB . ExecWB (6,2)” method The params : 6 is the print command and 2 – no dialog ...Show All
Visual Studio 2008 (Pre-release) Displaying DataTable in run-time
Hi, I've got the following issue: My application is intended to show any table from the database. It means that the structure of the table is only known in run-time. I looked through the samples, but all the examples contain DataTemplate definition in XAML file that is not my case. I browsed the documentation but did not manage to fing the way how to create DataTemplate programmatically. Are there any ideas how can I display a table when its structure is only known during runtime. TIA thank you very much. It shows all the lines now, but they are the same :-( I have made new solution with only project. then modified the only part of you code. for (int i = 0; i < 10; i++) ...Show All
SQL Server discarding rows - best practice?
I have a need to filter out certain rows from my data stream. I cannot apply the filter against the source data using my DataReader component, due to some constraints in the source system. Therefore, I must filter the data out after it enters my datastream (trust me on this part). I have created a data flow that uses the Conditional Split transformation to do this. I created one condition that matches the rows I want to discard. I then connected the Default output stream to my target table. I have simply left the "discard" output disconnected. This appear to do what I want. My question is: is it OK to leave outputs disconnected in this fashion It isn't really apparent when viewing the package that the conditional split is ...Show All
Visual Studio 2008 (Pre-release) 3D : One Graph, multiple viewport. How to deal with ModelVisual3D & Model3DGroup Limitation ?
I'm having a hard time figuring out how to implement a graph of 3d node and represent this graph in multiple viewport. basically, ModelVisual3D offer me everything i need so i could inherit from it to create my GraphNode class but once a ModelVisual3D is added to a viewport3d you can't add it to an other. I could inherit from Model3DGroup and figure out how to add a Content property but it is sealed and don't give hittest for nodes. i have read Daniel Lehenbauer's Blog about this, but still can't find any way. http://blogs.msdn.com/danlehen/archive/2005/10/09/478923.aspx Thanks Right, Model3DGroup is what you want because it can have ...Show All
SQL Server Excel 2007, MDX Compatibility and connection string (for ragged dimensions)
I'm trying to open a simple SSAS 2005 cube with a ragged hierarchy (it has a level that contains member that should be hidden if the member name is the same as the parent). I read about the necessity to use MDX Compatibility=2 into the connection string to see the HideMemberIf property in action. The dimension browser in BIDS does not display a member into a level only if it has no visible childs. May be this is a browser issue, as I read somewhere... With Excel 2007, it should be possible to change the connection string. Unfortunately, even if I change it, Excel 2007 force the "MDX Compatibility=1" into my connection string. Moreover, it adds a "Safety Options=2" and "MDX Missing Member Mode=Error" and even if I try to change them, ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Animation sample
MS had announce an animation sample some weeks before and you just told us, that i will be released soon, but the question is, what soon means...When will you release the example. All I need are some informations how to transform the bone matrices to absolute ones to transform the mesh. leclerc9 wrote: . .. set all the Transform matrices on the Model.Bones collection to your keyframe transforms, ... .... make an effect that uses (usually) a matrix palette to display the vertices properly for a skinned model. .... find out how the bone indices in the vertex buffer will map to the indices on the model. .... multiplying the absolute mesh transform by the inverse absolute tran ...Show All
Visual C++ How to deploy MFCMIFC80.DLL?
Hello VC++ Forum, I've added a CWinFormView to my MFC MDI project to show a .NET 2.0 control. Really really nice and working fine :) Now I wanted to test my stuff also on another machine and copied my DLLs and EXE there. That machine got .NET 2.0 and MFC 8.0 components installed. Well, when I want to open my View now, I get a message "MFCMIFC80.DLL version 1.0.0.0" missing. After that message, the program gets teared down and I must use the taskmanager to shut down its process. I tried to copy that DLL to the machine, but that doesn't help. I tried to install it to gac, but that won't work. Now I'm curious what I've got to do. I asked our deployment guy, and he said the MFC runtime stuff is installed on that machine. He doesn't h ...Show All
SQL Server Drilldown question
Hi, I've been playing around with SSRS 2005 to see if it might be the solution for some reporting requirements I have been given, but I still haven't found a way to do exactly what I need. Basically I've been asked to provide a report which allows drilling down multiple levels of a client hierarchy to show some sales figures, sounds pretty simple right The report will look like this (not showing sales figues here just client hierarchy)... + Client A - Client B - Client C - Client D + Client E - Client F - Client G - Client H - Client I - Client J + Client K + Client L As you can see they want to be able to expand & collapse rows to drill down through their client hierarchy. The hierarchy will be 3 or 4 levels d ...Show All
Visual C++ MFC and IJW
I have not been able to mix unmanaged C++/MFC code with managed C++ code using IJW. For example, the following code compiles but generates an exception when run: #include "stdafx.h" using namespace System; int main( array <System::String ^> ^args) { CFileStatus oFS; BOOL bStatus = CFile::GetStatus( _T( "test.tmp" ), oFS ); return 0; } What happens is the function 'AfxWinMain' is called, gets a pointer to the main thread but this pointer is NULL. I've spent 4 days working on this and I am at a loss as to what needs to be done. My questions are as follows: 1) Are there any examples or available solutions (.sln) files that illustrate how to mix unmanaged MFC with managed C++ code ...Show All
Visual C++ Overriding OnFileSave()
Hi, I am trying to override CDocument::OnFileSave() in my application. This is what happens when the save button is clicked: - Control goes to CDocument::OnFileSave in doccore.cpp - From there it goes to DoFileSave() - From there it goes to DoSave(NULL) I would want the Savedialog to be displayed in my application and let the user choose where to save and the name to save. I have this class CHDUDoc.cpp and I have this method which tries to override OnFileSave(). I just have these lines of code in my method, BOOL CHDUDoc::OnFileSave() { AfxMessageBox(_T("Right here")); //OnSaveDocument(lpszPathName); return TRUE; } But this method never gets triggered, instead it always goes to the doccore.cpp file. Thanks for your time!! ...Show All
.NET Development Explanation of exitContext parameter of WaitAll() in layman's terms?
Hi, I am rather new to threads, and I have recently made my threads working. But there are quite a few new concepts to learn, and I am struggling to understand the "exitContext" parameter of the System.Threading.WaitHandle.WaitAll() method. On http://msdn2.microsoft.com/en-us/library/27y100eh(d=ide).aspx I have read "Notes on Exiting the Context", but there are a few new concepts to me here: What is a context-bound class What is a nondefault managed context What is a synchronization domain Could anybody help explaining the exitContext to a thread-rookie Thanks! Best regards, Torbjorn A context-bound class is a class derived from System.ContextBoundObject. If you don't hav ...Show All
SQL Server Problem with calculating values
I have problem with calculating values, let me give an example: Fact table: tableID docID authorID numMetadata numSubDocs 1 10 1 3 5 2 10 14 3 5 3 10 6 3 5 4 49 2 1 0 5 49 4 1 0 6 15 8 6 1 ..... I want to get in a report like this: docID numMetadata numSubDocs 10 3 5 49 1 0 Grand total: 4 5 ...Show All
SQL Server Reasons to go SQL 2005 over SQL 2000
Hi all, I am working with an outside consultant to upgrade our SQL 7 instance. He wants to upgrade to SQL 2000 and I want to go to SQL 2005. I want to have concrete reasons backed up with documentation as to why we should go SQL 2005 as opposed to SQL 2000. For eg. support (why 2005 is better, ie. longer support), security(More secure, documentation), management, stability (number of patches released last year) etc. I'd really appreciate it if someone could point me to an appropriate resource. Thanks all, SA. Online Articles Regarding 2005 Enhancements over 2000 http://www.microsoft.com/sql/prodinfo/overview/whats-new-in-sqlserver2005.mspx http://www.microsoft.com/technet/prodtechn ...Show All
