Webmonkey's Posts
Nairaland Forum › Webmonkey's Profile › Webmonkey's Posts
Information warfare is a crime. Try and be specific with your question. |
I am off to break when I come back I will help you with some info. But b4 I come back have a look at wikipedia |
Nigeria IT market is diversified. Like Nigeria, it moves with current thread of the economy. Many IT company in Nigeria today are either vendors or partners for foreign manufacturer. It is sad but that is the case in Nigeria. No matter how good your locally manufactured software looks and sound, it will not go off the shelve. The reason for this is corruption. Foreign software are more expensive and would attract more dollar or pounds when a proposal is brought forward for acquisition. Naira cannot compete and the question of competency and reliability comes in. However, if you look at Nigeria market as of today, the sector that heavily use software are the banking , telecom and FIRA (Federal Inland Revenue Service). These companies uses very sophisticated application software, like ATM, Core Banking Systems (Flex Cube, Globus, Finnacle, Phoenis, Basis, Equation etc.) TI Plus+, ECM, Softsmart etc. All these applications are written in C/C++ or Visual Basic. Just a few Java. Let me tell you why they use C/C++ or Visual Basic. Microsoft have a branch in Lagos and they have made sure that most of these major sectors uses Microsoft Server OS powered by Microsoft servers. IBM is entering the fast market, they now have office in Lagos. They have started selling AIX, etc to banks and telecom. IBM now partners with most foreign application developers to make sure that their processes runs with websphere, meridian, MQSeries or DB2 making sure that all interfaces and COM+ development are avaliable within Microsoft environment to interface with their application. Although IBM do not write application solution but many requirement for deploying something like Treasury application for a Nigeria major Bank using solution like TI server (Trade Innovation), even foreign Operation like LC (Letters of Credit), clean payment for retail will require a very big application solution manufacturer like Misys http://www.misys.com. TI is written in J2EE with HTML for front-end and MQSeries for messaging and Oracle/MSSQL/Sybase for database choice. But all API interface with other legacy systems like ECM, Imaging and Core Banking will need a Visual Basic or C#, J# developer. Finally, for you to succeed in Nigeria, the best programming language to learn is VB and C++ or C# particularly VB (Visual Basic) |
I have created an OCX file called DOCSERVERSHELL.DocServerShellCtrl and have registered it with regsvr32 \\192.168.1.7\DMInterface\release\DocServerShell.ocx The signature of the file is give below // DocServerShellCtl.cpp : Implementation of the CDocServerShellCtrl ActiveX Control class. #include "stdafx.h" #include "DocServerShell.h" #include "DocServerShellCtl.h" #include "DocServerShellPpg.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif IMPLEMENT_DYNCREATE(CDocServerShellCtrl, COleControl) ///////////////////////////////////////////////////////////////////////////// // Message map BEGIN_MESSAGE_MAP(CDocServerShellCtrl, COleControl) //{{AFX_MSG_MAP(CDocServerShellCtrl) // NOTE - ClassWizard will add and remove message map entries // DO NOT EDIT what you see in these blocks of generated code ! //}}AFX_MSG_MAP ON_OLEVERB(AFX_IDS_VERB_PROPERTIES, OnProperties) END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // Dispatch map BEGIN_DISPATCH_MAP(CDocServerShellCtrl, COleControl) //{{AFX_DISPATCH_MAP(CDocServerShellCtrl) DISP_FUNCTION(CDocServerShellCtrl, "View", View, VT_BOOL, VTS_BSTR VTS_BSTR VTS_BSTR VTS_PBSTR) DISP_FUNCTION(CDocServerShellCtrl, "AttachTo", AttachTo, VT_BOOL, VTS_BSTR VTS_BSTR VTS_BSTR VTS_BSTR VTS_PBSTR) DISP_FUNCTION(CDocServerShellCtrl, "AttachComplete", AttachComplete, VT_BOOL, VTS_BSTR VTS_PBSTR VTS_PI4) DISP_FUNCTION(CDocServerShellCtrl, "IsAvailable", IsAvailable, VT_BOOL, VTS_NONE) DISP_FUNCTION(CDocServerShellCtrl, "EnhancedAttachTo", EnhancedAttachTo, VT_BOOL, VTS_BSTR VTS_BSTR VTS_BSTR VTS_BSTR VTS_BSTR VTS_PBSTR) DISP_FUNCTION(CDocServerShellCtrl, "AttachTimeout", AttachTimeout, VT_BOOL, VTS_BSTR) DISP_FUNCTION(CDocServerShellCtrl, "Scan", Scan, VT_BOOL, VTS_BSTR VTS_BSTR VTS_BSTR VTS_BSTR VTS_PBSTR) DISP_FUNCTION(CDocServerShellCtrl, "ScanComplete", ScanComplete, VT_BOOL, VTS_BSTR VTS_PBSTR VTS_PI4) DISP_FUNCTION(CDocServerShellCtrl, "ScanTimeout", ScanTimeout, VT_BOOL, VTS_BSTR) DISP_FUNCTION(CDocServerShellCtrl, "Print", Print, VT_BOOL, VTS_BSTR VTS_BSTR VTS_BSTR VTS_PBSTR) DISP_FUNCTION(CDocServerShellCtrl, "Delete", Delete, VT_BOOL, VTS_BSTR) DISP_FUNCTION(CDocServerShellCtrl, "Detach", Detach, VT_BOOL, VTS_BSTR) DISP_FUNCTION(CDocServerShellCtrl, "SetName", SetName, VT_BOOL, VTS_BSTR VTS_BSTR) DISP_FUNCTION(CDocServerShellCtrl, "SetDescription", SetDescription, VT_BOOL, VTS_BSTR VTS_BSTR) DISP_FUNCTION(CDocServerShellCtrl, "GetName", GetName, VT_BOOL, VTS_BSTR VTS_PBSTR) DISP_FUNCTION(CDocServerShellCtrl, "GetDescription", GetDescription, VT_BOOL, VTS_BSTR VTS_PBSTR) //}}AFX_DISPATCH_MAP DISP_FUNCTION_ID(CDocServerShellCtrl, "AboutBox", DISPID_ABOUTBOX, AboutBox, VT_EMPTY, VTS_NONE) END_DISPATCH_MAP() ///////////////////////////////////////////////////////////////////////////// // Event map BEGIN_EVENT_MAP(CDocServerShellCtrl, COleControl) //{{AFX_EVENT_MAP(CDocServerShellCtrl) // NOTE - ClassWizard will add and remove event map entries // DO NOT EDIT what you see in these blocks of generated code ! //}}AFX_EVENT_MAP END_EVENT_MAP() ///////////////////////////////////////////////////////////////////////////// // Property pages // TODO: Add more property pages as needed. Remember to increase the count! BEGIN_PROPPAGEIDS(CDocServerShellCtrl, 1) PROPPAGEID(CDocServerShellPropPage::guid) END_PROPPAGEIDS(CDocServerShellCtrl) ///////////////////////////////////////////////////////////////////////////// // Initialize class factory and guid IMPLEMENT_OLECREATE_EX(CDocServerShellCtrl, "DOCSERVERSHELL.DocServerShellCtrl", 0xa0d0e503, 0xa210, 0x4ea7, 0x88, 0xf1, 0xfd, 0x86, 0x53, 0xe1, 0xef, 0x6d) ///////////////////////////////////////////////////////////////////////////// // Type library ID and version IMPLEMENT_OLETYPELIB(CDocServerShellCtrl, _tlid, _wVerMajor, _wVerMinor) ///////////////////////////////////////////////////////////////////////////// // Interface IDs const IID BASED_CODE IID_DDocServerShell = { 0xa3b41962, 0x8687, 0x4805, { 0x90, 0xff, 0x7c, 0xd8, 0x2b, 0xe9, 0x8, 0xa3 } }; const IID BASED_CODE IID_DDocServerShellEvents = { 0x3a99f6e1, 0xef93, 0x4221, { 0x91, 0xca, 0x57, 0xe5, 0x1a, 0xea, 0xf7, 0xf3 } }; ///////////////////////////////////////////////////////////////////////////// // Control type information static const DWORD BASED_CODE _dwDocServerShellOleMisc = OLEMISC_INVISIBLEATRUNTIME | OLEMISC_SETCLIENTSITEFIRST | OLEMISC_INSIDEOUT | OLEMISC_CANTLINKINSIDE | OLEMISC_RECOMPOSEONRESIZE; IMPLEMENT_OLECTLTYPE(CDocServerShellCtrl, IDS_DOCSERVERSHELL, _dwDocServerShellOleMisc) ///////////////////////////////////////////////////////////////////////////// // CDocServerShellCtrl::CDocServerShellCtrlFactory::UpdateRegistry - // Adds or removes system registry entries for CDocServerShellCtrl BOOL CDocServerShellCtrl::CDocServerShellCtrlFactory::UpdateRegistry(BOOL bRegister) { // TODO: Verify that your control follows apartment-model threading rules. // Refer to MFC TechNote 64 for more information. // If your control does not conform to the apartment-model rules, then // you must modify the code below, changing the 6th parameter from // afxRegApartmentThreading to 0. if (bRegister) return AfxOleRegisterControlClass( AfxGetInstanceHandle(), m_clsid, m_lpszProgID, IDS_DOCSERVERSHELL, IDB_DOCSERVERSHELL, afxRegApartmentThreading, _dwDocServerShellOleMisc, _tlid, _wVerMajor, _wVerMinor); else return AfxOleUnregisterClass(m_clsid, m_lpszProgID); } ///////////////////////////////////////////////////////////////////////////// // CDocServerShellCtrl::CDocServerShellCtrl - Constructor CDocServerShellCtrl::CDocServerShellCtrl() { InitializeIIDs(&IID_DDocServerShell, &IID_DDocServerShellEvents); // TODO: Initialize your control's instance data here. } ///////////////////////////////////////////////////////////////////////////// // CDocServerShellCtrl::~CDocServerShellCtrl - Destructor CDocServerShellCtrl::~CDocServerShellCtrl() { // TODO: Cleanup your control's instance data here. } ///////////////////////////////////////////////////////////////////////////// // CDocServerShellCtrl::OnDraw - Drawing function void CDocServerShellCtrl::OnDraw( CDC* pdc, const CRect& rcBounds, const CRect& rcInvalid) { // TODO: Replace the following code with your own drawing code. pdc->FillRect(rcBounds, CBrush::FromHandle((HBRUSH)GetStockObject(WHITE_BRUSH))); pdc->Ellipse(rcBounds); } ///////////////////////////////////////////////////////////////////////////// // CDocServerShellCtrl::DoPropExchange - Persistence support void CDocServerShellCtrl::DoPropExchange(CPropExchange* pPX) { ExchangeVersion(pPX, MAKELONG(_wVerMinor, _wVerMajor)); COleControl::DoPropExchange(pPX); // TODO: Call PX_ functions for each persistent custom property. } ///////////////////////////////////////////////////////////////////////////// // CDocServerShellCtrl::OnResetState - Reset control to default state void CDocServerShellCtrl::OnResetState() { COleControl::OnResetState(); // Resets defaults found in DoPropExchange // TODO: Reset any other control state here. } ///////////////////////////////////////////////////////////////////////////// // CDocServerShellCtrl::AboutBox - Display an "About" box to the user void CDocServerShellCtrl::AboutBox() { CDialog dlgAbout(IDD_ABOUTBOX_DOCSERVERSHELL); dlgAbout.DoModal(); } ///////////////////////////////////////////////////////////////////////////// // CSayAsWordsITCtrl::GetControlFlags - // Flags to customize MFC's implementation of ActiveX controls. // // For information on using these flags, please see MFC technical note // #nnn, "Optimizing an ActiveX Control". DWORD CDocServerShellCtrl::GetControlFlags() { DWORD dwFlags = COleControl::GetControlFlags(); // The control can activate without creating a window. // TODO: when writing the control's message handlers, avoid using // the m_hWnd member variable without first checking that its // value is non-NULL. dwFlags |= windowlessActivate; return dwFlags; } ///////////////////////////////////////////////////////////////////////////// // CDocServerShellCtrl message handlers BOOL CDocServerShellCtrl::View(LPCTSTR docId, LPCTSTR windowTitle, LPCTSTR MisysSessionId, BSTR FAR* imageServerWebpageUrl) { //*imageServerWebpageUrl = ::SysAllocString(L"http://imageServer_View_url"); //pobject = _Server.CreateObject("PCDClient.PCDDocObject" ;/* PCDGetDoc objGetDoc = wew PCDGetDoc(); objGetDoc.SetDST strDST objGetDoc.AddSearchCrriteria "TARGET_LIBRARY", strLib objGetDoc.AddSearchCriteria "DOCUMENT_NUMBER", strDocNum objGetDoc.AddSearchCriteria "VERSION_ID", strVersionID objGetDoc.Excute if objGetDoc.ErrNumber <> 0 Then= objGet 'Error occured End if Dim lngRowCount As Long Dim strFileName As String lngRowCount = objGetDoc.GetRowFound if objGetDoc.ErrNumber <> 0 'Error occured End if if lngRowCount <> 1 Then 'Possible Error. Only 1 file expect. Else objGetDoc.SetRow(1) strFilename = objGetDoc.GetPropertyValue(PATH) MsgBox "The name of the document is: " strFilename EndIf */ return TRUE; } BOOL CDocServerShellCtrl::AttachTo(LPCTSTR name, LPCTSTR description, LPCTSTR windowTitle, LPCTSTR MisysSessionId, BSTR FAR* imageServerWebpageUrl) { *imageServerWebpageUrl = ::SysAllocString(L"http://imageServer_AttachTo_url"); return TRUE; } BOOL CDocServerShellCtrl::AttachComplete(LPCTSTR MisysSessionId, BSTR FAR* docId, long FAR* attachStatus) { enum AttachStatus { NotComplete = 0, Complete = 1, Error = 2, }; *attachStatus = Complete; *docId = ::SysAllocString(L"returned_attached_docid_1234" ;return TRUE; } BOOL CDocServerShellCtrl::IsAvailable() { return TRUE; } BOOL CDocServerShellCtrl::EnhancedAttachTo(LPCTSTR name, LPCTSTR description, LPCTSTR windowTitle, LPCTSTR MisysSessionId, LPCTSTR xmlSearchCriteria, BSTR FAR* imageServerWebpageUrl) { *imageServerWebpageUrl = ::SysAllocString(L"http://imageServer_EnhancedAttachTo_url"); return TRUE; } BOOL CDocServerShellCtrl::AttachTimeout(LPCTSTR MisysSessionId) { return TRUE; } BOOL CDocServerShellCtrl::Scan(LPCTSTR name, LPCTSTR description, LPCTSTR windowTitle, LPCTSTR MisysSessionId, BSTR FAR* imageServerWebpageUrl) { *imageServerWebpageUrl = ::SysAllocString(L"http://localhost.com"); return TRUE; } BOOL CDocServerShellCtrl::ScanComplete(LPCTSTR MisysSessoinId, BSTR FAR* docId, long FAR* scanStatus) { enum ScanStatus { NotComplete = 0, Complete = 1, Error = 2, }; *scanStatus = Complete; *docId = ::SysAllocString(L"returned_scanned_docid_1234" ;return TRUE; } BOOL CDocServerShellCtrl::ScanTimeout(LPCTSTR MisysSessionId) { return TRUE; } BOOL CDocServerShellCtrl::Print(LPCTSTR docId, LPCTSTR windowTitle, LPCTSTR MisysSessionId, BSTR FAR* imageServerWebpageUrl) { *imageServerWebpageUrl = ::SysAllocString(L"http://localhost"); return TRUE; } BOOL CDocServerShellCtrl::Delete(LPCTSTR docId) { PCDDocObject.Delete(); return TRUE; } BOOL CDocServerShellCtrl::Detach(LPCTSTR docId) { return TRUE; } BOOL CDocServerShellCtrl::SetName(LPCTSTR docId, LPCTSTR name) { return TRUE; } BOOL CDocServerShellCtrl::SetDescription(LPCTSTR docId, LPCTSTR description) { return TRUE; } BOOL CDocServerShellCtrl::GetName(LPCTSTR docId, BSTR FAR* name) { *name = ::SysAllocString(L"name value for document" ;return TRUE; } BOOL CDocServerShellCtrl::GetDescription(LPCTSTR docId, BSTR FAR* description) { *description = ::SysAllocString(L"description value for document" ;return TRUE; } Now I need to implement the signature code using C++. I don't mind the VB on the View signature. Any similar solution out there? |
Thanks for everyone who contributed somehow to this thread. However, I am still struggling do this project. I am implementing TI Plus to interface a Opentext DM server The user guide technical implementation says that to interface TI Plus and DM you will need to create a COM. The routine implementation is done on the DM side. TI Plus does not implement any code for 1. Scan 2. Attach 3. Detached 4. View I need to create a COM to interface TI Plus and OpenText (document Imaging) such that via the web portal of the client user interface, the client can view documents, attach and detached document. I have never created a COM object before. My problems are; 1. What IDE do I use? 2. I would like to use C#/J++ 3. How do I register the COM so that TI Plus and OpenText DM can interface in a window environment? 4. Have anyone do similar project before? |
I am integrating Banking application with a DM (Document Manager). The Banking solution has API that it exposes to any DM ready for interface. I am using Hummingbird DM as a core solution for DM. The DM also exposes API for integrating to any solution that will implement, 1. Attach 2. Scan 3. Delete 4. View 5. Deattach To integrate this solution I will need to create a COM (Component Object Model) that the Banking application will interface with and call these API. Also the DM will interface with this COM. My problem is how do I write a COM object using .NET, C++ or C#? |
How could one create a COM to interface to systems using C++ or C#? |
The exponents of x and y
|
If you cannot solve it by now, you need to consider doing another course other than Mathematics
|
If you don't know basic algebra here is a [url=http://books.google.co.uk/books?id=GUGeEl5V_3sC&printsec=frontcover&dq=subject:%22+Mathematics+%22&lr=&as_brr=3&ei=lF1lSaWDI6aGzgSE3sDXAQ&rview=1#PPA151,M1]book[/url] for you to learn from
|
Note that power of the polynomial--- Use basic algerba to evaluate the exponent
|
Use Cramer's theorem for two polynomial coefficients
|
I would love to see your solution for this question. I am not an engineering major thus, cannot answer this question. But I can derive a formula for you given some knowledge or information. Perhaps, you should look [url=http://www.google.com/url?sa=t&source=web&ct=res&cd=1&url=http%3A%2F%2Fwww.ignou.ac.in%2Fassignments%2Fdcleg%2F2nd%2520Semester.DOC&ei=nM9eSaTcGZDRjAfEvrm9Dw&usg=AFQjCNGc9e5LU-uifbpaeazoIeq-zRvnmw&sig2=S-AQtHI_yjG4ZnxOhtMGMQ]here[/url] for similar queations |
I will leave question 1 for you brilliant Mathematician to solve. If you are brave you can post your solution here. Below is solution for question 2
|
Welcome back all you mathematics enthusiast. I hope you had a lovely holidays and a wonderful new year. I wish everyone a prosperous new year. Back to the subject of the matter. I have exams couple of days away. I was going through previous year exam paper and I saw these two interesting questions and I thought to share it with you.
|
People, please remember that I am not a teacher, not yet. I hope to become one after my graduation and PGC. I am on my first year of Mathematics. I simply open this thread to share knowledge with minds alike. Sofar, I have been bombarded with question that I cannot answer yet? I have needs as well. I need help with higher differential calculus for applied applications i.e. Kinematical Interpretation |
@Godisking. You need to do your A-Level after your O-Level. I am suprise you know this far from O-Level. You will understand more after your A-Levels. A-Level will prepare your for HE (Higher Education) i.e. University. Believe me, it is suicide to enter HE with O-Level, particularly if you are a Mathematics major or Engineering, physics or Computer Science major. If you did Add-Maths/Pure Maths as an elective option in your O-Level, you are in good position to start A-Level. Below are links for tutorial on Applied Maths 1. Maths Revision 2. HMC Mathematics Tutorial Online 3. Calculus Premier 4. Purple Maths 5. Maths Centre (I used this a lot at my A-Level exams prep) 6. NIPISSING 7. Analyze Math 8. [url=http://www.math.ucdavis.edu/~kouba/]University of California, Dept of Mathematics[/url] 9. Interactivr Maths 10. Statistics (A lot of question from stats for A-Level students) If you are pursuing HE, you will do stats from first year to final. You knowledge of Integration will help you a lot. 11. Stats 12. [url=http://www.maths.mq.edu.au/~wchen/lndmfolder/lndm.html]Discrete Maths[/url] (You need discrete maths for HE. You will do it from first year to final year) 13. [url=http://]Computational Methods[/url] (You will touch this in second and third year of your HE for Mathematics major and Computational Mathematics major) This links are all my firefox bookmarks on Maths prep for my A-Level. As you can tell I am on a higher Math field now. But for those pursuing HE, these are helpful links. @ak001 1. Error analysis, university of california, dept of Physics 2. Interpolation linear and non linear eqn 3. Curve fitting 4. [url=http://books.google.co.uk/books?id=RhAOix1-wlYC&pg=PA20&lpg=PA20&dq=Numerical+solution+of+algebraic+and+transcendental+equation&source=web&ots=XtdrsdyycT&sig=Rpornp-7wJ4WmBTbuMDvPCZDNVM&hl=en&sa=X&oi=book_result&resnum=3&ct=result#PPA20,M1]Numerical soln of algebraic and transcendental eqn[/url] (I can help you buy this book. You need to pay for it yourself) 5. Numerical diff and integration 6. [url=http://]Initial value problem for ordinary diff eqn[/url] |
Give me sometime, I will go through my firefox Bookmarks and add some useful links for computational algorithms, Maths and Mechanics. Have a look here to see some video from MIT, Linear Algebra. If you are into those kind of things let me know by detailing your particular interest. I am preparing for exams for January, so I could be a little busy for now. I am going through Linear Algebra, Statistics and Discrete Maths revisions. What computer language are you into? Or are you particularly concern about their semantics? |
[s]The solution is not of Binomial expansion but of de Moivre's. Although de Moivre's can be derived from Euler's formula that use Taylor series expansion. [/s] |
Can ayone prove this de Moivre's Theorem? I need a short course on Pure Maths
|
Advanced statistical mathematics and Linear algebra. I have a mod here for your interest. I am in my first year Applied Mathematics Greenwich University, London England. I am not very bad with Maths and Stats. I really don't like proofs. |
[size=18pt] Integration [/size] |
|
These are the units that computational Mathematics students undergo. For readers information, Computational Mathematics, a hybrid program that sits at the intersection of mathematics and computer science. First year 1. Fundamental Mathematics 1 2. Fundamental Mathematics 2 3. Statistics (Discrete and Continuous) 4. Software Development 1 5. Mathematical Methods 1 6. Software Development 2 Second year 1. Mathematical Methods 2 2. Ordinary Differential Equations 3. Numerical Algebra and Calculus 4. Data Structures and Algorithms 5. Symbolic and Declarative Computing and Artificial Intelligence 6. Numerical Solution of Ordinary Differential Equations 7. Statistics and Experimental Design Third year 1. Real and Complex Analysis 2. Partial Differential Equations 3. Decision Support Systems 4. Programming Language Theory and Semantics Elective options 5. Mobile Networks Performance Modelling 6. Technical Investigation and Report 7. Continuum Mechanics 8. Formal Methods 9. Computer Graphics 10. Digital Image Processing 11. Artificial Intelligence for Games |
What topic are you studying? 1. Computational Fluid Dynamics 2. Colloquium on Computational Complexity 3. Algorithms Computational I am into computational differentiation/differential calculus. Are you into pure or applied Mathematics? |
[size=18pt] Example 2 [/size]
|
;