PDA

View Full Version : How do i develop a C# or C++ app to copy files


kidnamedAlbert
30th November 2008, 06:17 AM
Basically what i want to do is what M2DC (http://forum.xda-developers.com/showthread.php?t=427392) does.
i want the program to list all the .zip files that are in a certain theme folder and then when you apply the theme, it unzips the file and copies whatever is in that file and copy it to the windows folder.

Please help me.
i know NOTHING about programming.
you dont even need to show me, even if you give me a link that give me the necessary information to help me do so.

btw, i have Visual Studio 2008.

joel2009
30th November 2008, 07:04 AM
http://msdn.microsoft.com/en-us/windowsmobile/default.aspx

that is microsofts windows mobile developer center you may find some stuff there, but if you have no programing experience you may just want to get the developer of m2dc to help you out getting started :)

best of luck

kidnamedAlbert
30th November 2008, 07:24 AM
forgot to mention i already looked there.
good tutorials. just none of which help me in this situation.

bedaweed
30th November 2008, 07:45 PM
Basically what i want to do is what M2DC (http://forum.xda-developers.com/showthread.php?t=427392) does.
i want the program to list all the .zip files that are in a certain theme folder and then when you apply the theme, it unzips the file and copies whatever is in that file and copy it to the windows folder.

Please help me.
i know NOTHING about programming.
you dont even need to show me, even if you give me a link that give me the necessary information to help me do so.

btw, i have Visual Studio 2008.

Did you download the free copy of visual studio?

kidnamedAlbert
30th November 2008, 10:46 PM
Did you download the free copy of visual studio?
i have the full version

joel2009
1st December 2008, 12:36 AM
the only reason he would have asked is that you have to have the full version for windows mobile development....

kidnamedAlbert
1st December 2008, 12:38 AM
okay well i do.
but im not a programmer so i need some help.

joel2009
1st December 2008, 12:41 AM
i started trying to jump in just recently, mostly i've just been skinning before so i am in the same boat :)

joel2009
1st December 2008, 12:46 AM
this is the c++ library reference, it may provide some help.
http://msdn.microsoft.com/en-us/library/cscc687y.aspx

Rudegar
1st December 2008, 04:12 PM
the code should be the same on a pc performing the same operation
so such code exmpls should be fine too

mpenguin14
1st December 2008, 05:05 PM
i tried to do some searching but it appears that there is not very many beginners tutorials for windows mobile so I will just put a couple of suggestions out there.

If you have never written code before I would recommend starting with C#

I personally use C++ but that is because I started writing C++ while still in high school before C# even existed. From what I can tell C# would be a much less painful experience that learning c++.

If you are not all that interested in learning the ins and outs of programming I would take a took at mortscript because that basically gives you just about everything that you would need and I just checked the documentation they have everything you need, the ability to unzip files and make a simple gui

Whenever looking about learning a new programming language you will do best to look for a "Hello World" example, whenever I learna new language / platform (like i am currently doing with android) I always look for a hello world example so that I can get something simple up and running

I end up getting a lot of information from http://www.codeproject.com/ and http://www.pocketpcdn.com/ sometimes the information is outdated, but it is usually pretty good.

The latest and greatest programming website is stackoverflow.com You can ask a question and Usually you will get an answer to your question in a day or so.

If you are ever interested in looking at some C++ things you can look at the full M2DC source code by downloading the zip file from the google code page (http://code.google.com/p/manilla2dcustomizer/) (latest source code (http://manilla2dcustomizer.googlecode.com/files/M2DC_v0.26.230-src.zip)). In the zip file there is a sln file somewhere, that is the entire solution for the program. You should be able to open that file with you copy of visual studio and build a fully working copy of M2DC

good luck

DaveShaw
1st December 2008, 05:17 PM
How to teach programming in one post...

Well I don't know where to start, Developing C# apps for PPC is similar to developing desktop apps. The best way to learn is to see what others have done and copy across the code you need (Lookup Popfly Development :) ).

I'd try and find the code for this in a Normal WinForms app to do this and then port it across to the PPC App.

I'd do it in C#. The un-zipping maybe complicated, I'm not sure what ZIP code is in the .Net Compact Framework.

Let me know if you need any help, I might even knock some code together for ya.

Ta
Dave

kidnamedAlbert
4th December 2008, 05:43 AM
i tried to do some searching but it appears that there is not very many beginners tutorials for windows mobile so I will just put a couple of suggestions out there.

If you have never written code before I would recommend starting with C#

I personally use C++ but that is because I started writing C++ while still in high school before C# even existed. From what I can tell C# would be a much less painful experience that learning c++.

If you are not all that interested in learning the ins and outs of programming I would take a took at mortscript because that basically gives you just about everything that you would need and I just checked the documentation they have everything you need, the ability to unzip files and make a simple gui

Whenever looking about learning a new programming language you will do best to look for a "Hello World" example, whenever I learna new language / platform (like i am currently doing with android) I always look for a hello world example so that I can get something simple up and running

I end up getting a lot of information from http://www.codeproject.com/ and http://www.pocketpcdn.com/ sometimes the information is outdated, but it is usually pretty good.

The latest and greatest programming website is stackoverflow.com You can ask a question and Usually you will get an answer to your question in a day or so.

If you are ever interested in looking at some C++ things you can look at the full M2DC source code by downloading the zip file from the google code page (http://code.google.com/p/manilla2dcustomizer/) (latest source code (http://manilla2dcustomizer.googlecode.com/files/M2DC_v0.26.230-src.zip)). In the zip file there is a sln file somewhere, that is the entire solution for the program. You should be able to open that file with you copy of visual studio and build a fully working copy of M2DC

good luck
actually thats the first thing i tried(using m2dc as a template)
but i was super confused.
i tried taking out unessicary things like softkeys, background, internet, etc. but it didnt want to build. and plus, i probably did it all wrong.
if i cant get a good mortscript to do it, ill look into those websites you recommended me.
im in high school right now and im trying to find classing that will teach me some basic programming.
my school is filled with idiots though.
but im moving to a different city, so maybe they can teach me better than i would here.
thanks again.