Eckmar's Q&A profile
Visual C++ Good old days in C++ are gone
Hi, All! In general, C++ always was a low level programming language. Now this is gone. MS have changed managed extension syntax. Now i can't implement IDisposable by self! What if i don't want call SuppressFinalize I can't implement my own version of Dispose(bool disposing). I like C++ for freedom, now even under C# i have more freedom. I don't like this! Dmitry Native (unmanaged) C++ in VS 8.0, sans the optional Microsoft extensions that have been around for a long time, is one of the most C++-conformant in any product out there, so it's not "gone." It's here today and better than previous versions of Vis ...Show All
Software Development for Windows Vista Relationship to BPMN or BPEL?
I've installed and played around a bit, but I haven't looked closely at the XML resulting from the designer. Is it BPEL or something else How close is the graphical notation to BPMN from BPMI AFAIK, it has been announced that an activity set will be released through the activity gallery on windowsworkflow.net ( http://www.windowsworkflow.net/default.aspx tabindex=2&tabid=31 ), that supports both import and export of BPEL 1.1 as long as you limit yourself to this activity set. As for BPMN, since the designer is supposed to be skinnable, I guess someone could come up with a BPMN skin ...Show All
Software Development for Windows Vista GetOpenFileName is not backwards compatible
First, the file filter is appended to the file type description in that combo box at the bottom of the dialog. This is a really bad idea, because there are types which may have countless extensions, and not because they wouldn't fit, but because xp and older cannot handle it (it simply fails to filter correctly). There is way to get around this problem by using the OFN_ENABLEINCLUDENOTIFY flag and handling the CDN_INCLUDEITEM notification message, but on vista this notification is not sent, apparently. In the end I have two problems, that useless dummy filter text between descriptions I put is now revealed to the user, and manual filtering i ...Show All
Visual Studio Class Designer Power Toy MSI + VS 2005 RC1
I'm trying to install the Modeling Power Toys msi with a new install of VS 2005 RC1 and receive this error: This setup requires the Microsoft Visual J# .NET Redistruibutate package version 2.0.50215. I'm going to try to load up the source and compile myself. Well tried to compile, of course it didn't work. The namespace Microsoft.VisualStudio.QualityTools.Vsip was referenced in a using statement, the compiler complained the namespace is not valid. As suggested in the gotdotnet forum I added the path of the dll to teh references of the project, and still got the same error. Then I removed the using line and b ...Show All
Visual Studio MSBuild availability
I am using Visual Studio 2003. Can I use MSBuild to automate my project's build process. Is MSBuild only available for and works with Visual Studio 2005. Is there a way to download and install MSBuild to try to use it with Visual Studio 2003 project. Also, in VS2005 how to access MSBuild. I am getting this error. D:\Profiles\neonet\My Documents\Visual Studio 2005\Projects\msbuildtest>MSBuild. exe msbuildtest.proj 'MSBuild.exe' is not recognized as an internal or external command, operable program or batch file. MSBuild does not work with Visual Studio 2003. You have to upgrade your projects to Visu ...Show All
Visual Studio Crystal Reports not displaying properly
hey guys, Im back again! well this time with a problem that is pretty big. I have codes in my crystal report rpt file for certain fields so it decodes the input it gets (lets say 1 to a string) it works in Crystal Reports but in my program it just shows the number and not the string its suppose to. Do I have to put the codes into visual now Heres one of the fields have a Display String code set. Switch ( {Client.Benefit1}=0,"No Data", {Client.Benefit1}=1,"Employment Insurance", {Client.Benefit1}=2,"Social Assistance", {Client.Benefit1}=11,"No Income Benefit" ) This is pretty much the function that doe ...Show All
SQL Server NULL values in Cube for measures
I am facing one problem for cubes. Eventhough I have NULL for certain measures in cube it gets populated as 0 in Cube. Has anyone faced this kind of problem. How can I solve this eg In Database D1 D2 Measure1 Measure2 A B NULL 10 C D 10 NULL Expected in Cube D1 D2 Measure1 Measure2 A B 10 C D 10 Currently getting D1 D2 Measure1 Measure2 A B 0 10 C D 10 0 If anyone can provide some tips on this issue it would be of great help to me. Any tip will be greatly appreciated Thanks, This is the default behaviour of Analysis ...Show All
Visual Studio 2008 (Pre-release) How to format numbers in XAML?
Is there a way to specify how numeric variables are displayed in XAML (a la String.Format) I want to set number of decimal places, if there's a thousands separator, etc. The only thing I've thought of so far is to format the numeric data as a string and bind the string...not exactly what I'd like to do. At some point, I'm also going to need numeric data entry, but it doesn't look like there's a control for that in WPF yet. Take a look at the documentation on value converters (IValueConverter). Basically you specify a class that defines methods for converting object values (your decimal data) to object ...Show All
Visual Studio Express Editions Numbers only in a TextBox
Hi All I drew a TextBox from the tool box but don't know how to make the TextBox accept numbers only. Any help is appreciated. private void searchText_KeyPress(object sender, KeyPressEventArgs e) { if (e.KeyChar != 8) { if (char.IsNumber(e.KeyChar) == false) { e.Handled = true; } } I allow the backspace keypress by checking for character 8. You can easily modify this code to suit your needs. ...Show All
.NET Development security problems using getprivateprofilestring api call to read ini file over network
I'm attempting to use the GetPrivateProfileString API call to read from an INI file. (Note - This is my first venture into .NET development and I understand .config files are the current thing, but I already had code which did what I wanted with an INI file, so I thought it would be a faster development path...) When my test application resides on the desktop from which I'm running it, everything works fine (ie. start | run | c:\projects\testapp.exe). However, I need to be able to deploy the application on a network server and call it from various places within our corporate intranet. This is where the troubl ...Show All
Visual Basic How to use Crystal Report Controls?
Can somebody help me on how I can use the Crystal report viewer control and Crystal report control pls posts some sample code that I can use...Tanx! Dominic. Hi, You can try articles at Crystal Reports for Visual Studio 2005 Tutorials and Sample Code http://msdn2.microsoft.com/en-us/library/ms227881.aspx . And CrystalReportViewer Object Model Tutorials http://msdn2.microsoft.com/en-us/library/ms227490.aspx . Best regards, ...Show All
Smart Device Development Installing Framework 2.0 over 1.1.
Hi, It seems that i need to use some classes that are available only in 2.0, but i have 1.1. Is there some articles about reinstalling 2.0 over 1.1 I have lots of development stuff on my comp and i dont want to harm anything uninstalling 1.1 and installing 2.0. Currently i have 1.1. and VS 2003. So, if i take 2.0 Framework and 2.0 SDK and install both of them, not removing 1.1., will everything work fine Will my VS 2003 work with 2.0 since that time Thanks, Belochka. Ooooh, ok, so that's what i feared :))) Thanks for the answer, Belochka. ...Show All
Windows Forms AutoRun from CD
Hi I have developed a VB.NET application which needs .net framework installed on the machine to run. I created autorun file on the CD to enable the customers to run the application from the CD directly . I provide the dotnetfix with the CD for those customers who have no .net framework on there machines. How can my program detect the .net&n ...Show All
Visual Studio Custom Target platform
Is it possible to create and use a custom target platform instead of 'Win32' If yes, What's the complete process to do that Where can i find information Is this still true I know I've seen other, non Microsoft, platform plug-ins out there, so there must be some way for the standard user to create one. Even a simple one ...Show All
Visual Basic My.Application.OpenForms missing after VB6 Conversion
Hi All, I have recently converted an existing VB6 application to VS 2005. After various changes and redevelopment tasks I am down to the last few compilation issues, all of which are that the OpenForms collection of the Me.Application namespace is not defined. Though and behold, when I look at the namespace it is not there! Thinking it was a problem with my machine I created a new Windows form application and wvrything was OK, the collection existed. The only thing I can think of is that the conversion did not create the new project correctly. Is there anyway to correct this problem Thanks Tyler, ...Show All
