all groups > vb.net > november 2003
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
Map Network Drive
Posted by Alan at 11/30/2003 10:59:28 PM
Dear all,
How can I use the VB.net programming to map the netwrok drive? I have no any
idea about that.
Can you give some example?
thanks
... more >>
Chat Window Challenges
Posted by Rlrcstr at 11/30/2003 10:42:43 PM
Greetings, All... I'm writing an internet enabled game and I'm working on
the chat engine. I'm using a RichTextBox as the chat message display window
so I can easily display text in several colors. One of the problems is: in
order to scroll the text box to ensure that the most recently posted ... more >>
Custom Dialog Result ???
Posted by Nathan at 11/30/2003 10:25:35 PM
I have a form in which a user clicks a button to make a choice, and that
choice is evaluated after the form is closed. Is there a way to create
custom dialog results, that is, dialog results other than OK, Cancel, Retry,
etc.? I know of other ways to work it, but I was just wondering if this
w... more >>
Tab control
Posted by Rado at 11/30/2003 9:51:25 PM
Hello.
Can anybody tell me if I can find on Interner some free component /or source
code/ such as is
on top of VS.NET where is write opened forms, or other opened pages.
Somethink such as tab control.
Thank you very much for answers..
... more >>
Problem Closing and Reopening Frontpage Object from VB NET
Posted by LynchburgRecord at 11/30/2003 9:11:07 PM
The Code Snippet (from VB Net in Visual Studio Net 2003) below does the following
(1) Create a Front Page (2002) Application Objec
(2) Open a We
(3) Close the We
(4) Execute Front Page Application Object "quit" method
Proble
------
I cannot run the snippet below twice witho... more >>
Can I get a KeyPressed event in PictureBox
Posted by active at 11/30/2003 8:16:38 PM
I have a picturebox usercontrol sitting on a usercontrol. I need a KeyPress
event in the PictureBox.
I suppose I could have a property in the pictureBox that is accessed by a
call in a KeyPressed event in the UserControl. Right?
Kind of kludge - is there a more direct way? The usercontrol ne... more >>
How to know if a key is pressed during MouseDown
Posted by active at 11/30/2003 8:08:20 PM
I can use Control.ModifierKeys to determine if a modifying key is pressed
when executing MouseDown event, but how can I determine if an "M" was
pressed??
Possible? Can't find a clue in Control doc.
Cal
... more >>
VB.NET VS VB6
Posted by Ivan Weiss at 11/30/2003 6:19:48 PM
I wanted to kinda take a lil poll here and get some suggestion on
whether to use VB6 or VB.NET.
I am used to writing code in VB6 and have several books to help me along
the way. I recently started writing a VB.Net version of the app I want
and am finding it difficult with a learning curve but... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Tab Control
Posted by Rado at 11/30/2003 5:29:36 PM
Hello.
Can anybody tell me if I can find on Interner some free component such as is
on top of VS.NET where is write opened forms, ro other pages.
Somethink such as tab control.
Thank you very much for answers..
... more >>
Directory viewer
Posted by Valeria at 11/30/2003 5:28:35 PM
Hi,
is possible in .net to use a control (like a treeview) to show all folders
and subfolders in a specified path?
I'm using the browseforfolders control to select the initial path.
Thank you in advance
Valeria
... more >>
VBResource Kit
Posted by Steve Sprague at 11/30/2003 5:10:30 PM
I downloaded a free file from Microsoft called VBResource Kit. It has
examples etc...
When I try to install it, it tells me that it needs .NET Framework Version
1.1.4322, as best as
I can tell I have Version 1.0.3705. The Resouce kit needs to use 1.1.4322.
Can I get that new Framework
and inst... more >>
Simple Binding combo box problem
Posted by belkur NO[at]SPAM msn.com at 11/30/2003 5:10:16 PM
Imports System.Data.OleDb
Imports System
Imports System.Data
Imports System.Data.Common
Imports System.Windows.Forms
Public Class Form1
Inherits System.Windows.Forms.Form
I am trying to simple bind a combo box to a data source per the code
below in the load procedure. It does not pr... more >>
VB.NET numeric data-types & SQL-Server
Posted by John A Grandy at 11/30/2003 4:49:25 PM
how do VB.NET numeric data-types match-up to SQL-Server numeric data-types ?
is it safe to use declare VB.NET variables of type Integer to contain SQL
Server columns of type Integer ?
... more >>
Regarding StrongNameIdentityPermissionAttribute
Posted by Nelson at 11/30/2003 4:01:46 PM
Hi Folks,
How can I secure an Assembly (DLL) from being referenced in programs =
other than my Strong Named Assembly (EXE) by using the =
StrongNameIdentityPermissionAttribute.
Nelson... more >>
KeyPress problem in VB.NET - any ideas welcome
Posted by Niksa Baldun at 11/30/2003 3:59:49 PM
Hi,
I am trying to capture data from magnetic stripe reader which is connected
via keyboard interface (therefore indistinguishable from normal keyboard
input). Basically, I am doing the following (in the Form.Keypress event
handler):
strCardData &= e.KeyChar
e.Handled = True
As you can ... more >>
Can an empty array be iteratively extended?
Posted by Dean Slindee at 11/30/2003 3:43:25 PM
I want to build an array on the fly in code with a parameter passed for the
number of elements in the array. I am trying to do this by looping, but
get an array with just one element in the end.
Can this be done my way or some other way?
Dim idx As Integer
Dim cnt As Integer = 5 'parm for... more >>
command button appearance
Posted by Bernie Yaeger at 11/30/2003 2:59:48 PM
I am using xp syyles, generally, but in one instance I would like to show a
button with a transparent background and no frame. I've tried setting the
flatstyle to flat but the frame remains.
Thanks for any help.
Bernie Yaeger
... more >>
Web Service not offering GET access
Posted by Kel Good at 11/30/2003 1:38:45 PM
Hello,
I have created a basic Web Service using Visual Studio.Net, but when I
access its test page using IE, it does not show the GET example, only SOAP
and POST.
My understanding is that GET is also supposed to be a valid access type by
default.
Any advice on what I might be doing wrong... more >>
localhost will not resolve
Posted by Brian Jasper at 11/30/2003 12:16:16 PM
I have just gone through the process of installing .NET
FRAMEWORK, IIS and Visual Studio .NET on a system running
XP PRofessional.
I am trying to now attach to the web but get errors,
mainly pretaining to the fact that localhost will not
resolve to my web server (which is local).
Any i... more >>
How do I clear an Image
Posted by active at 11/30/2003 11:26:41 AM
In a PictureBox if I want to clear the Image or background do I simply use
FromFile("")
(just a guess)
I did see about FromFile:
If the file does not have a valid image format or if GDI+ does not support
the pixel format of the file, this method throws an OutOfMemoryException
exception.
... more >>
Positioning form: Location() and PointToScreen() question
Posted by colinandkaren NO[at]SPAM lycos.co.uk at 11/30/2003 9:50:21 AM
Thanks everyone for help in my previous post. Using the
"Point.op_Addition" from the previous post I have to now focus on the
real problem.
I need to manually position a new form so that its upper left hand
corner is positioned exactly in the middle of the button that was
pressed (Button1).
... more >>
More on Tab Control
Posted by Steven Smith at 11/30/2003 9:30:43 AM
Is it possible to change the color of the text which
appears on each tab within a tab control ?
Thanks in advance
Regards Steve... more >>
DataGrid Filter
Posted by Uri Dimant at 11/30/2003 9:29:50 AM
Hello,friends!
I am trying to search for specific data into my data grid
I get my data selected but If I have a record at the end of a grid I cannot
see it unless i move scroll.
I dont do it with ..DefaultView.RowFilter because I would like to see all
my records.
With flex grid there were... more >>
Link Labels
Posted by Harry the Horse at 11/30/2003 7:36:16 AM
How can I make my link label open a webpage when I click
it ?
Harry... more >>
How to add two points together
Posted by colinandkaren NO[at]SPAM lycos.co.uk at 11/30/2003 6:45:48 AM
Hi again NG. Is there an easier way than I have shown to add two
points together. All I can find in the docs is a shortcut to add a
point and a size together (ie Point.op_Addition).
Thank you
Colin
Dim pt1 As New Point(10, 10)
Dim pt2 As New Point(3, 5)
//lots of ... more >>
Putting data to data grid
Posted by Eashrak at 11/30/2003 3:01:08 AM
Hi
I create two table (Table1 & Table 2) in my SQL server. Table1 have "orderno", quantity and table2 have "orderno" and size.i create one "form" which is connected through 2 (Two) ADO to conect the tables. i made text box for table1 and datagrid for table2
my question is " when i enter data on ... more >>
Answer To Printing from Right To Left To The Printer in VB.NET
Posted by yulyos at 11/30/2003 2:46:05 AM
Hi
Answer To Printing from Right To Left To The Printer in VB.NE
Printing From Right To Left To The Printer in VB.NE
you can download a small example
http://www.geocities.com/vmtnl/rtl.htm
Have a nice da
From
yulyos@yahoo.co
... more >>
Hyperlinks in a datagrid
Posted by HaAwK at 11/30/2003 1:11:08 AM
Is there a way to have a specific column of a datagrid to be a hyperlink
during run-time?
... more >>
Can I get the data using sql command???
Posted by Gene at 11/30/2003 12:21:12 AM
What can I do if I want to get the result using the sql command?
for example,
the select command is "select Name from Employee where StaffID=10"
How to get the "Name"???
dim Name as string
and then.....
what should I do?
... more >>
using a 'dirty flag'
Posted by AussieRules at 11/29/2003 11:31:56 PM
Hi,
I have heaps(50+) of text boxs on a form.
I want to have an dirtyflag type property that is set when any one of the 50
text boxes is change, so that i can prompt the user to save changes should
they exit.
Is there a easy way to do this against all 50 in one go, rather than have an
ev... more >>
Vb6 to vb.net
Posted by yxq at 11/29/2003 11:30:29 PM
Hi
VB6 code
Picture1.ScaleMode = 0 - User
Picture1.ScaleHeight = 100
Picture1.ScaleWidth = 100
The VB.Net code ?
Thanks
... more >>
VB.Net Post Form Data
Posted by Thomas Paul at 11/29/2003 11:14:35 PM
I wanted to post userid and password to a secured web site
( https ) using vb.net and download files.
... more >>
How to set imagelist size in code?
Posted by Dean Slindee at 11/29/2003 11:03:57 PM
Probably easy, but the following does not work:
Dim imgLarge As New ImageList
imgLarge.ColorDepth = ColorDepth.Depth32Bit 'ok
imgLarge.ImageSize(64, 64) 'nope
imgLarge.ImageSize.Height = 64 'nope, get property only
Thanks,
Dean Slindee
... more >>
Function
Posted by Mark at 11/29/2003 10:25:14 PM
Hy.
How Can I make Function which when I call this function
e.g. Call Star(10,20)
And I want that this function receive me any value.
***
***
Sample
Private sub Button_Click
Call Start(10,50) this function make 10+50 and
msgbox ( any variable with sum of this numbers.)
I want that this f... more >>
I think I have just had a revelation.
Posted by hexathioorthooxalate at 11/29/2003 10:09:39 PM
If I were to create a user control, or to use any of the .Net stock
controls, then is it correct to say the properties and values shown in the
IDE properties window at design time for the control are ultimately
determined by reflection? The more I think about this the more I am
convincing myself... more >>
Listview
Posted by Mark at 11/29/2003 8:09:38 PM
Hello.
How Can I find out if is some Item selected in Listview.
Thank.
... more >>
Word.BuiltInDocumentProperties("NUMBER OF LINES")
Posted by Jeffrey Bradshaw at 11/29/2003 6:08:46 PM
Hey everybody,
I've got a VB.NET program that is trying to access a Word document and I'm
having all kinds of trouble. First on is the above. I'm trying to get the
number of lines in the document and when I try
docWord.BuiltInDocumentProperties("NUMBER OF LINES") it returns an Object.
When I lo... more >>
Multiple Projects in one Solution
Posted by Samuel L Matzen at 11/29/2003 5:51:12 PM
Hi,
I am trying to develop with multiple projects in a single solution. The
many of these projects create .dlls that are used by other projects. When I
reference a .dll I reference it in the bin directory of the project creating
it.
The problem I am having is that Visual Studio keeps thro... more >>
Can not re-install vb .net 2002
Posted by Dave at 11/29/2003 5:41:31 PM
I can not re-install vb.net. When I try to re-load it
does not re-install. If I un-install it will not work.
Any ideas.... more >>
jagged array
Posted by wilfredo at 11/29/2003 5:25:27 PM
where can i find out more info.... more >>
graphics object probs (same as 2 weeks ago)
Posted by EricJ at 11/29/2003 3:52:59 PM
back at the saturday job ;)
all help is welcome ( if there is an other way of doing this i don't mind as
long as it works)
i have to compose an image in code.
I have a background image (a bitmap but i can convert it if needed) and an
image of a cross (bit like the close button on an xp form... more >>
progressbar in a panel
Posted by Bernie Yaeger at 11/29/2003 3:41:50 PM
I know I've seen questions like this before, but I don't recall the answer -
I would like to place a progressbar in a panel of a statusbar control. How
can I do this both using the IDE or by code?
Thanks for any help.
Bernie
... more >>
what's the difference between array and arraylist
Posted by Hei at 11/29/2003 2:09:21 PM
Hi all
(as subject)
Hei.
... more >>
Running VB.Net App Through a Browser
Posted by Ken Dopierala Jr. at 11/29/2003 1:25:45 PM
Hi,
I once saw a thread on running a .Net Windows Application through a
browser on a system with the .Net framework installed. However I can't find
any resources on that. Does anyone have any links to example apps that do
this? I imagine in the years to come most systems will have .Net in... more >>
What does it mean: Warning: The dependency 'CAGLibNS, Version=1.0.1423...
Posted by active at 11/29/2003 1:08:42 PM
Sometimes I get the warning:
Warning: The dependency 'CAGLibNS, Version=1.0.1423.9562, Culture=neutral'
in project 'CAGPaintDLL' cannot be copied to the run directory because it
would overwrite the reference 'CAGLibNS, Version=1.0.1427.35764,
Culture=neutral'.
What should I do. I think I ... more >>
Convert to VB.Net
Posted by yxq at 11/29/2003 12:32:57 PM
Hello
Can anyone convert the vb6 code to vb.net? Thank you!
**************************************************************
Const SPACE = 5
Const BAR_WIDTH = 50
Public GraphPoints(0 To 99) As Long
Sub DrawUsage(lUsage As Long, picPercent As PictureBox, picGraph As
PictureBox)
Dim ... more >>
Application.exit not exiting?
Posted by Dan Keeley at 11/29/2003 11:53:07 AM
Hi,
I have some code which needs to do close down the application
and i'm trying to fire it in the catch of a try.
However it doesnt work. The application does not exit!
Any ideas?
Thanks,
Dan
... more >>
Choosing HTTP authentication method
Posted by Rafael Pivato at 11/29/2003 11:24:19 AM
Hi,
I am using HttpWebRequest and NetworkCredentials to make my request.
The problem is that the client lives behind a web proxy and can't handle
NTLM.
How can I make the HttpWebRequest use the basic authentication method ?
Thanks,
Rafael Pivato
... more >>
array.reverse
Posted by Wilfredo at 11/29/2003 11:04:18 AM
I have 25 numbers coming up from 1 to 25, now I want it to
go from 25 to 1 with array.reverse. I get a reverse is not
a member of array. Help... more >>
Shared function - strange behaviour
Posted by Hayrob at 11/29/2003 10:14:15 AM
I have extracted the code fragment below. The variables do not appear to be
set, which is not what I expected. I can see it must be a problem with a
Shared method and an instance object, but I cann't understand exactly what
is happening - any advice?
Thanks
Robin Hay
Module Module1
... more >>
|