I'm running into a mental roadblock here and I'm hoping that I'm missing something obvious.
Anyway, assume I have a table that looks like this:
ID LookupValue SortOrder
============================================
1 A 1000
2 B 2000
3 B ...
Let's say I'm working on a little batch-processing console app in VB.Net. I want to be able to structure the app like this:
Sub WorkerMethod()
''//Do some work
Trace.WriteLine("Work progress")
''//Do more work
Trace.WriteLine("Another progress update")
''//...
End Sub
Sub Main()
''//Do any setup, like confirm the...
In .NET (at least in the 2008 version, and maybe in 2005 as well), changing the BackColor property of a DateTimePicker has absolutely no affect on the appearance. How do I change the background color of the text area, not of the drop-down calendar?
Edit: I was talking about Windows forms, not ASP.
...
I have a VB.NET ClickOnce application that I am trying to install on my computer. Previously, I was able to install and run these apps without issue. Now when I install the application, I can see the flash of a window opening, and then nothing. (There are also no processes left hanging or anything when viewed with the task manager.)
...
I have a form with a "Clear" button.
When the user clicks "Clear", I want to clear the value of all the visible elements on the form. In the case of date controls, I want to reset them to the current date.
All of my controls are contained on a Panel.
Right now, I'm doing this with the below code. Is there an easier way than manually...
Hi,
I seem to be getting breakpoints from other programmers when checking out code...
Where is the list of breakpoints saved by Visual Studio? In the vbproj file? vbproj.user file? documents and settings? are they meant to be specific to the solution, the project, the user, the computer they are set on?
Thanks!
...
Is it possible to search for an object by one of its property in a Generic List?
Public Class Customer
Private _id As Integer
Private _name As String
Public Property ID() As Integer
Get
Return _id
End Get
Set
_id = value
End Set
End Property
Public Property Name() As String
Get
...
Hi,
Does anybody know a good and free add-in for Visual Studio 2005 to get refactoring features in VB?
Thanks in advance
/Enrico
...
Hallo i am currently playing around with castle projects ActiveRecord and the remoting facility.
my current problem is that i need the find a way the implement the save sub from IBaseRepository in my address class and i dont know how.
here is my current code, VS tells me on the line "implements IAddress"
that i have to implement Sub Sa...
I'd like to do something like this:
Dim Foo as String = "a,b,c,d,e"
Dim Boo as List(of String) = Foo.Split(","c)
Of course Foo.Split returns a one-dimensional array of String, not a generic List. Is there a way to do this without iterating through the array to turn it into a generic List?
...
I'm looking for a .NET Add-in that reads in the contents of the Current Document window, lists the header declaration of all Regions, Subs, Functions, and Module Level Variables, and provides a simple Move Up/Move Down buttons to rearrange their order.
...
When developing custom ecommerce solutions, which "off the shelf" .NET based shipping components have you had luck with?
It absolutely must give real-time shipping quotes and be easily integrated into a ASP.NET website. Ideally I'd like it to support most of the common US domestic shipping companies (UPS, FedEx, USPS, etc.).
Thank...
Is there a control or method to accept formatted input in VB.NET?
i.e. It accepts input in a given format ##/##/## or similar?
...
I'm looking for a good audio compression library for .NET. Anything using MP3 is out (because of the licensing issue). Basically I just need to be able to compress regular WAV audio data into some format, and decompress back to WAV. Preferably the code would be all .NET (C# or VB.NET), but I don't think this is likely. It should eith...
I just inherited control of a largish VB6 codebase. It doesnt have much in the way of active X other than the crystal reports engine and MS access work it does. I want to move it to .net before the tool set and skill sets dry up completely (if they havent already).
Can anyone recommend any good tools to convert/migrate vb6 code to vb.ne...
I'm converting functionality from an asp.net Gridview to a Listview. In the gridview when the selected item changed I would grab a value from a label in the selected row and write it to a different label outside of the gridview.
Protected Sub grdModules_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles g...
I believe the following VB.Net code is the equivalent of the proceeding C# code; however the VB.Net test fails - the event handling Lambda is never called.
What is going on?
VB.Net version - fails:
<TestFixture()> _
Public Class TestClass
<Test()> _
Public Sub EventTest()
Dim eventClass As New EventClass
Dim ev...
I am looking for a way to create or implement a collapsible side panel inside of a form. Similar in the way a ToolStripContainer works I would like the same general concept except using panels that I can fill with controls. Does anyone know of a simple way to do this with the provided .Net controls or is this a total custom job. Either w...
What's the best .NET PDF editing library available, and why?
It needs to be used on an IIS web-server.
Specifically, I need to edit a PDF which was generated by reporting services.
Factors I'm interested in:
Speed
Memory Consumption
Price
Quality of documentation
Library stability
Size of library
Whatever else you think is important
...
What does the following mean?
Class.Function(variable := 1 + 1)
What is this operator called, and what does it do?
...