all groups > vb.net > november 2003 > threads for monday november 3
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
How to .... Syntax
Posted by Pete Mitchell at 11/3/2003 10:24:56 PM
I have three classes named: Action, Link, LinkCollection.
Action class represents a row in table called Actions.
Link class represents a row in table called Links.
The Action table is the parent and the Links table is the child.
The LinkCollection class contains a HashTable collection of Lin... more >>
关于LISTVIEW控件
Posted by Menu Chen at 11/3/2003 10:13:57 PM
我用LISTVIEW控件的时候,&=
#24819;限制用户对控件列&#=
22823;小的调节
但是找遍了LISTVIEW的属性&=
#65292;没有实&... more >>
What Compiler Options we need to choose ?
Posted by Dinesh Jain at 11/3/2003 10:12:44 PM
Hi All,
When we give a .NET exe to client, what comlier options
we should change to give it as a Release Build?
I know about setting the output as release build
(Configuration Manager) but confused about enabling
JIT option. It is necessery to turn it on?
Please help,
Thanks ... more >>
Epson TM-T88III Thermal Printer
Posted by smallun NO[at]SPAM sinaman.com at 11/3/2003 9:57:40 PM
I'm now using VB.NET to write a POS which it need to drive the epson
thermal printer. I have no problem to use the printer by using
"PrintDocument" onject provided by Vb.NET. But I think the speed for
print is too slow, anyone know how I can speed it up??
P.S. I know if I directly output some ... more >>
? run code if window is closed/ minimized / restored /maximized / moved / resized
Posted by Dan at 11/3/2003 9:56:17 PM
Hello,
I am just now converting from the world of DOS. Making simple VB.NET apps
was easier than I expected. Now I need some control over the window that the
app is running in.
Can a VB.NET application run some code when its window is closed/ minimized
/ restored /maximized / moved / resize... more >>
LoadDataRow issues
Posted by VJ at 11/3/2003 9:31:43 PM
Hi..
I have 2 datasets, each with a DataTable. Each table has the same primary
key, and columns. I am trying to copy rows from one dataset to another,
based on an event from my application.
It all works fine when the row is not present in the destination DataTable.
Now when the row ... more >>
deleting a line from a multiline textbox
Posted by Harry Hudini at 11/3/2003 9:29:09 PM
I have a multiline textbox and want to be able to allow the user to position
the cursor in a line of the textbox, then click on a Remove button to remove
the line which the cursor is on. Thing is, i would need to know how to find
the line the cursor is on.
I can deleted the selected text, but ... more >>
Description Attributes for class methods
Posted by Sergey Poberezovskiy at 11/3/2003 9:00:16 PM
Hi,
I have already asked the question, but probably did not
make myself clear.
Back in VB6 days when you created a public
method/property/event you could define what's
called "Procedure Attributes", one of them was a
Description attribute. Once you define it, it would appear
in the O... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
my for each ... as ... thing is broken
Posted by Tom Leylan at 11/3/2003 8:19:47 PM
Does anybody have any idea why my version of VS.Net doesn't accept the
following syntax?
For Each f As FileInfo In d.GetFiles()
sz += f.Length
Next f
I always have to explicitly declare the variable as follows:
Dim f As FileInfo
For Each f I... more >>
Message
Posted by A.A. Fussy at 11/3/2003 7:51:17 PM
How would I display a messagebox in a VB.NET program?
... more >>
.netframe work redistributed
Posted by Kishor at 11/3/2003 7:00:30 PM
Hi all,
How do I add the .netframe work redistributed in my set up project. so that
my set up will work smoothly. I have tried including it, but gave me error.
Please help me this is urgent.
Kishor
... more >>
Cab files in VB.net standard...
Posted by Gary at 11/3/2003 6:44:39 PM
Hello...
How come I cant see the Cab File icon in Setup and Deployment Projects
Templates? is this because I only have VB.net Standard? or is there
something I have to activate?
Thanks,
Gary
... more >>
A tool for class design schema
Posted by Crirus at 11/3/2003 6:29:00 PM
Hello
I need a tool to design a class schema and relationship between multiple
classes
Thanks, Crirus
... more >>
Sending Output to a Word or Excel Doc/Spreadsheet
Posted by Derek at 11/3/2003 6:25:51 PM
I have a simple app that logs details of my customers and the work done for
them. It uses a few tables in Access and allows me to keep a basic record of
things for my accountant.
How can I output the billing info from my app to the Word doc or maybe Excel
spreadsheet? I can gather all the info... more >>
please me Help with this program
Posted by Merdelus at 11/3/2003 6:17:44 PM
I'm a new visual basic learner, I need some help with this
program below:
create an application that either sums or averagethe rows
or columns of a two dimensional array depending on user
choices.
create a menu bar with a file that includes a perform
action command and an exit command. ... more >>
Help
Posted by Merdelus at 11/3/2003 6:15:21 PM
I'm a new visual basic learner, I need some help with this
program below:
create an application that either sums or averagethe rows
or columns of a two dimensional array depending on user
choices.
create a menu bar with a file that includes a perform
action command and an exit command. ... more >>
debug Symbol files
Posted by Bob Day at 11/3/2003 5:39:11 PM
This is a few week old post, which I never got a reply to, so I am reposting
it.
-------------------------------------------------------------------
when debugging an application, the following code always returns a line
number of zero
> > Dim CurrentStack As System.Diagnostics.StackTra... more >>
Adding a fresh column to a datagrid
Posted by Mike Fellows at 11/3/2003 5:06:55 PM
I want to add a fresh column to a datagrid that is bound to a datasource
i want it to be the first column on the datagrid so that i can number each
row 1,2,3,4.... etc. (but i have no need to store this within my database)
how do i add an empty column?
Thanks
Mike Fellows
... more >>
How to print a form
Posted by Dino M. Buljubasic at 11/3/2003 4:57:11 PM
I'd like to be able to print my form or some controls on it. I have found
lots of references for this but they all talk about printing a text document
from a form.
Any help will be appreciated
Dino
--
-------------------------------------------------------------------------
FIGHT BA... more >>
Form Builder
Posted by Dino M. Buljubasic at 11/3/2003 4:54:52 PM
I am developing an application that will allow the user to create thier own
forms by dragging and dropping controls on the form and assigning it a title
(for control header) and a data type that control will hold (e.g. string,
number, date). These are the only tree types required. The form can ... more >>
Whats the best class way to do this
Posted by news.microsoft.com at 11/3/2003 4:26:17 PM
Hi,
I have an app with three forms.
a) Master form. It has a grid with a list of contact names on it.
b) Contact form. This form is where you can edit/create a new contact
c) address form. This form is a popup launch from the contact form to enter
the contacts address.
I have created a b... more >>
Copying to clipboard
Posted by John at 11/3/2003 4:19:51 PM
Hi
How can I copy some text to the clipboard so it can be pasted into other
apps?
Thanks
Regards
... more >>
Textbox
Posted by Brian Pittman at 11/3/2003 4:17:18 PM
Hi,
I can't for the life of me remeber how to do this (mental block I guess).
But how do I put the text from textbox_1 at the top of textbox_2 also
retaining textbox_2's text
any help is appreciated.
Brian
... more >>
Service. Net use
Posted by Odd A Haugum at 11/3/2003 4:12:24 PM
Hi
In VB6 I could use the 'WNetUseConnection' API to map a remote disk. This
API needs a forms.Hwnd to work.
How can I map a remote disk from a .NET service?
Regards
Odd A. Haugum
... more >>
Bound Controls
Posted by Rick Mogstad at 11/3/2003 4:02:31 PM
In VB6 it seemed as though bound controls (textboxes, etc) were kind of the newbie way to do
things, but were generally not good coding practice. Is this something that is different with
..NET? With the new data access methods is this the general way to display data? It seems easier,
but I gue... more >>
Data Type
Posted by Simon Morris at 11/3/2003 4:01:09 PM
In VB6 I use this code:
Public Island() as MapPoint
Type MapPoint
GridEast as Single
GridNorth as Single
End Type
How do I do this in VB.NET?
... more >>
Best Book
Posted by Scott Metzger at 11/3/2003 3:50:36 PM
Hi,
I have 10 yrs development experience. No VB, but lots of C++, Delphi,
and Database.
What would be the best book for me to learn VB.Net? I don't have the
time or the money to get and study more than one.
Thank You,
Scott Metzger
... more >>
Service. exe path.
Posted by Odd A Haugum at 11/3/2003 3:34:47 PM
Hi
I'm creating a .NET service.
I want to read settings from a txt file placed in the same folder as the exe
file.
The file has the same name as the exe file.
In VB6 I used app.path to find the path.
In .Net I can use 'application.startupPath'.
But when I create a service, I cant use th... more >>
Memory
Posted by Daniel Sélen Secches at 11/3/2003 3:34:32 PM
i have a simple app. just to show some tasks from a db.
how much memory it would have to use?
Now it's using close to 19Mb... it isn't too much?
thank's
--
_____________________________________________
Daniel Sélen Secches
ICQ 961630
... more >>
Listbox repaint
Posted by Randy Riness at 11/3/2003 3:25:46 PM
After changing a property in an object added to a
listbox, how can I get the listbox to recall the ToString
method and display current values?
Example:
Private Sub AddToList
Dim MyObject as New MyClass
' Set property values
Lisbox.Items.Add(MyObject)
End Sub
Private Sub UpdateObject
... more >>
DataGrid & DataView questions
Posted by Stan Sainte-Rose at 11/3/2003 3:20:28 PM
Hello,
I need to know how to format Integer and Real with the datagrid.
In fact, I want to use the right alignment.
When I use this option the header text comes with the right alignment too.
:(
Another question with datagrid, is there a way to have "blank lines".
I mean I would like to have ... more >>
Check for port in use?
Posted by Scott Lezberg (Deltek) at 11/3/2003 3:16:39 PM
Is it possible to check for a port (such as port 8000) in use using VB .NET?
If so, is there any sample code around.
Thanks in advance.
Scott
... more >>
Trying to name submenus ("Edit Names") doesn't work!
Posted by Larry Woods at 11/3/2003 3:14:29 PM
I am trying to name my submenus (MainMenu control) and they show up in the
menu dropdown...like they are O.K., but when I check my controls the names
are still "MenuItemX". OTOH, the top-level menu items renamed just fine.
What might I be doing wrong?
TIA,
Larry Woods
... more >>
Running a program w args
Posted by Ken Barz at 11/3/2003 3:12:18 PM
I can use the windows "run" with the following command:
"C:\Program Files\SAS Institute\SAS\V8\sas.exe" -
sysin "c:\filetest\sas programs\spiroread.sas" -sysparm
c:\filetest\0254140.csv
where sas.exe is the application, the -sysin argument is
the SAS program to run, and the -sysparm argum... more >>
How do I close current form and open the next form ?
Posted by prob at 11/3/2003 2:52:39 PM
I would like to acheive the following VB6 code in VB.NET
Code in the Form1 - Button1_Click
Dim obj1 as new form2
obj1.Prop = myprop
obj1.show
unload me ... more >>
Menu doesn't appear ...
Posted by Gita George at 11/3/2003 2:36:54 PM
Consider this code:
Public I As New NotifyIcon
Public mnuPopUp As New ContextMenu
Public WithEvents mnuSetari As New MenuItem
Public WithEvents mnuExit As New MenuItem
Sub Main()
mnuSetari.Index =3D 0
mnuSetari.Text =3D "SETARI"
mnuExit.Index =3D 0
mnuExit.Text =3D "Exit"
... more >>
redirect a request
Posted by plt NO[at]SPAM nospam.com at 11/3/2003 2:21:53 PM
Hi guy's just a quick question
I have to redirect a request....ex.
A------>B------>C and the other way A------>B------>C
meaning that B have to control the communication between A and C.
(C is a secure server, that is only accepting request from B)
A normal Response.Redirect("xxxx.... more >>
How to check if a table exists in Access XP
Posted by tabowman NO[at]SPAM comcast.net at 11/3/2003 2:09:24 PM
Hello,
I have a access application that resides locally on users desk, I
am writing a VB.Net interface that let's the users pull data down from
a SQL server database and populate the local access database with that
data, I need to check the local access database to see if there is
already ... more >>
1 query with 2 sort-functions?
Posted by Drygast at 11/3/2003 2:01:04 PM
I have a form where I fetch some data in an accessdatabase. I would like to
present the result as 2 sets of data (I'm a newbie so I don't really know
how to express what I'm really looking for so bear with me). One set should
be sorted by "ordernumber" and the order set should be sorted by "date"... more >>
VB.Net wont install
Posted by Harry Hudini at 11/3/2003 1:58:35 PM
I'm trying to install VS .Net, particularly the VB elements, but no matter
what i select, i get an error at the end of the process simply saying that
an error occurred.
The installlog.txt file contains these lines;
[11/03/03,12:50:13] Visual Studio .NET Enterprise Architect - English:
***ER... more >>
Using CRC
Posted by Rafael Pivato at 11/3/2003 1:40:37 PM
There is some ready-to-work class for using CRC over a stream?
---------------
Thanks,
Rafael Pivato
... more >>
"Set Theory" operations in VB.NET
Posted by bill salkin at 11/3/2003 12:48:09 PM
How can I implement set operations in VB.NET. For example,
{1,2,3,4} union {3,4,5,6} = {1,2,3,4,5,6}
{1,2,3,4} minus {0,3} = {1,2,4}
{1,2,3,4,5,6,7} intersect {0,2,7} = {2,7}
Bill... more >>
MS Access app conversion to .Net w/ intensive use of OLE Containers
Posted by gschipper NO[at]SPAM rgl.net at 11/3/2003 12:35:37 PM
I've been reading a number of postings on .Net that indicate that
there is no OLE Container control for .Net applications.
Has anyone successfully converted a VB6 or MS Access 2000/2002 app
that used OLE Controls to hold links to files? If so how did you get
around the no OLE Control limitatio... more >>
missing line number in exceptions
Posted by Tony at 11/3/2003 12:15:55 PM
In certain applications I have (vb.net 2003), when I
catch an exception and print the toString (or
stacktrace), it does NOT show the line number. However,
other simple apps I have it does show the line number.
How can I get it to always show the line number. How/why
is it not always sho... more >>
sorry for many posts but the delay
Posted by Fritz at 11/3/2003 12:13:41 PM
I thought the post were not accepted
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!... more >>
Is there a service available to monitor file locking?
Posted by Mark at 11/3/2003 12:11:45 PM
I've heard that you could program a service to Manage File
folders, etc.
My problem is that I have to monitor files in a folder and
when locks are released from them by users, move them to
another folder.
I heard from a colleague that Microsoft had a class that
could do something simil... more >>
RegNotifyChangeKeyValue in VB.NET
Posted by Kevin Hodgson at 11/3/2003 12:03:58 PM
Does anyone know how I can trap and respond to the RegNotifyChangeKeyValue
event in VB.NET?
Thanks,
... more >>
Size of a folder on disk.
Posted by Ty Moffett at 11/3/2003 11:54:47 AM
What is the best way to find the size of a folder (actually it's contents)
on a disk?
... more >>
MDI and threads
Posted by Fritz at 11/3/2003 11:42:58 AM
Hi,
actually I have a childform, which runs a self-written script
interpreter (runs aprox. 1 min).
I want to create more child-forms and I want to have the interpreters
run parallel.
Right now only the interpreter of the last created form is running until
it is finished and then the othe... more >>
access the connection from other form
Posted by Daniel Sélen Secches at 11/3/2003 11:29:11 AM
I have a connection on form1 of my project.
who can i use it from another form displayed as showdialog?
i've just tried do that...
formMain has the connection named as conn
from form2
Private Sub form2_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Lo... more >>
Open modal web form.... or "simirly" to modal :) What (and how) possible to do?
Posted by Sukhanov Volodya at 11/3/2003 11:19:43 AM
Hello, All!
Does anybody knows how to open a window of browser (ex IE 6.0) in modal mode
(or "simirly" to modal)?
Early, in classical ASP, using VBScript, I could write:
<SCRIPT language="vbscript">
call window.open("MyForm.aspx","replace","channelmode=1,directories=0,
fullscreen=1,location=0,... more >>
MDI with threads (parallel work)
Posted by michaelu NO[at]SPAM gmx.de at 11/3/2003 11:17:07 AM
Hi,
actually I have a childform, which runs a self-written script
interpreter (runs aprox. 1 min).
I want to create more child-forms and I want to have the interpreters
run parallel.
Right now only the interpreter of the last created form is running
until it is finished and then the other on... more >>
I found a solution that works.
Posted by tim_frawley NO[at]SPAM fishgame.state.ak.us at 11/3/2003 11:12:23 AM
I had a brain storm Friday night after leaving the office. Figures,
the ride home is usually the best time for good ideas.
I moved my first four sub reports and additional report day into
Report Header sections, five in all. I moved the last sub report into
the body of the main reoport doing... more >>
Answer to placing values in a field in Tab A from Tab B
Posted by Woody Splawn at 11/3/2003 11:01:21 AM
Last week there was a rather long exchange on this newsgroup titled Why this
no work" I will delineate the solution below. It is simple. I don't know
why someone else didn't suggest it. Oh well <g>. Instead of trying to
update the field in the usual way you have to update the datatable inste... more >>
Assigning a value to a column in a data table
Posted by Woody Splawn at 11/3/2003 10:48:39 AM
Lets say I have a winform that is populated with a dataset. The dataset and
data table may have several rows in it. Lets say I am looking at the
winform and I want to assign a value to a certain column in the associated
datatable. Lets say there are 10 rows in the table and I am on row 5, and ... more >>
Draw image in memory
Posted by Danilo at 11/3/2003 10:32:36 AM
Hi,
I need draw a image in memory with the method Like drawrectange,drawstring,
ecc.. next i want put this image in a form Graphics.
thanks
... more >>
Bug in Rich Text Box control tab setting array?
Posted by Jim Haynes at 11/3/2003 10:28:00 AM
I cannot set the tab array for the Rich Text Box
control. After I have text in the control, I try the
following where rtb is the name of the rich text box
control:
rtb.selectall()
Redim rtb.SelectionTabs(5) 'to set 5 tabs
rtb.SelectionTabs(0) = 100 'pixels
rtb.SelectionTabs(1) = 200 ... more >>
Outlook items
Posted by Nathan Carroll at 11/3/2003 10:11:40 AM
Why am I able to use this in Outlook and not do the same from .Net.
My problems centers around the Items in the xp version of below i used the
interop references. Does something similar exist for 2000?
'this works fine in ol 2000
Dim item As Object
Dim items As Outlook.items
Dim... more >>
dataset disappears from my form
Posted by Osmosis at 11/3/2003 9:21:06 AM
I have a dataset on my form which includes several tables.
Whenever I make changes to the xsd file, the dataset component is removed
from my form and I get the following error :
Type 'Project.dsDataEntry' is not defined.
The component still seems to exist in my code, but not on my form.
W... more >>
MDI-Forms with thread
Posted by michaelu NO[at]SPAM gmx.de at 11/3/2003 8:40:39 AM
Hello,
I have a application which could create 1 to 5 mdi-child-forms.
Each childform should have it`s own thread - like a chat-application.
How can I do this?
Bye
Mike... more >>
Problem with images???
Posted by grawsha2000 NO[at]SPAM yahoo.com at 11/3/2003 5:50:10 AM
Greetings,
I have this problem with any image, in any format, I include in
ToolBar Control. Those images are in-house developed. The problem is
when I include an image in a ToolBar and have its Enabled property set
to False, at runtime, the image just disappears, leaving a square
grayed area ... more >>
VB.NET book
Posted by simon at 11/3/2003 4:52:50 AM
Can someone recommend a good VB.NET book for a programmer who is not new to
programming but new to .NET? Thank you very much.... more >>
New "windows" in .NET
Posted by Stuart Brierley at 11/3/2003 4:51:38 AM
Does anyone have any ideas how to open a new web browser
window in .NET?
I'm using ASP.NET with VB as the code behind, and after
some validation code may need to open a second browser
window.
Any help gratefully received.
Cheers
Stu.... more >>
TREEVIEW QUESTION
Posted by SALIH ATAOZ at 11/3/2003 4:42:22 AM
I HAVE A ROOT TREEVIEW NAME=ROOT
THEN A CHILD ROOT CHILD
AND THEN A CHILD OF ROOT CHILD=CHILDOFROOTCHILD
*ROOT
**ROOTCHILD
***CHILDOFROOTCHILD
WHEN I CLICK THE TREE NODES AND SELECT CHILDOFROOTCHILD
IS THERE ANY CODE OF FINDING
LIKE OR LOOK LIKE THIS
ROOT/ROOTCHILD/CHILDOFROOTCHILD... more >>
Treeview set selectednode
Posted by Sarah at 11/3/2003 3:38:27 AM
Hi,
Just starting out with VB.NET. Got a treeview control
which lists drives/folders. Managed to write code to
dynamically add folder and show it, but now I want to
select this folder, so the user doesn't have to do it.
Something like:
treeview1.nodes(i).select
would be good but it ... more >>
How To Turn $6 into $6,000
Posted by amykatie69 NO[at]SPAM aol.com at 11/3/2003 3:32:07 AM
HOW TO TURN $6 INTO $6,000!!!!!!
READING THIS COULD CHANGE YOUR LIFE! PLEASE READ ALL!
I found this on a bulletin board and decided to try it. A little while back, I
was browsing through newsgroups, just like you are now, and came across an
article similar to this that said you could make ... more >>
Multiple Exit Sub's - A Bad Thing?
Posted by teddysnips NO[at]SPAM hotmail.com at 11/3/2003 2:40:13 AM
I have been handed this code to use in my app.
If (dataTable Is Nothing) Then
Exit Sub
End If
If (colStyle Is Nothing) Then
Exit Sub
End If
I would prefer:
Dim blnContinue As Boolean = True
If (dataTable Is Nothing) Then
blnContinue = False
End If
If (colStyle Is Nothing... more >>
Using one set of souce files for both VB .NET 2002 and VB .NET 2003
Posted by Howard Kaikow at 11/3/2003 2:17:40 AM
Is there any (reasonable) way to use a single set of source files for both
VB .NET 2002 and VB .NET 2003.
I'd sure like to do coding changes in only one place, but I seem to need a
separate directory for each VB .NET version.
--
http://www.standards.com/; See Howard Kaikow's web site.
... more >>
referncing parent form
Posted by John at 11/3/2003 2:05:27 AM
Hi
I have opened a dialog (form) from within a form using the ShowDialog(). How
can I now access methods in the parent form, from this dialog?
Thanks
Regards
... more >>
Return Key as Tab
Posted by Vinay at 11/3/2003 1:14:57 AM
Hi,
Can I enforce Return key to behave like a TabKey ?
I am using the following KeyPress down event for my
control:
Private Sub Navigate(ByVal sender As Object, ByVal e As
System.Windows.Forms.KeyPressEventArgs)
Try
Select Case e.KeyChar
Case vbCrLf
... more >>
High processor usage
Posted by George Gita at 11/3/2003 1:10:32 AM
I have the following code in a VB .NET program (version
2003):
'begin code
Sub Main()
Dim check_timer As System.Timers.Timer
While Not (check_timer Is Nothing)
'doing nothing ...
End While
End Sub
'end code
When I run the .exe file(the actual program) my processor
usage ... more >>
Assigning Description Attributes to class methods
Posted by Sergey Poberezovskiy at 11/3/2003 12:17:53 AM
Hi,
When I create a dll in VB6 I normally define description
to every method, so that it could be seen in the Object
Browser (by user/developer). I strongly beleive that this
is still possible to do in .Net - I just cannot seem to
find how...
Could someone please help?..... more >>
|