all groups > vb.net controls > february 2004
Filter by week: 1 2 3 4
Drag and drop from outlook
Posted by PromisedOyster NO[at]SPAM hotmail.com at 2/29/2004 4:19:54 AM
Does anyone have code samples of how to drag and drop emails in
Outlook onto a windows form???
I see that there are a number of threads that raise this issue but
none have been finalised.... more >>
More headaches with ListViews and fonts/colors
Posted by Tom at 2/27/2004 10:06:26 AM
OK, ListViews are really giving me a headache. Now it seems that I cannot
set a ListView column (or 'cell') to a certain font or color. For instance,
in my lv.DoubleClick event, I try to set a column to X and then bold it and
color it red, as such:
lv.Items(lngRow).SubItems(8).Text = "X"
lv.I... more >>
Question about wincontrols
Posted by A Lonely Programmer at 2/27/2004 8:41:48 AM
Hi group,
I accidently posted this is in the asp.net group, posting here because this
is where i meant to go =)
i have 2 questions i hope somebody can answer about a wincontrol being
hosted in ie.
1. Is it possible to create a pop up that prompts for a user name and
password when a but... more >>
pic control and SQL data
Posted by will f. at 2/26/2004 7:24:53 PM
Grreetings.
I have a SQL Server 2000 database table with a column with the image data
type.
How do I load this image into a PictureBox control in vb.net? Am I supposed
to use the System.Drawing.Bitmap methods, or maybe System.Drawing.Drawing2D?
Or is there some native method in the control ... more >>
text to speech
Posted by Bob White at 2/26/2004 11:13:14 AM
I want to convert text to speech on the PC's audio output. I have heard
that XP has this ability. I have VB6.0. Can anyone tell me how to go about
this?
Thanks,
Bob White
... more >>
How to subclass a treeview control
Posted by is4fun2k NO[at]SPAM yahoo.com at 2/25/2004 9:40:15 PM
How can I subclass a treeview control to add columns to it?
Thanks,
Alexis... more >>
Access MDI forms controls from child form
Posted by banmiku NO[at]SPAM yahoo.com at 2/25/2004 6:25:58 AM
Hi guies,
In my application i have 2 forms.
(1) Form1 - MDI Form
(2) Form2 - Child Form
My Form1 contains 1 Statusbar control. At Appliation Starting time i
am displaying default text in statusbar.
now the problem is from my child form - Form2 , i want to set /
display some message in m... more >>
Text doesn't resize on Flat buttons?
Posted by k3 at 2/25/2004 2:15:46 AM
Hi,
I have some buttons on my toolbar and its button style is set to Flat. This
causes the text to show partially and the rest is just shown as three dots
(...). The button's texts show perfectly on the design window though. If I
setup the button style to be Normal, the text will resize and ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
DataGrid Name Mapping
Posted by Tom at 2/24/2004 2:27:08 PM
I am reading a serialized data file into a collection. I want to then
display the data in the collection into a datagrid control. I know that I
have to set name to the correctly to get my datadisplay to display only the
columns I want. However, I can't seem to find out what the name is. I know
i... more >>
Windows Image Aquisition Controls?
Posted by David Angelovich at 2/24/2004 1:09:39 PM
Hi
How can I get a WIA control into a VB app? I need to display video on screen
from a webcam.
What's the easiest way to do this? Anyone know of any good example code?
TIA
- David Angelovich
... more >>
forms and controls question???
Posted by Paul M at 2/23/2004 12:12:40 PM
Hi, i am trying to create a reusable function where i pass in a form name,
and a control name, and reference them, but am having a little
difficulties..any help appreciated!!
Sub PopulateDatabaseTree(ByVal formName As Form, ByVal treeViewName As
TreeView)
formName.treeViewName.BeginUpdate... more >>
Daily Calendar
Posted by Rado at 2/22/2004 11:30:04 PM
Hello.
I've got one question. Could anybody advise me?
I would like to make somethink such as MS outlook 2003 daily calendar.So I
click on something hour and program add there task.When I click on the same
hour, program detect if is there any other task, If yes, program make this
task smaller a... more >>
Running Click Event
Posted by fred at 2/22/2004 2:45:14 PM
I want to run a MenuItems click event. Obviously I can directly call the
event Sub as MenuItem1_Click(...) but I can only do that if I know the
menuitem at desin time. I want run it from within a sub where the menuitem
is one of the arguments. I.E
Sub myRoutine(ByRef aMenuitem as MenuItem)
... more >>
Form not closing.
Posted by AW at 2/21/2004 9:21:51 AM
I have a project in which there are 2 Forms. Form2 is an intro to Form1 =
and has a button on it that is coded as follows:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As =
System.EventArgs) Handles Button1.Click
Dim frm As New Form1
frm.ShowDialog() 'Show main form
M... more >>
Form closing after button click
Posted by Steve at 2/20/2004 10:02:28 AM
Hiya
I have created a custom control that comprises of 3 regular button controls
in .NET. I have placed this custom control on the form. If I click on any
one of the 3 buttons in my custom control, the form closes (it is a Dialog
form, the buttons are not coded to return a dialog result).
H... more >>
Is there a way to write pdf files with asp.net?
Posted by Rico Alexander at 2/20/2004 12:01:10 AM
List View Items
Posted by Dino Buljubasic at 2/19/2004 10:48:05 PM
Hi,
I know of various ways to display list view items such as SmallIcon,
LargeIcon, Details, ListView but none of them seam to be what I am
looking for. I also know about the LabelWrap property but that one
does not seam to be working for me neither.
Right now, my list view has only one co... more >>
treeview icons disappearing???
Posted by Paul M at 2/19/2004 10:47:02 AM
hi there,
i've got a treeview on my form, which populates the parent nodes, all with
different icons, and each have child nodes with their relating parent icon.
On occasion when i run, the icons disappear from the treeview, and it
happens randomly? Has anyone else seen this, or does someone ... more >>
I need a 3rd party dotnet pivot table control
Posted by chris_q2 NO[at]SPAM hotmail.com at 2/19/2004 9:04:29 AM
Help!
Does anyone know of a third party company selling a dotnet pivot table
control. It must not be an activeX control. We previously used the
Data Dynamics DynamiCube but they have not yet released a dotnet
version :(... more >>
Newbie Combobox question
Posted by Ot at 2/19/2004 8:44:26 AM
I think I want a combo box, but I am not really sure.
What I would like is this:
As I go through the lines of the database there is a piece of data that I
would like to get from the user. This is the Group to which the item
belongs.
I would like a control that has a list of choices for G... more >>
Not compiling?????
Posted by Microsoft at 2/18/2004 4:52:00 PM
Hi,
I am new to VB.NET, and I am having a basic problem.
If I place a Web Control Button and an HTML button on a grid layout, and hit
"CTRL+F5" (with no error), I should see both buttons in IE, right? And,
this is true even though the code behind page is not completed?
What I get is only... more >>
Treenode
Posted by Fadoyo at 2/18/2004 3:03:49 PM
Hi all, I do have a treenode control and when I select a node all the other
are closed, how could keep them expanded?
Thanks
Fadoyo
... more >>
Building classes in Vb.Net
Posted by Shakeel at 2/17/2004 6:32:14 PM
I am trying to build a class library of common user controls (example
textbox, labels) with properties set (for example font="some font",
backcolor=some color etc, and then reference the text box on a form. So all
the textbox's on my form will be based on this class
Is this possible to do this... more >>
Print Preview control !!
Posted by AG at 2/17/2004 5:20:29 PM
I am using PrintPreview control in my VB.NET application.
But when we display print preview, only the last document is shown, and I
cannot see
five or six documents there. Seems like as soon as the next opens, the
earlier document gets
overwritten. Please suggest.
... more >>
XP style for datagrid control???
Posted by Paul M at 2/17/2004 4:19:19 PM
hi there,
can anyone help out on this one? i have a datagrid control that has
checkboxes, for my boolean fields, but it draws as the non-xp style
checkboxes..
How can i get this control to draw in the XP style?
thanks,
Paul.
... more >>
incrementing Time and Date values via command button
Posted by AW at 2/14/2004 8:45:29 AM
Hi.
I have some code (below) which cycles through each item in a date/time
string showing each one, day-then month then year etc.... in turn in a text
box, following the click event of a button(cmdYSelect).
Is it possibbe to get each of these items to increase/decrease by 1 with a
click of ... more >>
Borderles Forms
Posted by Dino Buljubasic at 2/13/2004 6:36:13 PM
Hi,
I am using borderless forms thrughout my project and becouse of that I
have to manage on my own moving, closing etc of each borderless form.
Since the forms don't have title bar anymore, I have to provide my own
title and also application icon which I do.
My quistion is how can I make... more >>
Bold AND AlignRight in DataGridCell
Posted by DraguVaso at 2/13/2004 3:34:23 PM
Hi,
I'm able to set the Font in a Datagrid-Cell to Bold with
g.DrawString(Me.GetColumnValueAtRow(source, rowNum).ToString, e.TextFont,
e.ForeBrush, bounds.X, bounds.Y)
and to Align the text to Right with
MyBase.Paint(g, bounds, source, rowNum, e.BackBrush, e.ForeBrush,
e.AlignRight)
But... more >>
Multi-column combo boxes dont exist in vb.net ?
Posted by Mike at 2/13/2004 1:26:57 PM
Hi
We have been programming in MS-Access for years and have made extesnive us
of the multi-column combo box control.
We have begun moving our application over to vb.net but we cannot find any
control which is similar to the multi-column combobox control.
Is this correct ?
If so how can... more >>
Serial Ports
Posted by Randy at 2/13/2004 11:54:14 AM
Can someone point me down the path to serial port connection? I would to
read/write to a Comm port with VB.Net. Wasn't there a control in VB6 for
this? I don't see an equivelent in VB.Net.
TIA,
Randy
... more >>
What type of object is it?
Posted by Michael Murschell at 2/12/2004 8:30:55 PM
In vb, how do I find out what type of control an object is? In other words,
I want to find out if the Object LastName is a textbox or an image object.
... more >>
No images on ToolBar Buttons
Posted by David Pendleton at 2/12/2004 7:53:37 PM
Hello all.
For some unknown reason, my ToolBar has stopped displaying images on it's
Buttons.
The ImageList contains images, is associated with the Toolbar and each
button shows its correct image in the Property explorer and when viewing the
Form in design view.
When I run the app, eithe... more >>
Issue in Listview control..
Posted by Ira Siyal at 2/12/2004 2:56:21 PM
Hi
I had a project in VB6 which I upgraded to VB.NET recently.
In the app, I am facing some issue with listview control. In the earlier
app, I have set the Icons in listview through an imagelist.
but i notice that while i execute the project in .net, the step that sets
the icon prop. thro... more >>
Changing Time/Date values
Posted by AW at 2/11/2004 9:21:41 PM
Sorry for lack of Subject in previous post.
"Al@n" <not@thisdomain.co.uk> wrote in message news:...
> I have a text box populated by:
>
> Sub XYZ()
>
> Dim MyDateTime As Date = Now
>
> Dim MyStr As String
>
> MyStr = Format(MyDateTime, "dd/MM/yyyy")
>
> txtTime.Text = MyStr & " " & T... more >>
Connection Property error
Posted by Taishi at 2/11/2004 12:03:12 PM
ExecuteReader: Connection property has not been initialized.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.
Exception Details: System.Invalid... more >>
Adding and Substracting colors
Posted by Dino Buljubasic at 2/10/2004 5:28:15 PM
HI,
I would like to be able to add/substract colors the way so that if a
control, let say a button overlaps another button, the overlapping
area gets shaded darker than button so that the borders can be
distinguished.
I'd like to be able to overlap several buttons for example and get
overl... more >>
Saving Textbox Value Changes
Posted by Al NO[at]SPAM n at 2/9/2004 3:33:50 PM
Hi.
I'm a newcomer to the discipline of programming, having done a little with
VBA, and now trying to learn VB.net and create a stand alone application.
I'm hoping that someone can help with the following issue which I'm sure is
quite a basic one for more experienced developers.
I have a pa... more >>
Hide Form Updating
Posted by Jim Chapman at 2/9/2004 10:39:19 AM
I have a routine that adds and removes buttons and controls to a form. I
don't like the way they flicker on and off the screen.
The TreeView control has a method, BeginUpdate, which disables any redrawing
of the tree view.
Is there a similar method for forms?
Thanks
... more >>
Problem with Toolbar Custom Control
Posted by abi at 2/8/2004 9:10:50 PM
Hi,
I created a toolbar control (vb.net) that I want to implement in my windows
app. I was able drag/drop the control and onto my form.
I am however unable to create the buttonclick event handler ...
Private Sub ctlToolBar_Click(ByVal sender As System.Object, ByVal e As
System.Windows.Forms... more >>
CommonDialog Control CancelError Problem
Posted by HJohn at 2/7/2004 3:37:46 AM
Hello,
Using the following CommonDialog control code:
CommonDialog1.CancelError = True
On Error Resume Next
CommonDialog1.ShowPrinter
If Err.Number = 32755 Then Exit Sub ' user cancelled
it would be expected that when the user clicks the cancel button on the
Print dialog w... more >>
|