几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量  


返回   几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 » 仿射空间:CAX软件开发(三)二次开发与程序设计 » CAD二次开发 » SolidWorks二次开发
用户名
密码
注册 帮助 会员 日历 银行 搜索 今日新帖 标记论坛为已读


 
 
主题工具 搜索本主题 显示模式
旧 2009-04-12, 08:30 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】confusion over vba vs. visual basic.ne

confusion over vba vs. visual basic.net
i am about to delve into some vb programming for sw. several years ago, i did some vba for autocad, so i am not new to this, but needed some refreshing on it.
i just purchased the book by mike spens; "automating solidworks 2009 using macros".
he says in his introduction that you can save a recorded macro as a visual basic.net, visual basic 6, or c#.net.
i have a general idea of what .net is... it is intended to be a means of accessing and controlling information in the windows platform. and in particular, it was designed to use the same format in multiple languages.
i understand that the product microsoft calls visual basic has gone through some significant changes over the years. in particular, they've changed from the older ".com" that was in visual basic 6, to the ".net" format that is in the current version of visual basic.
now, throw into the mix the topic of vba. i am thinking of this as a subset of the full visual basic programming environment. but, i am unclear where this falls in regards to .com vs. .net. i know, at least, that older versions of vba (say 5 years ago) were definitely the .com version. but, i have several questions;
-what is the current status of vba in general? has it switched to .net?
-what is the vba in excel? has it also changed over the years from .com to .net?
-does solidworks use vba?
i just purchased vba for dummies 5th edition, published 2007. will this help the situation, or make it worse?
joe dunfee
sw 2009 sp3.0 windows xp
hp compaq dc5800 microtower
nvidia quadro fx 3700
i'm on my way to learn vba or vb.net i didn't decide yet wich one i'll learn but all i know untill now is that vba.net is more powerful and easier than vba.
also i think .net programming languages is the feature.
mohamed abdel moniem | mechanical engineer
cswp, cswa, cswp core, cswp-smtl
solidworks 2009 sp3.0
vista x64 sp1.0
intel q6600, 8gb ram
ati hd 4850
3dconnexions spacenavigator
hi mohammad,
if you are a new in programming field then go vb vb just and overview and the switch to vb.net because without knowing how to read macor it would be much hard for you to write something for solidworks.
i'm not entirely sure how vba fits in, but microsoft has pulled the plug on vb6. vb.net is the new "standard". actually .net in general is the new standard, wether you are going to be using vb or c# (or other .net enabled languages).
nicolai søndergaard
lm glasfiber a/s
i think ms has lost their way on pulling the plug on the "macro" language. the whole point of having a macro language is so that someone can quickly and easily simplify tasks. moving to vb from the original macro language was a so-so step at the time, but ended up being a good thing in the long run. however, the step of now trying to force everyone into a whole separate programming package kinda missed the point of what was trying to be accomplished by having the macro language. if i was a programmer, i'd already be writing in c# or c++. the point of vb6 was to make stronger programming methods available to average joes. without it, there isn't much difference between vb.net and just using c.
matt lorono
solidworks 2007 sp3.1
cad engineer/ecn analyst
matt, do your comments include the .net macros in 2009? i dinked around with vb6 and vba macros, and didn't find it to be average joe easy. i've heard that vb.net is a little easier, and the vb.net macro language is more closely aligned with the main language. am i missing or mis-remembering something?
dale dunn
structure since sw2006 (or earlier), but, didn't upgrade the .net revision until sw2009. i believe the latest vb.net revision is 3.5.
since sw uses the .net structure for it's api, any macros are omega language at the core and do not use the win32.dll's.
am i following this correctly?
tobin sparks
structure for it's api, any macros are omega language at the core and do not use the win32.dll's.
the api has 2 files for each, a tlb (legacy win32) and a dll (.net), that is why vba still works being an alpha language, and .net vsta macros work using the dll omega language
luke,
thanks for that. all things considered it's surprising it works at all .
thanks again - very informative
tobin sparks
.nov.com
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)
 


主题工具 搜索本主题
搜索本主题:

高级搜索
显示模式

发帖规则
不可以发表新主题
不可以回复主题
不可以上传附件
不可以编辑您的帖子

vB 代码开启
[IMG]代码开启
HTML代码关闭

相似的主题
主题 主题发起者 论坛 回复 最后发表
【转帖】您的应用程序采用很长时间才生成, huangyhg vc编程 0 2009-01-13 02:00 PM
【转帖】用Visual C#做托盘程序 yogy C# 0 2007-08-01 02:52 PM


所有的时间均为北京时间。 现在的时间是 11:03 AM.


于2004年创办,几何尺寸与公差论坛"致力于产品几何量公差标准GD&T | GPS研究/CAD设计/CAM加工/CMM测量"。免责声明:论坛严禁发布色情反动言论及有关违反国家法律法规内容!情节严重者提供其IP,并配合相关部门进行严厉查处,若內容有涉及侵权,请立即联系我们QQ:44671734。注:此论坛须管理员验证方可发帖。
沪ICP备06057009号-2
更多