473,396 Members | 1,967 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

VBA guy really needs help with .net

I am relatively proficient with VBA and primarily use it for Excel. I
am trying to do something that seems as though it should be easy but I
have been struggling and cannot seem to figure it out even after
reading various blogs and articles.

Goal: Stream data from an excel spreadsheet on our network to a
custom toolbar which displays the data and updates it in real-time.

In excel, I was just writing the data from the other machine to a text
file and then on my machine in excel I just opened it and then named
the labels of my custom toolbar according to each line of the text
file. I was using the application.ontime method to update it but this
addin seems to crash the machine alot and is not very robust
(especially the inability to format a toolbar in VBA).

Therefore my solution must be in studio using .net. I started
thinking that the solution would work better if I used a database and
had it linked to the controls but I cannot for the life of me get it
to work.

1) What is the best way to stream this data real time (it is only 10
rows of 3 columns but I may want to expand it to 50 or so)
2) Is a db connection the best way to go (ie. can it update in the
background in real-time so that I have streaming data in a toolbar)
3) Any tips on how to link the control and the specific item since the
db won't be appended the items are just changing.
Specifically, the data in excel is 10 rows with c1=ItemDesc, C2=Price,
C3=PriceChg
When I link the data it just pulls all the data but since the toolbar
is going at the top of the excel sheet each label should represent
ItemDesc & Price & PriceChg going across.

Sorry if this is basic to you all, but I have been struggling with
this for two days and feel like a complete moron but I am finally
asking for help.

Any help is greatly appreciated.

Thanks

May 16 '07 #1
3 1051
thedouble13man <jj*******@gmail.comwrote in news:1179330786.266575.6340
@y80g2000hsf.googlegroups.com:
Therefore my solution must be in studio using .net. I started
thinking that the solution would work better if I used a database and
had it linked to the controls but I cannot for the life of me get it
to work.
If you going to do real time streaming, SQL Server or even MS Access is a
much better choice.

I would also look up on how to build and use a web service - this would be
perfect to use in a streaming scenario.
May 16 '07 #2
Do you mean for the toolbar or for streaming the data? What about
linking the control with a specific data item not just the field?

Thanks

On May 16, 10:06 am, Spam Catcher <spamhoney...@rogers.comwrote:
thedouble13man <jjvann...@gmail.comwrote in news:1179330786.266575.6340
@y80g2000hsf.googlegroups.com:
Therefore my solution must be in studio using .net. I started
thinking that the solution would work better if I used a database and
had it linked to the controls but I cannot for the life of me get it
to work.

If you going to do real time streaming, SQL Server or even MS Access is a
much better choice.

I would also look up on how to build and use a web service - this would be
perfect to use in a streaming scenario.

May 16 '07 #3
thedouble13man <jj*******@gmail.comwrote in
news:11********************@w5g2000hsg.googlegroup s.com:
Do you mean for the toolbar or for streaming the data? What about
linking the control with a specific data item not just the field?
The web service would be used to connect to your backend data store (SQL
Server).

The toolbar would communicate via web service to pull the stream down. The
client could have a timer to pull new data every X seconds.

As for displaying the data - that's pretty trival depending on how you're
showing the data...

May 16 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Peter Young | last post by:
I'm seeing a problem with IE running on OS-X. When the user logs in to the website (ASP/IIS5), a Session is established properly, but somewhere along the line, a new Session is created and...
6
by: Gert Mellak | last post by:
Hi! I'm writing an online-shop that receives data-updates about the company's products as xml-files. I'm not sure about the Group-Tags - is this really xml-standard?? They should represent the...
2
by: James | last post by:
Are there any style elements that work on select elements on Apple/IE? I want colored text, colored background, or just about anything colored in a select drop-down but can't seem to make it work...
72
by: Mel | last post by:
Are we going backwards ? (please excuse my spelling...) In my opinion an absolute YES ! Take a look at what we are doing ! we create TAGS, things like <H1> etc. and although there are tools...
2
by: Richard Lee | last post by:
I would like to see what is the best possible front end and user interface one can create with ASP.NET. I'm not so interested in the backend since whatever goes on there will not be so obvious...
5
by: Rob R. Ainscough | last post by:
This is more of a conceptual question: 1. More and more companies are using VPN's and locking out internet connectivity (for a host of reasons, security, productivity, etc.). 2. ASP.NET...
38
by: Martin Marcher | last post by:
Hi, I've read several questions and often the answer was 'C knows nothing about .' So if C knows that little as some people say, what are the benefits, I mean do other languages know more...
131
by: pemo | last post by:
Is C really portable? And, apologies, but this is possibly a little OT? In c.l.c we often see 'not portable' comments, but I wonder just how portable C apps really are. I don't write...
28
by: john_sips_tea | last post by:
Just tried Ruby over the past two days. I won't bore you with the reasons I didn't like it, however one thing really struck me about it that I think we (the Python community) can learn from. ...
15
by: sparks | last post by:
We get more and more data done in excel and then they want it imported into access. The data is just stupid....values of 1 to 5 we get a lot of 0's ok that alright but 1-jan ? we get colums...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.