Just as the title states, can anyone point me to a list of all available asp.net server controls (preferably with descriptions)? I would have thought that something like this would be readily available but I've had no luck finding this. I almost always have to dig around to find a control to solve a particular problem, a quick referenc...
I am able to resize the from using the code below but it resizes towards right side , from bottom right corner
i want to modify the code so that user can re size the form from bottom left corner.
also most of the solution given on this site are based on WndProc / WM_NCLBUTTONDOWN and i am not using it because my form have lots of cont...
I have two array lists
dim Colors1 = New ArrayList
Colors1.Add("Blue")
Colors1.Add("Red")
Colors1.Add("Yellow")
Colors1.Add("Green")
Colors1.Add("Purple")
dim Colors2 = New ArrayList
Colors2.Add("Blue")
Colors2.Add("Green")
Colors2.Add("Yellow")
I would like to find out which colors are missing from Colors2 that a...
To revisit a previous question with a further stipulation...
Anyone know how to do the following, IGNORING CASE?
Dim Matches = From mRows In LinqMasterTable Join sRows In LinqSecondTable _
On mRows(ThePrimaryKey) Equals sRows(TheForignKey) _
Order By mRows(ThePrimaryKey) _
Select mRows, sRows
For details ab...
I am programming in VB.NET.
I am trying to make an onClick event for a div tag. How can I make this in the code behind?
...
VB.NET 2010, .NET 4
Hello,
I have been using a pretty slick generic invoke method for UI updating from background threads. I forget where I copied it from (converted it to VB.NET from C#), but here it is:
Public Sub InvokeControl(Of T As Control)(ByVal Control As t, ByVal Action As Action(Of t))
If Control.InvokeRequired Then
...
I'm working up a system where I plan on using RealProxy objects to enable intercepting method calls against a set of objects, handling the call, and then returning appropriate results.
This works just find for simple return types like strings or ints, but I can't seem to return objects from the RealProxy.Invoke method.
Everything works...
In MVC I can do something like the following to serialise an object with an anonymous type to JSON...
Public Function GetStateList() As JsonResult
Dim MyObject = New With {.Id = 1, .Property = "SomeValue"}
Return Me.Json(MyObject)
End Function
which would return something like;
{
"Id": 1,
"Property"Som...
I am using Visual Basic 2010 and I am makeing a simple login app it prompts you for a username and password if it gets it right I want to open a form then close the previus one but when I do me.close it ends the program and I can't go on
I am positive its working because I get the right password and username ut I can't close the first w...
For the last week I've been trying to create an async method. I tried the MSDN article How to: Implement a Component That Supports the Event-based Asynchronous Pattern
but it does the work in a method in the same class. The work I'm doing is a lot more complicated and is its own class. The problem I'm having is the class doing the work ...
Hello, everyone! I've been at this for a while, and I'm not sure how this issue can be resolved:
I'm working on a project in VB.Net, and I have a form with a rich text box. I have a groupbox with 4 radio buttons inside that are intended to change the font color of the text. Coincidentally, I have to repeat this same functionality for a ...
Dears good morning to all
I'm using the following code to open and then write a subkey in the registry
Private Sub RegSubKeyCreates(ByVal sKeyPath As String)
Dim RegKey As RegistryKey
Dim SubKeyParam() As String = Nothing
SubKeyParam = Split(sKeyPath, "\")
RegKey = Registry.CurrentUser.OpenSubKey(SubKeyParam(0...
Hy,
I have a Window with a Grid that is making a select from myql, and using the .Show() function insted of ShowDialog() I can open the same window a second time to have two instances of the same window.
Now, when i open the second instance the grid populates with the new selection also in the first window....how can i make the window ...
This is my GET Method to get my data from my DataTable
Private Function GetData() As PagedDataSource
' Declarations
Dim dt As New DataTable
Dim dr As DataRow
Dim pg As New PagedDataSource
' Add some columns
dt.Columns.Add("Column1")
dt.Columns.Add("Column2")
' Add some test data
For i As Integer = 0 To 10
dr = dt.NewRo...
Hi ,
I have to pass my Json data in a particular format.
My app is coded in vb.
The following is my code :
Dim jsonObject As New Json.JsonObject
jsonObject.Item("count") = New Json.JsonNumber("0")
jsonObject.Item("data") = New Json.JsonArray("")
**jsonObject.Item("success") = New Json.JsonString("True")**
The Probl...
Previously I used to piddle around with VB6 to develop a couple of personal projects. Following my upgrade to Windows 7, I've decided to piddle about with vb.net Express Edition 2010.
If I wanted my VB6 application to blend in with the visual style of Windows, I would use the code and techniques described here. In short, I would use a M...
Hi
I need to insert data from DB to another DB. I run this query from VB.NET:
for example:
Insert into DBDestino.tablaDest (campo1,campo2)
select valor1,valor2
from DBOrigen.tablaOrigen
Field "campo1" is integer (in DBdestino)
But sometimes the value "valor1" (in DBOrigen) is NULL. If I run the previous query, it returns error a...
I know this is a proper enum:
Private Enum Months
JANUARY = 1
FEBRUARY = 2
...
End Enum
However, I want to have an enum where the string will solely be integers.
Example:
Private Enum ColumnCounts
01 = 5
02 = 4
03 = 40
End Enum
The 01, 02 and 03 are all strings. However, if I put "01", [01] or just 01, it tells me it ...
Hi,
Objects whose Properties are observed for changes must implement the System.ComponentModel.INotifyPropertyChanged event to alert their WPF-element observers that a change has occurred.
If I have a Visual Basic Module whose Properties I wish to have observed by a WPF element, how should I go about routing the Properties of that Modu...
sorry i did not tell the clear problem to u. i have developed one application for client. i want to install that applicaion in client machine. i have created setup file for vb.net. i have taken backup for database(.bak , .mds, .ldf file also). i have included those file in my setup. but i want to connect that file in my application. i ...