TodayPlus Boards v2

TodayPlus for the Pocket PC Forums => General => Topic started by: ZapMe1 on November 06, 2004, 03:30:02 PM

Title: Use Info for EZ-Download
Post by: ZapMe1 on November 06, 2004, 03:30:02 PM
Could someone tell me where I can find instructions on using EZ-Download ??

I haven't used this up until now, (I know many of you have), but I would like to try some experiments !!

The .txt file that comes with the program download is un-readable to me !!

Thanks.....  :D

Edit:   Sorry,  Maybe this should have been posted in "Help & Support" !!  :knownot:
Title: Re: Use Info for EZ-Download
Post by: uk_skinner on November 06, 2004, 03:37:13 PM
Quote from: ZapMe1Could someone tell me where I can find instructions on using EZ-Download ??

I haven't used this up until now, (I know many of you have), but I would like to try some experiments !!

The .txt file that comes with the program download is un-readable to me !!

Thanks.....  :D

Edit:   Sorry,  Maybe this should have been posted in "Help & Support" !!  :knownot:

ZapMe1:

  Do you mean use it to download the file via HTTP within TP?
Title: Use Info for EZ-Download
Post by: ZapMe1 on November 06, 2004, 03:44:33 PM
QuoteZapMe1:

Do you mean use it to download the file via HTTP within TP?

Yes, that, and other general use info !!  :D
Title: Use Info for EZ-Download
Post by: uk_skinner on November 06, 2004, 04:17:01 PM
This will not be a straight forward answer.  

The way I did to download the radar image, for example, is to call EzDownload from an exe.

To prepare this exe, you have to download the EVC 4++ and 2003SDK (free from MS) the whole package into PC and write a code to call EzDownload using CreateProcess code.

The link to download eMbedded Visual C++ 4.0 is

http://www.microsoft.com/downloads/details.aspx?FamilyID=1dacdb3d-50d1-41b2-a107-fa75ae960856&displaylang=en

You also need to install some other stuffs, sorry I forgot what are they..  Once you install evc4 and execute it, it will tell you what do you miss and you can go to Microsoft site to download it.  However, if you have Visual Studio 2003.Net then you don't need to do that.

Then, you have to learn Embedded Visual C++.  I am also a beginner and really can not help you too much.  What I did is to browse the internet to find the answer for my question.  Man, that was not easy.

If you decide still go for it.  Try to install the necessary program first and I do my best to help you.  But remember I don't know much than you do.
Title: Use Info for EZ-Download
Post by: ZapMe1 on November 06, 2004, 06:06:16 PM
WOW !!!!!   Who forgot to put the EZ in the whole mix !!   :doh:

Maybe I'll still give it a try !!   I have MS Visual C++ 6.0 & SDK '03...

I just thought the process was much simpler !!   :oops:  :knownot:

Thanks UK......
Title: Use Info for EZ-Download
Post by: Geezer on November 06, 2004, 06:09:21 PM
Wow indeed!  So did I.  I was baited for a bit but now..  Think I'll sit it out for awhile.   :cry:
Title: Use Info for EZ-Download
Post by: uk_skinner on November 06, 2004, 07:05:42 PM
Quote from: ZapMe1WOW !!!!!   Who forgot to put the EZ in the whole mix !!   :doh:

Maybe I'll still give it a try !!   I have MS Visual C++ 6.0 & SDK '03...

I just thought the process was much simpler !!   :oops:  :knownot:

Thanks UK......

EzDownload itself is EZ but to pair with TP...that is a different story, at least for me.  For this moment, this is a way I can get file download and pair with TP... :?

Let me know whe you are ready...
Title: Use Info for EZ-Download
Post by: ZapMe1 on November 06, 2004, 09:34:04 PM
QuoteTo prepare this exe, you have to download the EVC 4++ and 2003SDK (free from MS) the whole package into PC and write a code to call EzDownload using CreateProcess code.

Hi UK,

I thought I had SDK 2003, but I have SDK 2002, which is for ppc2002 OS..
According to MS, SDK2002 goes with EVC 3.0++

Do you know if I can use EVC4.0++ with 2002 OS, or do I need to download 3.0 ??

I appreciate your help !!   :D
Title: Use Info for EZ-Download
Post by: uk_skinner on November 06, 2004, 09:44:07 PM
Quote from: ZapMe1
QuoteTo prepare this exe, you have to download the EVC 4++ and 2003SDK (free from MS) the whole package into PC and write a code to call EzDownload using CreateProcess code.

Hi UK,

I thought I had SDK 2003, but I have SDK 2002, which is for ppc2002 OS..
According to MS, SDK2002 goes with EVC 3.0++

Do you know if I can use EVC4.0++ with 2002 OS, or do I need to download 3.0 ??

I appreciate your help !!   :D

With a slight modification, you can use EVC4.0 to complier a code for PPC2002.  But I believe you need to use 2003SDK for EVC4.  Are you still using PPC2002?  So I would suggest you to download EVC 4.  You said you have MS Visual Studio 6.  If you know how to use it then I believe you can use it to complier the program for PPC.  However, I never used it and really can not help you.
Title: Use Info for EZ-Download
Post by: ZapMe1 on November 06, 2004, 10:59:09 PM
I am using ppc2002..   Would I be better to use EVC 3.0++ & SDK 2002 ??

Edit - Update:  I did a little research, and found out that EVC 4.0++ will not work to develope for ppc2002...   And if that wasn't bad, I found out that EVC 3.0++ needs Windows NT or Windows 2000 to function...   I'm running on XP !!!
:wall:  :knownot:
Title: Use Info for EZ-Download
Post by: uk_skinner on November 07, 2004, 06:37:20 AM
Quote from: ZapMe1I am using ppc2002..   Would I be better to use EVC 3.0++ & SDK 2002 ??

Edit - Update:  I did a little research, and found out that EVC 4.0++ will not work to develope for ppc2002...   And if that wasn't bad, I found out that EVC 3.0++ needs Windows NT or Windows 2000 to function...   I'm running on XP !!!
:wall:  :knownot:

Rotlus showed me an approach to complier codes for ppc2002 in EVC4++ and it worked.  So, it can be done.
Title: Use Info for EZ-Download
Post by: uk_skinner on November 07, 2004, 10:05:49 AM
ZapMe1:

 I lost the original information Rotlaus gave me but I found this link in German.  But I think I can figure it out.  Or Wichtel or anyone speak German can help us... :wink:

http://www.ppc-welt.info/community/showpost.php?p=209383&postcount=5
Title: Use Info for EZ-Download
Post by: ZapMe1 on November 07, 2004, 10:14:09 AM
Hi UK;

Well I tried it anyway, and downloaded the EVC 3.0++ tool set which includes SDK2002..
I tried it on my XP, and it seems to work just fine..  (It was almost 2am, so I was a little tired)
But, I think I'm Good-To-Go !!    8)
Title: Use Info for EZ-Download
Post by: uk_skinner on November 07, 2004, 11:06:20 AM
Quote from: ZapMe1Hi UK;

Well I tried it anyway, and downloaded the EVC 3.0++ tool set which includes SDK2002..
I tried it on my XP, and it seems to work just fine..  (It was almost 2am, so I was a little tired)
But, I think I'm Good-To-Go !!    8)

ZapMe1:

  Can you PM your email to me?  I am going to send you the whole project for testing first...  It is 2MB zip file..or send an message to uk_skinner@comcast.net
Title: Use Info for EZ-Download
Post by: ZapMe1 on November 07, 2004, 11:25:57 AM
UK_Skinner;

Thanks again for all of your help !!   I know you have much on your plate right now, and I really appreciate this !! 8)

My email is in your PM inbox !!!

Thanks...........
Title: Use Info for EZ-Download
Post by: uk_skinner on November 07, 2004, 11:54:28 AM
Quote from: ZapMe1UK_Skinner;

Thanks again for all of your help !!   I know you have much on your plate right now, and I really appreciate this !! 8)

My email is in your PM inbox !!!

Thanks...........

ZapMe1, no problem, check your email..Have fun!! :wink:
Title: Use Info for EZ-Download
Post by: ZapMe1 on November 07, 2004, 12:18:58 PM
Thanks UK;

Got the email, and your instructions sound pretty straight forward !!
I'm going to give it a try here soon this afternoon...   I'll let you know how it goes !!   :pray:
Title: Use Info for EZ-Download
Post by: ZapMe1 on November 07, 2004, 02:03:02 PM
I guess I have much to learn about EVC 3.0++...   I failed all over !!  :(

1) UK, the files you sent me will not work with 3.0++ it seems..  I get that message when I try to load...

2) I tried to start from scratch, but I guess I don't know enough to be successful..   When I tried to compile the info, I kept getting a message which said "No compiler tool associated with file extension"..   :wall:

Couldn't find a way to make it work !!   :knownot:

I will search for some use instructions for EVC3.0++ this afternoon !!
Title: Use Info for EZ-Download
Post by: uk_skinner on November 07, 2004, 02:15:25 PM
Quote from: ZapMe1I guess I have much to learn about EVC 3.0++...   I failed all over !!  :(

1) UK, the files you sent me will not work with 3.0++ it seems..  I get that message when I try to load...

2) I tried to start from scratch, but I guess I don't know enough to be successful..   When I tried to compile the info, I kept getting a message which said "No compiler tool associated with file extension"..   :wall:

Couldn't find a way to make it work !!   :knownot:

I will search for some use instructions for EVC3.0++ this afternoon !!

ZapMe1:

  Here is my suggestion.
  Can you start a new project in EVC3.0++?  Select a "Simple Win CE Application".  Then use Notepad to open the EZdownloadTest1.vcw, copy the codes into your new project and see you can complier there.
Title: Use Info for EZ-Download
Post by: ZapMe1 on November 07, 2004, 02:44:00 PM
Quote"No compiler tool associated with file extension"..  

UK,
I tried what you suggested, and same message when I try to compile !!
Not sure what I'm doing wrong !!   :wall:  :wall:  :knownot:

QuoteSelect a "Simple Win CE Application
What do you mean ??  Which application ??  From Where ??
Title: Use Info for EZ-Download
Post by: uk_skinner on November 07, 2004, 02:48:03 PM
Quote from: ZapMe1
Quote"No compiler tool associated with file extension"..  

UK,
I tried what you suggested, and same message when I try to compile !!
Not sure what I'm doing wrong !!   :wall:  :wall:  :knownot:

:doh:

I am not good at this too.  But can you complier a simple Hello World program.  You should be able to select it from the wizard.. See screen shot below.
Title: Use Info for EZ-Download
Post by: ZapMe1 on November 07, 2004, 03:05:50 PM
This must be one of the differences between 3.0++ & 4.0++

I cannot find a "Wizard" !!!!!! Or a screen like you show !!
Title: Use Info for EZ-Download
Post by: ZapMe1 on November 07, 2004, 03:54:01 PM
Duh !!  :doh:   I found the wizard !!  (Had to go to OZ!)

I coppied in the text from the files you sent me, and now I get a message saying that the file is not compatable with the 80486 CPU ??   :?:  :?:  :?:

I guess I really must find some Instructions !!!!!!!!!!!!!!!!! :oops:
Title: Use Info for EZ-Download
Post by: uk_skinner on November 07, 2004, 04:19:30 PM
Quote from: ZapMe1Duh !!  :doh:   I found the wizard !!  (Had to go to OZ!)

I coppied in the text from the files you sent me, and now I get a message saying that the file is not compatable with the 80486 CPU ??   :?:  :?:  :?:

I guess I really must find some Instructions !!!!!!!!!!!!!!!!! :oops:

You got one step further at least.  Were you able to complier the "Hello World"?

I don't understand why the file is not compatiable with 80486 CPU? :? You did create the new file using the wizard, right?
Title: Use Info for EZ-Download
Post by: ZapMe1 on November 07, 2004, 06:25:13 PM
QuoteYou got one step further at least. Were you able to complier the "Hello World"?

I don't understand why the file is not compatiable with 80486 CPU?  You did create the new file using the wizard, right?

No, Hello World gave me the same error message !!  And yes, I did create the new file...   I just don't understand it !!!

I really do appreciate you trying to help me, but I think the problem is in my "lack of understanding the EVC program"

Although my head may hurt a little,  :wall:  I don't give up easially !!
Tomorrow I'll stop by the library to see what info they have on this program..  Maybe with written text in hand, I'll be able to do this !!   :roll:
Title: Use Info for EZ-Download
Post by: uk_skinner on November 07, 2004, 07:38:25 PM
ZapMe1:

  If you can not even complier the "Hello World", my feeling is the EVC 3.0 was not set-up right.  Unfortunately, I also have limited knowledge and I wish I could help you more.  What I would suggest is to remove everything and re-install from the beginning and make sure you get everything.  My impression was you need to follow certain order to install all the components, at least this was what I found in EVC4.0.  When I just installed it, it would not run because it told me that I missed one component (I forgot which one) and I went to Micorsoft sit to get it into my PC.  In addition, just make sure you have the right SDK for PPC2002.

 One other option is go for the evc4.0 since I know for sure it can be used to complier for PPC2002.  Besides, I will assume you probably will get WM2003 (even WM2003SE) pretty soon.  So, it probably will be better off to use evc4 then you can share with others.... :lol:
Title: Use Info for EZ-Download
Post by: ZapMe1 on November 07, 2004, 08:37:37 PM
QuoteOne other option is go for the evc4.0 since I know for sure it can be used to complier for PPC2002

If I use EVC4.0 & SDK 2003, will I have the option drop box to choose the ppc2002 platform, and will SDK be able to communicate with my device ??

Can I also make an .exe to work on my 2002 device ?? :knownot:
Title: Use Info for EZ-Download
Post by: uk_skinner on November 07, 2004, 08:43:51 PM
Quote from: ZapMe1
QuoteOne other option is go for the evc4.0 since I know for sure it can be used to complier for PPC2002

If I use EVC4.0 & SDK 2003, will I have the option drop box to choose the ppc2002 platform, and will SDK be able to communicate with my device ??

Can I also make an .exe to work on my 2002 device ?? :knownot:


Good questions.  I forgot you have 2002 device.  I know I can make an exe for 2002 but I am not sure you can communicate your device with EVC4.   :?  :(
Title: Use Info for EZ-Download
Post by: ZapMe1 on November 07, 2004, 09:20:57 PM
QuoteGood questions. I forgot you have 2002 device. I know I can make an exe for 2002 but I am not sure you can communicate your device with EVC4.  

I'm going to the library to see how much info I can get on both 3.0 & 4.0..   Maybe that will answer many questions..   My problems with 3.0 may just be my lack of knowledge !!  :doh:
Title: Use Info for EZ-Download
Post by: eemond on November 08, 2004, 03:41:35 PM
uk_skinner,

Been following this thread with greate interest. This morning I successfully installed EVC4.0 SP4 and SDK 2003SE. I was able to build and run the samples I found at http://www.microsoft.com/downloads/details.aspx?familyid=6a34dc83-c3ce-4a4c-ab83-491fd5729551&displaylang=en

I would like to now try to use the Traffic Report from My MSN homepage like you did with Radar. Would you be willing to share your aforementioned projct with me?

Thanks in advance.
Title: Use Info for EZ-Download
Post by: uk_skinner on November 08, 2004, 03:49:31 PM
Quote from: eemonduk_skinner,

Been following this thread with greate interest. This morning I successfully installed EVC4.0 SP4 and SDK 2003SE. I was able to build and run the samples I found at http://www.microsoft.com/downloads/details.aspx?familyid=6a34dc83-c3ce-4a4c-ab83-491fd5729551&displaylang=en

I would like to now try to use the Traffic Report from My MSN homepage like you did with Radar. Would you be willing to share your aforementioned projct with me?

Thanks in advance.

Sure no problem..
Can you send me an email to uk_skinner@comcast.net and I will send you a test project?  
That is intersting for traffic report..  Do you have a link that I can take a look and what kind of information you try to extract?  Wow, you must be very good in order to drive in Boston.... :shock:
Title: Use Info for EZ-Download
Post by: uk_skinner on November 08, 2004, 04:24:50 PM
eemond:

 I just went to my MSN page.  This is cool!!! Hay you open a new feature for TP, download the traffic report!!!!!

Is this the image you want to download?  I will think to see is there anyway to get the "description"... :wink:
Title: Use Info for EZ-Download
Post by: ZapMe1 on November 08, 2004, 05:24:41 PM
Ok..   I think I may be getting somewhere !!   I tried again to build "Hello World", and got the same error message saying that the file was not compatable with 80486 CPU..   But....

I continued anyway...   The file (called test1.exe) was built and compiled, and placed in the start menu of the emulator..   When I tried to run it from there, I got a message on the emulator which said "test1.exe is not a valid pocket pc application" !!

But...   But...   I then coppied the test1.exe to my (real) ppc, and...
It worked !!!  :shock:   "Hello World"  :dance:

@UK_Skinner,  I again tried to do the same process with the .vcw file you sent me, but I still couldn't get that to work  :(

Do you know where I can get some code samples (for EVC 3.0, ppc2002), so I can better learn this ??

Thanks !!
Title: Use Info for EZ-Download
Post by: uk_skinner on November 08, 2004, 05:28:20 PM
Quote from: ZapMe1Ok..   I think I may be getting somewhere !!   I tried again to build "Hello World", and got the same error message saying that the file was not compatable with 80486 CPU..   But....

I continued anyway...   The file (called test1.exe) was built and compiled, and placed in the start menu of the emulator..   When I tried to run it from there, I got a message on the emulator which said "test1.exe is not a valid pocket pc application" !!

But...   But...   I then coppied the test1.exe to my (real) ppc, and...
It worked !!!  :shock:   "Hello World"  :dance:

@UK_Skinner,  I again tried to do the same process with the .vcw file you sent me, but I still couldn't get that to work  :(

Do you know where I can get some code samples (for EVC 3.0, ppc2002), so I can better learn this ??

Thanks !!


Try this site

http://www.codeproject.com/ce

It is great one, I believed and I learned a lot from there.

The have free projects can be downloaded..
Title: Use Info for EZ-Download
Post by: ZapMe1 on November 08, 2004, 05:44:19 PM
Cool !!  8)   Thanks again UK !!
Title: Use Info for EZ-Download
Post by: eemond on November 09, 2004, 02:13:54 PM
Very early prototype of an RSS Traffic Report Solution. Try adding this to your TodayPlus RSS Links:

http://24.34.11.59/RSS20.php

Currently all data is hardcoded for Boston; uses the Traffic Report Content of My MSN; city selection (limited to the dropdown) to follow.
Title: Use Info for EZ-Download
Post by: eemond on November 09, 2004, 02:16:35 PM
ZapMe1,

How are your builds going? PM me if you'd like to talk through this on the phone.
Title: Use Info for EZ-Download
Post by: uk_skinner on November 09, 2004, 02:29:05 PM
Quote from: eemondVery early prototype of an RSS Traffic Report Solution. Try adding this to your TodayPlus RSS Links:

http://24.34.11.59/RSS20.php

Currently all data is hardcoded for Boston; uses the Traffic Report Content of My MSN; city selection (limited to the dropdown) to follow.

emmond:

Wow, this is what I am trying to do... :approve:  :clap:

Combine with the image downloading, right now you can display image and RSS together.....
Cool, when are you going to show us your work? And you need to teach me how to get RSS work...  :pray:


Edit:  Got an error message when I clicked the link.

The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.


--------------------------------------------------------------------------------

A semi colon character was expected. Error processing resource 'http://24.34.11.59/RSS20.php'. Line 13, Position 71

 <link>http://autos.msn.com/everyday/trafficreport.aspx?metro=BOS&src=mymsn</link>
----------------------------------------------------------------------^
Title: Use Info for EZ-Download
Post by: eemond on November 09, 2004, 03:27:23 PM
I get the same thing when I double click, however if you look at the generated source, it looks OK, and when you add to your TodayPlus RSS Links, it work OK (for a prototype).

It will take a few days to get the PHP Script going, will share with you then.
Title: Use Info for EZ-Download
Post by: uk_skinner on November 09, 2004, 04:23:19 PM
Quote from: eemondI get the same thing when I double click, however if you look at the generated source, it looks OK, and when you add to your TodayPlus RSS Links, it work OK (for a prototype).

It will take a few days to get the PHP Script going, will share with you then.

Yes, it worked like charm...And combine with the image downloading..
Title: Use Info for EZ-Download
Post by: uk_skinner on November 09, 2004, 04:33:11 PM
eemond:

 I noticed that the url link for Boston traffic report image is switched beween BOS_1.gif and BOS_2.gif.  Looks like every 2-3 minutes, the image is updated.  So even you get the wrong one, it probably will not too far off.

http://fp.images.autos.msn.com/images/mymsn/BOS_2.gif
Title: Use Info for EZ-Download
Post by: ZapMe1 on November 09, 2004, 08:16:11 PM
@UK_Skinner
@eemond

I think I'm finally getting somewhere !!   I found out that the error message I was getting that said that the 80486 CPU was not compatable, was caused only when I tried to use the emulator, but if I chose to go directly to the ppc (real), then it worked !! :D
It built the file, compiled it, and downloaded to my ppc...   but...  I haven't gotten anything but "hello world" to actually work !!

@UK_Skinner,
If I open the .vcw file you sent me with notepad, should I copy the text, and paste it into a "new text" form within EVC, then build ??
Title: Use Info for EZ-Download
Post by: eemond on November 10, 2004, 10:34:12 AM
Don't know if this is the right place for this discussion, but this is where it began. Here's a Traffic Report RSS Feed for TodayPlus. This input:

http://autos.msn.com/everyday/trafficreport.aspx?metro=BOS&src=mymsn

is used to generate this XML:

http://24.34.11.59/traffic_rss.php?metro1=BOS

which can be fed into TodayPlus RSS Feeds.

metro1= is limited to the My MSN, Traffic Report Content, View Traffic For: Drop Down.

Try metro1=COL and checkout the Traffic Report for Columbus, OH
Title: Use Info for EZ-Download
Post by: uk_skinner on November 10, 2004, 11:12:06 AM
Quote from: eemondDon't know if this is the right place for this discussion, but this is where it began. Here's a Traffic Report RSS Feed for TodayPlus. This input:

http://autos.msn.com/everyday/trafficreport.aspx?metro=BOS&src=mymsn

is used to generate this XML:

http://24.34.11.59/traffic_rss.php?metro1=BOS

which can be fed into TodayPlus RSS Feeds.

metro1= is limited to the My MSN, Traffic Report Content, View Traffic For: Drop Down.

Try metro1=COL and checkout the Traffic Report for Columbus, OH


:approve:
It works!!!  I used metro1=WDC!!
Title: Use Info for EZ-Download
Post by: ZapMe1 on November 10, 2004, 08:14:39 PM
@eemond

First, I'd like to say thanks for your help !!   :approve:   I understand Much more about EVC++ then I did before today !!
I haven't yet had a chance to download and install v.4.0, but I did try to use your info, and downloaded the source code for the "font viewer" project that I told you about..  I was able to load it into EVC++, build & compile, and then download it into my device...   and...
"It worked like a charm"   :dance:
Tomorrow I'll install v.4.0, and its SDK, and try it again !!   My next task (challenge) is to build an .exe of my own !!   :shock:  :!:
Thanks again......


Back to the current topic...  :arrow:   I really like the traffic report feed that you posted above !!   I tried it on my device, and it worked for Columbus, but I don't get a map image...  Just Titles and description !!
Do I need something different in the code in my skin ??   At the web site the map shows just fine !!   :?:
Title: Use Info for EZ-Download
Post by: uk_skinner on November 10, 2004, 08:28:50 PM
Quote from: ZapMe1@eemond

First, I'd like to say thanks for your help !!   :approve:   I understand Much more about EVC++ then I did before today !!
I haven't yet had a chance to download and install v.4.0, but I did try to use your info, and downloaded the source code for the "font viewer" project that I told you about..  I was able to load it into EVC++, build & compile, and then download it into my device...   and...
"It worked like a charm"   :dance:
Tomorrow I'll install v.4.0, and its SDK, and try it again !!   My next task (challenge) is to build an .exe of my own !!   :shock:  :!:
Thanks again......


Back to the current topic...  :arrow:   I really like the traffic report feed that you posted above !!   I tried it on my device, and it worked for Columbus, but I don't get a map image...  Just Titles and description !!
Do I need something different in the code in my skin ??   At the web site the map shows just fine !!   :?:


ZapMe1:

  Good to know you make progress.  eemond gets more experience than me. :approve:

 As for image, that is my trick.  The RSS feed will not give you the image, I did some code in TP to allow you display image.  This is same thing for radar image.  You need to download it first.  The link for you is
http://fp.images.autos.msn.com/images/mymsn/COL_1.gif

Once you have this image, then you can put a simple code to display it.  The trick is (in Hammerskin), use if code to display image when 1) var2 is equal to the number of your RSS traffice report, 2) when var4 and var 5 both equal to 1.  Becuase the first item is just title and incidents actually start at number 2.

I spent my most time to "dynamic skin" and will try to put some codes together for traffic report.
Title: Use Info for EZ-Download
Post by: ZapMe1 on November 10, 2004, 09:08:13 PM
QuoteAs for image, that is my trick. The RSS feed will not give you the image, I did some code in TP to allow you display image. This is same thing for radar image. You need to download it first. The link for you is
http://fp.images.autos.msn.com/images/mymsn/COL_1.gif
UK,
The code was easy !!  Good job !!  But (2) questions:
1) can I give the map image a simple name
2) how does the image update when road conditions change ??
Title: Use Info for EZ-Download
Post by: uk_skinner on November 10, 2004, 09:40:08 PM
Quote from: ZapMe1
QuoteAs for image, that is my trick. The RSS feed will not give you the image, I did some code in TP to allow you display image. This is same thing for radar image. You need to download it first. The link for you is
http://fp.images.autos.msn.com/images/mymsn/COL_1.gif
UK,
The code was easy !!  Good job !!  But (2) questions:
1) can I give the map image a simple name
2) how does the image update when road conditions change ??

1) In EZDownload, you can name any name you want.  Do you use the exe by Rotlaus?  You can define the file path and name for any image you wish to download.

2) You can create an addtional refresh button in RSS page, I would say somewhere at th top of section.  Or if you want, you can use the same refresh button to refresh both RSS information and road map.  A simple if code will allow you to refresh image only when you are looking at traffic RSS.  I noticed, the map is being updated every 2-3 minutes (during the rush hour).  Unfortunately, there is no time stamp on the image.  The advantage to refresh both, then you can know when you update both incidents and image..
Title: Use Info for EZ-Download
Post by: ZapMe1 on November 10, 2004, 09:45:25 PM
Cool !!   8)
Thanks UK, I will see if I can get it going !!
Title: Use Info for EZ-Download
Post by: ZapMe1 on November 12, 2004, 12:57:33 PM
@eemond
@UK_Skinner

Well I think I created a problem !!   I tried to install EVC C++ 4.0, and when I did, it wasn't working correctly (locked up, and wouldn't build anything)..   so I uninstalled EVC 3.0, and still no luck...   So I uninstalled everything, and started from the beginning..
Just installed 4.0, and SDK 2003, and same problems
1) when I try to open an existing file (any), it just counts and freezes and gives a "not responding" message
2) when I try to create a "hello world", it gets to the part of installing the "skeleton" project, and...  Freezes again  :wall:

Any Ideas ??   v.3.0 worked well, maybe I should have left it alone !!  :(
Title: Use Info for EZ-Download
Post by: uk_skinner on November 12, 2004, 01:21:39 PM
Quote from: ZapMe1@eemond
@UK_Skinner

Well I think I created a problem !!   I tried to install EVC C++ 4.0, and when I did, it wasn't working correctly (locked up, and wouldn't build anything)..   so I uninstalled EVC 3.0, and still no luck...   So I uninstalled everything, and started from the beginning..
Just installed 4.0, and SDK 2003, and same problems
1) when I try to open an existing file (any), it just counts and freezes and gives a "not responding" message
2) when I try to create a "hello world", it gets to the part of installing the "skeleton" project, and...  Freezes again  :wall:

Any Ideas ??   v.3.0 worked well, maybe I should have left it alone !!  :(

Do you still have SDK2002 in your hard drive?  Sorry, this might confuse you.  I heard two diiferent things.  Someone said, you need to complete get rid of the SDK2002 when you run EVC4.0 and SDK2003.  However, I also found a lot of people keep both versions (EVC3/EVC4 and 2002/2003SDK) on the same PC.  Since I alot of people made thsi claim, I do believe there is a way to have both in the same PC.   :?
I will try to find a link.  But I would suggest to see you still have 2002SDK in your PC...
Title: Use Info for EZ-Download
Post by: ZapMe1 on November 12, 2004, 01:25:31 PM
QuoteDo you still have SDK2002 in your hard drive? Sorry, this might confuse you. I heard two diiferent things. Someone said, you need to complete get rid of the SDK2002 when you run EVC4.0 and SDK2003. However, I also found a lot of people keep both versions (EVC3/EVC4 and 2002/2003SDK) on the same PC. Since I alot of people made thsi claim, I do believe there is a way to have both in the same PC.  
I will try to find a link. But I would suggest to see you still have 2002SDK in your PC...

At one point I got rid of everything, and just reinstalled 4.0 & SDK2003, and it still wouldn't work !!
I just reinstalled 3.0 & SDK2002...  I'm going to give it a try right now !!
Title: Use Info for EZ-Download
Post by: ZapMe1 on November 12, 2004, 01:35:48 PM
:arrow: Update: (Strange !)

EVC 3.0 is reinstalled, and works fine !!  Built "Hello World", worked fine, no problems..   EVC 4.0...   Still locks up the pc with "not responding"  :?:

Strange thing !!   I'm running Win XP, and, from what Microsoft says, EVC 3.0 won't run on XP, and EVC 4.0 is made for XP !!!!!!  :knownot:

I think we have this "Backwards" :wall:
Title: Use Info for EZ-Download
Post by: uk_skinner on November 12, 2004, 01:53:08 PM
Quote from: ZapMe1:arrow: Update: (Strange !)

EVC 3.0 is reinstalled, and works fine !!  Built "Hello World", worked fine, no problems..   EVC 4.0...   Still locks up the pc with "not responding"  :?:

Strange thing !!   I'm running Win XP, and, from what Microsoft says, EVC 3.0 won't run on XP, and EVC 4.0 is made for XP !!!!!!  :knownot:

I think we have this "Backwards" :wall:

Can you check what folders you have in /Windows CE Tools?  I have wince420 folder in it.  I assume you install SP4 for evc 4 and you have Microsoft eMbedded C++ 4.0 in your program folder right?
Title: Use Info for EZ-Download
Post by: ZapMe1 on November 12, 2004, 05:15:57 PM
QuoteI assume you install SP4 for evc 4

:roll:  Ok, everyone say it with me....   "DUH"  ....    :oops:  :doh:

It does say that you need sp4 right there at the web site, but I "assumed" that the latest download would already have it !!  :knownot:

I know..   Assume= Made an a$$ out of ME !!   :oops:

Anyway, I now have EVC C++ 4.0 working fine, and coexisting with EVC C++ 3.0, also working fine !!!  :D

Now, just need to learn how to have 4.0 build for ppc2002.......

Thanks UK, you helped me out once again !!
Title: Use Info for EZ-Download
Post by: ZapMe1 on November 12, 2004, 05:24:59 PM
UK_Skinner gave me this web link which I believe explains how to use EVC C++ 4.0 to work with ppc2002 applications !!

http://www.ppc-welt.info/community/showpost.php?p=209383&postcount=5

But I can't read German, and don't have a translater !!
Could someone Please translate for me ??

I appreciate the help !!  :D
Thanks........
Title: Use Info for EZ-Download
Post by: uk_skinner on November 12, 2004, 05:39:18 PM
Quote from: ZapMe1UK_Skinner gave me this web link which I believe explains how to use EVC C++ 4.0 to work with ppc2002 applications !!

http://www.ppc-welt.info/community/showpost.php?p=209383&postcount=5

But I can't read German, and don't have a translater !!
Could someone Please translate for me ??

I appreciate the help !!  :D
Thanks........

Try this site to translate.  But you probably need some imagnation with their translation.  But give it a try.  

http://babelfish.altavista.com/

Ok, let's try this.

1) Project -->Settings-->C/C++

In "Preprocessor Definitions" window

Change
"_WIN32_WCE=$(CEVersion),$(CePlatform),ARM,_ARM_,ARMV4,UNDER_CE=$(CEVersion),UNICODE,_UNICODE,NDEBUG"

to

"_WIN32_WCE=300,WIN32_PLATFORM_PSPC=310,ARM,_ARM_,ARMV4,UNDER_CE=300,UNICODE,_UNICODE,NDEBUG"


2) Project-->Settings-->Link

in "Project options" Window

Change

"/subsystem:$(CESubsystem) /align:"4096" "

to

"/subsystem:windowsce,3.00 /align:"4096" "
Title: Use Info for EZ-Download
Post by: ZapMe1 on November 12, 2004, 06:52:19 PM
:arrow:  UK, You are the man !!   :bow:

The translation site worked great, and I have everything as you have it above !!
But, if I build, I only can choose 2003 Device, or 2003 Emulator..
How do I build/save for ppc2002 ??
Title: Use Info for EZ-Download
Post by: uk_skinner on November 12, 2004, 07:01:56 PM
Quote from: ZapMe1:arrow:  UK, You are the man !!   :bow:

The translation site worked great, and I have everything as you have it above !!
But, if I build, I only can choose 2003 Device, or 2003 Emulator..
How do I build/save for ppc2002 ??

I did complier for 2002 for once.  I would "guess"  :oops: to chose 2003 Device and the exe will export to your 2002PPC and try run it from your device.
Title: Use Info for EZ-Download
Post by: ZapMe1 on November 12, 2004, 07:32:32 PM
QuoteI did complier for 2002 for once. I would "guess"  to chose 2003 Device and the exe will export to your 2002PPC and try run it from your device.
I tried that, but it couldn't communicate with my device !!

....But....

:arrow:   Update:   I DID IT !! :dance:    I used EVC 3.0, and rebuilt the text from the .vcw file that you sent me, UK !!   I started with a new file, and choose a "simple application", then "pieced together" the code...   Then I replaced the url to match my local radar...   and.....

SUCCESS !!!!!

EzDownload got the radar image in about 1 sec, and deposited it into the radar folder I set up in the TP directory !!   :approve:

Now, just need to know how to set up in the skin to call this image/exe !!
Title: Use Info for EZ-Download
Post by: uk_skinner on November 12, 2004, 08:12:57 PM
Quote from: ZapMe1
QuoteI did complier for 2002 for once. I would "guess"  to chose 2003 Device and the exe will export to your 2002PPC and try run it from your device.
I tried that, but it couldn't communicate with my device !!

....But....

:arrow:   Update:   I DID IT !! :dance:    I used EVC 3.0, and rebuilt the text from the .vcw file that you sent me, UK !!   I started with a new file, and choose a "simple application", then "pieced together" the code...   Then I replaced the url to match my local radar...   and.....

SUCCESS !!!!!

EzDownload got the radar image in about 1 sec, and deposited it into the radar folder I set up in the TP directory !!   :approve:

Now, just need to know how to set up in the skin to call this image/exe !!


Good work!!!  I guessed I used 2003 device so did not have communication problem.

So right now, you can play to another level.  Try to read the parameters from the text file.

EzDownload is called using the "CreateProcess" code.  There are 8 variables in this code.  I only know 3 of them.  The first is the file path of exe you wish to call.  In this case EzDownload locates in /Windows.  If you want to change to other directory, I believe you have to change registry key.  The second one is the parameters for EzDownload.  It contais URL, file path for downloading file and other stuff.  The last one I know is for the process information for "CreateProcess".  It is better to close it once EzDownload finish the downloading.
One side not when I used EzDownload.  If you use AS as connection to internet, the file downloading will not work after 20-30 downloading.  I forgot the exact number.  This is I believe he bug of AS becuase I tested downloading with Wi-Fi, no problem at all.  This is just something in mind to watch for.  The problem can be fixed just disconnect your PPC and re-AS again.  I am going to send more complicate codes to you via email.  Have fun...
Title: Use Info for EZ-Download
Post by: ZapMe1 on November 12, 2004, 09:52:20 PM
Hi UK;

I got your email..  Thanks !!
I was able to open a new project, and open the .cpp file in it..   I compiled and downloaded the .exe, but when I tried to run it, nothing happened ??

What was this file supposed to do ??
Title: Use Info for EZ-Download
Post by: uk_skinner on November 12, 2004, 09:57:36 PM
Quote from: ZapMe1Hi UK;

I got your email..  Thanks !!
I was able to open a new project, and open the .cpp file in it..   I compiled and downloaded the .exe, but when I tried to run it, nothing happened ??

What was this file supposed to do ??

I just send you an email.  It was my fault.  This time the url and file pathway will be input from a text file named "radar.txt".  If you read the codes you will see it.
Title: Use Info for EZ-Download
Post by: ZapMe1 on November 12, 2004, 10:07:01 PM
UK,

Do I just create a txt file called "radar.txt", and locate it in the "My Documents" folder ??

Are the url & file path just "plain text" in the file ??
Title: Use Info for EZ-Download
Post by: uk_skinner on November 12, 2004, 10:15:13 PM
Quote from: ZapMe1UK,

Do I just create a txt file called "radar.txt", and locate it in the "My Documents" folder ??

Are the url & file path just "plain text" in the file ??

Yes, radar.txt file is a plain text file and you need to put it into My Documents.  I am sending you another email.
Title: Use Info for EZ-Download
Post by: ZapMe1 on November 12, 2004, 10:56:42 PM
UK, got the mail, created the .txt file in my documents, and tried to build the new radar.exe...
All went well, the radar.exe was compiled, and downloaded into my documents, but when run, does nothing !!  Not sure why ??
Title: Use Info for EZ-Download
Post by: eemond on November 12, 2004, 11:49:28 PM
UK,

Can I get a copy of the more complicated code?

Thanks in advance...
Title: Use Info for EZ-Download
Post by: uk_skinner on November 13, 2004, 06:42:07 AM
Quote from: eemondUK,

Can I get a copy of the more complicated code?

Thanks in advance...

emmond: No problem. Sent

ZapMe1: Please check your email and use the latest one I sent to you last night.
Title: Use Info for EZ-Download
Post by: ZapMe1 on November 13, 2004, 10:45:14 AM
Thanks UK, got it...
I'll work on it today and post the results !!
Thanks................
Title: Use Info for EZ-Download
Post by: eemond on November 15, 2004, 04:48:24 PM
Did a little skinning this weekend in a few areas.

1. I liked what UK had posted on the page below:

http://www.jhollin1138.com/forums/viewtopic.php?t=1642&postdays=0&postorder=asc&start=20

The reply posted Tue Nov 09, 2004 4:23 pm (with the traffic report and map).

I wanted to be able to display any image (i.e. traffic.gif) in the RSS Text Region at line 1 for any given RSS Number.

Searched the attached for //EWE 14-NOV-2004 for a detailed "How to".



2. I wanted my News Ticker to show me the first three lines of all my RSS Feeds (originally showed 9 lines from the 1st two RSS Feeds)

Searched the attached for //EWE 13-NOV-2004 for a detailed "How to".

Have fun...
Title: Use Info for EZ-Download
Post by: uk_skinner on November 15, 2004, 04:58:53 PM
Quote from: eemondDid a little skinning this weekend in a few areas.

1. I liked what UK had posted on the page below:

http://www.jhollin1138.com/forums/viewtopic.php?t=1642&postdays=0&postorder=asc&start=20

The reply posted Tue Nov 09, 2004 4:23 pm (with the traffic report and map).

I wanted to be able to display any image (i.e. traffic.gif) in the RSS Text Region at line 1 for any given RSS Number.

Searched the attached for //EWE 14-NOV-2004 for a detailed "How to".



2. I wanted my News Ticker to show me the first three lines of all my RSS Feeds (originally showed 9 lines from the 1st two RSS Feeds)

Searched the attached for //EWE 13-NOV-2004 for a detailed "How to".

Have fun...

Wow.... :shock:  :shock:  :shock:  :shock:  :shock:

I have read your instruction more.  But once you resize the image, do you have to do it every time?  ZapMe1 is trying to find a way to resize his weather image.  This maybe the answer..

By the way, how do you refresh the image?

Edit:  Your code "calcvar,var3,fromconfig,RSSGraphic%var2%" is very intresting.  I never used it before.  Mummm...must study hard...
Title: Use Info for EZ-Download
Post by: ZapMe1 on November 15, 2004, 07:44:23 PM
QuoteThis maybe the answer..


Alright eemond !!   :approve:

Resizing the images will open many new doors !!!    8)  :D
Title: Use Info for EZ-Download
Post by: uk_skinner on November 17, 2004, 08:09:43 AM
Zapme1:

  I tried to modify html page you did before and point the image to the one downloaded by exe and stored in device.  It was faster and solve your fitting problem...  But I remembered you said it was still slow when you tried it.  Let me know if you still want to try it again...
Title: Use Info for EZ-Download
Post by: ZapMe1 on November 17, 2004, 03:54:16 PM
QuoteZapme1:

I tried to modify html page you did before and point the image to the one downloaded by exe and stored in device. It was faster and solve your fitting problem... But I remembered you said it was still slow when you tried it. Let me know if you still want to try it again...

UK,  were you able to load the modified image without the use of PIE ??  :drool:
Title: Use Info for EZ-Download
Post by: uk_skinner on November 17, 2004, 03:59:17 PM
Quote from: ZapMe1
QuoteZapme1:

I tried to modify html page you did before and point the image to the one downloaded by exe and stored in device. It was faster and solve your fitting problem... But I remembered you said it was still slow when you tried it. Let me know if you still want to try it again...

UK,  were you able to load the modified image without the use of PIE ??  :drool:

Sorry, no... :?

You still need PIE to pen the image.  It is the same as you did before, just should be faster since it open the image in your device.  At this case, PIE just like image viewer.
Title: Use Info for EZ-Download
Post by: ZapMe1 on November 17, 2004, 04:17:10 PM
Sounds like it should be faster !!   I'll give it a try once I get everything re-loaded on my new SD card..   My old one is going to the "Grave-Yard"..   :cry:
Title: Use Info for EZ-Download
Post by: uk_skinner on November 17, 2004, 04:27:46 PM
:shock:

I thought you brought it back to live...
Title: Use Info for EZ-Download
Post by: ZapMe1 on November 17, 2004, 04:33:51 PM
QuoteI thought you brought it back to live...

I did also...   I reformatted the card, and checked it for errors, and it came back clean !!
I reloaded everything, and then this morning when I checked it, 20 out of my 40 folders were erased...   Gone...  Poof !!!   :knownot:

I have a 128MB that I'm using for now until my new one gets here !!
Title: Use Info for EZ-Download
Post by: uk_skinner on November 17, 2004, 04:37:17 PM
Quote from: ZapMe1
QuoteI thought you brought it back to live...

I did also...   I reformatted the card, and checked it for errors, and it came back clean !!
I reloaded everything, and then this morning when I checked it, 20 out of my 40 folders were erased...   Gone...  Poof !!!   :knownot:

I have a 128MB that I'm using for now until my new one gets here !!

I guess it is the time to let it go....You did your best to revive it :(  :(  :(
Title: Use Info for EZ-Download
Post by: eemond on November 23, 2004, 03:24:24 PM
"Resizing the image..."

I've been working on this for, it feels like a couple of weeks now. I was hoping to find a little EXE that I could call from Radar.exe like ezDownload to resize an image. I could not find anything. I then tried to write my own EXE (image resizing for WM2003SE is pretty complex, and I could not find any sample code). The best solution I could find was to write a PHP script that runs on my server to download an image (gif only) from a URL and then create a resized image with a suffix. I then use Radar.exe to download these images to my PDA.

Here's a sample link, try it out with your gif:

http://24.34.11.59/ImageResizer.php?source=http://fp.images.autos.msn.com/images/mymsn/BOS_2.gif&destination=traffic.gif&suffix=_sm&width=158&height=158

Here's the SURL's from Radar.txt for the two images:

SURL=http://24.34.11.59/traffic.gif

and

SURL=http://24.34.11.59/traffic_sm.gif

Have Fun...
Title: Use Info for EZ-Download
Post by: uk_skinner on November 23, 2004, 03:56:51 PM
Quote from: eemond"Resizing the image..."

I've been working on this for, it feels like a couple of weeks now. I was hoping to find a little EXE that I could call from Radar.exe like ezDownload to resize an image. I could not find anything. I then tried to write my own EXE (image resizing for WM2003SE is pretty complex, and I could not find any sample code). The best solution I could find was to write a PHP script that runs on my server to download an image (gif only) from a URL and then create a resized image with a suffix. I then use Radar.exe to download these images to my PDA.

Here's a sample link, try it out with your gif:

http://24.34.11.59/ImageResizer.php?source=http://fp.images.autos.msn.com/images/mymsn/BOS_2.gif&destination=traffic.gif&suffix=_sm&width=158&height=158

Here's the SURL's from Radar.txt for the two images:

SURL=http://24.34.11.59/traffic.gif

and

SURL=http://24.34.11.59/traffic_sm.gif

Have Fun...
eemond:

 In the past two weeks, I also trying to do the same thing.  Find an exe to do the "resizing".  Just like you, there was no luck.. :wall:  

 Then I realized that the "resizing" image might just solve one issue.  For me, not only I would like to be able to view the whole thing, but also like to view it clearer.  With these in mind, I sort of setting to use image vewer to view the image.  The up sides are to get nice image support features, usch as zoom in/out, moving and panning the image.  The downside is that you do this out of the TP.  This was not so bad because you go back to TP once you close the viewer.  You just can not add extra things to the image.

 Last week, I found a site named "Rent-A-Coder" and I put a project on it.  It is not free but I think I am willing to pay someone who can do it and I also can get codes.  If this does come out somethings, you bet I will share with everyone here for free.    But so far only one coder put the bid.

 But your approach is an extra thing and could be very useful.  My hat to you that you are willing to this for us.  jhollin1138, waht do you think??
Title: Use Info for EZ-Download
Post by: ZapMe1 on November 23, 2004, 04:39:32 PM
@eemond,

Does the small image stored on the server, update when opened ??

I was thinking along this same path, and tried storing a resized image on my server, but couldn't think of a way to update..  UK and I were trying to work on this, but no luck on this end !!   :?
Title: Use Info for EZ-Download
Post by: eemond on November 23, 2004, 04:41:51 PM
ZapMe1,

Don't understand "update when opened" ?
Title: Use Info for EZ-Download
Post by: ZapMe1 on November 23, 2004, 04:45:54 PM
Update to the latest Traffic info !!
Title: Use Info for EZ-Download
Post by: eemond on November 23, 2004, 05:01:29 PM
It'a a static image (traffic.gif and traffic_sm.gif). Two ways to get an updated image is:

1.) reload the static images with the aforementioned ImageResizer.php (this loads a newer, but still statis image).

2.) For my traffic example, click the page image (from my RSS, bottom icon on the right) this will take you to the realtime image for the selected incident (see below).

http://autos.msn.com/everyday/TrafficReport.aspx?Metro=BOS&Zoom=7&Lat=42.3005714417&Lon=-71.0493316650
Title: Use Info for EZ-Download
Post by: ZapMe1 on November 23, 2004, 05:28:49 PM
Thanks Ed !!!   :approve:
Title: Use Info for EZ-Download
Post by: jhollin1138 on November 24, 2004, 12:14:27 PM
Quote from: uk_skinnerjhollin1138, waht do you think??
About what?  The sound of one hand clapping?  Why is the sky blue?  If a tree falls and nobody is around, does it make a sound? :lol: