Enable Javascript debugging in Silverlight application

Programming

If you want to debug your Javascript code using Visual Studio in a Silverlight application you have to uncheck the ‘Silverlight’ checkbox under your website ‘Propertie’s section. You cannot debug both at the same time according to msdn.

No Comments »

VS 2008 Beta 2 - Installer Error

Programming

VS 2008 Beta 2 Error

1 Comment »

What I’ve learned today: C# .NET Generic Constraints

Programming, What I've learned today

Constraints list on MSDN.

Using example - create an instance of an object that must have a public parameterless constructor:

public class ObjectFactory<T> where T : new()
{
    public static T CreateObject()
    {
        return new T();
    }
}

Advantage: specifying a class that does not provide a default constructor will now generate a compile time error.

No Comments »

Free WPF Themes

Programming, Tools

When I first time interacted with Expression Blend I liked a lot it’s theme. Now I finally found it’s clone made by Hadi Eskandari:

Other themes:

Rudi Grobler WPF Themes (New - based on the new Silverlight 2.0 themes)

Expression Blend WPF theme - Source code

Silverlight controls skins

ASP.NET 3.5 Grouping Grid Skins

Note:

  • .NET 3.0, Visual Studio 2008 needed
  • I’ll update this post on the run with new free themes (maybe some day with a personal one)

1 Comment »

WPF iPhone Checkbox

Programming

Finally I bought myself an iPhone - super cool device. As you probably know, I’m an User Interface guy and I admit that what I like the most at the iPhone is the UI, so I started to replicate it on WPF (rocks). The first control developed in WPF is the CheckBox:

Unchecked state:

OffState

Checked state:

OnState

Download ResourceDictionary (source code)

Download Demo Application + source code

Download executable

I’m not such a good designer but hope you like it.

No Comments »

Verset Biblic Zilnic (Daily Bible Verse) - update

Church Software, Programming, Uncategorized

In ultimile zile am devenit foarte productiv :D - un nou update. Datorita faptului ca serverul din SUA a cazut, am fost nevoit sa reconfigurez intreaga aplicatie. Am trecut pe un server personal iar versetele vor fi puse chiar de mine, deocamdata. Pe langa schimbarea serverului am facut si cateva imbunatatiri:

  • se poate modifica locatia ferestrei pe ecran
  • se poate modifica marimea ferestrei
  • modificarile sunt salvate (marimea ferestrei, locatia ferestrei, limba utilizata)
  • alte imbunatatiri, bug-uri fixate

DailyBibleVerse

Download .NET Framework 3.0

Download Verset Biblic Zilnic

2 Comments »

Live Presentation: bug fix-uri

Church Software, Programming

Incet, incet s-au adunat cateva bug-uri. Pana acum le-am fixat pe urmatoarele:

    • ordonarea cartilor dupa ordinea existenta in biblie
    • la "mouse over" pe anumite controale nu se activa click-ul pe acel control
    • reactualizarea numarului de capitole si versete in anumite situatii
    • adaugarea unui element vizual (grip) care indica locul de unde se poate face resize la fereastra principala
    • schimbarea culorii referintei
    • in anumite situatii fereastra de prezentare aparea pe primul ecran chiar daca era setata sa apara pe al 2-lea ecran
    • suport pentru procesoarele pe 64 bit
    • alte bug-uri minore :D

Multumesc celor care mi le-au raportat!

Download .NET Framework 3.5 - daca nu-l ai deja instalat

Download Live Presentation

2 Comments »

Live Church Presentation

Church Software, Programming

In sfarsit, noua versiune a aplicatiei Live Bible Presentation este gata. Defapt, m-am decis sa redenumesc aplicatia in Live Church Presentation deoarece in prezent aplicatia ofera si posibilitatea de a prezenta TEXT iar pe viitor m-am gandit sa introduc si suport VIDEO.

Am adaugat in noua versiune urmatoarele functionalitati:

  • textul bibliei si in LIMBA ENGLEZA (traducerea King James, American Standard Bible)
  • dialogul de “Settings” (Setari) este acum situat pe fereastra principala pentru a facilita accesul rapid la setari, mai ales in timpul prezentarii
  • pentru schimbarea culorii textului selectat, cel din fereastra de prezentare, in dialogul de “Settings” am adaugat o noua setare: “Selected Color Text” (Culoarea textului selectat)
  • cautare de text - atentie la diacritice
  • ingrosare, subliniere, aplecare, schimbarea culorii textului selectat din fereastra de prezentare se poate face mergand cu mouse-ul in partea de jos a ferestrei de prezentare, unde va aparea o bara de butoane
  • titlul cartii din biblie apare acum doar o singura data pe pagina
  • fereastra principala se poate redimensiona din coltul dreapta jos
  • dupa cautarea unui text in biblie puteti afisa versetele in fereastra de prezenatare apasand referinta versetului (Ioan 3:16)
  • s-au corectat in textul bibliei anumite greseli de ortografie
  • multa lume a solicitat afisarea doar in fereastra principala a urmatorului verset care urmeaza sa fie afisat in fereatra de prezentare - exista acum si functionalitatea aceasta
  • Fereastra principala cu textul biblie in limba engleza

    Fereastra principala

    Fereastra principala cu textul biblie in limba romana

    Fereastra principala

    Fereastra de prezentare

    Fereastra de prezentare

    Foarte, foarte important!!!

    Pentru a creste performanta aplicatiei, am trecut pe .NET Framework 3.5. Deci, chiar daca aveti o versiune mai veche a aplicatiei.. este obligatorie instalarea .NET Framework 3.5.. Pentru instalare e necesar sa aveti conexiune internet. Daca aveti sugestii, trimiteti-mi un mail: cornel_gav@yahoo.com

    Download .NET Framework 3.5

    Download Live Presentation

    3 Comments »

Sticky Notes

Programming, Uncategorized

A month ago I started to learn Net Framework 3.0 so I decided to develop a WPF application very easy to use that stores notes (Sticky Notes). It lets you take notes and find notes.

*WPF is a new and powerful technology which can deliver great User Experience. My conclusion: WPF is fun.

My application requires the Microsoft .NET Framework 3.0 to be installed on Windows XP. If you do not have it installed, or do not know if you have it installed, use this link to run the framework setup before using the Download link to install Sticky Notes.

If you have some suggestions please leave a comment.

Sticky Notes

Download .NET Framework 3.0

Download Sticky Notes 2.0

4 Comments »

Live Bible Presentation

Church Software, Programming, Uncategorized

It’s been some time since I’ve written an article, blog, post or whatever you’d like to call it and I’m glad that finally I can present you my latest application called Live Bible Presentation - beta version. It toked me some time to implement it because the changes of plans, other projects, family problems :( and of course… my job.

Live Bible Presentation is a church presentation software. It was made because in my church we don’t have one and I started to think of a way to easily display bible verses “on the wall”. This can be used by utilizing a video graphics card with multiple outputs. One video signal is sent from the first output to the working monitor at the computer. The second output is sent to the projector and to the congregation. This allows the operator to control all aspects of the service and only show the congregation what they need to see.

I need you to remember that it’s in beta version (the first version released outside the organization or community that develops the software, for the purpose of evaluation or real-world black-box testing). So, if you think that it needs some improvements or if you find any bugs please don’t keep it to yourself, leave a comment or send me an e-mail.

Live Bible Presentation features:

  • supports changing
    • background image
    • font size
    • verses/page
    • video output
    • live window size and location (when using multiple displays)
  • bible text only for romanian language
  • runs only on Windows XP + SP2 with .NET Framework 3.0 installed, Windows Vista.

Screenshots

Main Window

untitled.PNG

Settings Window

untitled2.PNG

Live Window

untitled3.PNG

Download .NET Framework 3.0

Download Live Bible Presentation Beta

3 Comments »
Entries RSS Comments RSS Log in