How to open WordPad and Store data in Blob field

pedward
Member Posts: 11
Hi Experts,
I am new to Navision. Could you please help me out its kinda urgent. And i have no clue how to do that.
I am working in Nav 5.0, so what i have to do, is to create a table with following fields
ID, FileData (blob field)
So now when i click the FileData, system opens up a WordPad file. Then when i enter data in that file and save it, it is saved in that table field.
I have seen NaviPad that could be a good option but we dont have to provide any dll to our clients. Could you please tell me what should i do.
Thanks in Advance
P.Edward
I am new to Navision. Could you please help me out its kinda urgent. And i have no clue how to do that.
I am working in Nav 5.0, so what i have to do, is to create a table with following fields
ID, FileData (blob field)
So now when i click the FileData, system opens up a WordPad file. Then when i enter data in that file and save it, it is saved in that table field.
I have seen NaviPad that could be a good option but we dont have to provide any dll to our clients. Could you please tell me what should i do.
Thanks in Advance
P.Edward
0
Comments
-
Check the downloads section. There's a program (for free) that Waldo wrote that will allow you to attach notepad or wordpad into Navision.Confessions of a Dynamics NAV Consultant = my blog
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book0 -
I have already tried out waldo, navision pad and stuff.
But its not something i am looking for... i dont want my client to register the dll.
I am already using Navision pad but i want to avoid that client installation. So whats the work around.
How do i register the .dll at runtime.
Thanks,
P.Edward0 -
How to register dll at runtime :?:
Store the dll into an table (BLOB) before you run the function that calls the dll check in tabel Automation Server if your dll is registred on local machine
like this:if not MyAutomationFunction('@*My DLL Name*') then begin IF ISCLEAR(WshShell) THEN CREATE(WshShell); Stream Out the data from Blob Field to envirion('Temp') + 'DLLName' + '.dll' //if you need the output text //WshExec := WshShell.Exec('regsvr32 <path & filename of dll or ocx that you stream out>'); //if you need info if installation success Variant1 := 0; Variant2 := TRUE; INTVAR := WshShell.Run('regsvr32 <path & filename of dll or ocx>',Variant1,Variant2); if IntVar = 1 then error('Error durin installation of %1. Ask you Navision guru',YOURDLLNAME); end; MyAutomationFunction(Parameter Text 250) AutomationServer.RESET; AutomationServer.SETfilter(Name,'%1',Parameter); EXIT(not AutomationServer.ISEMPTY);
Do you make it right, it works too!0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions