all groups > vb.net > january 2004 > threads for sunday january 4
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 31
end loop
Posted by Murt at 1/4/2004 10:32:43 PM
on my inbox below i want the loop to quit if the user enters End,
It does not function as written,
any ideas?
thanks
----------------------
Dim inputString As String
Dim i As Integer
For i = 0 To n + 1
farmers(i) = InputBox("enter a farmer's name"... more >>
ListView header handle
Posted by Simon Abolnar at 1/4/2004 10:08:35 PM
I am using VB.NET 2003
Framework 1.1
How can I get ListView header handle.
I tried in this way:
Dim headerHandle As IntPtr
HeaderHandle=SendMessage(listView.Handle.ToInt32, LVM_GETHEADER,0,0)
SendMessage return int value, not IntPtr.
How can I convert int to IntPtr?
Thanks all!
... more >>
Change ClientSize need to change the Control Size?
Posted by active at 1/4/2004 10:07:47 PM
It appears to me that if I change the Control's client size the controls
size does not change to agree with the new size.
Does it work like the VB6 ScaleWidth and ScaleHeight?
That is after I change the Clientsize does the display stay the same but the
number of units required to reference a g... more >>
display sorted array
Posted by Murt at 1/4/2004 9:57:26 PM
if i perform a sort on an array, how do i get the sorted array to be
displayed in a listbox?
thanks
murt
... more >>
drawing lines
Posted by Ranjit at 1/4/2004 8:48:41 PM
Please tell me why the line is not been displayed on my
form.This code of mine contains absolutely no errors but
the lines are not being displayed on my form.Here is my
coding.I'm actually forced to put this in newsgroup since
I'm the only person who knows atleast a bit about VB.net
in my ... more >>
Object reference not set
Posted by localhost at 1/4/2004 8:06:39 PM
Can someone point me the small error I have made here?
Public Sub InitBestand()
Dim Programma As Application
gstrBestand = Programma.UserAppDataPath
If Strings.Right(gstrBestand, 1) <> "\" Then gstrBestand &= "\"
gstrBestand &= "beginner.txt"
End Sub... more >>
trigonometric functions
Posted by Capuchin at 1/4/2004 8:04:00 PM
what are the trigonometric functions in vb.net? I had them somewhere, lost
them now :(
just things like tan, arctan, cos etc.
help appreciated
... more >>
need help transfering data between forms
Posted by Chris S at 1/4/2004 8:01:26 PM
I'm relatively new to VB.NET and have what's probably a very simple
question. I'm trying to get one form to access (view and modify) data on
another form. For example, the startup object is a form called "FormA".
This form contains a string called "ImAString." FormA then opens FormB.
How can ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Media Player
Posted by Ivan Weiss at 1/4/2004 7:34:03 PM
Hey all, I want to try to create a replacement Winamp (hopefully many
are familiar with this) with only the features I need stripped down
because I like the original software, but lately it has gone far from
what I enjoy using) and the old software is no longer available.
I want to create basi... more >>
URL parameter
Posted by RennegadeX at 1/4/2004 7:01:11 PM
I open page with the following URL http://www.test.com/displaydata.aspx?pYear=200
within code of displaydata.aspx, how do I get the parameter value for pYea
In asp, i would use request.querystrin
is there something similar in vb.net or should I be using request.querystrin
... more >>
HLP: Start Day of Week for a DateTimePicker?
Posted by Mr. B at 1/4/2004 6:39:29 PM
Is there some way I can 'easily' change the start day for a DateTimePicker
other than screwing around with Region Settings (I only want this while my
application is running).
The default start day of the Week (Canadian/USA) is Sunday. I'd like to
change it to Saturday. Again... just while my... more >>
text field max. charecter number
Posted by QT at 1/4/2004 4:34:56 PM
Dear sirs,
I try to put limit for text field to stop charecter entery after 2
charecter. But I have no success.
Any idea how can I do?
Best Regards
... more >>
Take Action When Item Selected in Combo
Posted by Robert A. Boudra at 1/4/2004 4:24:07 PM
As a newcomer to .Net I'm continually frustrated with the subtle and not so
subtle changes that have been made since VB 6.0 that don't seem to server
any real purpose other than to frustrate people like me. In any case, I'm
trying to do something as simple as take an action when the user selects... more >>
A VB.NET Critique
Posted by ericmuttta NO[at]SPAM email.com at 1/4/2004 3:59:58 PM
There is a VB.NET critique on the following page:
http://www.vb7-critique.741.com/
for those who are interested. Feel free to take a look and share your
thoughts.
Cheers, Eric.
Ps: for those on comp.programming, this may be off topic, but I've
posted there because the critique was part of ... more >>
something really simple i forgot how to do
Posted by Capuchin at 1/4/2004 3:57:41 PM
how do you put a numerical value from a text box into a decimal variable?
something like cint, but it cant be an integer because the value is decimal
... more >>
Retrieve database id?
Posted by mkloch NO[at]SPAM pc-troubleshooter.com at 1/4/2004 3:46:17 PM
Hello,
I am sending (via email) a link to a page (
http://receive.aspx?ID=xxx) with the id from the database. How do I
retrieve that data back from the database using that ID=xxx
information?
Mark... more >>
Simple question: free/shareware XP-buttonface icons??
Posted by Jack Black at 1/4/2004 2:34:07 PM
Hey, all! Looking for a source for 16x16 icons with the XP buttonface color
that can be used for basic toolbars?? The ones that come with VB.Net
(VS.Net '03) don't have the XP buttonface color...
Any ideas?? Thanks much! :)
Jack
... more >>
A better database access motor?
Posted by .:: MaStErDoN ::. at 1/4/2004 2:13:03 PM
Hi!
I just wanna now if there is a better and freeware database access motor
much more powerful than ado.net or sql?
Thanks!
Andres
... more >>
dataset
Posted by mohamed at 1/4/2004 2:10:40 PM
dear friendes
how are you ? i hope you good.
please helpe me to soluve this problem .
i have dataset from webservice and i want to determin
colums from thid dataset and disply in datagrid
i use c#... more >>
Strange Automation Behaviour - Excel
Posted by arturo-g NO[at]SPAM lycos.com at 1/4/2004 1:52:02 PM
Hello everybody. Can someone have a look at this bit of code?
Private Sub TestExcel()
'Create the Excel Application
Dim xlExcel As Application = New Excel.Application
xlExcel.DisplayAlerts = False
Dim xlWorkbooks As Workbooks = xlExcel.Workbooks
Try
Dim xlWo... more >>
New ASP.NET 2.0 Terminology: "CROSSPOST" is a very BAD name to use
Posted by anon at 1/4/2004 1:18:30 PM
Dear Microsoft:
In your new ASP.NET 2.0 page model of being able to crosspost to another
page, it would seem that if you were to type that word in Google,
"crosspost" or "cross post", you will get endless amount of results from the
newsgroup police complaining about posters cross posting to ma... more >>
Font size
Posted by Erik Cruz at 1/4/2004 12:09:10 PM
Hi.
Have found some code examples with syntax like that:
RichTextBox1.Font = New System.Drawing.Font("Tahoma", 12.0!,
System.Drawing.FontStyle.Regular, _
System.Drawing.GraphicsUnit.Point, CType(0, Byte))
What is the meaning of the ! sign on the size parameter in the code above?
TIA,
Er... more >>
Databinding
Posted by Jason and Cindy MacKenzie at 1/4/2004 11:58:35 AM
I have a simple windows forms app with databinding. Binding the textboxes
with Me.TextBox1.DataBindings.Add("Text", Child1, "Child.ChildFirstName")
seems quite straightforward.
My question is about how to data bind comboboxes so I can navigate through
records. I have this working with text box... more >>
Logic Help... PLEASE!
Posted by theukjock NO[at]SPAM aol-dot-com.no-spam.invalid at 1/4/2004 11:53:38 AM
Hi guys and Gals I need some serious help please. I can not get my
head around this problem.
At work we have a BBC Acorn computer (yep, I know what yer thinking),
and for the past month I have decided to re-write the software and
replace the Acorn with a p.c. with new software
The BBC is us... more >>
MSIL Not Coding String Variables
Posted by azim_ghoniem NO[at]SPAM hotmail.com at 1/4/2004 11:42:59 AM
See This Code
=======================================================
..method private specialname rtspecialname static
void .cctor() cil managed
{
// Code size 52 (0x34)
.maxstack 8
IL_0000:
ldstr "Provider=Microsoft.Jet.OLEDB.4.0;Data Source="
IL_0005: cal... more >>
Where is the VB.Net "Package & Deployment Wizard"?
Posted by Geri Reshef at 1/4/2004 10:26:05 AM
In the VB6 I used the "Package & Deployment Wizard" to create an
installation package.
I didn't find the VB.Net equivalent.
Does anybody knows where or what is it?
... more >>
Delegates
Posted by Yaron at 1/4/2004 10:21:08 AM
Hi,
This is a follow-up to a question of mine yesterday...
Let me tell you exactly what I want to do... I have a
function which creates a textbox to edit fields in a
ListView (Details view). This function takes parameters
on the ListView to use, the item index, the column index,
and ho... more >>
finding records in ADO.net
Posted by Robert A. Boudra at 1/4/2004 10:19:24 AM
I'm looking for the equivalent of the Find method from ADO in ADO.net. It
appears that the Find method in .Net only works on the Key field. How do I
search for the first record in a DataSet that meets a given criteria?
... more >>
dotnet coexists with vb6 ... any problem ?
Posted by Kelvin at 1/4/2004 10:01:30 AM
Hello,
I have VB6 Pro SP5 installed on my computer, and
have few VB6 projects still working on.
Will I trash the existing VB6 projects by installing
VB.Net on the same computer ? Even if they can
install on different directory, but will VBdotnet
replaces controls etc that won't work on my... more >>
Form control resizing
Posted by Shane Saunders at 1/4/2004 9:53:58 AM
Tahnk you for your help... I looked into it a litte more and it was what
i wnated to do... I need to archor it the form and that work good
Shane
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!... more >>
Rows.Remove
Posted by Nathan at 1/4/2004 9:43:46 AM
I want to delete a row from a dataset, and I use:
Dim SelectedRow() as DataRow = DataSet1.Table1.Select("Selection Criteria")
DataSet1.Table1.Rows.Remove(SelectedRow(0))
The SelectedRow returns 1 row = SelectedRow(0). This successfully removes
the row from the dataset, but upon calling the ... more >>
Strange Idea(con't)
Posted by Peace at 1/4/2004 8:56:51 AM
In the last thread (I dont have it anymore) I talked about building a
interface for use by those using this particular newsgroup that would be a
topical search and eliminate garbage and other junk. Well this is a
screenshot of what the program search interface could look like. Any
comments appre... more >>
bound textbox update source
Posted by Frank at 1/4/2004 8:54:51 AM
Hopefully this is the correct group for this message. My
previous post to (I assume) a non-.net group was not
welcomed.
I have a form with 7 text boxes that are all bound to
fields of a dataset. The form also contains a datagrid
also bound to the same dataset.
I have a button on the fo... more >>
Data Entry Control
Posted by Christopher Brandy at 1/4/2004 8:53:21 AM
Do anyone know how to evaluate each character a user
enters to determine if it is numeric? I don't want to
let the user type in an alpha character. If they hit a
alpha character I want the computer to beep but retain
the numbers they already typed in.
Your help is appreciated... more >>
Adding MSDE2000 to the VS.Net Setup project
Posted by nir NO[at]SPAM miracom.co-dot-il.no-spam.invalid at 1/4/2004 8:39:21 AM
How can I add MSDE2000 to the setup project so the MSDE2000 will also
be install in the machine?
If using merge module - how it can be done?
----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,00... more >>
Adding Dot Net Framework to Setup Project in .Net Solution
Posted by nir NO[at]SPAM miracom.co-dot-il.no-spam.invalid at 1/4/2004 8:29:56 AM
when creating a solution that also contains a setup project, there is
need to add an option to install the dot net framework also in the
setup project.
I try to add the merge module (dotNETFXRedist_x86_enu.msm) -
but the dot net raise error :
- 'dotNETFXRedist_x86_enu.msm must not be used to r... more >>
Excel Addins in Dot Net
Posted by nir NO[at]SPAM miracom.co-dot-il.no-spam.invalid at 1/4/2004 8:29:53 AM
I have a problem to install an addin project to a computer other than
the one I develop the project.
The setup project work fine, but the excel doesn't run the addin -
probably because it can't link the office dll in the addin project (I
don't ask how to build the addins itself, but how can I b... more >>
Checking if a file is read-only?
Posted by Jarod_24 at 1/4/2004 6:47:43 AM
What is wrong here. This thing allways returns true.
I want a simple way to see if a file is write protected.
'strFilename' holds the path for the file
Dim isWriteProtected As Boolean =
IO.File.GetAttributes(strFilename).IsDefined(FileAttribute.ReadOnly.GetType,
FileAttribute.ReadOnly)
I... more >>
Microsoft press VB.NET book advice
Posted by praveengroups_dotnet NO[at]SPAM rediffmail.com at 1/4/2004 4:30:28 AM
Is following Microsoft Press VB.NET book as a beginner a good
idea..or any other books you guys want to suggest... more >>
Query result.
Posted by Vivek at 1/4/2004 4:22:33 AM
I need help on retrieving filtered query into VB6's
listbox,flexgrid or textbox or dbgrid.
I am able to filter the query using "'" in the form but
not able to retrieve the result.
Please reply.
Vivek... more >>
using Win32 Constants
Posted by Jarod_24 at 1/4/2004 2:27:54 AM
I've managed find out how to start using the Win32 API's
But some of these methods got constants that you should use when caling
them. for example
the LockSetForegroundWindow got a unsigned integer as a parameter that
either can be the value of "LSFW_LOCK" or "LSFW_UNLOCK"
How do i get hold o... more >>
|