Looking for some online I found an interesting article on how to display images in Crystal reports, here is the link to see and try
salu2 Sergio
Looking for some online I found an interesting article on how to display images in Crystal reports, here is the link to see and try
salu2 Sergio
reading around I found this site
http://www.connectionstrings.com/
visit it have connection strings for all types of data sources
& # 160;
salu2 Sergio
Hello
Something that is very interesting and useful is to add to your applications the ability to send emails, so I pass the code that uses a Gmail account to make mailings, the advantage of using gmail is always available because it is free lol, the only care to be taken is to indicate the port right and send SMTP SSL, well there goes the code.
1. Include the following in the source file
Imports System.Net.Mail
2. The code for sending via gmail goes like
'First we set the Parameters to send to gmail
Dim As oSmtp SmtpClient = New SmtpClient
New oSmtp.Credentials = System.Net. NetworkCredential ( "MiCuenta@gmail.com" , "ElSuperPassw" )
oSmtp.Port = 587 'Gmail needs a specific port
oSmtp.Host = "smtp.gmail.com"
oSmtp.EnableSsl = True 'Gmail need to send by SSL
Dim As oMail MailMessage = New MailMessage
oMail.To.Add ( destino1@gmail.com )
oMail.To.Add ( destino2@gmail.com )
oMail.From = New MailAddress ( "MiCuenta@gmail.com" , ", System.Text.Encoding.UTF8)
oMail.Subject = "This mail is ...."
oMail.SubjectEncoding = System.Text.Encoding.UTF8
'----
creation of the post Dims As New System.Text.StringBuilder
s.Append( "bla bla bla bla" & vbCrLf)
s.Append( "bla bla bla bla" & vbCrLf)
s.Append( "bla bla bla bla" & vbCrLf)
oMail.Body = s.ToString
oMail.BodyEncoding = System.Text.Encoding.UTF8
oMail.IsBodyHtml = False
Try
oSmtp.Send(oMail)
Catch ex As System.Net.Mail.SmtpException
msgbox "Error " & ex.Message
End Try
Well that's it, I hope they serve,
Salu2
Hello I've been looking for ways in which to find the folder for the Implementation ; ny finally found several ways to do
Form 1: Using
Reflection, we find the path of the assembly that is running, but that if you take into account that this works Windows applications, web application returns the path to a temporary, which is not the path where the dll is being
Spath = Path.GetDirectoryName (System.Reflection.Assembly.GetExecutingAssembly.Location)
through the class path only extract the asembly directory run the command running
Form 2:
Spath = System . AppDomain.CurrentDomain.RelativeSearchPath
This method works well in web applications that call for the assembly in which you run the command above, but in windows applications not working, why? .. not yet (maybe after you find out) returns null
Forma3:
Spath = System.AppDomain.CurrentDomain.BaseDirectory
This form has an interesting behavior when an application runs on Windows returns the directory where the DLL is running the method, but when tested in an application n Web or a WebService which returns the Web application root
An application for this could be that bald or want to verify the license of your system and it be read a file that has the license key and is hosted in the folder of the DLL that runs the verification method. For that creeen a method in that DLL something like this:
Public
Shared Function Licenciaválida() As BooleanDim sPath As String
sPath = Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly.Location)
sPath & = "\MiFile.txt"
    If Not File.Exists(sPath) Then
     End If
End If
f =
New StreamReader(sPath)return VerificarClave( s_Clave)
That's all for today
Salu2
Sergio
Hello
windowsSomething interesting is the fact 2 clicks with the mouse on a file and this will open the corresponding program, the certainty it from our windows applications is quite easy, really boils down to a single line of code is:
Shell ( "rundll32.exe url.dll, FileProtocolHandler" & ( "c: \\ windows \\ system32 \\ calc.exe" ))
Shell ( "rundll32.exe url.dll, FileProtocolHandler" & ( "c: \\ Milibro. xls " ))
In the 2 examples above there were 2 cases the first to open the windows calculator and the second opens the excel and load it to the book by name MiLibro.xls
This code only have it be placed in a delegate and ready, such as the click event handler of a button as forexample.
Private Sub Button1_Click (ByVal sender As System.Object, ByVal and As System.EventArgs) Handles
Button1.Click Shell (
"rundll32.exe url.dll, FileProtocolHandler " & ( " c: \\ windows \\ system32 \\ calc.exe " ))End Sub
Salu2
Sergio
Daniel Moth, a developer of Microsoft, published a post called 10 points to know about Visual Studio 2008 and. NET framework 3.5 here translate it and add a couple of concepts referred to in the website of Daniel Moth.
1.
Launches VS2008 and. NET framework 3.5 will be officially launched together next February. However, developers will be available in late November 2007. The same types of publishers and versions Expreess ie, Standard and Professional only in the Professional version will include a test module will be available in VS2008 but a new version called VS2008 Shell which will bring new advantages because it is designed exclusively for Vista, now XP seems that began her journey to
withdrawal 2. Backward compatibility
. NET framework 3.5 continues the line started by the framework 3.0 in regard to maintaining the versions that is not changed from the framework libraries 2.0 and all it does is add new assemblies own Framework 3.5 libraries to 2.0 and 3.0 of the framework, current applications will not be affected. Of course, you will need the Service Packs 1 on both platforms.
3. Generation platform (multi rather framework)
Visual Studio 2008 includes the ability to create projects for multiple platforms. NET, ie, 2.0, 3.0 and 3.5, from the same environment. Therefore not necessary to have installed VS2005 to generate assemblies. NET 2.0. With this we can say goodbye to VS2005, we just do not do the same with the VS2003 or 2002 (if still available)
4. Many new features in C # 3.0 and VB9 Properties
automatic delegates "relaxed" , object initializers, type inference, anonymous types, extension methods, lambda functions and partial methods, among others.
most interesting thing is that we can use the new features in the generation of applications for version 2.0
5. LINQ
The new earthquake data handling one of the great revolutions that MS brings to the VS2008. Language Integrated Query is a new way to access the data fully integrated into the language. Net either vb, c # ... etc. The interesting thing is that it is independent of the source they come from the data, the key point is that I think best describes the importance of LINQ (LINQ video A) is that now we can mix different data sources in a query, such diverse origins as collections, XML, BD. According to Daniel is the most important of the new version.
6. Integrated with ASP.NET AJAX!
Visual Studio, and the new framework, and include ASP.NET AJAX and 3 new controls that are ListView, DataPager and LinqDataSource. In addition, the IDE has been improved and includes support for intellisense and debugging Javascripts! (This is a big plus), also now incorporated masterpages nesting.
7. For Windows
VS2008 projects include new project templates, as well as a designer for WPF integrated support for communication between WPF and Windows Forms . Also added support for Firefox ClickOnce technology and XBAP (XAML Browser Applications).
8. For those who develop on office
It offers full support for customizations (customisations) Office 2007 and Office Templates for 2003.
9. Server Developer
have added new templates for WCF and WF for a better work together, now WCF programming model supports SOAP-less HTTP, JSON serialization, a collection of links on these issues here
10. For the mobile developer
There are tons of new features, including support for the compact versions of LINQ and WPF, or, in terms of IDE, Unit Testing for Devices, and many new ideas development team.
11. Framework code
Now we can debug via VS2008 framework methods! This is why MS came up with open source code of the framework, here a link to the topic
Salu2
Sergio
A kilo weight.
History of the metric system in Mexico
Hector Vera
Mexico, Books Beetle-French Embassy, \u200b\u200b
2007, 192 pp.
ISBN 970-5775-29 - X
In 1857 the Mexican government adopted the system metric, making the meter, liter and kilogram in the measures that should govern all business and everyday life. This decision marked the beginning of an odyssey of several decades where the state proposed modernizing the country imposing the measurement system used "the most civilized nations of the world."
A kilo weight. History of the metric system in Mexico universe realizes the old measures were replaced by the metric system, the uphill path that scientists and bureaucrats traveled to convince, teach, or forcing people to use those measures, and how Mexico participated in the globalization of the metric system, now used in all the nations of the world except three: Myanmar, Liberia and the United States - where scientists, industry and governments were responsible to make way for the underground while laying down the foundations of global capitalism and international cooperation bodies.
This is a social history that links measures how people weighed, measured, estimated and realized with material life, politics, science and customs of everyday life.
Index
Prologue. "Liters to liter" p. 11
Introduction. Revolutionary system to the international system, by Jean-Claude Hocquet p. 15
I. With the staff that midas ... The old measures in Mexico p. 41
II. Modern rules: The metric system in Mexico p. 79
III. A world, a measure p. 121
Annex p. 167
p. Glossary 177
183
·
information about the book:
correo@librosdelescarabajo.com.mx
- - - - - - - - -
Colloquium History of measurement systems in Mexico
150
14, 15 and 16 March, Mexico City
March 14, Maison de France ( Havre 15, col. Juárez ) 8 00 pm
inaugural Conference
revolutionary system to the international system. The invention of the metric system and its dissemination. Jean-Claude Hocquet (University Charles de Gaulle)
March 15, CIESAS ( Juarez 222, Tlalpan )
Table I. Old systems of measurement in Mexico
10:00 / 12:00
Aztec measuring systems of land in the valley of Mexico by his paintings. Barbara J. Williams (University of Wisconsin) and Maria del Carmen Jorge and Jorge (IIMAS, UNAM)
measured and told how the ancient Mexicans? Teresa Rojas Rabiela (CIESAS)
measures under the old system: changing weight and price. Virginia Garcia Acosta (CIESAS)
old measures of water. Jacinta Palerm Viqueira and Carlos Chairez (Graduate College)
Table II. Between old and new: the adoption of the metric system
12:15 / 2:15
body Territories and geographical boundaries imprecise. Laura Cházaro (CINVESTAV)
national prototypes of the metric system . Felix Pezet (Cenamo)
How much is little? Weights and measures in the history of Mexican food. Kenya Bello (Instituto Mora) and Claudia Tania Rivera Mendoza (FCPyS, UNAM)
measures of resistance groups and social movements against the metric system. Hector Vera (New School for Social Research)
food 2:30 / 3:30
Mesa
3:45 / 5:45
The Role of National Metrology Centre in strengthening the national metrology . Hector Nava Jaimes (Cenamo)
The history of mathematics, measurement systems and the sociology of risk. José Luis Talancon (EEC UNAM)
Application of the international system of units and measurement system in Mexico today . Motolinía Fernando V. ( CIDESI)
Metrology applied in everyday life . Rosa Noemi Rodriguez Orozco ( CIATEJ )
March 16, Interactive Museum of Economics (Tacuba 17, Centro Historico)
Table IV. Decimal currency in Mexico, 150 years of history
11:00 / 1:00
The decimal currency system: changes in substance and form. José Antonio Batiz Vazquez (Banamex Historical Archive)
The meaning and importance of the adoption of the decimal weight in Mexico in the nineteenth century. Inés Herrera (National Institute of Anthropology and History)
Weight: account unit monetary unit in Mexico. Christopher Diaz ( Numismatic Collection, Banco de Mexico)
Embassy in Mexico
Center for Research and Higher Studies in Social Anthropology
Interactive Museum of Economics
Center for Engineering and Industrial Development
Colombian goalkeeper Javier Dussan, is the further strengthening of the Barcelona of Guayaquil, according to weekend press that country.
The Internet publication "enlajugada.com" this Saturday, traveling to the "Pearl of the Pacific Former goalkeeper America de Cali, and recently connected to Depor FC promotion division.
Colombian goalkeeper born in 1980, served in the Giradot, Real Cartagena, America de Cali and Deportivo Football Club.
BarcelonaThis adds an element to its number of archers made so far by Edwin Villafuerte, and Paul Giovanni Camacho Alarcón.
reinforcements with which to date has Guayaquil popular team are: Isaac Mina, Jose Cortez and Enrique Gámez.
The arrival of the goalkeeper could permit the release of goalkeeper Paul Alarcon who has expressed his desire not to follow in the team "Canario" for the 2007 season.
Dussán is the first foreign reinforcement, confirmed the team for 2007, more names were expected this week.
players under-18 categories of both series A and B and the second category are those who have the opportunity this season to play in the Ecuadorian Football Championship.
This decision was taken yesterday at the Ordinary Congress of the Ecuadorian Football Federation.
This proposal was made by the directors of Deportivo Quito, and now the minimum time is 30 minutes in games.
also found that in ca-so of an injury to the youth within 30 minutes stipulated, it must be replaced, necessarily, for one of their own category, or risk losing the points automatically.
And finally, the leadership of the national football yesterday ratified the same system Ecuadorian Football Championship this year.
The national tournament, which starts February 11, will take place in two stages and no mid-season decline, as has happened in the last two championships have been played.
In the first stage of the 10 clubs in the Serie A fight the top three and qualify for final round robin contest the 2007 with 3, 2 and 1 bonus point. The best placed team will qualify for the Copa Sudamericana this year Ecuador 2. The second phase will develop the same, except that the best club win another seat in the Copa Sudamericana, but as Ecuador 1 for what will be the 2008 season in the country. In addition, a request that has playoff was scrapped, so three teams will amount Series B and one from A to lose more.
a press club president yellow, Galo Roggiero, announced the name of the new strategic bullfighter which ended the series of speculations pointing to Gabriel Perrone, ex DT de Olmedo Riobamba, as more options for the position. Bernuncio
arrive in Guayaquil on Jan. 3 with his coaching staff that comprise Walter Reinaldo Pico, who played in 1994 Emelec, and Daniel Sanmillan as assistant trainer. Bernuncio
's career is summed up in its shares as an assistant to Americo Gallego in Newell's Olds Boys and Toluca of Mexico, Oscar Ruggeri in San Lorenzo de Almagro. As a coach he has worked in clubs San Lorenzo, where he led the youth promotion, in Jueventud Antoniana and Atletico Almagro. Angel
wore the yellow Bernuncio the 1991-1992 season, claiming to champion the bullfighters, the challenge now is to get the crown as coach.