Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Foreign Languages > German Forum
Home Register FAQ Members List Search Today's Posts Mark Forums Read


Was ist falsch?


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-21-2008, 02:31 PM
Tazer's Avatar
Junior Member
 
Join Date: Mar 2008
Location: Wittmund
Posts: 15
Default Was ist falsch?

Hallo,

ich habe fogenden Code geschrieben und bekomme eine Fehlermeldung die ich mir nicht erklären kann:

Sub Button1_Click
for b = 0 to 5
us(b) = rnd(0,50)
pc(b) = rnd(0,50)
next
End Sub

Meldung:
for b = 0 to 5
Object reference not set to an instanze of an Object.

Ich verstehe jetzt nichts mehr irgendwie.

Erledigt, es fehlte (key)

Last edited by Tazer : 03-21-2008 at 02:43 PM.
Reply With Quote
  #2 (permalink)  
Old 03-21-2008, 04:47 PM
maXim's Avatar
Senior Member
 
Join Date: May 2007
Location: Florence, Italy
Posts: 128
Send a message via MSN to maXim
Default

Hi Tazer,

this example works:

Sub Globals
' declare the global variables here.
Dim us(6) ' note the number of elements ( + 1)
Dim pc(6)
End Sub


Sub App_Start
Form1.Show
End Sub

Sub Button1_Click
For b = 0 To 5
us(b) = Rnd(0,50)
pc(b) = Rnd(0,50)
Next
End Sub

Best Regards,

Massimo

Sorry, I had not translated well in red writing that said it had resolved...

Last edited by maXim : 03-21-2008 at 04:53 PM.
Reply With Quote
  #3 (permalink)  
Old 03-21-2008, 05:57 PM
Tazer's Avatar
Junior Member
 
Join Date: Mar 2008
Location: Wittmund
Posts: 15
Default

Hello maXim,

thanks, i have declared the arrays in Sub Global, it works

On my System (Windows XP SP2) have Basic4PPC-Destop Editor many problems, Basic4PPC make total Crash and .NET Frameworks make Error´s, is that a bug or is my .NET to old?
The version is .NET 1.1 and many ServicePacks 2.0 3.0 and 3.5

Thanks for you Help!

Basic4PPC ist very good an i have fun to write my Applications für Windows Mobile 2003, is a dream

Sorry for my bad English

Last edited by Tazer : 03-21-2008 at 05:57 PM. Reason: bad english :)
Reply With Quote
  #4 (permalink)  
Old 03-21-2008, 07:30 PM
maXim's Avatar
Senior Member
 
Join Date: May 2007
Location: Florence, Italy
Posts: 128
Send a message via MSN to maXim
Post

Hello Taizer,

do not worry for Your english: mine is really worse!
To communicate in english I use mainly the Google translator...
You know a little italian?
Reply With Quote
  #5 (permalink)  
Old 03-21-2008, 08:24 PM
Tazer's Avatar
Junior Member
 
Join Date: Mar 2008
Location: Wittmund
Posts: 15
Default

Hello,

Yes, I can not speak "Italian" except "Pizza Finghi": D
If that does not matter to me now, I have version 6 is loaded and it works great!
Thank you for your assistance dear, I wish you a very happy Easter.

We read us again until then.

Beautiful greetings from Wittmund (North-German North Sea)

See on Location: http://maps.google.de/maps?f=q&hl=de...=10&iwloc=addr
Reply With Quote
  #6 (permalink)  
Old 03-21-2008, 10:25 PM
specci48's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: Germany
Posts: 521
Default

Quote:
Originally Posted by Tazer View Post
On my System (Windows XP SP2) have Basic4PPC-Destop Editor many problems, Basic4PPC make total Crash and .NET Frameworks make Error´s, is that a bug or is my .NET to old?
The version is .NET 1.1 and many ServicePacks 2.0 3.0 and 3.5
Hallo Tazer,

schön dass Du von Basic4ppc so beigeistert bist, trots Deiner Probleme.

Aber eigentlich läuft die IDE mehr als stabil. Ich habe mittlerweile 1 1/2 Jahre Erfahrung mit Basic4ppc und mir ist die Entwicklungsumgebung nicht ein einziges mal abgestürzt. Allerdings habe ich auch "nur" .NET 1.1 und 2.0 installiert.

Ggf. solltest Du diese beiden .Net Versionen nochmal neu installieren. Manchen Nutzern (aus dem englischen Teil) hat auch eine erneute Installation von Basic4ppc geholfen.
Und falls sich nach diesen Maßnahmen keine Besserung einstellt, einfach mal eine Mail mit der Fehlermeldung an support@basic4ppc.com schicken. Erel hat dann sicherlich eine Antwort auf Dein Problem.


Viele Grüße

specci48
Reply With Quote
  #7 (permalink)  
Old 03-21-2008, 10:33 PM
specci48's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: Germany
Posts: 521
Default

Quote:
Originally Posted by Tazer View Post
Beautiful greetings from Wittmund (North-German North Sea)

See on Location: http://maps.google.de/maps?f=q&hl=de...=10&iwloc=addr
Übrigens, es gibt eine offizielle Community Map: http://www.frappr.com/b4p
Hier kannst Du Deinen Standort für alle sichtbar hinterlegen.

specci48
Reply With Quote
  #8 (permalink)  
Old 03-22-2008, 01:15 PM
Tazer's Avatar
Junior Member
 
Join Date: Mar 2008
Location: Wittmund
Posts: 15
Default

Hallo specci,

danke für deine Hilfe.
Ich doofkopf habe mir die Version 3 von Basic4PPC heruntergeladen, jetzt habe ich die Version 6 und alles ist Prima
Die Destop IDE in der Version 6 ist wirklich besser und bietet mehr Profesionalität, ich bin wirklich begeistert, auch der Support hier im Forum ist wirklich Super, danke an alle!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Desktop.exe funktioniert, Device.exe nicht - was mache ich falsch? pikdame German Forum 12 07-02-2007 09:53 PM


All times are GMT. The time now is 03:46 AM.


Powered by vBulletin® Version 3.6.10
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0