CAPTGNVR's Q&A profile
Visual C++ Console::WriteLine
hi, im new to C++ .NET so for Console::WriteLine(S"The number is {0,1:c} {1}", B, "TT") ; what {0,1:c} and {1} means and my program start like, #include "stdafx.h" using namespace System; int _tmain() { char B ; Console::WriteLine((String ^)"Hello world"); B = getch() ; Console::WriteLine(S"The number is {0} {1}", B, "TT") ; getch() ; return 0; } on second WriteLine output, ...Show All
Visual C++ Internal manifests vs external manifests
I am converting a straight Windows MFC app from VC6 to VC8. The app has 2 exe files and about 75 DLLs. It looks like manifests are a new concept I need to deal with. I've been reading a lot about them at the MSDN site and in these forums. But I haven't read about the advantages/disadvantages (or requirements ) of having the manifest embedded in the EXE/DLL versus having them in external files. Having them ...Show All
Visual Basic Support for VB6 and COM
We currently use VB6 and have several applications that make use of COM objects. It works well and we're happy with it. What I'm wondering is, at what point might support for VB6 be dropped in favor of newer versions and, when we do eventually upgrade, should we be concerned that we may at some point lose support in the tool for COM programming (and if so, when) Thank you so much for any insight you can provide. ...Show All
Visual Studio Express Editions Detailed example - structs
I have a weird situation as follows: staticData.h defines a struct as follows: static struct city { public: int cityID; char cityName[22]; char countryID[2]; char countryName[20]; double lng, lat; &nbs ...Show All
Visual Studio 2008 (Pre-release) Is it could be used on Oracle database?
Could I use DLinq on Oracle database Thanks! Currently, DLinq only supports SQL Server (2005 or 2000 to be more specific). But the technology is NOT SQL Server-specific. Given our limited resources, we are looking into various options for supporting other databases including working with ISVs and database vendors. Thanks. Dinesh Kulkarni Program Manager - DLinq http://blogs.msdn.com/Dinesh.Kulkarni/ ...Show All
Software Development for Windows Vista Using the Rules Engine with complex data containers
We are currently working on an implementation of the WF Rules Engine to validate complex data containers. These data containers contain not only simple properties, but collections of other data containers which themselves may also contain collections of other containers. We are evaluating what a suitable business rule set would look like to validate these containers, and the feasibility of business end-users [or developers] maintaining the rules ...Show All
.NET Development Sending Nulls Back to Database
I have two short questions (I'm using VB): 1. How do I send honest to goodness real NULL values back to my database 2. How do I perform update/inserts when I haven't provided values for every column in the underlying database table. What follows is theoretical/philosophical discussion and may be safely ignored. With respect to the first question, I don't want to start a holy war on the meaning of null values but... I think null values m ...Show All
Visual Studio Express Editions Project Location is not trusted
Hi All, I have Visual C# 2005 express edition installed on my computer and I'm having trouble with non trusted projects. All my projects are saved in the default location (my documents\visual studio 2005) yet, if I save a solution I received via email in that folder and try to open it in Visual C#, it complains that the location is not trusted. All other projects created within Visual C# 2005 work fine. I looked at the sln and csproj fil ...Show All
Smart Device Development Windows CE / .NET CF 2.0 / Custom UI
Any resources to explain how to go about developing user/custom controls which DON'T resemble Windows Forms If I am going from a proprietary embedded OS with our own application framework to Windows CE, it seems like .NET CF is not very useful for my products. I don't use a stylus on my device. I don't have a bunch of controls with right angles...etc, etc. My UI does not resemble Windows 95. I think you get the pic ...Show All
Windows Forms HOw to enable scroll bars in a windows form
Hi, I have a windows form(1.1 version) and I need to know how to enable scroll bars as some times the form won't fit the screen. Please advice me. Many thanks, -VJ Hi, you should have a property named AutoScroll in your form, set it to true: form.AutoScroll = true; ...Show All
Software Development for Windows Vista Error while using Workflows within Sharepoint Site
Hi, I tried using the sample workflows from the ECM release (ECM sample started kit). Now this is what happens: I can install the workflows and the forms correctly. Once I go into my Sharepoint site, I can connect it to the workflow that I want. But once say I add a new document, open it in thr word client, from there say I click on "Start Workflow" this seems to fail for EVERY WORKFLOW - even those built in default (Approve etc) ...Show All
.NET Development FtpWebRequest re-sending USER and PASS commands half way through download loop
Well, the title says it all really: I'm using FtpWebRequest to download multiple files as follows: private string GetFile(Uri uri) { string un = Misc.ReadRegKey("ParserFtpUsername"); string pwd = Misc.ReadRegKey("ParserFtpPwd"); string file; NetworkCredential cred = new NetworkCredential(un, pwd); WebProxy pxy = new WebProxy(); pxy.UseDefaultCredentials = true; FtpWebRequest wr = (FtpWebRequest)We ...Show All
Software Development for Windows Vista Multiple Recursive composition
I have watched the State Machine webcast of Pravin regarding recursive composition. I have seen that it is possible to create a shared state with an event, which could be used in multiple states. In his slides of the PO process, Pravin used an OrderChanged event, which was used by the states OrderCreated and OrderProcessed. Let's say I want to add an event called OrderCancelledEvent which I then want to share for only OrderCreated and OrderSh ...Show All
Visual C++ Visual C++ express beta 2: can't link std::runtime_error
This simple example won't link - unresolved external symbols for std::runtime_error (build log follows example). Command line for build: /Od /I "C:\Program Files\Microsoft Platform SDK\Include" /I "C:\Program Files\Microsoft Platform SDK\Include\atl" /I "C:\Program Files\Microsoft Platform SDK\Include\crt" /I "C:\Program Files\Microsoft Platform SDK\Include\gl" /I "C:\Program Files\Microsoft Platform SDK\Include\mfc" /D "_MBCS" /Gm /EHsc /RTC1 ...Show All
Visual Studio Express Editions Newbie: Form problems
Why is it that I will loose all of the labels, textboxes, and everything off of a form. I have built an application with about 50+ forms, certain forms will lose the information in them (in the design view only though). If I build and run the app, all of the textboxes and labels are there, but my toolstrip buttons are...not visible, even though they are fully useable. I have noticed that the forms that this happens on are all have two extra f ...Show All
