helsingfors's Q&A profile
Visual C++ C6.0->VS2005 -user messsages- ON_MESSAGE error C2440: 'static_cast'
Help Needed: I'm moving a program from C6.0 to Visual Studio 2005 C++. It's an MFC program. The problem I am having is with ON_MESSAGE handling user messages. The compiler is not happy with the function prototype for the message handler. I've made the needed changes to the code to satisfy the stronger type checking of this compliler, but don't understand the 'static_cast' comment. I've tried making the function ' ...Show All
Smart Device Development installing .NET CF 2.0 on a Pocket PC
hi how do I install the CF 2.0 on a Pocket PC it's currently running Windows Mobile 2003 SE thanks, well, i try to uninstalled from 'Control Panel', however, in my ppc, .net cf 2.0 still exist I use this way to check: http://msmobiles.com/users/1/archives/2005.4.20_19046/netcf2.gif does it have any affects when I using vs.2003 to write code because I think I am just gonna use cf 1.1 at the moment as I do ...Show All
Visual Basic indexible Enum / Structure
Good morning! I really need something that has the intellisense features of an enum or structure, but that can be iterated through with a for loop. Consider the example below; I need the calling class to use intellisense, but I need to be able to cycle through each of the variables within locals to do things like read their initial values from disk, or fill an array full of their values. There a many variables within locals, so I ...Show All
Visual C# no My object in c# ?
i saw a demonstration of the My object in visual basic.net i think this is not present in c#. is that right it's a pity it seems handy. Same here, guess I should have tried it myself before posting. Sorry. Another google came up with That : http://blogs.msdn.com/danielfe/archive/2005/06/14/429092.aspx ...Show All
Visual Basic VB2005 Express: Monthview control. DATECHANGED event firing every 2 minutes
Hi all. I've found some interesting behavior in the Monthview control using VB 2005 Express. The Datechanged event of this control seems to be firing every 2 minutes all by itself. This creates some problems for me in the development of a date-intensitive application that cues off of this event on several monthview controls. I'd like for someone else to verify this behavior (make sure it's not just my system).& ...Show All
Software Development for Windows Vista How can I start instalation a Windows Vista os
How can i start instalation of Windows Vista OS. I burn a DVD image, but i can not open it. I can read only a README file. What shall I do What does the Readme file say ...Show All
Visual C# Asynchronous Method Calls - Whats the max?
I have a class that creates worker threads using Asnychronous Method Calls using an Array of Delegates each one is invoked by iterating through the array and calling BeginInvoke (have posted an excerpt below *not the actual code*). My question is what is the suggested maximum number of Asynchronous items to have working in the background at the same time. I know each is a new thread and by default there is a maximum of 25 threads available in th ...Show All
Visual FoxPro Date problem in VFP 6.0
Hello! Huh, I currently have field named 'fine' in my DB. It's used to store fines. There two other fields, 'rent-date' and 'no_of_days'. The first one stores the date on which the rent of a book starts and the second one stores the number of days the book is going to stay with the borrower. Well, I would like to know how can I calculate the fine. To calculate it, I must find by how many days the due date has been "excessed" and ...Show All
Visual C# how to get the version of the assembly so that user can know it is 1.0 or 2.0?
how to code so that user can know the assembly is framework1.0 or 2.0 If you're asking for which runtime you're running with, check System.Environment.Version. If you want to know which framework version an assembly was compiled for, use System.Reflection.Assembly.ImageRuntimeVersion. ...Show All
Software Development for Windows Vista Problems with mciSendString
Hi. I use mciSendString for playing mp3 file. If I send "seek _ALIAS_ to _position_" and position 2000 or less (total frames count aproximately 25000). mciSendString do nothing 5 or more second then it playing file from start. If position > 2000 mciSendString work correct. How I can correct this problem This problem repeat for all my files. StringBuilder ReturnCode = GetStringBuilder(); string CommandLine = "Ope ...Show All
.NET Development web service does not work on webserver only on local box!
Hi there. Interesting thing I just found. I made a webservice which updates my app on request. This is the way it works, simple pseudo: [webservice] Recieves incoming versioning compares with server files if server file versioning > incoming versioning send the file name end if [client] if filename != null create the file request file size from webservice [webservice] recieves incoming request for updat ...Show All
SQL Server How to make tables & stored procedures in MSDE?
Hello, I am a beginner using MSDE & Visual Basic.NET standard version (not Visual Studio.NET) . MSDE was downloaded from microsoft.com yesterday, which is sql2ksp3.exe. The problem is I don't know where to input data to set up tables or stored procedures after configured the MSDE. The MS Desktop Engine pops me "configuration sucessfully", then I can just open a small window with the title of "SQL Server Service Manag ...Show All
Visual C++ Studio 2005 - No more images in toolbar and treectrl in Debug mode... (CImageList problem ?)
C++ ; MFC ; x86 ; Visual Studio 2005 I was using Visual Studio 2003, and since I have installed Visual Studio 2005, toolbars (CToolBar) and treectrls (CTreeCtrl) don't show images in Debug mode and works fine in Release mode !! The common link between these classes is CImageList class... I don't really understand how I can resolve this problem, so any idea is welcomed :o) Thanks The problem seems to be ...Show All
.NET Development Will AnyCPU cause binaries to run as 64-bit on x64 machine
I used VS2005 professional to compile 18 .Net assemblies using the AnyCPU platform setting in configuration manager. I also have a startup executable that calls into one of the GAC libraries to start/run the program. I compiled both the program and all assemblies on at 32 bit Windows 2000 OS using the "AnyCPU" platform setting On the 64-bit computer running XP-Professional(64)... All assemblies were successfully loaded a ...Show All
Visual Studio Express Editions Unexpected close
Hi I have all the programs needed to program a game which is what i am trying to do. But I needed a compiler so I researched and Visual C++ express edition looked great and it's free so I got it. It downloaded fine and I installed it and it works. But I need to go to the options and change some settings in VC++ directories but every time I click on VC++ Directories i get an error that says "Microsoft VC has unexpectadely closed" and ...Show All
