Fred Bernstein's Q&A profile
Visual Studio How Can Create Intaller Project for C# EE 2005?
Hi! I've three projects in a solution, two of them are DLLs and one EXE. I want to be able to create a single installtion package for all these. Is it possible to do this with C# EE 2005 . If yes then please tell me the steps to follow or any related link. Thanks in advance. Sohail. Create a new project, in 'other project types' you'll see a setup and deployment' group. I've not played with this stuff yet, I still use Advanced Ins ...Show All
Visual C# what is ADO.net??
I know nothing about ADO.net, Is it something about DataBase Access What can I do with ADO It is helpful , say, do I need learn someting about ADO I work on windows client programming mostly. Any help will be appreciated. ADO.NET is a set of classes and interfaces that abstracts the acces to a database. For instance you can work with Oledb* and work with ayn database or you can use Sql* for accessing the SQL server or you can use Oracle* ...Show All
.NET Development Passing a ascii byte array as System.String to a COM BSTR param
I have a VC6 ATL COM Object that accepts a BSTR as an input parameter in one of its methods. The COM Object expects an ascii buffer to be embedded in the body of this BSTR and uses a call to SysStringByteLen to dynamically create an appropriately sized single byte char array for holding the extracted contents based on the results obtained from interrogating the size prefix of the BSTR. The COM interop wrapper generated from this dll defines ...Show All
Windows Forms General windows forms design question...
Assume that you are designing a windows form that displays the details (name, address, etc.) of a selected entity for editing by the user. When the form is instantiated, the constructor is passed the entityID of the entity to be displayed. ...Show All
Software Development for Windows Vista How to pop exception up to host from workflow?
Hi there, I created a small flow, in case of exception, I want to throw a exception and let host catch it. The problem is since workflow is living on different thread than host, I'm wondering how to make it work Besides this, I'm also looking for the "best practice" on WF exception handling recommended by WF product team. Thanks in advance. In a Sequential WF go the Faults view and add a FaultHandl ...Show All
Visual Studio Express Editions Some questions and comments about installing the Platform SDK
Hi Everybody, I'm new to VC++ and programming in general. I'm trying to teach myself how to do this at home with a few books and whatever learning resources I can find online, along with the VC++ Express edition IDE. I have a couple of questions and comments about installing the Platform SDK. The video I watched on Microsoft's site that I found describing how to install the SDK says: in Tools> Options> Projects and Solutio ...Show All
Visual C++ PreTranslateMessage(MSG* pMsg)
i make in MFC 7 dialog with many CEdit controls some of them need wantreturn, and i use the function PreTranslateMessage ( MSG * pMsg ) with this code if ( pMsg -> message == WM_KEYDOWN && pMsg -> wParam == VK_RETURN ) { NextDlgCtrl (); return TRUE ; } return CDialog :: PreTranslateMessage ( pMsg ); but with this code i lost the kill focus and the setfocus what i hav ...Show All
Visual C++ Help with visual beta 2
Im in a CS class using the microsoft visual studio 8 beta 2 as our program. last year we used lawence press libs and we cant use those in beta any suggestions Hi, I've looked at the libraries you linked to and it seems that they have been designed back in 1997 for Visual C++ 6.0. Since that release, we have made tremendous improvements in the product, specifically in the realm of standards conformance. Thus, the primary reason for the libr ...Show All
.NET Development Checking the current deployment version with clickonce
Let's assume we have an application which we normally deploy through clickonce. We want to present current version in the about box (the version installed). The following code seemed normal to me: return System.Deployment.Application.ApplicationDeployment.CurrentDeployment.CurrentVersion.ToString(); well... I try to debug this application, and when I open ...Show All
Smart Device Development Windows CE Shared Sources Premium - what's included?
There is a web site outlining the MS shared sources initiative: http://msdn.microsoft.com/embedded/usewinemb/ce/sharedsrccode/default.aspx , but it's not detailed enough to allow a developer to make suggestions re purchasing decision. Can anyone answer (an MVP perhaps), what exactly is included into the Premium sources, for example does it include TAPI, RIL, cellcore, and so on Thx. VB. I would ...Show All
Visual Basic Upgrade GetEXEName()
I'm trying to upgrade my application form VB6 to VB.NET I had the folowing commandline in my code: App.Title App.EXEName. I dont find any equivalents in .NET. I tried For App.Title - GetExecutingAssembly.GetName.Name OR Application.ProductName For App.EXEName - VB6.GetEXEName Any suggestions to get the same values in VB.NET your App.exeename equivalent in Visual basic would probably be ...Show All
Smart Device Development Remove TextBox Border
There is no BorderStyle for TextBox control. How do I implement this in VB.Net There is a workaround. You place the textbox in a smaller panel (read this thread from the beginning): http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework/browse_frm/thread/4b0db0e960c94b72/0512ddbb39e69620 Cheers Daniel ...Show All
Windows Forms ComboBox Items Collection
I have following questions Is ComboBox Items Collection accessable from other Windows Form And how is this possible Thanks :-) In VB.NET controls have the "Friend" scope (Modifiers property of the control), which is in my opinion not a guid ...Show All
Windows Forms I use the print class of FotoVision to make a image print program, why doesn't it work?
The following code is from FotoVision, I make a image print program using the class, but it doesn't work. Only after I have installed the FotoVision (The name of setup program is " FotoVision Desktop.msi ") my program just work. I think that FotoVision have packaged some other components such as dll or registered photowiz.dll in its setup program, but I'm not sure. If so, how can I register photowiz.dll with C# Could you help me, thanks!   ...Show All
Visual C++ cl.exe executes differently on local resp. build machine
Hi, On my local machine: The properties "command line" of my Dummy.cpp is /O2 /GL /D "WIN32" /D "NDEBUG" /D "_WINDLL" /D "_UNICODE" /D "UNICODE" /FD /EHa /MD /Fo"Release\\" /Fd"Release\vc80.pdb" /W3 /nologo /c /Zi /clr /TP /errorReport:prompt In the build log this translates to: /O2 /GL /D "WIN32" /D "NDEBUG" /D "_WIND ...Show All
