What’s going on?

Nothing! That’s the problem around here! I’m working hard on pushing out uStreamer v2. I’ve put somethings on the back burner. I’ve got a new website that I’m working on. If you are a member here you’ll here it about it in a newsletter. I’ll be doing an interview with a few of the more famous bloggers this month and will be working directly with Joost again. That’s it! Pretty boring around here the last month but plan to spice things up a bit.

Popularity: unranked [?]

uStreamer V1.1 Preview

ustreamernew 299x300 uStreamer V1.1 Preview

Check back later for a download link. Maybe tomorrow around noon.

Popularity: unranked [?]

Yoast – Win a Macbook Air!

I’ve come across a site that is having a competition with the prize of a Macbook Air! The contest is simple with simple rules and anyone can enter. Check it out here!

The plugin has to help in making a great holiday site, so it can also be a plugin that can work “stand-alone” without SunPress. It has to work alongside SunPress though (so no conflicts), and has to be written specifically for this competition.

Popularity: unranked [?]

uStream Wrapper

I’ve been working on a few uStream.tv applications using the .NET framework. I noticed there are alot of people that are confused on the uStream API provided. I’ve taken it upon myself to wrap the API in a nice and easy to use library. The library is written in C# and VB. I did this so there could be a broader range of use. The wrapper will make use of the entire API and proved comma dilemited or XML results.  I plan to release this soon. This also goes hand-in-hand with my uStream Viewer application.

Popularity: 6% [?]

VB.NET 2008 & Shockwave Flash

Alot of people are wanting to embed flash object,movies or video streams into thier applications these days. I’m going to show some examples and tips & tricks of using the Shockwave Flash object and namespace. VB.NET and the Shockwave object can be very powerful. I’ve used it in several applications including my ‘uStreamer” viewer application.

First things first. Right click on your toolbox and click “Choose Items”. Scroll down and choose the Shockwave Flash Player Object. From your toolbox add a Shockwave Flash control to your form.

To load a movie use the following code. You can specify a url or path using the ‘LoadMovie’ modifer. The first variable, 0, specifies the layer. The layer is not that important to us in the sense of coding with the control. Use the layer ‘0′.

AxShockwaveFlash1.LoadMovie(0, "yourmovie.swf")

The ‘AllowFullScreen’ modifier comes in handy when dealing with movies that try to take over and go fullscreen. You can choose from boolean True/Flase.

AxShockwaveFlash1.AllowFullScreen = True

The ‘StopPlay’ modifier is used to stop the current play state. This is not the same as the ‘Stop’ modifier. Using ‘Stop’ will cause the control to stop it’s current process. Using ‘StopPlay’ will stop the current movie as the current frame.

AxShockwaveFlash1.StopPlay()

Popularity: 34% [?]

INI Handling Using VB.NET 2008

Private Declare Ansi Function GetPrivateProfileString Lib "kernel32.dll" Alias "GetPrivateProfileStringA" (ByVal lpApplicationName As String, ByVal lpKeyName As String, ByVal lpDefault As String, ByVal lpReturnedString As System.Text.StringBuilder, ByVal nSize As Integer, ByVal lpFileName As String) As Integer
    Private Declare Ansi Function WritePrivateProfileString Lib "kernel32.dll" Alias "WritePrivateProfileStringA" (ByVal lpApplicationName As String, ByVal lpKeyName As String, ByVal lpString As String, ByVal lpFileName As String) As Integer
    Private Declare Ansi Function GetPrivateProfileInt Lib "kernel32.dll" Alias "GetPrivateProfileIntA" (ByVal lpApplicationName As String, ByVal lpKeyName As String, ByVal nDefault As Integer, ByVal lpFileName As String) As Integer
    Private Declare Ansi Function FlushPrivateProfileString Lib "kernel32.dll" Alias "WritePrivateProfileStringA" (ByVal lpApplicationName As Integer, ByVal lpKeyName As Integer, ByVal lpString As Integer, ByVal lpFileName As String) As Integer

    Dim sFile As String

    ReadOnly Property FileName() As String
        Get
            Return sFile
        End Get
    End Property

    Public Function GetString(ByVal Section As String, ByVal Key As String, ByVal [Default] As String) As String
        Dim nCharCount As Integer
        Dim oResult As New System.Text.StringBuilder(256)
        nCharCount = GetPrivateProfileString(Section, Key, [Default], oResult, oResult.Capacity, sFile)
        If nCharCount > 0 Then
        End If
        GetString = Strings.Left(oResult.ToString, nCharCount)
    End Function

    Public Function GetInteger(ByVal Section As String, ByVal Key As String, ByVal [Default] As Integer) As Integer
        Return GetPrivateProfileInt(Section, Key, [Default], sFile)
    End Function

    Public Function GetBoolean(ByVal Section As String, ByVal Key As String, ByVal [Default] As Boolean) As Boolean
        Return (GetPrivateProfileInt(Section, Key, CInt([Default]), sFile) = 1)
    End Function

    Public Sub WriteString(ByVal Section As String, ByVal Key As String, ByVal Value As String)
        WritePrivateProfileString(Section, Key, Value, sFile)
        Flush()
    End Sub

    Public Sub WriteInteger(ByVal Section As String, ByVal Key As String, ByVal Value As Integer)
        WriteString(Section, Key, CStr(Value))
        Flush()
    End Sub

    Public Sub WriteBoolean(ByVal Section As String, ByVal Key As String, ByVal Value As Boolean)
        WriteString(Section, Key, CStr(CInt(Value)))
        Flush()
    End Sub

    Private Sub Flush()
        FlushPrivateProfileString(0, 0, 0, sFile)
    End Sub

within my code I use the following to write a to a [setion] key=value

Dim objIniFile As New IniFile("your file path\yourfile.ini")
objIniFile.WriteString("Section name", "Keyname", "your value as string")

‘to read from a [section] key=value

Dim objIniFile As New IniFile("your file path\yourfile.ini")
Dim boolData As Boolean = objIniFile.GetBoolean("your Section name" "yourkey",True)

Popularity: 6% [?]

MySQL & .NET

While coding up an application I’ve been working on I thought about incorporating MySQL to track usage, users and registrations. However, I realized I didn’t know the first thing about MySQL. Of course I use Wordpress, but thats just upload, click, install! So here I am with a complete clientside registration, user and tracking system and no idea how to send it to my MySQL database! So anyway, I’ve decided to brush up on MySQL and using it with .NET. I plan on releasing a few tutorials to simplify the use and help the beginners out there.

Popularity: 1% [?]

COD4 Server Manager (Xtreme Rcon)

Ok folks, Beta 1.1 is ready for download. You can donwload it to the left of this post. If you do not have a BETA PASSWORD you must email me: dremation@gmail.com for a password. Otherwise, this beta will not function. Have fun and enjoy the new release.

Popularity: 11% [?]

Update

Ok, so I’ve been busy with the site as you can see. It’s got a whole new theme. I’m still working on it a little but plan on working on www.semogeeks.com all day today. I’ve also got some updates on my COD4 Manager. I’ve been able to implement several must have features that no other manager has been able to accomplish yet. 

1. In-Game Admin Menu
2. PBBans Intagration

So check back tomorrow for more information.

Popularity: 1% [?]