Posts

ORA-06550: Line 1, Column 7: PLS-00306 Fustration

Here the other day I was creating a procedure in Oracle, which in return I was to execute from my VB.NET code. I got the procedure working from TOAD and I was to implement the solution into my VB.NET code. When I did so, I got error message ORA-06550: Line 1, Column 7: PLS-00306 error when calling the code. After searching the net for solution (which was hard to find in the first page of google's search as many had the problem but no exact answer was given). This problem is related to calling a stored procedure with an out parameter, and to solve this issue it is important that you call the parameter name in your VB.NET code the same as the name used in the CREATE or REPLACE PROCEDURE statement. To give you an example; Oracle Procedure: CREATE OR REPLACE PROCEDURE test_proc (     random_number OUT NUMBER ) IS BEGIN     random_number := 100 ; END ; VB.NET Code:   Using oraCon As OracleConnection = OCSBase. MSDataAccess . GetDbConnection   ...

jQuery datepicker in asp:UpdatePanel

When using asp:UpdatePanel and jQuery datePicker function in the ui library, there is a need to register an event handler on the textbox/input field used to bind the datepicker in order to initialize the datepicker again. If you are using a Custom User Control where you do not know if you have a page with update panel you can use the following method to look in the page for the update panel VB.NET   Public Shared Function FindCondtrolOfType ( ByVal controls As List ( Of Control ) , ByVal t As Type, ByVal parentControl As Control ) As List ( Of Control )    For Each c As Control In parentControl. Controls     If c. GetType ( ) . Equals ( t ) Then     controls. Add ( c )     End If     If c. HasControls Then     controls = FindCondtrolOfType ( controls, t, c )     End If    Next  ...

Updating your custom assembly (user control)

When updating your custom control in your bin folder to a newer version, I got an error that Type is not defined. Solution: Edit your project file (in notepad++ or similar) and update your version number to the one corresponding to your latest version. <Reference Include="assembly.name, Version=1.1.0.0, Culture=neutral, processorArchitecture=MSIL"> This will allow the project to compile again. Hope this is of any help.

Eircom Advanced Customer Support

Image
Having Broadband with Eircom is a challenge in time. Recently there have been problem with the connection, where web sites and surfing has been quite difficult. Pages not loading, pages not found, or sudden loss of connection. When reading a comment on facebook, pointing out the change of DNS IP, would give better stability. Investigating this issue, I found on the Eircom Support pages that there has been an issue. This is quite helpfull, but there is not date on the post and no status update for the situation. Would be useful with dates and updates, and also maybe a link to a technical blog where the situation is better explained. With the price you pay for Eircom Broadband, they should be able to provide better customer service (proactive behaviour) and extra services (like 3 month free (an evaluation version everyone can get) for Norton Anti-Virus is a good offer (what do you do when the evaluation period expires). Update July 30th: Finally at Sun 26th of July we received this noti...

Michael Jackson - R.I.P

Micheal Jackson has passed away aged 50. I wanted to write my little tribute to the King of Pop. There is such a wast pool of quality music that has influenced many artists, and been played all over the world for all sorts of occasions. The legacy that MJ leaves behind is enormous and very impressive. The Bad album was the first real experience I got with MJ, with the cool dance moves inside the LP cover and filled with great tracks. Since then the songs have always been played and enjoyed, from the Jackson 5 songs and onwards. The music is greatly enjoyable. Whatever personal challenges MJ had, the is no questions about his music to be influential, trendsetting and innovative. Michael Jackson legacy will live on for many years to come. MJ music has written history, and will never be forgotten. King of pop has passed away, but his music will be heard and make us remember him and create joy for many future generations.

The Complex og Scientologer

I Dagbladet kan vi lese on at Hank von Helvete er destruktiv og farlig . Debatten dreier seg om Kaja Ballo årsak til selvmord etter å ha gjennomført personlighets test av scientologer. En ny bok om The Complex av John Duignan, kan man på side 313 lese om denne hendelsen. John Duignan var scientolog i over 20 år og har lang erfaring om hvordan denne organisasjonen fungerer. At Hank von Helvete er på korstog mot psykriatere, bare forsterker det at han er under sterk innflyteste av scientologer. Det er nok mer til denne historien enn hva man leser i denne artikkelen. At Hank von Helvete og Trygve Haug prøver å distansere seg fra Scientolog organisasjonen er nok bare et forsøk å avvepne situasjonen [1] . Se også videoen der Tom Cruise gjor "god" reklame for Scientologene. ** 9 oktober 2009 ** Vi kan igjen lese at Hank von Helvete følger Scientologenes forskrifter. I VG artikkel får vi lese at Citizens Commission on Human Rights (CCHR) som igjen er kjøp og betalt at Scientologi ...

The Red Arrows Air Display - Galway 2009

Image
The Red Arrows Air Display took place in Salthill, Galway May 30th, 2009. The weather was fantastic and a lot of people showed up and made the event a really successful one. See pictures here. Red Arrows Air Show

Halshogget og Galgeutstilit

I en artikkel i Dagbladet kan man lese at en man har blitt halshugget og deretter utstilt på galgen. Dette er en grusom måte å avskrekke andre fra å begå lignende handlinger. I Norge har ikke en slik metode vært benyttet siden 1830-tallet [1] . Kom igjen Saudi-Arabi og vis at dere er i samme tid som den vestlige verden lever i. Les også om den kjente hode avhoggeren i Saudi-Arabi