Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > Software & Software Development > Front Ends > StreetDeck > DigitalMods (Scripts / API)


Reply
 
Share Thread Tools Display Modes
Old 07-18-2007, 11:30 PM   #91
Variable Bitrate
 
Join Date: Sep 2005
Posts: 249
bembowe is on a distinguished road
By the way the lat/long functionality is not available. I could not find an easy way to enter the lon and lat on the same page. I dont see that functionality being used any ways so i might just disable the button
bembowe is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Old 07-18-2007, 11:49 PM   #92
Constant Bitrate
 
Join Date: Apr 2007
Posts: 114
thepunkerguy is an unknown quantity at this point
Hmm, i get an error when i try to run it. On my home computer i installed the SD Demo, then the 1.1 update, then while running SD I double clicked on your digimod and StreetDeck asked me if i wanted to install it so i clicked install, then i tried to use it and i get this error every time:

and here is the screen before i get the error, i just put in my zip code, hit save, then click download and the error pops up

Did I install it wrong or something? This is on windows vista..

Also, is there any way you can make the slider for tiles larger than a 25 max? Or maybe make it where we can enter a number of tiles in each direction (up, down, left, right) and make that have a bigger max?

Thanks man, let me know.
- Mike
thepunkerguy is offline   Reply With Quote
Old 07-19-2007, 12:06 AM   #93
Variable Bitrate
 
Join Date: Sep 2005
Posts: 249
bembowe is on a distinguished road
I believe you are seeing that error because you did not register the two dlls in the com folder of the digimod script

run the following command from start->Run for those unfamiliar with registering dlls

regsvr32 "scriptprojectPath\COM\ZipCodeLookup.dll"
regsvr32 "scriptprojectPath\COM\ASPtear.dll"

but if you have registered the dlls. then the issue could be with the createdirectory com object not working with vista. i'll try this on my vista machine tomorrow.

I tried making the cell to be 99 but it produce a size that was too big to store in a data value in SD. I could probably try to make it as big as 50.

if you are familiar with modifying code in the development environment, then you can easily change value of the max cell value by searching for

cellSlider.Max = 25

on the Module_OnCreate() function
bembowe is offline   Reply With Quote
Old 07-19-2007, 12:12 AM   #94
Constant Bitrate
 
Join Date: Apr 2007
Posts: 114
thepunkerguy is an unknown quantity at this point
Quote: Originally Posted by bembowe View Post
I believe you are seeing that error because you did not register the two dlls in the com folder of the digimod script

run the following command from start->Run for those unfamiliar with registering dlls

regsvr32 "scriptprojectPath\COM\ZipCodeLookup.dll"
regsvr32 "scriptprojectPath\COM\ASPtear.dll"

but if you have registered the dlls. then the issue could be with the createdirectory com object not working with vista. i'll try this on my vista machine tomorrow.

I tried making the cell to be 99 but it produce a size that was too big to store in a data value in SD. I could probably try to make it as big as 50.

if you are familiar with modifying code in the development environment, then you can easily change value of the max cell value by searching for

cellSlider.Max = 25

on the Module_OnCreate() function

I just successfully registered both dlls and it still gives me the same errors, might be something to do with vista. let me know what happens when you try it!
thepunkerguy is offline   Reply With Quote
Old 07-19-2007, 12:30 AM   #95
Constant Bitrate
 
Join Date: Apr 2007
Posts: 114
thepunkerguy is an unknown quantity at this point
I just tried it on my laptop running XP and I get the same exact error, and i even tried manually registering the DLLS which say they succeeded. Any ideas? Could it be the 1.1.0.0 update? What could i be doing wrong?
- mike
thepunkerguy is offline   Reply With Quote
Old 07-19-2007, 12:52 AM   #96
Variable Bitrate
 
Join Date: Sep 2005
Posts: 249
bembowe is on a distinguished road
ok, I just updated mine to 1.1.0.0 and it worked fine. i have only tested this on the development environment as i do not have a carpc to test it on and my trial version has expired. Can you run this in development mode and see if you get the same error?

also, I dont know if this matters but I also have .net installed. if you havent give that a shot too.
bembowe is offline   Reply With Quote
Old 07-19-2007, 12:56 AM   #97
Constant Bitrate
 
Join Date: Apr 2007
Posts: 114
thepunkerguy is an unknown quantity at this point
I've got .net on both my machines. I tried it in the dev. environment on my laptop running xp and when i do that the digimod doesn't work right at all. thinks are the wrong place and missing. I dunno, weird that i cant get it to work on either my laptop or desktop.. one running xp, one running vista all with the same error. Im confused!
thepunkerguy is offline   Reply With Quote
Old 07-19-2007, 01:11 AM   #98
Variable Bitrate
 
Join Date: Sep 2005
Posts: 249
bembowe is on a distinguished road
I would say delete the digimod folder and reinstall the digimod. by the way, how are you installing your digimods, do you already have SD open before double clicking on it or dragging it?

now when you perform a search does it error out? or is it after you click on download. does it stop anywhere in the code when u run it in dev mode. try it on your xp machine
bembowe is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Old 07-19-2007, 01:25 AM   #99
Variable Bitrate
 
P3D4T0R's Avatar
 
Join Date: Dec 2006
Location: MA, USA
Posts: 399
P3D4T0R is an unknown quantity at this point
Im testing it out right now... working 100% so far, grate work and thank you.
__________________
"Mess with the best, die like the rest."
Work Log --> Old Car (Totaled)
Work Log v2 --> New Car (Totaled)
Work Log v3 --> GMC Suburban K2500 (Work in progress)
P3D4T0R is offline   Reply With Quote
Old 07-19-2007, 01:41 AM   #100
Constant Bitrate
 
Join Date: Apr 2007
Posts: 114
thepunkerguy is an unknown quantity at this point
Quote: Originally Posted by bembowe View Post
I would say delete the digimod folder and reinstall the digimod. by the way, how are you installing your digimods, do you already have SD open before double clicking on it or dragging it?

now when you perform a search does it error out? or is it after you click on download. does it stop anywhere in the code when u run it in dev mode. try it on your xp machine

Well, i tried double clicking the digimod before opening SD and all it did was open SD. So then i double clicked it after SD was open and it gave me the screen with the option to install, it installed it and then asked if i wanted to use and i said yes, then i tried it and it didnt work. I also tried restarting the computer and updating .net to the newest. I also tried draggin the digitmod and reinstalling it in sd that way, no go still. No clue what i am doing wrong and why it doesnt work on either my laptop (xp) not my desktop (vista). I also tried running it in testmode and that didnt help. SD isn't registered on either of these computers, its the trial, could that be the problem?

- Mike
thepunkerguy is offline   Reply With Quote
Old 07-19-2007, 01:45 AM   #101
Variable Bitrate
 
P3D4T0R's Avatar
 
Join Date: Dec 2006
Location: MA, USA
Posts: 399
P3D4T0R is an unknown quantity at this point
I haven't had a chance to look over the code but my guess is (this is with out any knowledge of how this is coded) that you are missing a directory or something of that nature... try going to a place on your map with virtual earth enable so it can make the necessary directories and try the digimod again
__________________
"Mess with the best, die like the rest."
Work Log --> Old Car (Totaled)
Work Log v2 --> New Car (Totaled)
Work Log v3 --> GMC Suburban K2500 (Work in progress)
P3D4T0R is offline   Reply With Quote
Old 07-19-2007, 02:15 AM   #102
Constant Bitrate
 
Join Date: Sep 2005
Location: Redmond, WA
Posts: 188
marchello2000 is on a distinguished road
Try precaching something first with SD itself, i.e. go to the map and click the Virtual Earth button, then go back to the digimod and try again...

Bembowe, isn't this off by one?
index = InStr(1,path,"StreetDeck")
getVEPath = Mid(path,1,index + 10) <-- do you want 11 here

Or atleast add a trailing "\" It's been a while since I did any VB code so I am not sure if this is off or not, just thought I'd ask...

Awesome job, by the way, my computer is not exactly cooperating but screenshots looks sweet - I will try it out first thing tomorrow!

p.s. you shouldn't need .net for this, afaik.
p.s.s. that digimod screen shot during installation is of the sd dev environment, is that just because you did not have enough time?
marchello2000 is offline   Reply With Quote
Old 07-19-2007, 10:13 AM   #103
Newbie
 
Join Date: Jun 2007
Posts: 6
kiddmaff5646 is an unknown quantity at this point
I'm also having a problem, i have reg. SteetDeck ver. 1.0.6.3 on windows XP
i'm getting an error mesage saying

"Error in script (main)
VE Cache-main (161, 1)Error
-2146827859: ActiveX component cant
create object:
'ZipCodeDLL.ZipCodeLookup'

I aslo tried registering the dll. but had no success. It says,
LoadLibrary("scriptprojectPath\COM\ZipCodeLookup.d ll") failed - The specified module could not be found.

What am i doing wrong? thanks in advance.
kiddmaff5646 is offline   Reply With Quote
Old 07-19-2007, 10:16 AM   #104
Variable Bitrate
 
Join Date: Sep 2005
Posts: 249
bembowe is on a distinguished road
Quote: Originally Posted by marchello2000 View Post
Try precaching something first with SD itself, i.e. go to the map and click the Virtual Earth button, then go back to the digimod and try again...

Bembowe, isn't this off by one?
index = InStr(1,path,"StreetDeck")
getVEPath = Mid(path,1,index + 10) <-- do you want 11 here

Or atleast add a trailing "\" It's been a while since I did any VB code so I am not sure if this is off or not, just thought I'd ask...

Awesome job, by the way, my computer is not exactly cooperating but screenshots looks sweet - I will try it out first thing tomorrow!

p.s. you shouldn't need .net for this, afaik.
p.s.s. that digimod screen shot during installation is of the sd dev environment, is that just because you did not have enough time?

Marchello
you are absolutly right. the reason punkerguy is getting the error is that he doesnt have the virtualEarth folder within street deck available. My code assumes that this folder structure exist. I'll rewrite the code to make those checks and create the folders if needed.

about the offset, when i first wrote it i used 11 but it was one more so i used 10. but its seems to be working for everyone. so thats good. I am actually getting the trailing "\"

the install screen shot is the hardest for me to capture. the issue is the you need the development env up inorder to choose to package the digimod for distribution. but once the packaging begins, the dev env cannot be minimised so SD takes a screen shot of whatever is on the screen.

I wonder how others are doing it. but this is a onetime thing so it shouldnt be a big deal if people see the dev environment during installation.

Last edited by bembowe; 07-19-2007 at 11:15 AM.
bembowe is offline   Reply With Quote
Old 07-19-2007, 10:21 AM   #105
Variable Bitrate
 
Join Date: Sep 2005
Posts: 249
bembowe is on a distinguished road
Quote: Originally Posted by kiddmaff5646 View Post
I'm also having a problem, i have reg. SteetDeck ver. 1.0.6.3 on windows XP
i'm getting an error mesage saying

"Error in script (main)
VE Cache-main (161, 1)Error
-2146827859: ActiveX component cant
create object:
'ZipCodeDLL.ZipCodeLookup'

I aslo tried registering the dll. but had no success. It says,
LoadLibrary("scriptprojectPath\COM\ZipCodeLookup.d ll") failed - The specified module could not be found.

What am i doing wrong? thanks in advance.


scriptprojectPath is suppose to be substituted for the actual path of your streetdeck directory.

for example mine is

C:\Users\BM010352\Documents\StreetDeck\Scripts\{FE 67B8EB-7293-4A66-A85F-E3338090B87C}

so i will replace scriptprojectPath with the above text and run it. but remember it has to be the path in your pc.

just go to
My documents\Streetdeck\Scripts\{FE67B8EB-7293-4A66-A85F-E3338090B87C}

copy that path from your explorer browser and replace "scriptprojectPath" for it.
bembowe is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Reply

Bookmarks

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Attention Newbies! Everything (almost) you want to know about GPS (Part 1) Bugbyte GPS 65 10-13-2009 07:51 PM
How to make the Garmin GPS 35 Work with Copilot 2003 fluffy2097 GPS 16 09-05-2007 05:19 PM
Alturion Professional Advanced GPS 6 - The New D3 ? Is There A SDK ? ccsnet GPS 91 11-07-2006 05:47 PM
Getting Started with GPS grepzen The FAQ Emporium 12 09-26-2006 06:54 AM
How do I setup my GPS Application ? guino RR FAQ 0 03-20-2005 03:17 PM



All times are GMT -5. The time now is 11:09 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics