PDA/AXIM Newbies - Don't be afraid to ask a question.
Reply
 
LinkBack Thread Tools
Old 03-26-08, 08:41 PM   #1 (permalink)
oversteve
Aximsite Prospect
 
Join Date: Mar 2008
Posts: 4
iTrader Rating: (0)
Thanks: 0
Thanked 0 Times in 0 Posts
View MyPDA
developing software
I am familiar with visual basic and currently play with vb 2005. I can to some extent create apps for my pocket pc but it seems that the standard syntax for creating and writing to a file on the pocket pc is quite different that that of writing to my computers hard drive.

I have a book on the way but I am struggling to find info, tutorials, or any other support on the web that discusses this.

There is so much vb code on the net for creating apps that run on a pc they practically write themselves. Not for ppc though. The code is sometimes quite different and very hard for me to find. File system code in particular is what I need. For example: Say I want to create a file on my pc harddrive called "steve.txt" and in the file write the name "steve" This is a piece of cake for pc based visual basic but for the pc the syntax changes drastically it seems.

Any guidance would help. Thank you in advance.

Steve
oversteve is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links

Old 03-28-08, 09:54 AM   #2 (permalink)
jdigitL
Aximsite All Star
 
jdigitL's Avatar
 
Join Date: Dec 2006
Posts: 731
Location: Philadelphia
PDA: HTC TyTN II
Carrier: AT&T
Laptop: Lenovo X60
PMP: iTunes
iTrader Rating: (0)
Thanks: 3
Thanked 15 Times in 15 Posts
View MyPDA
HOw to install eMbedded Visual Basic in VB.NET | Free Programming Tutorials

GAPI. Sections. Pocket PC Developer Network

try google books as well. basically you install vb and the pocket pc sdk for the os(s) your aiming your app for. make a build and test it on different devices after your testing in the emulation environment...

jd
jdigitL is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Old 03-28-08, 10:13 AM   #3 (permalink)
CodeBubba
Aximsite Veteran
 
CodeBubba's Avatar
 
Join Date: Jan 2005
Posts: 1,800
Location: DeLand, FL
PDA: iPaq hx2495b
Phone: RAZR V3M
Carrier: Verizon
PMP: iPaq hx2495b
iTrader Rating: (0)
Awards Showcase
Aximsite Active Silver Member: Given to all active members (3 years and over 1,500 posts) - Issue reason: Milestone reached 
Total Awards: 1
Thanks: 2
Thanked 5 Times in 5 Posts
View MyPDA
Originally Posted by jdigitL View Post
HOw to install eMbedded Visual Basic in VB.NET | Free Programming Tutorials

GAPI. Sections. Pocket PC Developer Network

try google books as well. basically you install vb and the pocket pc sdk for the os(s) your aiming your app for. make a build and test it on different devices after your testing in the emulation environment...

jd
eMBedded VB isn't needed if you are using VB.Net 2005. You can develop, debug and deploy applications directly from the IDE. All the additional SDK's aren't needed anymore if you have Visual Studio 2005 Standard or better.

-CB
__________________
General Aviation is not the stepchild of modern aviation... it is the Father. - Unknown

If five-million people do a foolish thing, it is still a foolish thing. - Ancient Chinese Proverb
CodeBubba is online now  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Old 03-28-08, 10:16 AM   #4 (permalink)
jdigitL
Aximsite All Star
 
jdigitL's Avatar
 
Join Date: Dec 2006
Posts: 731
Location: Philadelphia
PDA: HTC TyTN II
Carrier: AT&T
Laptop: Lenovo X60
PMP: iTunes
iTrader Rating: (0)
Thanks: 3
Thanked 15 Times in 15 Posts
View MyPDA
nice, thanks!
jdigitL is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Old 03-28-08, 04:18 PM   #5 (permalink)
oversteve
Aximsite Prospect
 
Join Date: Mar 2008
Posts: 4
iTrader Rating: (0)
Thanks: 0
Thanked 0 Times in 0 Posts
View MyPDA
Embedded vb is not only no longer necessary but good luck even finding it. It is pretty much obsolete and out of the game. Even though vb2005 can make apps for the ppc it used different language for certain things like writing sequential files to memory for example. For a pc you might use an "Open" statement to create a file. If you select a ppc project in vb2005 though, it simply no longer recognizes "open" as a usable statement. It uses things like "System.IO.file... etc." these appear to be the commands in lieu of normal statements like "open and close."

Therein lies my problem.
oversteve is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Old 03-28-08, 06:28 PM   #6 (permalink)
Bill_Todd
Aximsite Minor League
 
Bill_Todd's Avatar
 
Join Date: Mar 2006
Posts: 288
Location: Colchester (nuked in 1984)
PDA: Axim X51V
iTrader Rating: (0)
Thanks: 0
Thanked 5 Times in 2 Posts
View MyPDA
You might also like to look at Basic4PPC (Basic4ppc - Developing mobile applications the easy way) if you don't want to spend out on VS2005
__________________
Bill
Bill_Todd is online now  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Old 03-29-08, 08:59 AM   #7 (permalink)
CodeBubba
Aximsite Veteran
 
CodeBubba's Avatar
 
Join Date: Jan 2005
Posts: 1,800
Location: DeLand, FL
PDA: iPaq hx2495b
Phone: RAZR V3M
Carrier: Verizon
PMP: iPaq hx2495b
iTrader Rating: (0)
Awards Showcase
Aximsite Active Silver Member: Given to all active members (3 years and over 1,500 posts) - Issue reason: Milestone reached 
Total Awards: 1
Thanks: 2
Thanked 5 Times in 5 Posts
View MyPDA
Originally Posted by oversteve View Post
Embedded vb is not only no longer necessary but good luck even finding it. It is pretty much obsolete and out of the game. Even though vb2005 can make apps for the ppc it used different language for certain things like writing sequential files to memory for example. For a pc you might use an "Open" statement to create a file. If you select a ppc project in vb2005 though, it simply no longer recognizes "open" as a usable statement. It uses things like "System.IO.file... etc." these appear to be the commands in lieu of normal statements like "open and close."

Therein lies my problem.
Well, the main problem you're going to have here is you're simply going to need to learn how the .Net framework operates, that's all. Yes, it's an uphill learning curve but I think you'll figure it out. Sometimes it can be frustrating when you're used to simple constructs like "Open myfile for output as #1". I definitely feel your pain there.

However, even with .Net you can minimize the complexity, you just need to dig a little. Vs2005's IDE sure does make writing PPC code easier. emVB was "OK" but since you were really writing vbscript (in a VB6 IDE) half the functionality simply did not work. The IDE would let you write & compile the code but you had to run it on the device (or emuulator) before you could even find out.

-CB
CodeBubba is online now  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Old 03-29-08, 09:22 PM   #8 (permalink)
DaLabrador
Aximsite All Star
 
DaLabrador's Avatar
 
Join Date: Jun 2006
Posts: 693
PDA: X51V
Phone: Nokia 5310
PMP: Nokia 5310, X51V
iTrader Rating: (0)
Thanks: 0
Thanked 0 Times in 0 Posts
View MyPDA
Or you can use embedded visual c++ 4.0 (which is freeish).
__________________
  1. Be Kind.
  2. Have fun.
DaLabrador is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Old 03-29-08, 11:06 PM   #9 (permalink)
Clegs
Aximsite Minor League
 
Join Date: Jul 2006
Posts: 154
Location: Washington
PDA: Dell Axim x51v
Phone: Moto Q 9m
Carrier: Verison!
Tablet: That's my Axim
Laptop: Dell Inspiron
PMP: VLC
iTrader Rating: (0)
Thanks: 0
Thanked 0 Times in 0 Posts
View MyPDA
Just go C#
File operations aren't that different. It seems most people are using c based languages such as C++ and C#. You'll find much more support if you take the time to learn one of these languages then if you try to stumble around with vb.net.

For Pocket PC I'd really suggest learning C++ as these wimpy processors take so long to load the .NET runtime to start .net applications.
__________________
calebgo.com - My Website


I don't believe in atheists therefore atheists don't exist.
Clegs is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Old 03-30-08, 01:38 PM   #10 (permalink)
CodeBubba
Aximsite Veteran
 
CodeBubba's Avatar
 
Join Date: Jan 2005
Posts: 1,800
Location: DeLand, FL
PDA: iPaq hx2495b
Phone: RAZR V3M
Carrier: Verizon
PMP: iPaq hx2495b
iTrader Rating: (0)
Awards Showcase
Aximsite Active Silver Member: Given to all active members (3 years and over 1,500 posts) - Issue reason: Milestone reached 
Total Awards: 1
Thanks: 2
Thanked 5 Times in 5 Posts
View MyPDA
Originally Posted by Clegs View Post
Just go C#
File operations aren't that different. It seems most people are using c based languages such as C++ and C#. You'll find much more support if you take the time to learn one of these languages then if you try to stumble around with vb.net.
I "stumble" around with VB.Net just fine, mate. My rules-engine (which drives a large time&attendance application is completely written in VB.Net). C# is a poor knock-off of the C-language, IMHO. I use both (C# and VB.Net) extensively and if given a choice I'll write it in VB.Net. The IDE implementation of VB is superior with it's incremental compiler and tighter integration with Intellisense.

Choose which language you like guy ... just don't assume that using VB.Net is "stumbling around", please. Some of us (30-year experienced) software professionals just plain like it!

-CB
__________________
General Aviation is not the stepchild of modern aviation... it is the Father. - Unknown

If five-million people do a foolish thing, it is still a foolish thing. - Ancient Chinese Proverb
CodeBubba is online now  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Old 03-31-08, 11:47 AM   #11 (permalink)
Clegs
Aximsite Minor League
 
Join Date: Jul 2006
Posts: 154
Location: Washington
PDA: Dell Axim x51v
Phone: Moto Q 9m
Carrier: Verison!
Tablet: That's my Axim
Laptop: Dell Inspiron
PMP: VLC
iTrader Rating: (0)
Thanks: 0
Thanked 0 Times in 0 Posts
View MyPDA
Originally Posted by oversteve
I am familiar with visual basic and currently play with vb 2005.
Sorry CodeBubba, I know VB.net very well also but I was responding to oversteve who sounds like he is stumbling around in it... From my experience (I may not have 30 years but I do have experience) C based languages are much easier for people to learn. When I said stumble around I meant learn on your own. You can't deny that most .NET applications are written in C#, most programming books are in C#, you have java, javascript, actionscript, and many more languages based off of the c syntax. I think it's very worthwhile for every developer to learn how to get around in c style code.

B^)
__________________
calebgo.com - My Website


I don't believe in atheists therefore atheists don't exist.
Clegs is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Old 03-31-08, 12:57 PM   #12 (permalink)
CodeBubba
Aximsite Veteran
 
CodeBubba's Avatar
 
Join Date: Jan 2005
Posts: 1,800
Location: DeLand, FL
PDA: iPaq hx2495b
Phone: RAZR V3M
Carrier: Verizon
PMP: iPaq hx2495b
iTrader Rating: (0)
Awards Showcase
Aximsite Active Silver Member: Given to all active members (3 years and over 1,500 posts) - Issue reason: Milestone reached 
Total Awards: 1
Thanks: 2
Thanked 5 Times in 5 Posts
View MyPDA
Originally Posted by Clegs View Post
Sorry CodeBubba, I know VB.net very well also but I was responding to oversteve who sounds like he is stumbling around in it... From my experience (I may not have 30 years but I do have experience) C based languages are much easier for people to learn. When I said stumble around I meant learn on your own. You can't deny that most .NET applications are written in C#, most programming books are in C#, you have java, javascript, actionscript, and many more languages based off of the c syntax. I think it's very worthwhile for every developer to learn how to get around in c style code.

B^)
No problem.

No doubt, learning C-like languages is a good idea but that they are "easier" is debatable. Let's just agree to disagree about that.

As far as books go, I've found an adequate number of them using both languages. Seems to depend on the type of subject-matter. I might say that "most" are C#, but I wouldn't say that's a large "most". From what I've found at the bookstore in recent days it might be 55/45 in favor of C#.

Either languages is fine, really - particularly in .Net. They both do, essentially, the same thing.

-CB
__________________
General Aviation is not the stepchild of modern aviation... it is the Father. - Unknown

If five-million people do a foolish thing, it is still a foolish thing. - Ancient Chinese Proverb
CodeBubba is online now  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Old 03-31-08, 01:21 PM   #13 (permalink)
psionandy
News Editor
 
psionandy's Avatar
 
Join Date: Jan 2005
Posts: 20,657
Location: Liverpool, England
PDA: Vario III (Kaiser)
Phone: Vario III (Kaiser)
Carrier: T-mobile WnW +
Laptop: changing mat
PMP: Coreplayer
iTrader Rating: (2)
Awards Showcase
Aximsite Silver Contributors: For Members that have donated more than $50 to the website - Issue reason:  Top Notch MyPDA: Given to the best MyPDAs out there! - Issue reason: Excellent MyPDA Gold Poster: Members that have achieved 20,000 Posts - Issue reason: 20,000 big one Aximsite Contest Winner: Winners of a previous Aximsite Contest - Issue reason: Winner Aximiste 4th birthday Aximsite Active Silver Member: Given to all active members (3 years and over 1,500 posts) - Issue reason: Milestone reached 
Total Awards: 5
Thanks: 8
Thanked 23 Times in 20 Posts
View MyPDA
If you're a VB fan then Basic4PPC would seem to be a very similar fit....
__________________
If only i had a sig....
psionandy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Old 04-02-08, 06:04 PM   #14 (permalink)
oversteve
Aximsite Prospect
 
Join Date: Mar 2008
Posts: 4
iTrader Rating: (0)
Thanks: 0
Thanked 0 Times in 0 Posts
View MyPDA
I am in fact stumbling around in it but, all of your suggestions are very helpful. Thank you.
oversteve is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Old 04-29-08, 06:08 PM   #15 (