乐筑天下

搜索
欢迎各位开发者和用户入驻本平台 尊重版权,从我做起,拒绝盗版,拒绝倒卖 签到、发布资源、邀请好友注册,可以获得银币 请注意保管好自己的密码,避免账户资金被盗
楼主: wannabe

[编程交流] LISP/VBA培训

[复制链接]

0

主题

252

帖子

290

银币

限制会员

铜币
-8
发表于 2022-7-6 17:50:31 | 显示全部楼层
I didn't say it was pointless, I just said you should consider it might go away sooner than later.  I use VBA everyday to automate everything I can.  But I am learning C# because I know that someday, I will have to give it up
回复

使用道具 举报

21

主题

146

帖子

127

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
106
发表于 2022-7-6 17:53:41 | 显示全部楼层
 
Ok, thanks again.
 
I'll have a think over the coming weeks and look into what you have mentioned about other languages.
 
If i did learn VBA and it became obsolete then at least its programming experience. Maybe some companies who continue to operate with older software may extend the duration that VBA is useful for.
 
If you were me, though, how would you set about achieving my goals? What language would you learn first? Would you try to learn two at the same time, etc..
 
Cheers.
回复

使用道具 举报

0

主题

252

帖子

290

银币

限制会员

铜币
-8
发表于 2022-7-6 17:56:40 | 显示全部楼层
If I were you, I would learn some basic LISP that you could use immediately. Define some shortcut commands and learn how LISP works. Then I would either learn VBA or a .Net language. Using your new LISP knowledge, you could run your VBA macros from the command prompt. (Something you cannot do easily in vba, but very easy to accomplish with LISP) I have some papers I wrote for learning VBA, I can post to get you started.
回复

使用道具 举报

21

主题

146

帖子

127

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
106
发表于 2022-7-6 18:00:49 | 显示全部楼层
 
Okay, with the logic provided in this thread I will set about making LISP my current priority but will still remain keen in VBA and to educating myself in it.
 
I would be very grateful if you would share training material as you mentioned; I think I may need to accrue a higher post count before I can sent private messages.
回复

使用道具 举报

0

主题

252

帖子

290

银币

限制会员

铜币
-8
发表于 2022-7-6 18:04:27 | 显示全部楼层
just a couple more and it will kick over and give you PM ability
回复

使用道具 举报

0

主题

252

帖子

290

银币

限制会员

铜币
-8
发表于 2022-7-6 18:06:26 | 显示全部楼层
BTW did you see this?
http://www.cadtutor.net/forum/showthread.php?p=178997#post178997
回复

使用道具 举报

21

主题

146

帖子

127

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
106
发表于 2022-7-6 18:08:49 | 显示全部楼层
 
 
Yeah, definitely kept tabs on that thread. Hopefully I will be able to amend my routine to the correct formate and by this time tomorrow I will have more questions for you .
回复

使用道具 举报

21

主题

146

帖子

127

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
106
发表于 2022-7-6 18:14:48 | 显示全部楼层
Although I was trying to make my text justified middle centre at the point of creation.
 
Basically I created a drawing that saved itself and contained a circle with some text in at coordinates I specified in the macro.
 
But I think your code should be helpful enough, whilst giving me a bit to think about - which is ideal.
回复

使用道具 举报

0

主题

252

帖子

290

银币

限制会员

铜币
-8
发表于 2022-7-6 18:16:42 | 显示全部楼层
objTxt.Alignment = acAlignmentMiddleCenter
回复

使用道具 举报

21

主题

146

帖子

127

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
106
发表于 2022-7-6 18:19:11 | 显示全部楼层
 
I did manage to find that in that CAD help window. I just wondered where it would need to go and if I would need to declare it, but ran out of time trying combinations at work.
 
Anyway, I will have a play at work tomorrow. I think the example code you showed, showing how to amend already created text should be enough if I think about it.
 
Thanks again for your help.
回复

使用道具 举报

发表回复

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

  • 微信公众平台

  • 扫描访问手机版

  • 点击图片下载手机App

QQ|关于我们|小黑屋|乐筑天下 繁体中文

GMT+8, 2025-3-4 16:42 , Processed in 0.340637 second(s), 70 queries .

© 2020-2025 乐筑天下

联系客服 关注微信 帮助中心 下载APP 返回顶部 返回列表