hi there :) alot of people told me, including some assitants on our faculty, that if i want to use methods on diferent programming languages is, to use SOAP standard, which also is the best option i would like to use. so let me give you few information on what i want to use first: i have an XML file with alot of data- let's say it is the data of URL links to diferent informational sites (linux distros, diferent tools for linux etc). now, the server part would be written in PHP using the SOAP standard to send data. the thing is, i don't know how to send data if we assume that the clients could be written in C#, Java or any other possible language. i googled it a bit and i found only simple SOAP examlpes, where server sends int or string type, array is nowhere to find :S i mean, i know the client part would call a method defined in WDSL, but- what if PHP would merge all URL links into PHP's Array() like this: var $ArrayOfLinks = array( 0 => 'http://domainA.com/', 1 => 'http://domainB.com/', 2 => 'http://domainC.com/', ); how could i then typecast from this type of array into C# readable type (ArrayList or similar)? please help me out with this.. it's killing me.
lordgreg
Posts
-
C# and SOAP (as client)- how to typecast from PHP array? -
MFC with Windows Form App (.NET) like controlshello, today i tried to create a program- a new project. i tried with Managed C++, Windows Form Application (.NET), i even checked on Delphi. but, at the end, i found out MFC is really the best solution for a project i would create since i worked in MFC before. i would really like to know if there is an option to get Windows Form Application controls working in mfc. For example: i would like to add to my application imagelist, then i would like to add 32bit ico and png files into it. the main reason is actually, that the default MFC support only 256 colors - BMP images and lowcolored ICO files. but i really want for my program to look as good as possible! any ideas how to do that? thanks for all the info guys and gals ;)
-
beggining to create first programthank you for your answers Christian- they helped alot!
-
beggining to create first programhi to all, i finaly managed to get some free time and would like to create my first program using Visual Studio .NET. i would like a program with a nice menu, toolbar, dockable treeview on the left and other free space filled with richtextbox. it would be something like article writer, that's all. now i would like to find out few things, even though we're programming in vc++ .net on our faculty. anyhow, here they are: 1. when creating new .NET project, what type of project to select if i would like to write a program as mentioned above? should it be: - Empty Project (.NET) or - Windows Forms Application (.NET) - MFC Application (MFC) i noticed that that 2nd one has support for more Windows Forms components, also it has imagelist with selection about color depth etc. if i'm creating a program, it should also look good. i noticed also, that in this example the best option is to use Windows Forms Applications. What is your opinion? What are the actual diferences between those three? 2. but, if i'm talking about Windows Forms Application, i have a question about it,.. when viewing Class View for that type of project, i didn't noticed any main class. so, where to write my own code that would be executed when program would be runned? which is the main class when creating WFA? 3. the last question is somehow related with first two ones. i would really like to know, what type of project fits the best for a)dialog based applications (example- mIRC, UltraEdit, FTP programs, ... any kind of programs actually; if they're written in VC++ .NET)? i would really apretiate your answers! thanks in advance and best regards to all ;)
-
MFC Menu checked on Doc/View app?hi Bob, sure it helped- alot. thanks for informing me about ON_UPDATE message handlers. thanks again and best regards ;)
-
MFC Menu checked on Doc/View app?hi all,.. i'm creating a Doc/View program (single window). this program also has a menu (IDR_MAINFRAME), which looks like this:
[ my_program ] [ some option ] [ 2nd option ] [ submenu ] |- [ option_to_check ] '- [ another_option_to_check ] [ exit_option ]
and, i created a handler which runs when i click on "another_option_to_check". when i do that, i would like to UNCHECK "option_to_check" and CHECK another_option_to_check or vice versa if 2nd option is checked. i tried to do it like this:void CVsebnostniTestView::OnMenuRisanjeTocke() { // TODO: Add your command handler code here CMenu* mmenu; mmenu = GetMenu(); if( mmenu->GetMenuState(ID_RISANJE_MNOGOKOTNIK, MF_CHECKED) ) MessageBox( "Option checked!" ); else MessageBox( "Option unchecked!" ); }
ID_RISANJE_MNOGOKOTNIK = id from option_to_check option in menu. i also tried with CMenu* mmenu, and then submenu(3) etc. and even that didn't work. what am i doing wrong then? i would really apretiate any help offered. thanks and best regards ;) -
i'm new herehi everyone,.. i'm new to codeproject's message boards so i would just like to say hi to everyone browsing ;)
-
doc/view app with treeview on the left, how?i created new mfc application with multi doc/view. now, i would like to have also treeview in the main dialog. i would put it on the left of it. how to do that? any ideas?
-
how are the editor programs created?you mean, the msdn cd? if so.. then, i'm on it and thanks ;)
-
how are the editor programs created?i'm using visual c++ 6.0
-
how are the editor programs created?thank you for your answer but i don't get it to work: To build and run the MULTIPAD sample 1. Open the solution multipad.sln. 2. On the Build menu, click Build. 3. On the Debug menu, click Start Without Debugging. 1. i opened multipad.sln in the vc++, 2. i cannot use the build button. it's disabled!
-
how are the editor programs created?i wonder, at the moment, alot of text editors are created the same way. toolbars and menus on the top, on the left, treeview, on the right, tags and textarea for multidocuments (resizable) and status bar on the bottom. how are those editors created? as a dialog based or doc/view multi documents? thanks for all answers
-
1st grade faculty of computer science n00bwell.. i have vc++ 6.0 and when going thru wizard, i just know, it asks me, how do i want my application to look. mfc or explorer style. and if i do explorer style, how to change the main view then to richedit box? thanks.
-
1st grade faculty of computer science n00bhi everyone.. while working and not going to faculty this year, i want to create a c++ project with mfc to refresh my c++ memory. i would like to create a multiple richedit document view with splitter window and the listview/window explorer view on the left... all i want to know at the moment is, how to start creating a project like that? should i do mfc app wizard with richeditview and then try to add explorer view on the left? if so, how should i do that? help me out.. i'm lost. thanks to all. awesome site btw regards ;)