has anyone seen this error with compiling web components in vb.net? i added axspreadsheet on to my form and it does not compile. it gives me the following error. please help!
System.InvalidOperationException was unhandled
Message="An error occurred creating the form. See Exception.InnerException for details. The error is: Class not r...
Hmmm I'm not sure if i titled this question properly or am asking it properly, but here goes.
I've got serialized objects (in XML) stored in a database, along with a string/varchar indicating the type.
Right now i am doing this: (because i have a finite number of different types)
Dim deserializer as XmlSerializer
If datatable("type...
I would like to extend the System.Web.HttpContext.User object (ASP.NET/VB.NET) so that it contains other fields besides just Name. I understand I can create an object that inherits the System.Security.Principal.GenericPrincipal class, but how do I store that in the Current.User object in a usable fashion. ie, I can do something like Curr...
Hi all,
Having a few problems trying to parse a CSV in the following format using the FileHelpers library. It's confusing me slightly because the field delimiter appears to be a space, but the fields themselves are sometimes quoted with quotation marks, and other times by square brackets. I'm trying to produce a RecordClass capable of p...
Let me explain. I have defined an interface named IEmployee (ID, FirstName and Surname properties) but I have not yet implemented that interface in any class.
What I want to do is something like:
Dim User as New IEmployee
User.ID = 1
User.FirstName = ""
User.Surname = ""
Call SomeFunction (User)
The VB.NET complier does not seem to ...
I have a datagridview that I would like to validate using the cellvalidating event. however as the user doesnt navigate between cells or rows in the datagridview. just enters data in a cell in the datagridview and then clicks a save button the cellvalidating event doesnt get fired.
any help would be greatly appreciated.
...
As basic as this is, it took me a few minutes to figure out, so wanted to share with the rest of the community to avoid anyone else from wasting their time.
I am attempting to generate the following XML string using VB.NET XML Literals
<Books>
<Book Name="The First Book" />
<Book Name="The Second Book" />
</Books>
I wrote the...
I have a lump of code that looks a bit like this:
If mode = DiaryMode.Admin Then
modeObject = DBNull.Value
ElseIf mode = DiaryMode.Academy Then
modeObject = ApplicationSettings.Academy
ElseIf mode = DiaryMode.Scouting Then
modeObject = ApplicationSettings.Scouting
Else
Throw New NotSupportedException()
End If
The idea ...
I get the following error when I try to access a asp.net application on my local machine. Anyone have any ideas?
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.
Module IIS Web Core
Notification BeginRequest
Handler Not yet...
Hi,
I have a function for reading and creating a pdf file. I was told it uses iText.dll, but not sure where to find it and implement it. Can anyone point me in the right direction. Im a .net newbie. I dont need help with the code right now, so just setting up the dependancies would be a good start.
Any help would be great
Thanks
--Ma...
I am learning linq to sql and I am trying to setup a lookup combo box in my web page. I was using a linq data source but I then moved my linqtosql code to it's own class library for my DAL dll (took out of app_code folder). So, I am converting the page code to be able to still have lookups driven now by a biz object.
Here's what I hav...
Can someone recommend a spreadsheet control other than the OWC webcomponents with very simple functionality? I just need a 2x100 matrix and the ability for user input. I need this for VB.NET and I need it to be compatible with both 32bit and 64bit systems. I don't know anything about the grid control.
What is the best way to get starte...
In .NET I have a class called Caption. I have another class called Gauge. Within the Gauge class I have a property defined as a Caption.
I am trying to figure out how to do the following:
When a certain property is changed in my Caption class how do I get it to execute a subroutine in the Gauge class? I am thinking I have to declare an ...
Can a file already in use be cloned in vb2005?
Is it possible to load a file into memory even if that file is already in use by another program?
...
Is there a way to enable/implement the functionality of jumping to a row based on the first few letters typed? This functionality exists in the ListView control but it's not in the DataGridView control.
Thanks in advance.
...
This is a simple function that returns TRUE if the user exists in the users table, false otherwise.
For some reason it is always return false, I even removed the WHERE clause and I still get false? (a manual check in query analyzer tells me I have lots of rows?)
Public Shared Function DoesUserExist(ByVal userID As Integer) As Boolean
...
I have a VB.NET application where various objects are going to access some common code, and I have some counters and values shared between all the calls, so I'm currently using a "Shared Class" (I'm aware classes can't be shared, per se, but all the variables and methods are marked "Shared").
My concern is for the visibility of this obj...
I'm looking at a VB.NET class (that I didn't write) that is declared "MustInherit" (abstract in C#, I believe) that has three methods, all of which are defined as "shared" (static in C#). There are no properties or fields in the class - only the three methods. From an OO perspective, does this make any sense?
My thinking is no, becaus...
i am trying to use xmlreader and all of those, but i do not know how to reference or import them. i am beginner so please be gentle. thanks!
...
I've been following a tutorial on http://michaelellerbeck.com/2009/01/12/creating-a-service-for-visual-basic-2008-express/ for creating a service using VB Express 2008. I got the first part working and managed to get the sample to install using InstallUtil, but the second part has you use a form with buttons to install and uninstall the ...