I'm trying to add Validation to a Silverlight 3.0 TextBox but cannot seem to find and example which is complete, and not missing functionality that makes it work, I have this property:
''' <summary>Tag</summary>
''' <value>String</value>
''' <returns>String</returns>
''' <remarks>Contains Validation</remarks>
Public ...
I am assigning a 'ds' dataset to datagrid.In addition to that I want to add new column with check boxes.That new column will be first column of datagrid.
Currently I am using below code,
DataGrid1.DataSource = dsResult.Tables("Result")
Result table has 4 column....in addtion to that i want to column "Selection" with check boxes
...
How can i make a dropdown list with checkboxes ?
I have a windows app ( vb.net) and the checkboxlist control is not real an option with the available space on my form.
Thanks.
...
I have a problem with something I have done many times but this time it just doesn't work.
This is what what I am trying to do (in Visual Studio 2003 and VB.NET)
Earlier in the code:
Private SaveCustomerInformationCommand As System.Data.SqlClient.SqlCommand
Then this in a setup process:
SaveCustomerInformationCommand = New System.D...
I have a vb.net 2.0 winforms project that is full of all kinds of business reports (generated with Excel interop calls) that can be run "on-demand". Some of these reports filter through lots of data and take a long time to run - especially on our older machines around the office.
I'd like to have a system where a report request can be ...
How would I test the following code?
Public Sub SetSerialIdForDevice()
Try
Dim component As Object = container.getComponentRef("componentInterface")
If component IsNot Nothing Then
component.SetupDeviceSerialID(container.serialNumbers)
Else
serialfound = False
...
In VB.NET there is the WITH command that lets you omit an object name and only access the methods and properties needed. For example:
With foo
.bar()
.reset(true)
myVar = .getName()
End With
Is there any such syntax within Java?
Thanks!
...
Is there a way to store images in the project resources as Format32bppPArgb pixelformat? I'm adding png images at the moment and they end up as Format32bppArgb format in the resources.
(Visual Studio 2008, VB.NET, DotNET 2.0)
Much obliged,
David
...
Here is an issue with a socket I am having:
Public Sub Connect(ByVal server As String, ByVal port As Integer)
Dim IP As IPAddress = IPAddress.Parse(server)
Dim EP As IPEndPoint = New IPEndPoint(IP, port)
sock.Bind(EP)
sock.Connect(server, port)
End Sub
The socket is declared like this, at the top of...
Guys,
I know I am overlooking something really simple here.
I am using Visual Studio 2008 and created an ASP.NET 3.5 project and solution. I added another project to my solution, a class library. I added a reference to my class library. Now when I click on the properties of my class library, the Default Namespace is set to "HRCommon",...
I m using Devexpress form in vb.net but i cannot load data to devexpress combo from access database so can you help me to solve my problem..the problem is....
Dim myconn As OleDbConnection
Dim dtt As New DataTable
Dim constr As String = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=C:\PhoneDiary\MyDiary.mdb"
Try...
Hello,
I am trying to figure out how to declaratively pass in a event handler into
a user control, but I am stumped. All I can make work is the user control's
event handler.. I can't seem to bubble up the caught event into the parent
page. Ideas would be quite welcome. Here is my code:
Default.aspx:
<%@ Page Language="VB" %>
<%@...
When I try to create a instance of a COM class it throws an exception as
Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))
Please suggest how could i solve it?
...
We are using VB.NET and ASPx for our project. we would like to separate the aspx pages and put them on the IIS server (web server) on one m/c and the business logic and DAL layer on another IIS server (application server) on a different m/c .The database is on another m/c. Is such a configuration possible ? If so how can it be implemente...
Hi, this is probably a bit tense and I'm not sure if this is possible at all.
But basically, I'm trying to create a small application which contains alot of PowerShell-code which I want to run in an easy matter.
I've managed to create everything myself and it does work. But all of the PowerShell code is manually hardcoded and this giv...
What tool can I use to convert C# 3 to VB.Net 9 .Net 3.5?
...
I have a class in vb.net like
Public Class Customer
Private _Name As String
Public Overridable Property Name() As String
Get
Return _Name
End Get
Set(ByVal value As String)
_Name = value
End Set
End Property
End Class
and a class deriving from it
Public Class Proxy...
I am using visual studio 2008, using VB.NET.
I have a number of labels that I want to rename programmatically.
The current names for the labels take the form of label100, label101,label102 etc.
It sounds so simple but its got me beat, is this possible?
...
Hi
I need to convert UTF8 string to ISO-8859-1 string using VB.NET.
Any example?
Thanks in advance.
...
I've tried the wiki that comes with DotNetNuke and we don't like it at all. Can anyone suggest a better wiki that we could use with DNN 5?
...