Archive for July, 2006

Hello World - Python application for Windows with Tk.

from Tkinter import *
root = Tk()
w=Button(root,text=”Pooooooi!”)
w.pack()
root.mainloop()

VN:F [1.1.6_502]Rating: 0.0/5 (0 votes cast)

Leave a Comment

VBA - Connect SQL Server from Excel

Private Sub CommandButton1_Click()
Set con = CreateObject(”adodb.connection”)
Set rs = CreateObject(”adodb.recordset”)
con.Open “Provider=sqloledb; Data Source=db-serv;Initial Catalog=test; User Id=admin; Password=admin;”
rs.Open “select *from test2″, con
i = 2
Do While Not rs.EOF
[...]

Leave a Comment

SQL Query and DOTNET?

Yes!!! - The LINQ Project - .NET Language Integrated Query
The LINQ Project is a codename for a set of extensions to the .NET Framework that encompass language-integrated query, set, and transform operations. It extends C# and Visual Basic with native language syntax for queries and provides class libraries to take advantage of these capabilities.
http://msdn.microsoft.com/data/ref/linq/
VN:F [...]

Leave a Comment

div and span - visibility example

This sample code demonstates “hide” and “show” SPAN and DIV tags.

test div
This is a span

VN:F [1.1.6_502]Rating: 5.0/5 (2 votes cast)

Leave a Comment

.NET Framework 3.0 Technologies

Get more information on the Microsoft .NET Framework version 3.0 (formerly WinFX) technologies, such as Windows Communication Foundation, Windows Presentation Foundation, and Windows Workflow Foundation.
Windows CardSpace (formerly “InfoCard”):
Windows CardSpace (formerly “InfoCard”) is a Microsoft NET Framework 3.0 (formerly WinFX) component that provides the consistent user experience required by the identity [...]

Leave a Comment

Learn .NET Framework 3.0

The Microsoft .NET Framework 3.0 (formerly WinFX), is the new managed code programming model for Windows. It combines the power of the .NET Framework 2.0 with four new technologies: Windows Presentation Foundation (WPF), Windows Communication Foundation (WCF), Windows Workflow Foundation (WF), and Windows CardSpace (WCS, formerly “InfoCard”). Use the .NET Framework 3.0 today to build [...]

Leave a Comment

SQL Server CURSOR - loop through records

This code demonstates how to loop through records with CURSOR?

DECLARE @mycur CURSOR
DECLARE @test VARCHAR(10)
SET @mycur = CURSOR
FOR
SELECT nummer FROM mytable
OPEN @mycur
FETCH NEXT FROM @mycur INTO @test
WHILE @@FETCH_STATUS = 0
BEGIN
PRINT @test — sample statements
FETCH NEXT FROM @mycur INTO @test
END
DEALLOCATE @mycur

VN:F [1.1.6_502]Rating: 4.1/5 (9 votes cast)

Leave a Comment

MONO for Windows?

Using Mono on Windows

Mono runs on Windows, this page describes the various features available for users who want to use Mono on Windows as well as using Mono-based technologies on Windows without Mono (like Gtk#).
http://www.mono-project.com/Mono:Windows
VN:F [1.1.6_502]Rating: 0.0/5 (0 votes cast)

Leave a Comment

OpenSource and DOTNET???

Yes… Here is some Open Source Content Management Systems (CMS) in C#
ndCMS
DocLib
Go.Kryo
Amplefile
nkCMS
Rainbow
Kodai CMS
umbraco
Cuyahoga
mojoPortal
VN:F [1.1.6_502]Rating: 0.0/5 (0 votes cast)

Leave a Comment

Tips: Rename SQLServer dababase

sp_renameDb olddbname, newdbname

VN:F [1.1.6_502]Rating: 0.0/5 (0 votes cast)

Leave a Comment