Beginner Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOtherBeginner Programming

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 Dev Shed Forums Sponsor:
  #1  
Old July 24th, 2003, 08:10 AM
mckoorengevel mckoorengevel is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 2 mckoorengevel User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
VB or not VB, that is my question

Hi,

I am working in science and I have a lot of number crunching to do. I can fool around a bit with Qbasic, but this is not flexible enough anymore. I was looking in excel and found this the Visual Basic thing. This is the problem:

1. There is a machine, who creates a file with 200+ data points (x,y).
2. The file has to be imported in Excel
3. The x-values are not following each other in a sequential way (x=1,5,9,45,46,67,90,112…., in stead of 1,2,3,4,5,6….) .
4. I like to get my x-values in sequential order, and if there was no x-value, the corresponding y-value should be zero.
5. The program should check if my y-values are true data points.
6. The remaining datapoints are processed in a excel spreadsheet.

Is Visual Basic the right tool to solve my problem?



Cheers,

Martijn

Reply With Quote
  #2  
Old July 24th, 2003, 12:44 PM
karsh44's Avatar
karsh44 karsh44 is offline
Just another guy
Dev Shed Frequenter (2500 - 2999 posts)
 
Join Date: Jun 2003
Location: Wisconsin
Posts: 2,915 karsh44 User rank is Second Lieutenant (5000 - 10000 Reputation Level)karsh44 User rank is Second Lieutenant (5000 - 10000 Reputation Level)karsh44 User rank is Second Lieutenant (5000 - 10000 Reputation Level)karsh44 User rank is Second Lieutenant (5000 - 10000 Reputation Level)karsh44 User rank is Second Lieutenant (5000 - 10000 Reputation Level)karsh44 User rank is Second Lieutenant (5000 - 10000 Reputation Level)karsh44 User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 6 Days 13 h 13 m 21 sec
Reputation Power: 76
While I don't really like visual basic (screwy syntax etc), it will probably work fine for what you want to do. You might not even have to write much code yourself. Try recording a macro in Excel to automate most of the functions, then just add what you need. VB is easy to use w/ other Microsoft components like that.

Reply With Quote
  #3  
Old July 24th, 2003, 04:11 PM
kfickert's Avatar
kfickert kfickert is offline
Capt'n
Dev Shed Novice (500 - 999 posts)
 
Join Date: May 2001
Posts: 551 kfickert User rank is Corporal (100 - 500 Reputation Level)kfickert User rank is Corporal (100 - 500 Reputation Level)kfickert User rank is Corporal (100 - 500 Reputation Level)kfickert User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 6 h 18 m 22 sec
Reputation Power: 9
If your number crunching, there is Fortran and...fortran

Reply With Quote
  #4  
Old July 24th, 2003, 08:16 PM
karsh44's Avatar
karsh44 karsh44 is offline
Just another guy
Dev Shed Frequenter (2500 - 2999 posts)
 
Join Date: Jun 2003
Location: Wisconsin
Posts: 2,915 karsh44 User rank is Second Lieutenant (5000 - 10000 Reputation Level)karsh44 User rank is Second Lieutenant (5000 - 10000 Reputation Level)karsh44 User rank is Second Lieutenant (5000 - 10000 Reputation Level)karsh44 User rank is Second Lieutenant (5000 - 10000 Reputation Level)karsh44 User rank is Second Lieutenant (5000 - 10000 Reputation Level)karsh44 User rank is Second Lieutenant (5000 - 10000 Reputation Level)karsh44 User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 6 Days 13 h 13 m 21 sec
Reputation Power: 76
Would that work to import to excel and such very easily? (I'm just curious, b/c I don't know anything about Fortran, other than its used for math and some older engineering apps around school)

Reply With Quote
  #5  
Old July 25th, 2003, 08:24 AM
substring substring is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 31 substring User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
If it is a one time deal or if you just want to wipe something out in the smallest amount of time possible, VB will do the job. It works well with Excel. It is what you call "Home Field Advantage".

Otherwise, if it is number crunching and processing intensive, I suggest C++.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOtherBeginner Programming > VB or not VB, that is my question


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


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





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT