Tags » Ben

You're The One That I Want by Giovanna Fletcher

You’re The One That I Want by Giovanna Fletcher

Blurb:

Maddy, dressed in white, stands at the back of the church. At the end of the aisle is Rob – the man she’s about to marry. 303 more words

Books

ESCAPE THE DARK campaign is underway

We did it. It happened. The campaign is live.

I almost threw up before clicking “launch.”

Check it out HERE.

(the campaign, not me almost throwing up)

Ben

Ben: I think he’s in Norway right now…I follow him.

MVC Model is null in HTTPOST

There’s a number of questions about this already, but despite looking over quite a few of them I’m having trouble seeing where the problem is here. 321 more words

Stackoverflow

checking if an ODBC DSN exists?

I’ve been using the registry to check if a given DSN exists using the code:

private const string ODBC_INI_REG_PATH = "SOFTWARE\\ODBC\\ODBC.INI\\";
public static bool DSNExists(string dsnName)
{
    var sourcesKey = Registry
        .LocalMachine.CreateSubKey(ODBC_INI_REG_PATH + "ODBC Data Sources");
    if (sourcesKey == null) 
        throw new Exception("ODBC Registry key for sources does not exist");
    string[] blah = sourcesKey.GetValueNames();
    Console.WriteLine("length: " + blah.Length); //prints: 0
    return sourcesKey.GetValue(dsnName) != null;
}
… 41 more words
Stackoverflow

checking if an ODBC DSN exists?

I’ve been using the registry to check if a given DSN exists using the code:

private const string ODBC_INI_REG_PATH = "SOFTWARE\\ODBC\\ODBC.INI\\";
public static bool DSNExists(string dsnName)
{
    var sourcesKey = Registry
        .LocalMachine.CreateSubKey(ODBC_INI_REG_PATH + "ODBC Data Sources");
    if (sourcesKey == null) 
        throw new Exception("ODBC Registry key for sources does not exist");
    string[] blah = sourcesKey.GetValueNames();
    Console.WriteLine("length: " + blah.Length); //prints: 0
    return sourcesKey.GetValue(dsnName) != null;
}
… 41 more words
Stackoverflow

MVC Model is null in HTTPOST

There’s a number of questions about this already, but despite looking over quite a few of them I’m having trouble seeing where the problem is here. 196 more words

Stackoverflow