Tuesday, November 23, 2010

What Kind Of Weave Does Myammee Use

Denali - The next SQL Server

the next CTP 1 SQL Server (11) Code Name "Denali."
For the curious can go see what's next from here . Do not use this

production, arm yourselves and test a virtual typewriter!

Saturday, October 30, 2010

Wards Ap Biology Lab 10

Service Pack 1 Release Candidate for Windows Server 2008 and Microsoft Windows 7

From Windows Server blog announced the 26/10/2010 which is available SP1 RC Windows Server 2008 and Windows 7.

The announcement itself is the main site dedicated to Microsoft Windows Server and you can find more information about this SP1 from your own site .

Updates In addition to highlighting new features like RemoteX and Dynamic Memory.

expected the final version of SP1 for the first quarter of 2011.

Friday, October 22, 2010

Diagram Old Sailboats

WebsiteSpark

Or how to get free software and support (or nearly so, in fact). The Redmond company has launched a program called Microsoft WebsiteSpark , which allows small companies or individual developers to access and support software free for a period of 3 years.

actually be paid a sum of u $ s 100 to meet the deadline of 3 years or to withdraw from the program. Even if the individual or the company are removed before the first 6 months this cost should not be paid.

software that can be accessed is:

for development, testing and demonstrations:

-Visual Studio Professional
"Expression Studio (1 user) and Expression Web (maximum 2 people)
-Windows Web Server 2008 R2
-SQL Server 2008 Web Edition

For production:

-Windows Web Server 2008 R2
-SQL Server 2008 Web Edition

Not bad to start huh?


Another advantage offered by this program is to enlist in a directory of Network Partners with the consequent possibility of contact with other individuals or business firms.

And after the 3 happy years? Not everything is finished. After this period can be accessed SPLA type contracts, an excellent choice of entry.

Entrepreneurs, to his own.

Saturday, October 16, 2010

Should You Shower Before Waxing

here

After a long time to look at it sideways and I have decided to escape from shun no more. PowerShell
llgó to stay and will be with us a few years so you better start making friends.
For now leave a link:

Windows PowerShell Owner's Manual

And hence I recommend starting by the beginning .

Yes, I know. The material is old, is based on PowerShell 1.0, etc, but this explained in a very entertaining and a good introduction to working methods in PowerShell.

Another place to get resources:

Scripting with Windows PowerShell

More developments in the next newsletter.

Friday, August 13, 2010

What Is The Best Kind Of Weave

PowerShell Dual Booting Windows 7 - Windows Vista

Since Windows Vista will change the old boot.ini file to configure the BCD boot. Its configuration is more complete and somewhat more complex than previously.

As always we have several ways to edit this file. Two of them are the command line (Windows Vista and 7 bring bcdedit) or a GUI application with third parties.

The path of the command line

started a console by clicking the Start button in the text box "Search programs and files" cmd write. No do not give Enter yet. Where are you going, hurry .. :) If I started doing a console with low privileges will not serve us. If you look there will be featured in the Main program icon console commands. There you right click on the shortcut menu and click "Run as administrator."

Now if you have an elevated console you used to run BCDEDIT . For that, you type BCDEDIT and give ENTER. You will see a list of all entries in the bootloader.

I left a link to investigate a little more.

The GUI comforting

Now. The command line is very interesting, very powerful and makes you feel good when things go as you want. But it is also very dangerous ... :)

also why I recommend you if you want results fast and (relatively) safe Easy BCD. This application can download it here and allows you to edit the BCD lidear without the command line.

is a simple and intuitive interface. The options are you most interested BCD Backup / Repair (will not go to edit the boot without making a backup before, no?). View Settings to see how this being the thing and Edit Boot Menu with an intuitive interface that lets you rename or delete entries, Choose the OS by default and the time during which to display the start menu.

There is much more to see in this topic but I just gave you the basics as you have a multi boot operating systems installed on your machine.

Monday, July 5, 2010

Software Da Philips 7130

Since filtering a datetime field in my query as a parameter having a single date in SQL Server

We have a table that other fields also included the date, but it turns out that we have declared a data type "DateTime" and that by default when creating or editing the registry, this field also includes the time , minutes, seconds and milliseconds (08/06/2007 12:23:56.234) which was updated.

This can be a headache when performing a search in which we as a criterion for selecting the date field, and usually parameterize filter or different format and date: Select * from WHERE date purchases = '08 / 06/2007 '. And the result would be: Damn, I have no records.

Well I bring you a simple solution by means of a function made in SQL Server where you can filtrais no more trouble than run:

CREATE FUNCTION [dbo] . [CONVERT_FECHA_SIMPLE]

(

@ DATE DATETIME

)

RETURNS SMALLDATETIME

AS

BEGIN

RETURN CAST ( CONVERT (varchar , @ DATE, 103 ) AS DATETIME )

END


Well, after this code, here deberais only thing you do in your stored procedure which will make the long-awaited consultation is call the function from the field convert_fecha_simple criterion, so, you look:

Shopping Select * from dbo.convert_fecha_simple WHERE (date) = '08 / 06/2007 '

Friday, July 2, 2010

Recorder Ocean City,md

Perform a search in a table for each of its columns in SQL Server data

In our form we are vb.net idea of \u200b\u200bshowing a list or a grid results in a specific search of the records in a table and it would have to filter out keywords based on your type of columns they contain.

This could be very useful for those using one or a few tables in SQL Server to locate the desired records and also for those who want to show the results using a single criterion and not complicated a host of specific controls for each word or key data.

All this adds up to make a stored procedure in SQL Server in which OJO! only will the example procedure in which data would be stored and the alias name of the assigned columns in the tables or queries which will search the records, and is obvious that apart and you will have a procedure or view in the which shall consult the records.

Code in SQL Server:

CREATE PROCEDURE SP_COLUMNAS_TABLA

@ TABLE VARCHAR (20 )

AS

BEGIN

- Create a temporary table which stores NAMES OF THE COLUMNS AND CHOOSE ALIAS FOR EACH TABLE

DECLARE @ TABLA_COLUMNAS TABLE (COLUMN varchar ( 50 ) DESCRIPTION varchar (50 ))

SET NOCOUNT ON

DECLARE @COLUMNA AS VARCHAR ( 50 )

DECLARE @ARRAY_COL AS NVARCHAR ( 500 )

DECLARE @DESCRIPCION AS VARCHAR ( 50 )

DECLARE @ ARRAY_DES AS NVARCHAR (500 )

IF @ TABLE = 'PEOPLE' BEGIN

SET @ ARRAY_COL = 'COD_PERSONA, NAME, FECHA_NACIMIENTO, '- NAMES OF THE COLUMNS IN THE TABLE1 WE WANT FILTER IN THE SEARCH, THIS BOARD MIGHT HAVE oviously more columns, JUST SELECT WE WANT THE SHOW

SET @ ARRAY_DES = 'CODE, NAME, DATE OF BIRTH,' - ALIAS COLUMN IN ORDER FOR THE NAME OF THIS FORM DESCRIBE THE TIME TO SHOW IN A FORM OF CONTROL

END

IF @ TABLA = 'CIUDADES' BEGIN

SET @ARRAY_COL = ' COD_CIUDAD,NOMBRE,'

SET @ARRAY_DES = 'CODE, NAME,'

END

- you can even choose more columns in a table consultation


IF @ TABLE = 'CIUDAD_PERSONAS' BEGIN

SET @ ARRAY_COL = 'CIUDADES.NOMBRE , PERSONAS.NOMBRE '

SET @ ARRAY_DES = ' CITY, PERSON, '

END

WHILE LEN ( @ARRAY_COL ) <> 0

BEGIN

SET @COLUMNA = SUBSTRING ( @ARRAY_COL , 0 , CHARINDEX ( ',' , @ARRAY_COL ))

SET @ARRAY_COL = SUBSTRING ( @ARRAY_COL , CHARINDEX ( ',' , @ARRAY_COL , 0 )+ 1 , LEN ( @ARRAY_COL ))

SET @DESCRIPCION = SUBSTRING ( @ARRAY_DES , 0 , CHARINDEX ( ',' , @ARRAY_DES ))

SET @ARRAY_DES = SUBSTRING ( @ARRAY_DES , CHARINDEX ( ',' , @ARRAY_DES , 0 )+ 1 , LEN ( @ARRAY_DES ))

INSERT INTO @TABLA VALUES ( @COLUMNA , @DESCRIPCION )

END

SELECT * FROM @ TABLA_COLUMNAS

END


But if you are from what is not want to complicate even more with this code, and want a Porrasa all columns in a table and all the user chooses to filter the search field then I recommend using this code in SQL Server:

Select name from syscolumns WHERE id = object_id ( 'table_name' )


Well here it is clear that will not put the code vb.net to invoke this procedure and make the search string, it is up to each developer, here only gave them an idea of \u200b\u200bhow they could solve in a practical way the search in a specific table or query. The search filter would be more or less like this:


How To Lay A Floor In A Boat

Remember username and password login in a practical way


infatuated
Sometimes we are looking for an effective and reliable solution to our application to establish functional attributes that we miss the idea of \u200b\u200ba practical solution rather simple. For example one of these would be the attempt to attribute to our form login remember our ownership of data if they wish.

had investigated several articles in which by the grace of St. google I ran into types and delivering asking you to work with coockie, yes, that archivito in text format that is indispensable for those who have not the slightest time to re-enter your user details to access your favorite site. However, if such insurance will not vb.Ne code that you permitais estois t attributes, but it's too tedious to be referencing libraries and writing code that may never will understand, so I oz say do not complicate life and develop your own coockie with the following example in vb.Net :

Private Sub Btn_Aceptar_Click ( ByVal sender As System.Object, ByVal e As System.EventArgs ) Handles Btn_Aceptar.Click

Const RutaCockie As String = "C: \\ cockie.txt"

If ChkRecordar.Checked = True Then 'activate the check if we save the data file texo

Dim sw As New System.IO.StreamWriter (RutaCockie)

sw.WriteLine (Txt_NomUsu.Text)

sw.WriteLine (Txt_ClaUsu.Text) 'well you have no doubt the key coded or otherwise any cat could investigate the Cockies curious and watch the absurdity of your password: porsiempretuyo123

sw.Close ()

Else

If IO.File.Exists (RutaCockie) Then

My . Computer.FileSystem.DeleteFile (RutaCockie) 'I recommend you delete the file if you have saved before and now regret oz to it first if the file comprobareis existeis

End If

End If

End Sub

Private Sub Form1_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load

Const RutaCockie As String = "C: \\ cockie.txt" 'may be another route, curse you desire, all the rights of free expression will take shelter

If IO.File.Exists (RutaCockie) Then 'if file exists, it means that guardastes coockie data in each line and read the text data

ChkRecordar.Checked = True

Dim sr As New System.IO.StreamReader (RutaCockie, True )

sr.ReadLine Txt_NomUsu.Text = 'read the first line where I would be the name user in that order because it should've saved

Txt_ClaUsu.Text = sr.ReadLine 'Leea the second line

sr.Close ()

End If

End Sub

What Kind Of Weave Does Myammee Wear

vb.Net Why does my file downloaded from my FTP server is not saved in the folder you create from my application in vb.Net?

These compiling your application in vb.Net to download files from FTP server and all leaves you perfectly, that is, connect to the FTP Server, your downloaded file is saved in the folder you've assigned from source in the path of your application by default, ie "c: \\ Program Files \\ My Application \\ FTP Files \\ file.doc. " Suddenly, you go to another machine, install your application to test (As you have to brag) and you realize that your downloaded file that supposedly does not appear in the folder you want what happened?

The reason for this little problem?: To be honest I'm not sure but it appears that this is the Windows permissions as these folders are special and can not be altered from a source other than the user's direct actions same as save, delete, modify files (which contain) from the inside, on the contrary because we want to alter from an intermediate source using our application, we would need a special code that allows us to do just these actions within folders in question.

Gentlemen, I would recommend the following: Avoid downloading in a direction which may include operating system folder (Windows, Program Files, My Documents, etc), commonly (I assume) would for example "c: \\ Program Files \\ My System \\ FTP Files \\ file.doc "because it could cause an error or at least show no error ! but instead not save the file! (What happened in my case), so avoid it and do not complicate, I suggest you save it to another drive or eg "C: \\ Archid FTP." O If you get some code or property that allows us to perform these actions please share them man!, much better if publicais our blog, your alternative solution.

Here I leave the code to guide vb.Net:


Dim filepath As String

'If the folder where we want to keep our files not created, because they believe, what we as

If Not Directory.Exists ( "C: \\ FTP" ) Then

Directory.CreateDirectory ( "C: \\ FTP" )

End If

filepath = "c : \\ FTP Files \\ archivodescargado.doc "


'important, it is necessary to check if the file already exists to open or run (if that's your intention) directly and not send another Once the download request FTP server

If Not File.Exists (filepath) Then

Try

DescargarArchivoFTP (filepath, "archivodescargado.doc" ) 'Click here for the procedure in which the file download

Catch ex As Exception

MsgBox(ex.Message)

Exit Sub

End Try

End If

End If

Try

System.Diagnostics.Process.Start (filepath) 'if your intension is to open the file oejecutar

GrabarEstado ()

Catch ex As Exception

MsgBox (ex.Message)

End Try

Wednesday, June 30, 2010

What School Did Myamee Go Tofam U

Load data from an XML file in VB.Net

If you're one of those guys who do not want life difficult trying to store in a database each parameter that was presented derrepente to initialize the application that opens the doors of your system, as I have here a practical solution in VB.net using file XML boot, maybe the term you paresca strange but it's not complicated if you only want to initialize only values \u200b\u200bin a form whatsoever, and here is the solution: Just just place the following code into a file text and change its original extension (. txt) and XML for this to become as such, or perhaps have been more inquisitive and I have noticed that there is a section in the versions of VB.Net to create this file: Menu Project -> Add New Data Element ...--> ---> XML File




XML:


< companies >

< company name = " EMPRESA1 " bd =" BD_ EMPRESA1 "/>

< company name = " EMPRESA2 " bd = " BD_ EMPRESA2 "/>

< company name = " EMPRESA3 " bd = " BD_ EMPRESA3 " />

< company name = " EMPRESA4 " bd = " BD_ EMPRESA4 "/>

companies >


VB.net Code :


Dim _dsdetalle As DataSet 'I have decided to fill the xml data in a data set in the first instance as this me serve to link or fill in the data after a certain combo that eleji to display the information contained in the xml

Private Sub FRM_Load ( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load

Dim Xml As XmlDocument

Dim NodeList As XmlNodeList

Dim Node As XmlNode

Dim _DS As New DataSet

LlenarDS()

Try

Xml = New XmlDocument ()

XML.load (Application.StartupPath & "\\ Inicio.xml " ) 'eye this is the address of the folder where you run the program (software, application, system, etc) because that is where prinicipal I have kept Inicio.xml



NodeList = Xml.SelectNodes( "/empresas/empresa" )

For Each Node In NodeList

Dim rw As DataRow = _dsdetalle.Tables (0). NewRow

rw ( "razon_social" ) = Node.Attributes . getNamedItem ( " name " ) . Value

rw ( "bd" ) = Node.Attributes . GetNamedItem ( "bd" ). Value

_dsdetalle.Tables (0). Rows.Add (rw)

Next

CboEmpresa.DisplayMember = "razon_social"

CboEmpresa.ValueMember = "bd"

CboEmpresa.DataSource _dsdetalle.Tables = (0)

Catch ex As Exception

MsgBox(ex.GetType.ToString &amp; vbNewLine &amp; ex.Message.ToString)

Finally

Console.Read()

End Try

End Sub

'We shape our dataset in a separate thread that links your content to the combo

Private Sub LlenarDS ()

_dsdetalle = New DataSet

_dsdetalle.Tables.Add(0)

With _dsdetalle.Tables(0).Columns

.Add( "razon_social" , System.Type.GetType( "System.String" ))

.Add( "Bd" , System.Type.GetType ( "System.String" ))

End With

End Sub