TIP: Click on subject to list as thread! ANSI
echo: visual_basic
to: All
from: Jody
date: 2004-12-20 17:25:00
subject: Re: Custom OCX (portabili

"ak"  wrote in message 
news:41c7312d$0$226$edfadb0f{at}dread11.news.tele.dk...
>
> "Jody"  skrev i en meddelelse 
> news:piExd.6342$GK5.543028{at}news20.bellglobal.com...
>>I ended up making my own shape label control (a bit like the one from 
>>microsoft help but with dblclick and mousemove options). Learnin' ain't 
>>never hurt no one.
>>
>> The control works great.
>> One question though. When i take take the projects home from work after 
>> zipping them up, i start to work on my main project in visual basic(which 
>> references my new customized shapelabel.ocx), i get
>> "there were errors loading shapelabel.ocx."
>>
>> So, i don't save, and open up the ocx instead, save a new ocx, and i get 
>> from my main project after loading it:
>> shapelabel.ocx has been updated to version blah.
>>
>> and everything works okay. it's not a big deal,i'm just wondering if i'm 
>> i doing something wrong?
>>
>> i have things saved as
>> c:\my project\thisproject\program-of-mine.vbf
>> c:\my project\customcontrols\shapelabel.vbf/.ocx
>>
>> Thanks!
>> jody
>>
> Sounds like not yet registered your new control.
> If you compile it, it will register automatically and
> will be added to the Components dialogBox.
> 1. Select the control project in the Project Explorer
> window. From the file menu choose the Make option
> for you project. - that is, Make MyControll.OCX - so
> to display the Make Project dialogBox.
> 2. Click options to display the Project Properties
> dialogBox.
> 3. Click on the Compile tab, and select the compilation
> method and any optimization options. -Click OK.
> 4. In the Make Project dialogBox select the location
> where you want to save the control. And just click OK
> to compile it.
> If you compile it at work. Then you can register your
> control on your home machine from the Windows Command line, by the use of 
> REGIT.EXE
> It's found in VB tools folder\RegUtils.
> There's an text explanation how to use it.
> Just write:  RegIt.exe Path\MyControl
> in the
> In the VB tools folder RegUtils there's
Interesting.
Much appreciated, ak!

jody
---
þ RIMEGate(tm)/RGXPost V1.14 at BBSWORLD * Info{at}bbsworld.com

---
 * RIMEGate(tm)V10.2áÿ* RelayNet(tm) NNTP Gateway * MoonDog BBS
 * RgateImp.MoonDog.BBS at 12/20/04 5:25:53 PM
* Origin: MoonDog BBS, Brooklyn,NY, 718 692-2498, 1:278/230 (1:278/230)
SEEN-BY: 633/267 270 5030/786
@PATH: 278/230 10/345 106/1 2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.