I am novice in WPF. I have a wpftoolkit datagrid where i am using a combo box as datagridcombox column. I am using a observable collection of Codes for binding the combo box. Below is the collection and its class...
#Region "Class & Coll"
Public Class CodesColl
Inherits ObservableCollection(Of Codes)
End Class
Public Class Codes
...
Does anyone know of a program that visualizes array Sorting in vb.net (Bubble sort,selection sort etc)? Pointers to how I could implement one myself would also be appreciated.
Thanks in advance.
...
Hi
I have windows Application from where I am sending the mail using Email template images. But on different SMTP server it show different result . It attached the template images as an attachment.
I am using following method as mention in the link to send email template :
http://ramanisandeep.wordpress.com/tag/send-email/
Please h...
Right now I am building a filter based on user input (textboxes and comboboxes) by a bunch of if statements. There must be a better way. Here is my current code:
Private Function BuildProductsFilter() As String
Dim RawFilterResults As String = ""
If Not CompanyNameComboBox.SelectedValue Is Nothing AndAlso Not Com...
Hello,
I have a listener that returns a TcpClient that must read data until the other side closes or until we stop.
I have created a simple Form with two buttons. One starts one connection and the other stops it.
The problem is that when I have a IOException due to the timeout of the Read the socket is closed and I cannot communicate...
Hi all,
Apologies in advance for the long-winded post, but I'm having some trouble with a .NET page I'm building.
END QUESTION: How can I check the 'Checked' property of a dynamically-created checkbox during the Page_Load subroutine?
DETAILS: Basically, I have a VB.NET page that creates some table rows dynamically, based on a number s...
I have an XML file that looks like this.
<Almond> Roasted Almonds,Almond Extract,Almond Sauce,Almond Milk,Almond Cake,Almond Ice Cream,Almond Paste </Almond>
<American Cheese> MilkWhey,Cheese Dip,Sliced Cheese </American Cheese>
<Apple> Apple Sauce,Apple Pie,Pear,Apple Juice,Apple Cider,Apple Butter </Apple>
<Avocado> Guacamol...
What happens when i set a variable to nothing in VB.NET?
Is it true that nothing equals to default, or am i missing something here?
...
i have a remote text file on http://somewhere... that i need to read into a string variable in vb.net. what is the simplest way to do this?
...
how do i add another page to the document and start writing to it in vb.net please
...
Dim instance As WebClient
Dim address As String
Dim avoids as string
address = "http://www.ecosavetech.com/avoid.txt"
avoids = instance.DownloadString(address)
MsgBox(avoids)
msgbox is not showing anything.
please help! i am not getting any errors either
i am using Imports System.Net
...
I am trying to develop a programe in Visual basic.ne(.NET Framework 3.5) where textbox will only accept integer. User wont be able to type char/decimel or other type.
Can anyone please help me?
Thanks in advance.
...
What code would put the results of the query (or any query) into an HTML table?
ReadOnly QUERY As String = "SELECT * FROM DUAL"
Public Sub page_load()
Dim myConn As New OracleConnection( _
ConfigurationManager.ConnectionStrings("DB").ConnectionString)
myConn.Open()
Dim myCommand As New OracleCommand(QUERY, myConn)
...
I got that little function(I changed the name of variables)
Private Function everythingLinked(ByRef myClass As cls, ByVal found As Boolean) As Boolean
If Not found AndAlso myClass.checked = False Then
myClass.checked = True
For i = 0 To myClass.numLink
If Not found Then
found = everything...
Partial Class ClientCenter_UpdateSub
Inherits System.Web.UI.Page
Structure PInfo
Dim Name As String
Dim Surname As String
End Structure
Dim OldPInfo As New PInfo
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If Not IsPostBack Then
'bla...
So I am trying to make a program where the user is limited in moving the mouse to a form. I still want the user to see whats going on behind the form but not be able to click on anything but my form.
I tried using this
Cursor.Clip = Me.RectangleToScreen(Me.ClientRectangle)
The problem is that if the user clicks in certain spots on ...
Is it possible to have C# and vb.net in the same asp.net website? without separating in class libraries.
...
i wrote an application in VB.NET and since i charge by the line, i would like to calculate how many lines i wrote. i have about 100 different vb files with my code. how do i count all the lines?
...
i have a dropdownlist in aspx (vb.net) that i have 2 dropdownlists. i want to show the second dropdownlist based on the value of first one. they are data wise interconnected, so if after selecting a certain record in first, if the second one has more than one record, the dropdownlist should be visible, else it should remain hidden. am su...
i have a string that looks like this
"apples,fish,oranges,bananas,fish"
i want to be able to sort this list and get only the uniques. how do i do it in vb.net? please provide code
...