all groups > vb.net > june 2004 > threads for saturday june 5
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
datareader -how can I know "no of records" return ?
Posted by Agnes at 6/5/2004 11:29:22 PM
I can't find any property about the "no of records" of datareader .
I don't want to loop the datareader and use counter to count it.
Any suggestion?
Thanks
... more >>
Adapter Wizard Part 2
Posted by Sam at 6/5/2004 11:21:02 PM
Hi ther
SELECT TOP 10 House, LivingRoom, DiningRomm, Den, [Date], FamilyRoom, BedRoom1, BedRoom2, Notes, [Number], Kitchen, Deck FROM MyRecords ORDER BY Number DES
I have a data adapter I am trying to configure and when I enter the aboue query in the Adapter Wizard Dia box it says there is an er... more >>
XML Writing and Reading
Posted by jcrouse at 6/5/2004 6:21:02 PM
I am using the following code to write to an XML file
myXmlTextWriter.Formatting = System.Xml.Formatting.Indente
myXmlTextWriter.WriteStartElement("CPViewer"
myXmlTextWriter.WriteElementString("Height", InputBoxHeight
myXmlTextWriter.WriteElementString("Width", I... more >>
Threading / Processes / Dual CPU's - questions
Posted by harry at 6/5/2004 5:54:56 PM
Hi
1.
For dual CPU system, can I force a new process to start in the second CPU
from my VB.NET code? or does the operating system (Win XP) automatically
allocate based on each processors current load?
2.
For Intel CPU's with Hyperthreading, does the CPU control when
Hyperthreading is ac... more >>
Inheriting a Form
Posted by Billy at 6/5/2004 5:21:01 PM
I created a form, BaseForm, with a button as sort of a base class for some future windows. I added a button and put a simple MsgBox in the _click event that says "Hi from base" and I set the button's modifier property to "Protected."
Created DerivedForm inherited from BaseForm. Was able to go i... more >>
How to run this when the button is pressed?
Posted by Miguel Dias Moura at 6/5/2004 2:29:27 PM
Hello,
I am working in ASP.net / VB with Access Database.
i have a Multipage in my web site with the Submit button as the last button.
When the Submit button is pressed i want the form values to be added to a
database and sent by email.
1. I have the code which submits the form values t... more >>
How to display 3 records of a database?
Posted by Miguel Dias Moura at 6/5/2004 12:46:09 PM
Hello,
I am working in and ASP.net / VB web site with Access database. I have a
database of books with the following fields:
PrimaryKey; Book Title; Author
I want to display in a web page the names of the 3 Authors which appear more
often in the database.
Basicly i want to display the na... more >>
Setting Form position
Posted by Tom Sage via .NET 247 at 6/5/2004 12:24:07 PM
(Type your message here)
--------------------------------
From: Tom
VB.NET - trying to place a form in the lower right of the screen. Tried the following code, but it seem to be a little low. Thanks for any ideas.
Me.Top = System.Windows.Forms.Screen.PrimaryScreen.Bounds.Height - Me.Hei... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Problems Starting a VB windows Service
Posted by Shane Lowenberger via .NET 247 at 6/5/2004 12:23:50 PM
Hi All,
I created a Windows Service in Visual Basic.NET and am having troubles. My Service installs fine, but when I start I get two exceptions thrown in the Event Log and the service stops. Here they are:
1: System.IndexOutOfRangeException: Index was outside the bounds of the array.
at ... more >>
adapter Wizard
Posted by Sam at 6/5/2004 12:06:04 PM
Hi ther
"SELECT TOP 10 [Fields] FROM [TableName] ORDER BY [Field] DESC"
I want to use the above code to create a query in the OleDbDataAdapter1 (Wizard)
The aim is to fill a dataset with only the last ten rows of data in decending orde
My Table name is "MyRecords" and the name of the sort co... more >>
How to Insert recprd from datagrid to a table?
Posted by Mel at 6/5/2004 11:45:35 AM
Hi,
I created a form that would search a record from a table
and showed the details in datagrid. I have another button
that would insert the records showed in the datagrid to
another table..How will I do this?
... more >>
DataView loop and edit?
Posted by Able at 6/5/2004 11:09:49 AM
Dear friends
Dim myDataView as DataView = New DataView(dsData.Tables("tblCustomers"))
myDataView.RowFilter = "City = 'London'"
My question is how to loop through all rows in myDataView and edit the field
fldZipCode so fldZipCode = "9800"
Regards Able
... more >>
Problem navigating data in simple Windows form
Posted by jordan_arron NO[at]SPAM hotmail-dot-com.no-spam.invalid at 6/5/2004 9:20:09 AM
Hi All,
I am trying to create a simple Windows form that lists a users' data
one user at a time with the usual "Next" & "Previous" buttons.
Upon loading the form, I am able to populate all textboxes however
when clicking either of the buttons, nothing happens - the data from
the next/previous ... more >>
Why Overloads needed
Posted by Lee Silver at 6/5/2004 8:45:48 AM
In a base class I have the following 2 declarations:
Overridable Sub Remove(ByVal wIndex As Integer)
and
Overridable Sub Remove(ByVal wValue As Object)
In an immediately derived class I have the following declaration:
Overloads Overrides Sub Remove(ByVal wIndex As I... more >>
identify user application running under cred.
Posted by Sameh Ahmed at 6/5/2004 5:59:26 AM
Hello there
need to get the credentials under which the application is running.
any ideas?
Regards
Sameh
... more >>
No of Dataset to Adapters
Posted by markerussell at 6/5/2004 5:06:02 AM
I have a question, in that if i have an application is it better to have one dataset per data adapter, ie daCustomerTable -> dsCustomer, daOrders -> dsOrders etc. or to say have a couple of dataset one to hold static information and the other to hold transactional information like orders. Is there a... more >>
Getting L&H voices in VB.NET
Posted by emari at 6/5/2004 1:11:02 AM
How can I with the TTS Control(Direct speech control) speak a paragraph with any of this Languages using the control properties?.I am not able to do it
... more >>
|