Jorn B's Q&A profile
Visual C++ CDialog
i create an MFC program with database and some of them of the data is inserted by dialogs how can i move from one dialog to another dialog without closing the first dialog and work with two dialog in the same time like the MFC MDI documents You have to create the dialog modeless. Look into the doku CDialog::Create. BTW: But I don't know of this is a wise usage of the GUI... ...Show All
Visual Studio Team System Source code control with documentation?
Hi all, Can someone tell me if our UML documentation for versions of source code can also be controled and stored within TFS Thanks To be totally clear, TFS does not care what kinds of files you store in source control. The only differences I can think of: old file versions are stored in SQL as diffs. binary file diffs are computed with a different algorithm. by default, files with extensions known to signify common binary filetypes will be exclusively locked when someone pends a change on them. You can configure this behavior in the Source Control File Types dialog. when you add a file, T ...Show All
Visual Studio Any VSS addin sample that works?
Hi, I have tried to create the sample C# VSS addin described here: http://msdn2.microsoft.com/library/hcdf9zk2(en-us,vs.80).aspx but no event is being trapped. Actually, the COM component is not even registered. Any pointer to a working demo/sample Thanks in advance. O.k, I figured it out by myself. It was becuase of a line of code in my VSS2005 help file. ~IvssEventSample() { // Unwire the connection point (see Init) vssEvents.Unadvise(cookie); } My local copy of msdn has the same the code as above, but This destructor is empty in msdn online and crashing issue disappeared by commenting this ...Show All
Visual Studio 2008 (Pre-release) Feb CTP, XAML error in new project
I just installed the February CTP of WinFX and Windows SDK. The optional of the Visual Studio "Orcas" CTP. Try to create a new WindowApplication with XAML and visual studio 2005 RTM keep saying the type 'Application', 'Application Resources', 'Grid' cound not be found Does anyone know what's this issue about. Hi, Me too got the same error. When i deleted the Application,Application.Resources and Grid tags and gave the same again. It worked fine. Can anyone tell why is it so ...Show All
Software Development for Windows Vista Rules Editor Not Loading With Beta 2.2 (XOML only State Workflow)
Tom, When using a State XOML only workflow, the Rules Editor does not load when I try to create a rule condition for an IfElse activity (in WWF Beta 2.2). Is this a known issue I look forward to your reply. Thanks in advance, John Portnov John, When you set the condition inside the IfElse activity, are you setting the Declarative Rule Condition Thanks, Bill ...Show All
Visual Basic "Batch Build" Menu Item now missing...
Maybe someone has seen this and/or know what the problem is. I'm using Visual Studio 2003 and for years I've used the "Build\Batch Build" menu item to build multiple configurations/projects in my solution. Until recently, all of the projects in the solution were exclusively Visual C++/unmanaged. Today I added a new project to the solution, a VB .net project. I then wanted to go back and batch build, but the Batch Build menu item is no longer on the build menu. Does the simple presence of a .net project in an otherwise unmixed environment lead to the Batch Build being disabled Thanks for any help. Correct, t ...Show All
.NET Development Enumerations with non-default values
Hello, I have defined an enumeration in my C# web service with non-default values. e.g. public enum enStatus {Live = 1, Dead = 2} This is then used as a parameter for web methods. However when I try to use the enumeration in the client (also C#), the values I specified are not passed across (i.e. they default to 0 and 1) See below for the client references section.... [System.Xml.Serialization.XmlTypeAttribute(Namespace= //tempuri.org" href="http://tempuri.org">http://tempuri.org )] public enum enWeatherTradeBook { /// <remarks/> Live, /// <remarks/> Dead, } Any ideas ...Show All
Windows Forms dataset to xml to rtf problem
Hi there I create xml file from a dataset and then use the created xml file and a xslt file to create an rtf file. Here is the code to generate the files: System.IO.FileStream myFileStream = new System.IO.FileStream ("c:\\mySchema.xml", System.IO.FileMode.Create); System.Xml.XmlTextWriter MyXmlTextWriter = new System.Xml.XmlTextWriter(myFileStream, System.Text.Encoding.Default); DataSet ds = new DataSet(); oleD ...Show All
Windows Forms Code Groups: What am I doing wrong?
Folks, Ive created a enterprise level code group for the intranet zone with certain SQL Client and security permissions . I take this out of development onto a production server where I have the same code group set up. I still get securtiy exceptions when I try to run the assembly from the server. When I check in caspol the only code group that&n ...Show All
SQL Server Execution of Package failed
I am trying to design package which would copy all tables and stored procedures from one server to another. It used to be simple task in SQL 2000, there was wizard. However the new wizard does not work... I wrote SSIS package, but when I execute I get the following error: "Can not apply value null to property Login..." Any idea It seems to me that this new SQl2005 is not that simple to use like 2000. 2000 was a great product. I am considering to rollback to 2000. Very frustrated with the new one... Has anyone been able to find a solution I get the same error: [Transfer S ...Show All
Visual Studio "Failed to open a rowset"
Help me.... I am using Crystal reports 9 embedded. I have a report which I'm loading using the following code. When I deploy the application in a client's pc "Failed to open a rowset" is the error that appears. I am using an ODBC connection. Any help would be appreciated.... Dim cr As New crptCMR Dim crtableLogoninfos As New TableLogOnInfos Dim crtableLogoninfo As New TableLogOnInfo Dim crConnectionInfo As New ConnectionInfo Dim CrTables As Tables Dim CrTable As Table Dim TableCounter Dim crReportDocument As New crptCMR With crConnectionInfo .ServerName = sname .DatabaseName = dbname .UserID = uid .Password = pwd End Wi ...Show All
Visual FoxPro Open table exclusively?
Forgive my ignorance - I've recently reinstalled XP and subsequently Foxpro 7.0. Now when i double click on a foxpro dbf file it opens the table and another datasession labeled 'B' (i'm supposing it's a datasession). Previously, when i opened a table i was in exclusive mode and didn't have this duplicate table open also. I normally work in exclusive mode because my data is not in a shared environment (i'm a vb developer). Any suggestions thanks, rroot01 Sounds like your XP is set to work with a single click. Create a text file in VFP home folder named config.fpw and add: exclusive=on ...Show All
Visual Studio Team System Beta 3 Team Foundation Client: "Invalid license data. Must reinstall"
After much trial and tribulation, got all the server components of TFS installed sucessfully (single machine installation, workgroup authentication). After all that, installing the client should be easy, right Well, install ran OK, but when I try to run it, get message box saying "Invalid license data. Must reinstall". Need I say that reinstalling didn't help Installed and attempted to run using same tfssetup a/c used in server installs. Any suggestions Many thanks, John Rhoads I am having the exact same problem. Any resolution for this Thanks, Michael ...Show All
.NET Development InterOp issues for Web Service -- Automation error, The system cannot find the file specified.
Issue with Interop of COM component and .Net Assembly We have a project, which uses .net Assembly and COM component together, and is having problem with loading the private assembly. Issue: The .NET Assembly calls a COM components and that COM components calls another .NET assembly, and we would not be able to get the COM components call .NET assembly working in the call chain (Assembly->COM component -> Assembly), when used in Web Application. This works fine in Windows Apps. But , if we only have Assembly call the COM Component (this COM Components does not call another other .NET assembly), tha ...Show All
Visual Studio How to create parameterized projects from Multi project template
In a project template i can use variables like $projectname$ to substitute some string value. But if I should create more than one project by runing a Multi project template how could I set the project name using the name the user put in. If the user set the name Calculator, I would like to be able to create 3 projects: CalculatorCF CalculatorDesign CalculatorTest Do I have to create a IWizard implementation, and if so what should it do. The file below gives me something like: $projectname$CF $projectname$Design $projectname$Test My vstemplate file (not working the way I would like it to): <VSTemplate Version="2.0.0" Type=&qu ...Show All
