mibuso.com

Microsoft Business Solutions online community
It is currently Mon May 20, 2013 5:56 pm

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 101 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7  Next
Author Message
 Post subject:
PostPosted: Fri Aug 17, 2007 10:46 pm 
Offline

Joined: Thu Jun 08, 2006 1:03 pm
Posts: 77
Location: Edmonton
Country: Canada (ca)
So if i have to use waldo then i have to make sure our clients have either framework 1.1 or 2.0; is that right?

@Garak, could you please illustrate a bit more as what you are saying.
Do you mean to say that we could use Type Library File instead of dll.

Any code snippet that could help?


Top
 Profile E-mail  
 
 Post subject:
PostPosted: Sat Aug 18, 2007 12:08 am 
Offline

Joined: Thu Jun 08, 2006 1:03 pm
Posts: 77
Location: Edmonton
Country: Canada (ca)
So i have managed to register waldonavpad.dll successfully. I want to share the code, though there are many things that i have to recorrect in the code but still it work.

Code: Select all

recOCXDLLSetup.GET;
recOCXDLLSetup.CALCFIELDS("Notepad DLL");
IF NOT(recOCXDLLSetup."Notepad DLL".HASVALUE) THEN
  ERROR('Cannot find %1 in %2',recOCXDLLSetup."Notepad DLL",recOCXDLLSetup.TABLECAPTION);

ltxtFile := 'c:\windows\system32\' + recOCXDLLSetup."Notepad Name";
recOCXDLLSetup."Notepad DLL".EXPORT(ltxtFile,FALSE);

CommandProcessor := ENVIRON('ComSpec');
BatchFileName := 'ddxmit01.bat';
BatchFile.TEXTMODE(TRUE);
BatchFile.QUERYREPLACE(FALSE);
BatchFile.CREATE(BatchFileName);
BatchFile.WRITE('@ECHO OFF');
BatchFile.WRITE('C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\regasm.exe ' +'"' + ltxtFile + '"');
BatchFile.WRITE('PAUSE');
BatchFile.CLOSE;
SHELL(CommandProcessor,'/c',BatchFileName);


Top
 Profile E-mail  
 
 Post subject:
PostPosted: Sat Aug 18, 2007 1:06 am 
Offline

Joined: Thu Jun 08, 2006 1:03 pm
Posts: 77
Location: Edmonton
Country: Canada (ca)
Hi,

I am done with .dll Registration at runtime (see previous posting)
I have imported the .fob file that has all the demo objects.
Compiled them all, they all compiled, that means my .dll is registered.. right..

but somehow when i run the TestNavPad codunit its pops up with this error


---------------------------
Microsoft Dynamics NAV
---------------------------
This message is for C/AL programmers:

Could not create an instance of the OLE control or Automation server identified by
GUID={334309EB-4AA6-497C-BABF-2AFDA61317EC} 1.0:{1B883E97-B2CB-48CF-8B47-87AAA589C289}:'WaldoNavPad'.WaldoNavPad.
Check that the OLE control or Automation server is correctly installed and registered.

---------------------------
OK
---------------------------


Am i missing anything?


Top
 Profile E-mail  
 
 Post subject:
PostPosted: Mon Aug 20, 2007 9:03 am 
Offline
MVP Microsoft Dynamics NAV
NAV TechDays 2013 attendee

Joined: Fri Dec 06, 2002 11:50 am
Posts: 3390
Location: Kontich, Belgium
Country: Belgium (be)
Can you select the navpad when you browse through your automations?

_________________

Eric Wauters
MVP - Microsoft Dynamics NAV
My blog


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 20, 2007 7:02 pm 
Offline

Joined: Thu Jun 08, 2006 1:03 pm
Posts: 77
Location: Edmonton
Country: Canada (ca)
Yeah i could select; i really dont know whts wrong...


Top
 Profile E-mail  
 
 Post subject:
PostPosted: Mon Aug 20, 2007 7:10 pm 
Offline

Joined: Thu Jun 08, 2006 1:03 pm
Posts: 77
Location: Edmonton
Country: Canada (ca)
Sorry guys; i am finally done with the code.

The .dll registration n code was not correct; although i was registering the dll but i missed one thing in the code that is to include /codebase in the regasm.

Thanks garak its from ur code that i got idea of including codebase and it worked.

I will post updated code shortly.


Top
 Profile E-mail  
 
 Post subject:
PostPosted: Mon Aug 20, 2007 10:57 pm 
Offline

Joined: Mon Mar 08, 2004 2:42 pm
Posts: 3255
Location: Hannover
Country: Germany (de)
ok, ok, i`m reactivate my brainb tomarrow. its here 23 o clock, and i've drunken some german beer ;-)

i will give an statemant tomarrow

_________________
Do you make it right, it works too!


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 20, 2007 5:29 pm 
Offline
MVP Microsoft Dynamics NAV
NAV TechDays 2013 attendee

Joined: Fri Dec 06, 2002 11:50 am
Posts: 3390
Location: Kontich, Belgium
Country: Belgium (be)
We're 3 months later and still haven't had your statement, man :mrgreen:

_________________

Eric Wauters
MVP - Microsoft Dynamics NAV
My blog


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 03, 2008 5:41 pm 
Offline

Joined: Fri Jul 16, 2004 4:00 pm
Posts: 58
Location: Oehringen
Country: Germany (de)
@Waldo

The pieces of text will be cut of at a "Space" or "Carriage Return".

This is not working over here.

I have a field of type "Text" with the length of 80.
I set "WaldoNavPad.TextFieldLength := 80;"
When I import a Text, the text is cut exactly after 80 character, even if there is a Space on position 75.

Can you please give me a hint on that?

Thanks,
Rolf


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 03, 2008 6:50 pm 
Offline
MVP Microsoft Dynamics NAV
NAV TechDays 2013 attendee

Joined: Fri Dec 06, 2002 11:50 am
Posts: 3390
Location: Kontich, Belgium
Country: Belgium (be)
hm, strange ... never experienced it before.

If you give me the objects and text (via pm), I'll have a look at it when I get the chance.

Now, I have to say, in the first version of the navpad I noticed a bug when cutting off the text. This only happened occasionally. I added some kind of procedure to the dll, but since then, I also have the habbit to set the TextFieldLength about 5 or 10 characters less then the actual fieldlength. May be you can try this as well?

I know this workaround shouldn' t be definite, so I would really like to receive the code and text you're testing with.

At least, thanks for your interest :wink:

_________________

Eric Wauters
MVP - Microsoft Dynamics NAV
My blog


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 04, 2008 8:44 am 
Offline

Joined: Fri Jul 16, 2004 4:00 pm
Posts: 58
Location: Oehringen
Country: Germany (de)
Hi,

I think I can not send you my objects via PM. I don't seen an option to make an attachment.

I can reproduce the problem with your Demo-Objekts when using the following string:
123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567 8901234567890

There is a Space on Position 238 but the text is cut on Position 240.

Im running on Navision 4 SP2 on Windows XP SP2.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 04, 2008 8:51 am 
Offline

Joined: Fri Jul 16, 2004 4:00 pm
Posts: 58
Location: Oehringen
Country: Germany (de)
Hi,

me again :mrgreen:

I did another test. When using a string like that it works correctly:
123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789

Maybe the NavPad has a Problem, when the first part of the string is extremly long.

By the way:
Is there a possibility to save the size and position of the NavPad Window?

Regards,
Rolf


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 04, 2008 11:21 am 
Offline
MVP Microsoft Dynamics NAV
NAV TechDays 2013 attendee

Joined: Fri Dec 06, 2002 11:50 am
Posts: 3390
Location: Kontich, Belgium
Country: Belgium (be)
rkaufmann wrote:
Hi,

me again :mrgreen:

I did another test. When using a string like that it works correctly:
123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789

Maybe the NavPad has a Problem, when the first part of the string is extremly long.

By the way:
Is there a possibility to save the size and position of the NavPad Window?

Regards,
Rolf


That is a good suggestion. Never thought of this.
It is not possible in the current release, but I will try to build it in the next one.

_________________

Eric Wauters
MVP - Microsoft Dynamics NAV
My blog


Top
 Profile  
 
 Post subject: Re: Waldo Dynamics NAV Notepad (WaldoNavPad) v3
PostPosted: Tue Feb 17, 2009 11:59 am 
Offline

Joined: Thu Mar 30, 2000 8:01 am
Posts: 3
I have re-installed XP but now my WaldoNavPad v3 doesn't work anymore. It's long time since I installed it and forgot how to do it. Hope someone will post a easy step-list so I will get access to my long-text again.

Please help


Attachments:
waldo.jpg
waldo.jpg [ 25.62 KiB | Viewed 2764 times ]
Top
 Profile E-mail  
 
 Post subject: Re: Waldo Dynamics NAV Notepad (WaldoNavPad) v3
PostPosted: Tue Feb 17, 2009 12:46 pm 
Offline
MVP Microsoft Dynamics NAV
NAV TechDays 2013 attendee

Joined: Fri Dec 06, 2002 11:50 am
Posts: 3390
Location: Kontich, Belgium
Country: Belgium (be)
Seems you used an earlier version of WaldoNavPad.

You'll have to re-evaluate your code, I'm afraid...

_________________

Eric Wauters
MVP - Microsoft Dynamics NAV
My blog


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 101 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7  Next

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum


Search for:
Jump to: