logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
vaughn  
#1 Posted : Thursday, November 10, 2005 1:22:13 AM(UTC)
vaughn

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 3/16/2005(UTC)
Posts: 93
Location: Maryland,US

I got the dev kit a few days ago and am looking through it. I called the standard Equis support line and spoke to someone about it. He said the main support number usually don't answer developer questions, which is fine. He used to use it a little so he was able to tell me a little about it. One thing he said was that there was a complete sample for VB. It wasn't much, a simple moving average, but it showed everything from start to finish. This would be perfect except I don't seem to see it anywhere. I checked the CD and the installed files. The only VB sampleis a VBViewer. The support tech suggested I send an e-mail to DevKit@equis.com, which I did a few days ago. I might have got the address wrong, but I have not heard anything yet. The msfl module is there, so I am in business if I want to write something from scratch, but the sample would be a great push start. Does anyone know if there is a complete sample for VB with the 9.1 dev kit? Thanks vm
StorkBite  
#2 Posted : Thursday, November 10, 2005 2:45:41 AM(UTC)
StorkBite

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 3/19/2005(UTC)
Posts: 2,995

Was thanked: 14 time(s) in 10 post(s)
Hey V- I haven't received the 9.1 MDK yet, but there is supposed to be a pdf file with all of the examples and documentation. This would be different than the v8 MDK which only had the printed manual. In it, the only example of Basic was Power Basic. As far as your support person, the person managing the MDK requests has recently changed. I have the name of the new person on my home computer, but I'm not at home. :( There is a big conference in progress right now, so you may have to be patient for a few days. Sorry I'm not much help, but I am very interested in your VB quest since I am a lot more familiar with VB than C++. I had considered taking a C++ class just to use the MDK a while ago, but then reality struck and I realized that there already aren't enough hours in the day.
vaughn  
#3 Posted : Thursday, November 10, 2005 3:35:15 AM(UTC)
vaughn

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 3/16/2005(UTC)
Posts: 93
Location: Maryland,US

There is a pretty good decent pdf with a lot of documentation for everything. It lists each of the MSFL functions and parameters. Then it lists the C, VB, Delphi, PowerBASIC format for calling it. It does this for each function. My problem is that I don't know what most of then do or which ones are needed. The MSFL module has all of the functions ready and waiting. With the sample I would have everything I need. I would strip out the middle stuff {Moving average example according to the support guy} and add my code. I would think the code for reading the data structures in and the final output should be fairly similar. I might give another call tomorrow. I definitly want the sample for the long weekend if possible.
Marilyn  
#4 Posted : Thursday, November 10, 2005 5:15:27 PM(UTC)
Marilyn

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 9/10/2004(UTC)
Posts: 863
Location: Salt Lake City, UT

Hi Vaughn - The guy who answers those devkit emails name is Kevin. I can't tell you if he is in or out at the moment because I am out... :) I can't get into my email at the moment - crazy security settings here at this little Internet cafe thing.... so I can't email him either... If you see Plato on the board perhaps you can PM him and ask him to chase Kevin Cross for you. :) I will probably get in trouble for telling secrets but gotta help you somehow huh?? :) M
vaughn  
#5 Posted : Thursday, November 10, 2005 9:53:46 PM(UTC)
vaughn

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 3/16/2005(UTC)
Posts: 93
Location: Maryland,US

Thanks for the info, I was going to try calling again tonight. I will know who to ask for when I do. It is not a huge deal, I was going to lock myself in my office this long weekend and see what I could do. I doubt I will return it so the 30 day thing is not an issue. I will get there one way or another. Thanks again ps, your secret is safe with me :-k
chris3105  
#6 Posted : Saturday, November 12, 2005 10:03:34 AM(UTC)
chris3105

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 11/11/2005(UTC)
Posts: 37

Was thanked: 1 time(s) in 1 post(s)
Hi Vaughn. Working with VB and the DevKit is a little bit problematic, because you only can use the MSFL Part. Neither with VB 6 nor with VB.NET can you produce a MSX-DLL. So if you plan to enhance your existing MetaStock with custom functions via a DLL, VB should not be the language of your choice. So looking for a complete VB example is not really helpful, unless you try to write your own charting software :roll: Chris
vaughn  
#7 Posted : Saturday, November 12, 2005 9:03:59 PM(UTC)
vaughn

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 3/16/2005(UTC)
Posts: 93
Location: Maryland,US

Thanks Chris for the info. #-o I will keep trying to learn on this. Worst case if I have to, I can get into C++ for this. The strange thing is the manual says I can use VB, it just doesn't say for what.
Quote:
Supported Compilers The MetaStock Developer's Kit supports the following compilers: * Borland® C++ Builder (Versions 5.0 and above) * Borland® Delphi (Versions 3, 4 and 5) * GCC 2.9.5.2 * Microsoft Visual C++ (Versions 4.0 and above) * Microsoft Visual Basic 6.0 * PowerBASIC®/DLL Version 6
I will tinker around with it and see what it can do. I still have three weeks left in case I want to ship it back, but I will probably still keep it and hit the C++ books. Thanks again for the info. vm
chris3105  
#8 Posted : Saturday, November 12, 2005 11:31:17 PM(UTC)
chris3105

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 11/11/2005(UTC)
Posts: 37

Was thanked: 1 time(s) in 1 post(s)
Vaughn, take a look at the manual at page 40 UserPostedImage Chris
vaughn  
#9 Posted : Sunday, November 13, 2005 12:13:55 AM(UTC)
vaughn

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 3/16/2005(UTC)
Posts: 93
Location: Maryland,US

Unbelieveable :cry: Time for a rethink. Thanks for the info. vm
StorkBite  
#10 Posted : Sunday, November 13, 2005 1:48:51 AM(UTC)
StorkBite

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 3/19/2005(UTC)
Posts: 2,995

Was thanked: 14 time(s) in 10 post(s)
ohhhh.... that's what I was afraid of... :(
vaughn  
#11 Posted : Sunday, November 13, 2005 2:38:20 AM(UTC)
vaughn

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 3/16/2005(UTC)
Posts: 93
Location: Maryland,US

I have a question in to the teck guys to see what I can actually do with it. I wanted to contribute to the Forum stuff. I guess I should have asked more questions before I bought it. Oh well [size=6:115c72df2e]you have to read the fine print.[/size:115c72df2e] At least I learned something :(
Plato  
#12 Posted : Wednesday, November 16, 2005 8:25:33 PM(UTC)
Plato

Rank: Member

Groups: Registered, Registered Users, Subscribers
Joined: 10/6/2005(UTC)
Posts: 19
Location: Salt Lake City, Utah

That being said, the MDK does support VB6, just not for MSX functions. VB6 sample code and examples are included to show how one can use it to interface with the MSFL (MetaStock File Library). This is discussed in section 6 of the manual.
Branden Russell  
#13 Posted : Monday, November 28, 2005 8:58:05 PM(UTC)
Branden Russell

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 11/28/2005(UTC)
Posts: 276
Location: Salt Lake City, UT

VB 6 doesn't compile Win32 DLLs so it is unable to be used for MSX. It can create .exes and so it is able to be used for MSFL. However, Power Basic is much like VB and can create Win32 DLLs. If you know VB, you may be interested in looking at Power Basic. It would allow you to create MSX DLLs
smg  
#14 Posted : Tuesday, November 29, 2005 4:43:39 AM(UTC)
smg

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 8/13/2005(UTC)
Posts: 90

Hello Seniors, Please guide about compatibility with Visual FoxPro ver 8 or 9. I understand Visual Foxpro can use and compile win32 DLLs. I see that no samples are available for VFP. So please suggest if it will be better to start with C++, so that there is better blendining with the community and total cost of usage is ultimately low. Regards SMG
smg  
#15 Posted : Tuesday, November 29, 2005 4:45:41 AM(UTC)
smg

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 8/13/2005(UTC)
Posts: 90

Hello Seniors, Recently MSFT released Free Visual Studio 2005 EXPRESS. Is MDK compatible with C++ and VB components of the VS Express 2005. http://msdn.microsoft.co...dio/express/default.aspx Regards SMG
Ricci  
#16 Posted : Tuesday, November 29, 2005 4:35:26 PM(UTC)
Ricci

Rank: Member

Groups: Registered, Registered Users
Joined: 11/28/2005(UTC)
Posts: 12
Location: Salt Lake City

Hi smg, Please guide about compatibility with Visual FoxPro ver 8 or 9. I understand Visual Foxpro can use and compile win32 DLLs. Visual FoxPro is not specifically supported by the MDK. However, if it can produce Win32 DLLs, you (note that I said "you" :) ) might be able to figure it out. I'd recommend C++ instead so you can get more help if you get stumped. Is MDK compatible with C++ and VB components of the VS Express 2005. The MDK has several components with different compatibility issues. I'll address MSX since that is the topic of this forum. Visual Basic: MSX is not compatible with any version of Visual Basic. This is because no version of Visual Basic has the ability to produce Win32 DLLs. C++: MSX supports Visual C++ 6.0. It has not been thoroughly or officially tested with any of the more recent versions of Visual C++, and therefore it is not said to support those versions. That being said, you can be very sure that it is possible to create MSX DLLs with Visual C++ .net, Visual C++ .net 2003, and Visual C++ .net 2005...you just don't have the benefit of the project wizard, since Visual Studio's project wizard architecture changed dramatically. As a matter of fact, if I was going to sit down and write an MSX DLL today, I'd get started in Visual C++ .net 2003, just because that is our main compiler here at Equis right now. Hope that helps. -Rich
Users browsing this topic
Guest (Hidden)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.