I am having a string in CSV format. Please see my earlier question
http://stackoverflow.com/questions/2865861/parsing-csv-string-and-binding-it-to-listbox
I can add new values to it by some mechanism. Everything will be same except the new values will have numeric part = 0. Take example
I have this exsiting CSV string
1 , abc.txt , 2 ...
I downloaded the nServicebus binaries as of May 17th and have two different vb.net projects (one in .net 3.5, the other in .net 4.0) that both have the error "Reference to Assembly nServicebus, Version 2.0.0.1145, culture=neutral, PublicKeyToken=9fc386479f8a226c containing the type NServicebus.IStartable. Add one to your project.
I hav...
Dim LastRow_1 as Integer
Dim LastCol_1 as Integer
Dim Data_1 as Range
Dim LastRow_2 as Integer
Dim LastCol_2 as Integer
Dim Data_2 as Range
Dim Sh_1 as Worksheet
Dim Sh_2 as Worksheet
Dim X As Long
Dim Y As Long
Dim C_1 as Range
Dim C_2 as Range
Set Sh_1 = Activeworkbook.Sheets("Sheet1")
Set Sh_2 = Activeworkbook.Sheets("Sheet2")
L...
I am stucked at the situation where I need to disable few columns of a each row ,except newly added row.
That is I have 10 columns in grid and I want first three columns that are binded from the rows coming from db as disabled or read-only, rest are editable. if I add new row then all columns of new row must be enabled until and unless ...
Like the title says, I've got a Child form being shown with it's TopLevel property set to False and I am unable to click a MaskedTextBox control that it contains (in order to bring focus to it). I can bring focus to it by using TAB on the keyboard though.
The child form contains other regular TextBox controls and these I can click to f...
Hello,
I'm having problems decoding a file with "ISO-8859-1" encoding.
For example, I can't decode "%E7" to "ç". Can you help me?
P.S.: I'm using VB.NET
Thanks,
Pedro
...
Hi,
I'm writing an internal program using ASP.NET (Visual Studio 2008). The basic premise is that folks will connect to the page through their web browser, put in some data (which will be validated and sanitized of course), click "submit" and then a query will be run on a database. I told you that story so I can tell you this story - I ...
This is a bit of a convoluted question, hopefully I can make it clear.
I am finding that this may not be possible, but am trying to see if anybody has a solution.
I have four classes, two are core classes and two are those core classes extended:
extUser Extends coreUser
extSecurity Extends coreSecurity
In the constructor for coreUse...
I have some update panels on my page that do some asyncpostbacks to keep some dropdownlists correctly populated. My problem is that on my page i have an HTML input that is handling some file uploads. With the AJAX on the page with asyncpostbacks, and while i step through my code behind, the files arent being uploaded. Using a postbacktri...
I have 2 forms. Form1 and Form2.
When Form2 is closing, how do I make Form2 to inform Form1 that Form2 is closed.
Do I need to use Delegate, if yes, how?
thanks.
...
Good day,
I am in the middle of development of a WPF application that is using Entity Framework (.NET 3.5). It accesses the entities in several places throughout. I am worried about consistency throughout the application in regard to the entities. Should I be instancing separate contexts in my different views, or should I (and is a a...
I've got the following LINQ Statement:
Dim PSNum As Integer = 66
Dim InvSeq = (From invRecord In InvSeqDataSet.RptInvSeqDT.AsQueryable() _
Where IIf(invRecord.IsPack_NumNull(), False, invRecord.Pack_Num = PSNum) _
Select New With _
{.Inv = invRecord.Invoice_Num, .Seq = invRecord.Inv_Seq})...
What is the diference of using interfaces like ...
I have an interface
Public Interface IProDataSource
Function read() As Integer
End Interface
Then a class
Public Class DataSource : Implements IProDataSource
Function read() As Integer Implements IProDataSource.read
some code...
End Function
End Class
...
Each datatemplate in my WPF ItemsControl contains FIVE custom bindable richtextbox controls.
It is a data-driven app that for authoring multiple-choice questions --> The question and four answer choices must all support:
1) Spell check
2) Rich formatting (otherwise I'd use regular textboxes)
The spell check object in .NET 4 has a Frie...
I am work on VB.net 2003 Framework 1.1 for last 3.5 years in windows Application.
We are currently migrating to VB.net 2008 framework 3.5, but i don't know about the features
which related to ADO.net and which is important to performance. I know linq to SQL but our architecture is made in .net 2003 so we should follow this.
Any features...
Where can I find alternative button controls for vb.net Winform?
...
hi,
i am working in project. i have a problem in dropdownlist's selectedindexchanged event.
when the value of district dropdownlist is changed then it is firing his own selectedindexchanged event but it does not fills licencee dropdownlist and when the value of dynamically created branddropdownlist is changed than it first fires the sel...
I need to test a logical expression held in a string to see if it evaluate to TRUE or FALSE.(the strig is built dynamically)
For example the resulting string may contain "'dog'<'cat' OR (1>4 AND 4<6)". There are no variables in the string, it will logically evaluate. It will only contain simple operators = > < >< >= <= and AND , OR and O...
Hi,
I am trying to move content in a pdf document using iTextSharp.
We have a number of documents that are the same size i.e. 488x320mm, the content within these documents is always positioned relative to the top right of the document but varies in size i.e. 210x330mm, 240x350mm etc. What i need to do is 'find' the content block and mo...
We have a DataSet with an order table and a currency table. The currency id of th order table is linked to the currency table with a relation (see code):
Public Function GetOrders() As DataSet
Dim dtsOrder As New DataSet
Dim tblOrder As New DataTable
Dim tblCurrency As New DataTable
'Define columns
tblOrder.Columns....