ASP Free Lounge
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsOtherASP Free Lounge

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #46  
Old May 22nd, 2005, 11:31 AM
Shadow Wizard's Avatar
Shadow Wizard Shadow Wizard is online now
Moderator From Beyond
ASP Free God 46th Plane (27500 - 27999 posts)
 
Join Date: Sep 2004
Location: Israel
Posts: 27,942 Shadow Wizard User rank is General 15th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 15th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 15th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 15th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 15th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 15th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 15th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 15th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 15th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 15th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 15th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 15th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 15th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 15th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 15th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 15th Grade (Above 100000 Reputation Level)  Folding Points: 392772 Folding Title: Super Ultimate Folder - Level 1Folding Points: 392772 Folding Title: Super Ultimate Folder - Level 1Folding Points: 392772 Folding Title: Super Ultimate Folder - Level 1Folding Points: 392772 Folding Title: Super Ultimate Folder - Level 1Folding Points: 392772 Folding Title: Super Ultimate Folder - Level 1Folding Points: 392772 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 3 Months 2 Weeks 12 h 27 m 19 sec
Reputation Power: 2014
Quote:
Originally Posted by Gosling
I take it you felt them worthy of a read, what did you think?

naturally, it's not as good as the original. but it sure worth reading, the books give more details and clear some of the confusion around certain things.
Quote:
Originally Posted by Gosling
the finish was a bit anti climatic

I was quite disappointed as well when I finished reading that last book... so many things were left open. it felt like something is missing - or more likely, Frank intended to write whole new Saga. pitty that he passed away so soon!!
Quote:
Originally Posted by milk lover
As for cake, cake is good. I like to have it, and then eat it as well. sometimes I will eat it with milk.

lol... you can create infinite reference loop now. but cake is good indeed.

welcome Simon, I hope you won't show your evil side around here! I'm golden dragon thus bound to fight evil.

Reply With Quote
  #47  
Old May 22nd, 2005, 12:15 PM
oneMSBi's Avatar
oneMSBi oneMSBi is offline
Caution:Loderator Moose !
ASP Free Newbie (0 - 499 posts)
 
Join Date: May 2005
Location: India
Posts: 235 oneMSBi User rank is Corporal (100 - 500 Reputation Level)oneMSBi User rank is Corporal (100 - 500 Reputation Level)oneMSBi User rank is Corporal (100 - 500 Reputation Level)oneMSBi User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 1 Day 22 h 49 m 43 sec
Reputation Power: 6
shadow .. if you want to know more about that simongreentroll the following is a link to his persona on devshed
SimonGreenHill
as you can see, he's created several bots to rep him up frequently and increase his postcount while at it ..

Reply With Quote
  #48  
Old May 22nd, 2005, 01:36 PM
ChiefWigs1982's Avatar
ChiefWigs1982 ChiefWigs1982 is offline
Cunning Linguist
ASP Free Loyal (3000 - 3499 posts)
 
Join Date: Mar 2005
Location: I used to live at home, now I stay at the house
Posts: 3,410 ChiefWigs1982 User rank is Major (30000 - 40000 Reputation Level)ChiefWigs1982 User rank is Major (30000 - 40000 Reputation Level)ChiefWigs1982 User rank is Major (30000 - 40000 Reputation Level)ChiefWigs1982 User rank is Major (30000 - 40000 Reputation Level)ChiefWigs1982 User rank is Major (30000 - 40000 Reputation Level)ChiefWigs1982 User rank is Major (30000 - 40000 Reputation Level)ChiefWigs1982 User rank is Major (30000 - 40000 Reputation Level)ChiefWigs1982 User rank is Major (30000 - 40000 Reputation Level)ChiefWigs1982 User rank is Major (30000 - 40000 Reputation Level)ChiefWigs1982 User rank is Major (30000 - 40000 Reputation Level)  Folding Points: 50746 Folding Title: Beginner FolderFolding Points: 50746 Folding Title: Beginner FolderFolding Points: 50746 Folding Title: Beginner Folder
Time spent in forums: 1 Month 1 Week 3 Days 13 h 53 m 11 sec
Reputation Power: 344
Facebook
Damnit, those frickin' bots have given him the lead in the rep race
again... :grrr:

Reply With Quote
  #49  
Old May 22nd, 2005, 01:41 PM
medianox's Avatar
medianox medianox is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: May 2005
Location: Chicago, IL
Posts: 157 medianox User rank is Private First Class (20 - 50 Reputation Level)medianox User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 22 h 47 m 49 sec
Reputation Power: 4
Send a message via ICQ to medianox Send a message via AIM to medianox Send a message via MSN to medianox Send a message via Yahoo to medianox
Quote:
Originally Posted by ChiefWigs1982
Damnit, those frickin' bots have given him the lead in the rep race
again... :grrr:


THe solution to your problem may be found on his website. Upload some nonsense languages (you can send an excel document to him) so he has to site there and input the data into his database. You do that, and we might see a lot less of SimonGreenhill round these parts

Reply With Quote
  #50  
Old May 22nd, 2005, 10:23 PM
EvilSimon EvilSimon is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: May 2005
Posts: 18 EvilSimon User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 2 m 47 sec
Reputation Power: 0
Now, now children. Jealousy is not a nice emotion. Just let it go...

As for the website, please use the funky web data entry system I spent ages writing. I would love someone to enter Klingon for me. Any excel file gets easily converted to SQL via the rather cool Python script I wrote to access spreadsheets via COM. It does, however, require me to boot into windows...

--Evil Simon

Reply With Quote
  #51  
Old May 23rd, 2005, 01:12 AM
medianox's Avatar
medianox medianox is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: May 2005
Location: Chicago, IL
Posts: 157 medianox User rank is Private First Class (20 - 50 Reputation Level)medianox User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 22 h 47 m 49 sec
Reputation Power: 4
Send a message via ICQ to medianox Send a message via AIM to medianox Send a message via MSN to medianox Send a message via Yahoo to medianox
Quote:
Originally Posted by EvilSimon
Any excel file gets easily converted to SQL via the rather cool Python script I wrote to access spreadsheets via COM.


Oh lord of lords, I would kill for this program. I spend hours upon hours doctoring up the marketing departments' stupid excel files so that they export into the correct comma delimited form. Not to mention the script that has to take this comma delimited marketing backwash and turn it into tables with columns and all that nice stuff.

May I ask you to kinda describe what you did to accomplish this - I'm not looking for documentation or anything; rather, the gist of what you used and the steps with which the data moves through your program? I know I'm asking for alot and you are busy, but if you do have time, something brief would be super helpful.

Reply With Quote
  #52  
Old May 23rd, 2005, 01:57 AM
EvilSimon EvilSimon is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: May 2005
Posts: 18 EvilSimon User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 2 m 47 sec
Reputation Power: 0
Sure - I used Python's win32all extensions to access Excel via COM. This is basically it (I'll chop out the data formatting stuff), don't know if you use Python, but should be fairly similar in your lang. of choice.

PHP Code:
#! /usr/local/bin python
 # -*- coding: UTF-8 -*-
   
   
import win32com.client.dynamic
   import sys
oscodecsstring
   
# probably only need the win32com, sys,
   # and os imports. I'm just doing a lot of
   # utf-8 formatting.
   
   #check command line arguments
   
numargs len(sys.argv)
   
   
# No file specified, ask for one
   
if numargs == 1:
     
infile raw_input('Excel File to Convert: ')
     
infile.rstrip
   
   
# Input file is specified
   
elif numargs == 2:
     
infile sys.argv[1]
   
   
# read excel file
   
try:
     
currentpath os.path.abspath(infile)
     
xl win32com.client.dynamic.Dispatch("Excel.Application")
     
xl.Visible 0
     xl
.Workbooks.Open(currentpath)
     
data xl.Range("A1: G252").Value
     
#We get the whole worksheet here, since
     #repeated accesses is S-L-O-W
     
xl.Close(SaveChanges=0)
     
xl.Quit()
     
# Not sure if the Excel is being closed properly,
     # may want to track this down later.
   
   
except IOError:
     print 
"Can't open %s for reading!" % (infile)
     
sys.exit(0)
   
   
# just some examples..
   # take data -> convert to string, then encode in utf-8
   
language str(data[0][1]).encode('utf-8')
   
author str(data[1][1]).encode('utf-8'


So - we now have the entire first worksheet as data, and can access the fields by data[row][column]. So, B1 is data[0][1]. Basically, I just use this to pull the data from my template spreadsheet, and build a bunch of SQL inserts from it.

--Simon

Reply With Quote
  #53  
Old May 26th, 2005, 12:40 AM
medianox's Avatar
medianox medianox is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: May 2005
Location: Chicago, IL
Posts: 157 medianox User rank is Private First Class (20 - 50 Reputation Level)medianox User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 22 h 47 m 49 sec
Reputation Power: 4
Send a message via ICQ to medianox Send a message via AIM to medianox Send a message via MSN to medianox Send a message via Yahoo to medianox
proxy rep++ to simon for that program! The logic makes sense (nice commenting).

I wasnt aware that excel has DOM level similar to jscript & such.

Reply With Quote
  #54  
Old May 27th, 2005, 09:06 AM
cybersaga cybersaga is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: May 2005
Location: The armpit of Niagara
Posts: 60 cybersaga User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 16 h 37 m 2 sec
Reputation Power: 4
Quote:
Originally Posted by medianox
proxy rep++ to simon for that program! The logic makes sense (nice commenting).

I wasnt aware that excel has DOM level similar to jscript & such.

I'd help you out, but I'm afraid it wouldn't make any difference here.

Reply With Quote
Reply

Viewing: ASP Free ForumsOtherASP Free Lounge > Thanks


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump



 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support |