I'm trying to make alterations to an existing project, and I've found a project in the solution which is full of generated classes.
Problem is, nobody here can tell me what generated them, so I'm pretty much left with pasting one of the classes in here and hoping someone will be able to tell me where they came from.
The solution I'm w...
I need to hook up all events in an application and trace all information (raising, arguments, etc.).
I found this at Stackoverflow:
http://stackoverflow.com/questions/2802774/tracing-all-events-in-vb-net
However, I need a solution that not only writes the called event to console, but calls TraceVerbose with parameters showing sender a...
Hey,
So as in the title, my stylesheets keep on caching for no apparent reason. It is only today I have started testing my VB.Net website in IE8 and using jQuery on the customer front end, and it is only the past 30 - 45 minutes that I have noticed this happening.
There was one background-color which I changed a few minutes ago with no...
For some sort of reason, which i can't seem to spot, this fail and i get my #Name? error, when i tried to do this, i use pretty much the same code another place in my form,
the only difference is the cbo and the names of my txt and alike.
Private Sub cboVarenummer_AfterUpdate()
Dim LSQLVareNavn As String
LSQLVareNavn = "select V...
I'm using VB.NET for a small control software which analyzes the messages of a video router. I need to hook up to the DLL (which includes the needed interface to the router) using WndProc. Everything was running smoothly in the Lab, but on site (where the router sends more messages) I get a huge memory leak (inside the unmanaged heap).
...
I've tried working with OrientDB but it seems inserting to the database is not supported by the REST interface. Looking at Cassandra and MongoDB, they seem to be alright but I haven't seen any references to VB in their site.
...
I'm have a program (GUI) that interfaces with excel to execute macros. We're using Microsoft.Office.Interop.Excel to call/run the macros and this works great.
What I can't figure out is a good way to cancel the macros from the GUI.
One idea we had was to use the excel.application variable that runs the macros to write a "stop" value to...
Hi !
I'm working on a WinForms solution in VB.NET. It's been a while since I'm mostly a web developper. So what I need to do is to replicate the behavior of Microsoft Office product for the Cut, Copy, Paste and Undo menus and toolbar. Which meens, I need to enable Cut and Copy when and only when there's some selected text on the Form. T...
I've inherited some VB.net code. My task is to find out why it isn't working. I have 2 applications. The first one
is run as a service, infinitely checking a table to see if there are any tasks to be handled. If it finds one, its supposed to fire off the second application to handle the task then returns to the loop and checks for ...
I am populating an XML structure (using VB.NET) to pass to a web service. Here is how one piece of the structure is filled, and the rest of the structure is filled in a similar manner:
Private Shared Function GetSpecialties(ByVal specialties As System.Data.Linq.EntitySet(Of Provider.provider_specialty)) As XElement
Return _
...
In the example below, what would you name the parameter given that it is used to initialize the property FromDate?
For class constructor methods, I like to have the name of the constructor parameter variable match the name of the property which is being initialized. For example, the parameter "fromDate" is used to initialize the module...
Hi all,
I'm creating a dynamic combo box and adding to a form. I'm trying to fill the combo box with a DataSource from an ArrayList and then selecting an item in the combo box based off a value from a property.
Problem is, the combo box items don't get bound until after the Form_Load event has finished and the form is visible. So the...
I've been using DevExpress and CrystalReports for previous .NET versions. I'm wondering if there are any native reporting controls for .NET 4.0, so I could do away with the 3rd party ones.
...
Hi,
I have a DataGridView in one of my form which at a certain point I resize an change it's position. I would like to be able to restore it to the designer's default position at runtime. I know I could save it before changing and then restoring it later, but I feel like there surely is a way in .NET to just restore a control position t...
I have a function that returns the orders for a given period. I've create a Period object which ensures that, when specifying a date range, the start date is <= to the end date. Likewise, if dealing with a month period, the start and end dates of the period should be the first and last days of the month, respectively.
My question is thi...
I have two tables:
Orders
OrderProducts - An order can have 1 to many orderProducts records associated with it.
What I am trying to do (unsuccessfully) is to implement a GridView search using a LinqDataSource wherein the search returns Order results where any of the OrderProduct.Manufacturer columns contain a search query.
I was ho...
i need to get a set of values after certain 14 length of a string and before the last 5 stringss.
eg:
Theboyisgoingt9123holdi: so i need to get the value 9123
iamfullofmeats89holdi: i need to extract value 89
so the algorithm here is, i am trying to extract the values that comes after the 14th length of the string and just before the ...
The Class Libary is an Microsoft Studio extension that generates a file from saving running a custom tool on a template file, following the module from this example I found from Microsoft: http://code.msdn.microsoft.com/SingleFileGenerator/Release/ProjectReleases.aspx?ReleaseId=4138.
I can not figure out how I'm gonna debug, build, or ...
I'm converting some RDO code to ODBC Provider code in .NET.
The problem is parameter names were not specified in the orignal code, but param values were retrieved by parameter name after the command was executed.
Is there anyway to have parameter names populated by the provider once the command is executed so calling code can access pa...
I have a simple user control, which is essentially just an AutoCompleteBox with some custom logic.
For a specific instance (a collection of Persons), I want it to look like this:
<sdk:AutoCompleteBox Name="myACB" ItemsSource="{Binding People}" FilterMode="StartsWith" MinimumPrefixLength="2" ValueMemberBinding={Binding LastName}>
<sdk...