Postea un enlace para descargar la aplicación, para que pueda investigar cual es el problema.
Saludos!
Saludos!
Esta sección te permite ver todos los mensajes escritos por este usuario. Ten en cuenta que sólo puedes ver los mensajes escritos en zonas a las que tienes acceso en este momento.
Mostrar Mensajes MenúCita de: Senior++ en 4 Octubre 2014, 20:18 PMpor cierto
¿te parece mucho que mi sistema coja un 30%-45% de memoria ram?
Public Class MyType
''' <summary>
''' Gets or sets the value.
''' </summary>
''' <value>The value.</value>
Public Property MyProperty As Integer
Get
Return Me._MyValue
End Get
Set(ByVal value As Integer)
If value < Me._MyValueMin Then
If Me._MyValueThrowRangeException Then
Throw New ArgumentOutOfRangeException("MyValue", Me._MyValueExceptionMessage)
End If
Me._MyValue = Me._MyValueMin
ElseIf value > Me._MyValueMax Then
If Me._MyValueThrowRangeException Then
Throw New ArgumentOutOfRangeException("MyValue", Me._MyValueExceptionMessage)
End If
Me._MyValue = Me._MyValueMax
Else
Me._MyValue = value
End If
End Set
End Property
Private _MyValue As Integer = 0I
Private _MyValueMin As Integer = 0I
Private _MyValueMax As Integer = 10I
Private _MyValueThrowRangeException As Boolean = True
Private _MyValueExceptionMessage As String = String.Format("The valid range is beetwen {0} and {1}",
Me._MyValueMin, Me._MyValueMax)
End Class
Public NotInheritable Class MyType
''' <summary>
''' Gets or sets the value.
''' Valid range is between 0 and 10.
''' </summary>
''' <value>The value.</value>
<RangeAttribute(0, 10, ThrowRangeException:=False, ExceptionMessage:="")>
Public Property MyProperty As Integer
End Class
<AttributeUsage(AttributeTargets.Property, AllowMultiple:=False)>
Public Class RangeAttribute : Inherits Attribute
''' <summary>
''' Indicates the Minimum range value.
''' </summary>
Public Minimum As Single
''' <summary>
''' Indicates the Maximum range value.
''' </summary>
Public Maximum As Single
''' <summary>
''' Determines whether to throw an exception when the value is not in range.
''' </summary>
Public ThrowRangeException As Boolean
''' <summary>
''' Indicates the exception message to show when the value is not in range.
''' </summary>
Public ExceptionMessage As String
''' <summary>
''' Initializes a new instance of the <see cref="RangeAttribute"/> class.
''' </summary>
''' <param name="Minimum">The minimum range value.</param>
''' <param name="Maximum">The maximum range value.</param>
Public Sub New(ByVal Minimum As Single,
ByVal Maximum As Single)
Me.New(Minimum, Maximum, ThrowRangeException:=False, ExceptionMessage:=String.Empty)
End Sub
''' <summary>
''' Initializes a new instance of the <see cref="RangeAttribute"/> class.
''' </summary>
''' <param name="Minimum">The minimum range value.</param>
''' <param name="Maximum">The maximum range value.</param>
''' <param name="ThrowRangeException">
''' Determines whether to throw an exception when the value is not in range.
''' </param>
Public Sub New(ByVal Minimum As Single,
ByVal Maximum As Single,
ByVal ThrowRangeException As Boolean,
Optional ByVal ExceptionMessage As String = "")
Me.Minimum = Minimum
Me.Maximum = Maximum
Me.ThrowRangeException = ThrowRangeException
If Not String.IsNullOrEmpty(ExceptionMessage) Then
Me.ExceptionMessage = ExceptionMessage
Else
Me.ExceptionMessage = String.Format("The valid range is beetwen {0} and {1}", Minimum, Maximum)
End If
End Sub
End Class
Cita de: Senior++ en 4 Octubre 2014, 18:09 PMOtra cosa, existe alguna forma de quitar las aplicaciones de Windows 8? es decir cuando inicias windows 8 sale un fondo azul con muchas aplicaciones, tiene el skype,el excel etc etc..
¿Alguna manera de quitar todo eso?
Cita de: flames_trooper en 3 Octubre 2014, 17:25 PM
l. l.Mejore los siguientes aspectos:
iii. En las cajas de texto para notas sólo se deben permitir
vi. Implemente, en la clase alumno, un procedimiento que
ii.Todos los datos son obligatorios. No pueden haber datos en
Public Class PriorityList_TestForm
''' <summary>
''' Contains the process priority items.
''' </summary>
Private ReadOnly PriorityList As String() =
{
ProcessPriorityClass.Idle.ToString,
ProcessPriorityClass.BelowNormal.ToString,
ProcessPriorityClass.Normal.ToString,
ProcessPriorityClass.AboveNormal.ToString,
ProcessPriorityClass.High.ToString,
ProcessPriorityClass.RealTime.ToString
}
''' <summary>
''' Handles the Load event of the PriorityList_TestForm Form.
''' </summary>
Private Shadows Sub Load() Handles MyBase.Load
' Add the priority items to list.
Me.ComboBox1.Items.AddRange(Me.PriorityList)
End Sub
''' <summary>
''' Handles the SelectedIndexChanged event of the ComboBox1 control.
''' </summary>
''' <param name="sender">The source of the event.</param>
''' <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
Private Sub ComboBox1_SelectedIndexChanged(ByVal sender As Object, ByVal e As EventArgs) _
Handles ComboBox1.SelectedIndexChanged
' Change thecurrent process priority.
Process.GetCurrentProcess.PriorityClass =
[Enum].Parse(GetType(ProcessPriorityClass),
DirectCast(sender, ComboBox).Text,
ignoreCase:=True)
End Sub
End Class
Imports Telerik.WinControls.UI
Imports Telerik.WinControls.UI.Data
Public Class PriorityList_RadTestForm
''' <summary>
''' Contains the process priority items.
''' </summary>
Private ReadOnly PriorityList As New List(Of RadListDataItem) From
{
New RadListDataItem With {
.Text = ProcessPriorityClass.Idle.ToString,
.Value = ProcessPriorityClass.Idle
},
New RadListDataItem With {
.Text = ProcessPriorityClass.BelowNormal.ToString,
.Value = ProcessPriorityClass.BelowNormal
},
New RadListDataItem With {
.Text = ProcessPriorityClass.Normal.ToString,
.Value = ProcessPriorityClass.Normal
},
New RadListDataItem With {
.Text = ProcessPriorityClass.AboveNormal.ToString,
.Value = ProcessPriorityClass.AboveNormal
},
New RadListDataItem With {
.Text = ProcessPriorityClass.High.ToString,
.Value = ProcessPriorityClass.High
},
New RadListDataItem With {
.Text = ProcessPriorityClass.RealTime.ToString,
.Value = ProcessPriorityClass.RealTime
}
}
''' <summary>
''' Handles the Initialized event of the RadDropDownList1 control.
''' </summary>
''' <param name="sender">The source of the event.</param>
''' <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
Private Sub RadDropDownList1_Initialized(ByVal sender As Object, ByVal e As EventArgs) _
Handles RadDropDownList1.Initialized
' Add the priority items to list.
DirectCast(sender, RadDropDownList).Items.AddRange(PriorityList)
End Sub
''' <summary>
''' Handles the SelectedIndexChanged event of the RadDropDownList1 control.
''' </summary>
''' <param name="sender">The source of the event.</param>
''' <param name="e">The <see cref="Telerik.WinControls.UI.Data.PositionChangedEventArgs"/> instance containing the event data.</param>
Private Sub RadDropDownList1_SelectedIndexChanged(ByVal sender As Object, ByVal e As PositionChangedEventArgs) _
Handles RadDropDownList1.SelectedIndexChanged
' Change thecurrent process priority.
Process.GetCurrentProcess.PriorityClass =
DirectCast(DirectCast(sender, RadDropDownList).SelectedItem.Value, ProcessPriorityClass)
End Sub
End Class
Cita de: FCOSTA en 3 Octubre 2014, 01:43 AM1.- El codigo que dices que me has enviado ¿es en VB.NET o en VB6?Está escrito en el lenguaje VisualBasic.Net
Cita de: FCOSTA en 3 Octubre 2014, 01:43 AM2.- Y no he recibido nada. Mi direccion de correo es:Por "enviar" quisé decir "mostrar", en mi último comentario de arriba te puse un enlace actualizado a mediafire para que descargues el source y la aplicación xD (recuerda, carpeta bin\debug)
' ( By Elektro )
'
' Instructions:
' 1. Add a reference to 'Microsoft Shell Controls and Automation'
'
' Usage Examples:
' Dim paths As List(Of String) = GetWindowsExplorerPaths()
'
''' <summary>
''' Gets the full-path in the adressbar of each Windows Explorer instance.
''' MSDN Shell Documentation: http://msdn.microsoft.com/en-us/library/windows/desktop/bb776890%28v=vs.85%29.aspx
''' </summary>
''' <returns>A list containing the paths.</returns>
Friend Shared Function GetWindowsExplorerPaths() As List(Of String)
Dim exShell As New Shell32.Shell
Dim folder As Shell32.Folder
Dim path As String
Dim pathList As New List(Of String)
For Each Window As SHDocVw.ShellBrowserWindow In DirectCast(exShell.Windows, SHDocVw.IShellWindows)
folder = DirectCast(Window.Document, Shell32.ShellFolderView).Folder
path = DirectCast(folder, Shell32.Folder2).Self.Path
pathList.Add(path)
Next Window
Return pathList
End Function
Cita de: http://foro.elhacker.net/programacion_general/ehndev_2014_concurso_de_desarrollo_de_aplicaciones_hilo_oficial-t421322.0.htmlEl plazo de entrega comenzará el día 20 de Septiembre de 2014 y terminará el día 20 de Octubre de 2014, horario Español.