all groups > vb.net > january 2006
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
Installing VB.NET 2003
Posted by Alexander Walker at 1/31/2006 11:44:35 PM
Hello
I have downloaded the VB.NET 2003 iso from MSDN and tried to install it onto a
virtual pc but the installation doesn't get far at all because it asks me for a
prerequisites disk that I don't have and which is not available for download
from MSDN, has anyone had this problem with the V... more >>
Combobox Question
Posted by S Shulman at 1/31/2006 11:08:40 PM
After deploying my VB.NET program users complained that they can't type the
first few letters in the drop down list and bring up the item because for
instance if they look for entry listed as ABC and they type A then B the
first item that starts with B will come up.
Any way to solve that?
... more >>
TCPListener / GUI Responsivness
Posted by Chris Johnson at 1/31/2006 10:19:34 PM
Hey guys,
A while back I posted a message about multithreading in .NET 2.0 to maintain
GUI responsivness while using a TCPListener to monitor a TCP port for
transmission. One of the MVP's in the group (Cor Ligthert) mentioned using
the queue class to do this.
I have, unfortunatly, been u... more >>
"friend" accessor and inherited forms
Posted by Vark at 1/31/2006 10:16:29 PM
Interesting behavior I came across today where a child form has full access
to a base form class' controls, but you can only modify the controls'
properties in code, not in the visual designer. Here's how you can reproduce
it:
New Winforms project
On Form1, drop a visual control. I'll use ... more >>
Coding Standards - We need a hero
Posted by CMM at 1/31/2006 9:43:13 PM
Do gurus like Kathleen Dollard frequent these forums? I wonder what she has
to say about "Hungarian Notation" thread above. It seems that with her work
in "Code Generation" she'd be well qualified to offer input.
I think the VB.NET community needs to address this. It's about time! Other
dev... more >>
Rounded form corners and a custom title bar
Posted by Hades at 1/31/2006 8:38:38 PM
Hello,
I would like to create a program with a custom border.
Does anyone know how I can create rounded form corners and a custom
title bar?
I'm using Visual Basic .net (2002). Some example code would be great.
Thanks in advance,
Hades... more >>
Weird system.net.mail behaviour
Posted by Bob at 1/31/2006 7:54:54 PM
This code snippet works fine (vs 2005)
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Dim message As New MailMessage()
Try
message.From = New MailAddress("myname@mydomain.com")
message.To.Add(... more >>
Can't Figure Out How to Calculate Using Tabs
Posted by Drew Leon at 1/31/2006 7:36:41 PM
I have a Tab Control on a form. Each one of the tabs have two populated List
Boxes on them. I have a Button on the form which I would like to use to
calculate the various math problems in the Tabs. I would rather not have to
a button on each tab to calculate the math problems. Any assistance woul... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
System.Drawing
Posted by rgx71 NO[at]SPAM yahoo.com at 1/31/2006 7:28:16 PM
Hi!!, Somebody know if is posible with this class make differents
charts and control the click event over a part of a graphic?
... more >>
MDI Form Does not display Child Form if a Split Container used
Posted by Mike TI at 1/31/2006 7:12:34 PM
Jan 31, 2006
Dear all
I am new to VB Net 2005 and learning by building a small project.
I have created an MDI Form. I placed a SplitContainer on the MDI Form. Now
when I want to display a Child Form on the MDI Form, it will not show. If I
remove the SplitContainer, it is displayed.
(... more >>
MAPI
Posted by Dennis at 1/31/2006 6:09:27 PM
I am trying to use MAPI in a vb.net 2003 application. I find that I need the
Active X control MSMAPI32.ocx. If I install IIs, will this be included? I
read that VB6 includes this control but not sure if IIs does?
--
Dennis in Houston... more >>
Clearing a TextBox
Posted by Drew Leon at 1/31/2006 5:43:25 PM
I have a Form with a Tab Control on it. Each of the Tabs have two List Boxes
on them. When you Select an Item from the List Box, the Text Box at the
bottom of the Form gets populated. I would like to have the Text Box clear
itself when I switch Tabs. Any assistance would be greatly appreciated... more >>
TextBox
Posted by Drew Leon at 1/31/2006 5:41:14 PM
How do I get a text box to clear itself when I switch from one tab to
another. The TextBox is poulated using selections from the tabs, but when I
switch to a different tab, the information in the textbox is still there.
--
Have a great day!
Drew Leon... more >>
Working with TabControl
Posted by Drew Leon at 1/31/2006 5:34:21 PM
I need assistance using a Button to calculate formulas. Each Tab in my
TabControl has two ListBoxes on them. I need to know how to calculate
formulas after they have been selected from the ListBoxes. Thank you, Drew
Leon.
--
Have a great day!
Drew Leon... more >>
Outlook.MaiIteml.Move: The RPC server is not available
Posted by Pieter at 1/31/2006 3:43:11 PM
Hi,
On the pc of one of my clients (W2000, Office 2003) I'm getting sometimes an
exception when moving (Move) a MailItem to an Outlook-Folder: The RPC server
is not available. (Exception from HRESULT: 0x800706BA). The client has all
the updates/service packs/ etc isntalled...
Does anybod... more >>
ComboBox design-time DataBinding setting questions.
Posted by dbuchanan at 1/31/2006 3:15:25 PM
These setting mystify me for these reasons.
*SelectedItem* - Help says that 'SelectedItem' gets or sets the
currently selected item in the combobox.
*SelectedValue* - Help says that 'SelectedValue' gets or sets the value
of the member property specified by the ValueMember property.
*Valu... more >>
Datagrid/Dataset Questions?
Posted by John at 1/31/2006 2:58:04 PM
I use VB .NET 2003 and here's the code:
MyDatagrid.datasource = MyDatset.Tables("MyTable").DefaultView
It seems that if I enter new values into the datagrid, the dataset gets
updated. My question is if the dataset raises any event when its data get
updated through the datagrid.
Thanks.... more >>
Whats this
Posted by Bob at 1/31/2006 2:34:34 PM
This code works in vs2003 vb.net
Public Sub WriteLogEntry( _
ByVal logName As String, _
ByVal logSource As String, _
ByVal logEntry As String, _
ByVal logType As System.Diagnostics.EventLogEntryType, _
ByVal logID As Integer, _
ByVal category As Short)
'Arguments : logName - Th... more >>
Using Winsock / TCP Client
Posted by Mark L. Breen at 1/31/2006 2:28:37 PM
Hello All,
I am using a winsock device to stream printer code to a printer. It works
well enough except one problem you may be able to help with.
When I establish a connection and stream code to the printer, it works
immediately, and the printer prints immediately.
I can stream code to... more >>
Const Member in Base Class to be overridden in Derived Class?
Posted by Joe HM at 1/31/2006 2:11:06 PM
Hello -
I am trying to figure out how I can define a constant in a base class
and override it in a derived class. The following shows a little
example ...
Module Test
Sub Main()
Dim A As BaseClass
Dim lSelect As Integer = 1
Select Case lSelect
... more >>
Share datasource among programs
Posted by Matthew at 1/31/2006 2:02:05 PM
I have written many small apps that use one MSSQL database.
Too late, I realized a problem. The connection is hard coded in each
app. And it's time to upgrade my server!
To keep this from haunting me in the future, is there a way to specify
a database connection in a central location?
Matth... more >>
how to: remove unequal white spaces with trim method
Posted by Jan at 1/31/2006 1:58:27 PM
Hi,
Is there a way to remove the white spaces between text?
For example:
"Section 1 is oke fine"
I want it to be,
"Section 1 is oke fine"
I know the method trim, but only for equal spaces. Can I use it for
unequal white spaces?
Thanx
--
Sent via .NET Newsgroups
... more >>
Accessing another .NET app
Posted by Anthony Malt at 1/31/2006 1:53:37 PM
Hi,
I've written a small WinFom .NET app which compiles into a an exe. I now
would like to access this app's object model from another app. What the best
approach for this?
Thanks in advance for any advice
Anthony
--
Anthony Malt
... more >>
drop down inside a datagrid example? (windows forms, not asp)
Posted by Scott Emick at 1/31/2006 1:04:20 PM
Does anyone have a good example of how I can databind my datagrid to a
datasource and have one of my columns be a drop down that references a
related table (foreign key)?
Thanks
Scott
--
Scott Emick
Web Programmer
Fox International
Remove the ham from mail address if it's not spam ... more >>
vbScript eval() function equivalent in VB.Net - Dynamically evaluate code
Posted by neilsanner NO[at]SPAM yahoo.com at 1/31/2006 12:55:19 PM
Hi,
I'd like to be able to evaluate some code dynamically in VB.Net. What
I'd like to achieve especially is this:
dim myForm as Form = new myDLLName.Form1
What I want really is the possibility to do this:
dim x as string = "2"
eval ("dim myForm as Form = new myDLLName.Form"+x)... more >>
Comparing 2 datatables...
Posted by Frank at 1/31/2006 12:48:56 PM
Hello All,
I am working on a vb.net app where I need to compare to 2 datatables
and determine if a string exists in one or both. The first dt is
filled from the db. A form is loaded and the appropriate items in a
checkedlist box are selected based on the dt. So far, no problem. Then
user can ... more >>
ComboBox
Posted by Jennyfer Barco at 1/31/2006 12:10:23 PM
Hello I need to create a combobox and I need to be able to write the first 3
letters of the code and the combo goes to the first item that starts with
those 3 letters. Now what I can do is when I press 1 letter the combo goes
to the first record that starts with that letter. For example I have... more >>
Dynamic Menus with Events
Posted by Stan Smith at 1/31/2006 11:58:33 AM
Is there a way to create dynamic menus and create dynamic events associated
with those menus? I would like to create a menu system based on the
contents of a text file. When the menu item is selected it will execute a
routine whose name will also appear in the text file.
Thanks.
Stan
... more >>
Can't change focus for listbox VB.NET 2005
Posted by Crazy Cat at 1/31/2006 11:39:21 AM
Hi,
I have a form with a databound listbox and combobox. The listbox items
are filtered based on the selection for the combobox.
If I click on the listbox to select an item, I can no longer select the
combobox or even exit the form. It's as if something won't let me take
focus away from the... more >>
how do you execute javascript after script is regsistered?
Posted by simon at 1/31/2006 10:50:33 AM
hello,
what code would i use to kick off a javascript script after i had
registered it?
If (Not Page.IsClientScriptBlockRegistered("jsScript")) Then
Page.RegisterClientScriptBlock("jsScript", strScript)
End If
looking to kick off a script from inside a codebehind, but
con... more >>
Dragging a file from Windows into My program
Posted by pamelafluente NO[at]SPAM libero.it at 1/31/2006 10:14:41 AM
Hi guys, I have a little question (hope it's not dumb) ;-)
I have a form, containing a TreeView, say TreeView1, I want to to add a
file to the tree:
Sub AddFile(ByVal MyFile As System.IO.FileInfo)
Dim t As New TreeNode(MyFile.Name)
Me.TreeView1.Nodes.Add(t)
End Sub
... more >>
how do I enable the scrollbars in my textbox
Posted by Scott Emick at 1/31/2006 10:13:55 AM
I cannot remember how to enable the vertical scrollbar in my textbox for
which I've added combobox controls to dynamically.
I have the vertical scrollbar turned on, but it is greyed out and I cannot
remember how to 'enable' it.
Thanks
--
Scott Emick
Web Programmer
Fox International
... more >>
Can't View Form in Designer Visual Basic .NET 2005 Express
Posted by Crazy Cat at 1/31/2006 7:00:49 AM
Hi,
I'm developing an application that is basically a VB.NET front end to a
SQL Server Express 2005 database -- right now I'm using VB.NET 2005
Express until my MSDN subscription gets delivered later this week.
Here's the problem I'm experiencing -- I created several databound
controls on a f... more >>
currentFocus
Posted by guy at 1/31/2006 1:49:27 AM
in an MDI app, how do i determine which MDI child contol currently has the
focus? (from the MDI form)... more >>
What am i missing to raise a javascript alert
Posted by simon at 1/31/2006 12:39:24 AM
hello.
hopefully another quick newbie question for you....
I have a codebehind function coded to handle the click event of a
button. what this function does is insert values from a data grid
into the database. after that is done i want to send the user to
PageC, but before i do that i check... more >>
I finally did it-- hungarian notation
Posted by CMM at 1/31/2006 12:00:00 AM
So after three years of working in .NET and stubbornly holding on to my old
hungarian notation practices--- I resolved to try to rid myself of the
habit. Man, I gotta say that it is liberating!!! I love it.
At first I struggled with how to name controls. I tried to keep some sort of
notatio... more >>
Global ImageList
Posted by at 1/31/2006 12:00:00 AM
I do not want to setup and create my ImageList over and over again on
different forms in my project.
Is there any ways to achieve it? so that I will be more easy to manage my
ImageList as well as minimize the performance overhead.
Thanks~
... more >>
Getting an object
Posted by Halimaji Nijazi at 1/31/2006 12:00:00 AM
Hi everybody
I have already posted my problem but the description wasn't very good, so I
try again.
I have 2 applications. I my first application I create an object called
user. This object is also referenced in application two.
In the first application I fill the object user with data.... more >>
Event order problem
Posted by C-Services Holland b.v. at 1/31/2006 12:00:00 AM
I've got a problem with the order of events in a textbox. The order of
events seems to occur like this when I press esc:
tb1.leave
tb1.validate
tb1.lostfocus
tb2.gotfocus
tb1.keyup
tb1 and tb2 being textboxes.
something like that. Why is my keyup event not processed first? I need
to... more >>
Unhandled handled exception in Catch line
Posted by Nick at 1/31/2006 12:00:00 AM
Hi there,
This probably wont make much sense but I'm getting an unhandled
exception being thrown in the following line...
Try
While True
Redraw control as necessary
End While
Catch ex as Exception <<< Here!
End Try
This code ... more >>
lost user control
Posted by Kalim Julia at 1/31/2006 12:00:00 AM
I inherite datagrid control, and I paste the derived datagrid control on tab
control (4th tabpage).
Why I keep lose the derived control everytime I close my form (in design
environment)?
Any problem with the environment ?
... more >>
XML Comments and ComponentModel.Description attribute
Posted by CMM at 1/30/2006 10:49:17 PM
In VS2005 / VB.NET, do you still have to spell out the
ComponentModel.Description attribute when you want properties of a custom
control to have description text in the Property Editor?... or can you use
XML Comments take the place of this? If you still need to specify both, why
can't the XM... more >>
Button Click Question
Posted by Drew Leon at 1/30/2006 9:02:21 PM
I have a Tab Control on a form. Each one of the tabs have two populated List
Boxes on them. I have a Button on the form which I would like to use to
calculate the various math problems in the Tabs. I would rather not have to
a button on each tab to calculate the math problems. Any assistance w... more >>
On Maximize button press
Posted by BobAchgill at 1/30/2006 8:39:10 PM
Hi!
I would like to know when the Maximize button gets pressed so that I can use
it to trigger a process. Any ideas??
Thanks!
Bob... more >>
problem saving image to database
Posted by Martin Horn at 1/30/2006 8:31:06 PM
Hi all,
I'm trying to save a picturebox image to a database. This is part of the
code I'm using:-
<snip>
Private drv As DataRowView
Private dr As MainDataSet.OrdersRow
If PictureBox.Image IsNot Nothing Then
dr.Pic = CreateByteImage()
End If
<snip>
Private Function CreateByte... more >>
Printing at bottom of page
Posted by Tom McL. at 1/30/2006 7:40:59 PM
I have a program that produces a calendar which
I would like to print at the bottom of a page so I can
place a picture at the top.
I use the following code to print the calendar:
CaptureScreen()
printDocument1.Print()
It works well, but prints the Calendar at
the top... more >>
Unable to cast object of type 'System.Data.DataSet' to Typed DataSet
Posted by Optimus at 1/30/2006 5:43:37 PM
Hi everyone,
I currently develop an application in vs.net 2005 with vb.net.
I was trying to use typed dataset and I've got in trouble for
converting untyped dataset
into Typed DataSet. I don't know why I cannot perform this casting
operation properly.
First off, I've got my Typed DataSet n... more >>
How to.. Print vb.net..
Posted by Pete Smith at 1/30/2006 5:29:36 PM
How to calculate how much space (in pixels) is consumed for a given # of
characters while printing? I have allotted a square area for printing some
text and not sure whether it fits in one line or not. Thank you,
vb.net and Net Framework 1.1.
Pete
... more >>
Treeview vs databinding
Posted by Marc R. at 1/30/2006 4:56:22 PM
Hi all,
I need help (again). (sorry for my english, it is not my first language)
I was successfull by my own to create the treeview nodes from data into a
table
by using a dataview and rowfilters, and a recursive function call, now my
treeview is all correctly loaded, (position wise an... more >>
Sending a message to another computer -how?
Posted by Bob at 1/30/2006 4:40:50 PM
Vb.net 2005. I need to send a message to a computer named Comp1 on my LAN. I
need window to pop up, much like when a network admin sends a message to
some users that the network will shut down for maintenance. But I need to do
it for one particular computer whose name I know and I need to do i... more >>
|