I have a property which is an array of items but when I come to add an item to the array it says I must use the new keyword, but I can't use a new keyboard with a property.
(item is a custom class)
Private itemsvalue As item()
Public Property Items() As item()
Get
Return itemsvalue
End Get
Set(ByVal value As DBPFind...
I do not have any idea on how to sort data using datagridview in vb.net.
How do I do this by making use of textbox to input my query, I'm currently using oledb.
Here is a picture of what I am trying to do.
http://screencast.com/t/OWJmNDEwMjg
Please help, our teacher doesn't really teach us.
...
For example:
Public Class Class1
Public Sub Some()
Dim Image As New Bitmap("C:\image.bmp")
End Function
End Class
Displays an error on Bitmap which says "Name Bitmap is not declared".
Some solution? is impossible use Bitmap class or another class?
...
Here is my code, but its the other way around, it commits changes to the datagridview when the database is updated.
Imports System
Imports System.Data
Imports System.Data.OleDb
Imports System.Windows.Forms
Public Class Form1
Inherits System.Windows.Forms.Form
Private bindingSource1 As New BindingSource()
P...
I've hit a wall on POST'ing data to a webform :(
Below is the code I've adapted from many places (here most recently: http://p2p.wrox.com/asp-net-1-0-1-1-professional/34517-webrequest-webresponse-form-submit-problem-help.html )
Dim url As String = "https://student.ashford.edu/student/"
Dim data As String = "username=myusername&...
Here is my code:
Dim connectionString As String ="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=F:\ACCESS DATABASE\search.mdb"
Dim selectCommand As String
Dim connection As New OleDbConnection(connectionString)
selectCommand = "select * from GH WHERE (COURSE='BSIT')"
Me.dataAdapter = New OleDbDataAdapter(selectCommand, connection)
...
I want to distribute the installer package to my clients. Please anybody provide me details information about how can I make setup.exe file for my visual studio 2008 projects. If I am failed to provide any necessary info please let me know. Thanks in advance.
...
Is it possible to use ms office live workspace for database?
I'm currently using ms access as a vb.net database, is it possible to connect vb.net with the online version of microsoft office so that more users can access it?
...
The error is " AccessViolationException: Attempted to read or write protected memory "
vc++ DLL
#ifndef IZZIXFELAPI32_H
#define IZZIXFELAPI32_H
#ifdef IZZIXFELAPI32_EXPORTS
#define IZZIXFELAPI32_API __declspec(dllexport)
#else
#define IZZIXFELAPI32_API __declspec(dllimport)
#endif
#define MAX_FEATUREVECT_LEN 480
#define HIGH_LEVEL ...
Is it possible to make my custom item class so that I can put it straight into a listviewitem?
What I mean is a listview and I want to be able to do Listview.items(0) = Item
Or is this not possible?
...
I am trying to read data from rfid tag using rfid reader. i can connect reader, but cannot get data?
...
I have successfully created columns and able to see them working correctly.
I have col1 as empno and col2 as YearMth and following each month column. I want to group records by empno wise
please help me to do this.
Krishnakant Udavant
...
How can I make an event that is raised when a variable or property is changed (or can I just put the code I would put in an event in the Set section of a property?
...
Question: I have an annoying problem with nhibernate.
The problem is I cannot get any example I find on the web to work...
I've now tried for two days...
The first problem was it wouldn't read the config file, so I had to move it into app.config / web.config.
The second problem is that whatever I do, I always get an error:
No persiste...
I'm working in a database on vb.net with sqlite wich hosts a gallery and I want expand the search propieties.
This the actual query string:
"SELECT images.*
FROM images
JOIN nodes
ON images.id = nodes.image_id
WHERE tag_id = (SELECT tags.id
FROM tags
WHERE tag = '" & tagname & "')
ORDER BY images."...
I have a class which get all the bytes from a file, then it splits up the bytes into three parts (a header, index and body) these 3 parts get passed along to 3 classes (called header, body and index) respectively. When the bytes in the three classes gets modified how can I pass these changes back up to the first class (the one that got ...
I have a rich text box where you can edit java code with a listbox on the side of it that has the line numbers. I want the listbox to scroll with the rich text box so that they line up. How would you get them to scroll as one?
...
Hi. I have this function correctly linked in an external .js file...
function SubmitAge(age, UpdatePanelID, HiddenAgeID) {
$get(HiddenAgeID).value = age;
__doPostBack(UpdatePanelID);
}
and am calling it like this from an onClick of an a href="#" ... html tag
(tags removed, please scroll right as stackoverflow has the greatest ...
I'm trying to make an alarm clock. When the computer is in sleep mode, when the alarm is triggered i want the computer to wake up and play the alarm. Can tell me how to do this in vb 2008.
...
What are some good resources for learning ASP.NET MVC 2.0 (if I don't already know ASP.NET MVC 1.0)?
...