Click here to Skip to main content
15,922,427 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi

I want to make a software to help teaching stuff in university to find all info about subjects , who will teach it , where , no of credit hr for each subject,...

So my data already in Excel sheet and I want make interface by using Visual Basic and taken it's data from Excel sheet, so I want help how I can accessed between VB and Excel in this case and any suggestion for this software and if another project look like this
Posted
Updated 2-Jan-12 11:50am
v2

So this is a multi user solution where all of the users should see updated data? If that's correct, I'd suggest throwing the Excel away and using Sql Server. For example Sql Server Express Edition is free to use and distribute. See: Microsoft SQL Server Express Edition[^]
 
Share this answer
 
Comments
Espen Harlinn 2-Jan-12 19:00pm    
Good advice :)
Wendelius 3-Jan-12 0:22am    
Thanks :)
Like Mika I think you are probably better off using an rdbms for this purpose, but in case you really want to use Excel and don't have a sharepoint server then this library is pretty usefull: EPPlus[^]

Best regards
Espen Harlinn
 
Share this answer
 
Comments
Wendelius 3-Jan-12 0:23am    
That was an interesting library, 5.
Espen Harlinn 3-Jan-12 4:05am    
Thank you, Mika!
Sergey Alexandrovich Kryukov 22-Jan-12 13:11pm    
Interesting one indeed, a 5.
--SA
Espen Harlinn 22-Jan-12 14:01pm    
Thank you, Sergey!
hi,
excellent advice is given above
but if you have no choice but to use Excel and vb6 only then it can be done but it'll become tedious. i believe you will have a form maybe where the staff can enter what info he needs and the data can be fetched from the excel sheet (and i hope this sheet is not updated once data is there in it).
so you need to open this excel sheet in your code and navigate to the exact cells which have the data

see:

http://www.vbforums.com/showthread.php?t=391665[^]

http://blogs.msdn.com/b/rahulso/archive/2006/12/15/open-excel-file-with-vb6-and-read-the-content.aspx[^]

these are just pointers to get started you got to google more as you progress or ask it here.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900