all groups > vb.net > january 2004 > threads for thursday january 29
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
I upgraded to .NET 2003, now I have 2 IDEs on my system
Posted by noid droid at 1/29/2004 11:01:27 PM
Hi.
A couple of months ago, I ordered the Visual Studio .NET upgrade from
Microsoft and installed it. Today, I just realized that I have both the
2002 and 2003 IDEs on my system.
Did I do something wrong upgrading? I thought that the 2002 IDE would be
upgraded and essentially become th... more >>
Issue with overwriting a bitmap in VB.NET??? (seems to be locked)
Posted by SStory at 1/29/2004 10:59:09 PM
I use a bitmap class new bitmap(filepath)
this should and does load my jpg into memory.
I then want to use mybitmap.save(filepath,imaging.imageformat.jpeg) to save
it; overwriting the original.
If this outfile path is different there is no problem but when it is the
same file it blows up... more >>
Late bind ActiveX DLL problem
Posted by Chris at 1/29/2004 10:28:32 PM
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
Dim AESobj As Object
Dim boolResult As Boolean
Const HKEY_CURRENT_USER As Integer = &H80000001
Dim strResult As String
AESobj = CreateObject("AESRegLib.AESRegistryObject")
boolResult = AESob... more >>
how to include a folder in deployment project?
Posted by Dino M. Buljubasic at 1/29/2004 10:22:49 PM
Hi,
I am building deployment project for my vb.net application. The process is
pretty much clear except one thing.
I'd like to include a folder with icons for my application. How can I do
that?
Regards,
Dino
--
----------------------------------------------------------------------... more >>
substitue for vb6 IsMissing()
Posted by John A Grandy at 1/29/2004 10:15:26 PM
for a function parameter of a non-reference datatype ... such as date or
boolean ....
how to determine if the parameter was not specified in the calling code ?
in vb6 we would have used the IsMissing() function ...
... more >>
inherited queue class
Posted by Brian Henry at 1/29/2004 9:54:50 PM
If i inherite a queue class into my class, and do an override of the enqueue
member, how would i then go about actually doing an enqueue of an item? I am
a little confused on this one... does over ride just add aditional code
ontop of the current class or completely over ride it in vb? I am us... more >>
help: how to prevent controls from duplicating
Posted by John Smith at 1/29/2004 7:08:16 PM
Hello,
I'm a junior in using VB.NET.
I encountered the following problem:
I have a form with some buttons (change password, change username, logout
etc.) and below those buttons I have a label that I want to display some
text, depending what button was pressed (i.e. Changing Password, etc.)... more >>
Looking for an intermediate/advanced VB .NET book that covers multithreading
Posted by noid droid at 1/29/2004 6:11:49 PM
Greetings. I received 4 VB .NET books and looking through the indices and
tables of contents, I see that none of them addresses multithreading in VB
..NET. I just bought a bunch of books because they were so cheap.
Does anyone have any suggestions for books that cover multithreading? I
h... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Windows Form Gird control - defficiences
Posted by Fred Morrison at 1/29/2004 6:00:37 PM
1. No Columns collection.
2. No ability to easily synchronize the underlying DataTable of a DataGrid
when a row is deleted in the Grid. Once you sort (via the column headers)
all bets are off as to whether the current row index of the data grid can be
used directly as the Rows index of the Data... more >>
Vs 2003 Bug
Posted by Maniaque at 1/29/2004 6:00:21 PM
I found the following bug in Vs 2003.
In Vs 2002 I was able to open window with Tasks for permanent. In 2003,
when I build the project, it closes the task window and I have to return
it back manually. The only reason for me to stay still with Vs.2002 (and
DotNET Fw 1.0)...
Did anybody face... more >>
Sorting a hash table that was loaded randomly
Posted by Fred Morrison at 1/29/2004 5:49:03 PM
Do you know of a way to load a hash table with random key/value pairs (e.g.,
2/"Two",1/"One",3/"Three") and then iterate through the entries in "sorted"
(key sequence) order (1/"One",2/"Two",3/"Three")? The following just returns
them in the order they were loaded:
Dim hshPrimaryKeyInfo as New... more >>
deploy large file with
Posted by kerpal at 1/29/2004 5:12:41 PM
Hi all,
Suppose I have a single file (over the capacity of a single CD) to be packed
into my setup project and the whole VB.NET application is to be distributed
on 2 or more CDs.
Any recommendations on how I can go about presumably compressing that file
and creating the installation CDs?
T... more >>
Multiply network adapters
Posted by Maniaque at 1/29/2004 4:31:32 PM
Does anybody knows, how can I address multiply network adapters on one
computer?
I've looked up through classes reference and found nothing.
Thanks in advance.
--
.... blood, sugar, sex, magic ...... more >>
CDate problem
Posted by David Schwartz at 1/29/2004 4:02:12 PM
I have a few users who are getting the error "Cast from string '1/1/2004' to
type 'Date' is not valid".
The code which causes the error is the following:
Dim LoginString As String = "1/1/2004"
LoginDate = CDate(LoginString)
Any idea what might be causing this error?
Thanks!
... more >>
Finding Items in ListView
Posted by Mike Smith at 1/29/2004 3:43:08 PM
Hey anyone knows how to find an item in a list view based on text ? Cant
seem to get the IndexOf method working.
would the LVM_FINDITEM method using SendMessage API work in .Net ?
... more >>
PLEASE HELP MULTITHREADING VB.NET QUESTION
Posted by SStory at 1/29/2004 3:41:16 PM
Here is the situation.
I want to display Icons, Type of file etc from a file extension.
Upon initial program load I may only need icons for certain files. But
other operations will require showing all filetypes and icons. I have an
object that has extension, desc (like Word Document) and t... more >>
ListView
Posted by Mike Smith at 1/29/2004 3:32:14 PM
Hey anyone knows how to find an item in a list view based on text ? Cant
seem to get the IndexOf method working.
would the LVM_FINDITEM method using SendMessage API work in .Net ?
... more >>
Bug in VB.NET 2003.
Posted by Rvo at 1/29/2004 3:22:42 PM
In VB.Net 2003 use the scale method of any gui-window in your application
with parameter (0) (that's a zero) and run the code.
When this line of code is executed your PC's OS (windows 2000 Professional
SP3 in my case) will lock up.
No tasks can be killed or anything, you'll need to reset the mac... more >>
LDAP or active directory?
Posted by Mike at 1/29/2004 2:41:05 PM
In my current asp.net application i'm getting the user network short name
and displaying that on the screen. What I want is the users Full name and
display that instear. How can i go about doing that, would I use LDAP or
Active directory to do that?
I never had to do this and not sure how to d... more >>
Byval e as CancelEventsArgs
Posted by Bob Day at 1/29/2004 2:37:14 PM
Using VS2003, VB.NET, MSDE...
The code below is from a demo program. I don't under stand the Byval e as
CancelEventsArgs as an argument, and then the first line of code e.cancel =
false.
What is 'e' used for? How is it generated?
Thanks
Bob
Private Sub FormB_During_Closing(ByVal s... more >>
File Input Newbie
Posted by lisahenkel NO[at]SPAM monad.net at 1/29/2004 2:32:55 PM
Hi.
What's the best way to do file input, if you are particularly
interested in reading numbers from columns 26-37 in a text file?
Thanks,
Lisa... more >>
Web question
Posted by Woody Splawn at 1/29/2004 2:08:06 PM
If this is not the right newsgroup for this question please direct me.
I have been using VB.net for stand alone and client/server kinds of things
but am beginning to explore its use for web applications. I need to ask a
couple of real basic questions.
My understanding is that if you are goi... more >>
split data
Posted by Mike at 1/29/2004 1:48:36 PM
am getting data back from the db as name\region.
How can I split that in VB.NET and only show the region?
... more >>
How to find a textbox?
Posted by Marc Fauser at 1/29/2004 1:08:45 PM
How can I find the textbox (handle?) e.g. from
http://www.microsoft.com/
on the right top corner from my program?
And how can I identify the textbox again, if
a new browser window is opened with the
same page? Both textboxes have different handles.
How can I recognize the same textbox?
Marc... more >>
User defined Form property
Posted by Harry Strybos at 1/29/2004 1:08:29 PM
Hi Guys
Am I just dumb or is there some new way to get a form property? eg
In frmClient I have:
Private _ClientID As Integer
Public Property ClientID() As Integer
Get
Return _ClientID
End Get
Set (ByVal Value As Integer)
_ClientID = Value
End Set
En... more >>
Owner Drawn Menus
Posted by Juan Romero at 1/29/2004 1:06:52 PM
Hey guys,
Is it possible in VB.NET to do owner drawn menus?
I want to spice up my menus a bit with graphics and colors. Can this be
done? If so, please point out some tutorials on this matter.
Thank you in advance.
... more >>
ListView scroll bar
Posted by Troy at 1/29/2004 12:56:11 PM
Is there a way to determine if the scrollbar is present and what the width of it (or the inner control area) is
I'm trying to calculate the column widths to fill the ListView area when viewing 'Detail'.
If the V-Scrollbar appears it covers up part of my last column, then the H-Scrollbar appears
... more >>
Redirecting StandardOut
Posted by Tim at 1/29/2004 12:41:10 PM
Hi
I am running a console program through my own VB front end. I am redirecting the StandardOut and StandardInput streams to and from textboxes so that the VB front end acts like a console. My problem is that the console program outputs a message, then a newline, then a prompt character (<mes... more >>
Parsing nonprintable characters
Posted by kbarz at 1/29/2004 12:31:10 PM
Hi,
I have a VB.Net program that extracts data from Word document tables and saves it off to Sql Server. I notice that when it gets to the database, there are two nonprintable characters on the end of each field. I thought of using substring-before to parse these out, but I'm not sure how to re... more >>
More snap-to-grid wierdness
Posted by Rob Richardson at 1/29/2004 12:18:24 PM
Greetings!
I see from the group archives that a lot of people don't like how Snap to
Grid works when placing controls on forms. I am now among that number.
When I had the Windows Forms Designer option for snap to grid set to False
and the form's SnapToGrid and DrawGrid properties left at thei... more >>
How to reference a cobtrol in a diferent form
Posted by Carlos at 1/29/2004 12:14:59 PM
Before in VB 6 I used to reference for examplea progressbar1 doin the
following
Form1.ProgressBar1.val =1
Now how do I refrence a control for a module if the control is in a
different form
Thanks
... more >>
Newbie to .net with a problem
Posted by Gareth Howe at 1/29/2004 11:53:53 AM
I could do this is VB6 but can't figure out .net yet.
I need to be able to access a data file that has a list of printers, with
their corrisponding share name and computer that they are sat on (Which I
have already generated as a CSV file).
In VB6 I would use the data control to load this in... more >>
ListView Select a line
Posted by Roger Renaud at 1/29/2004 11:45:20 AM
I don't know how to select a line in a LISTVIEW control. In VB6 it looked
like
lv.ListItems(i).Checked = True, if I remember, but I don't find the write
way in VB.NET.
RR Thanks
... more >>
AS400 from VB.NET
Posted by masoodadnan NO[at]SPAM hotmail.com at 1/29/2004 11:42:54 AM
Hello,
we have data sitting on AS400 (V4R5M0) - DB2-400. I need to access
that from my vb.net application. I don't know anything about AS400.
Is it possible to get data from tables and stored procedures?
can somebody give me the code which shows how to do that?
Thanks... more >>
Wave-in whit winmm.dll mixer...
Posted by DomLague NO[at]SPAM hotmail.com at 1/29/2004 11:37:21 AM
I need to get the signal level from the wave in input from a
soundblaster. I have tried to modify a program I found that uses the
winmm.dll functions.
I was able to open up the mixer , but I then tried to load a meter
using
mixerGetLineInfo and mixerGetLineControls functions, it was unab... more >>
CType if I *know* that its the same?
Posted by Fredrik Melin at 1/29/2004 11:24:17 AM
I have the following code that I get "Cannot convert from
DacsaSupport.Inventory to DacsaNET.Inventory"
Public Function RetrieveItem(ByVal Product_ID As String) As Inventory
Dim RemoteInventory As New DacsaSupport.Inventory
If RemoteInventory.Populate(Product_ID) Then
... more >>
IsNumeric() IsDate() ...
Posted by Michael Ramey at 1/29/2004 11:14:34 AM
Hi,
What are the replacement methods in the .net framework for the old vb
functions such as IsNumeric(), IsDate(), etc...
Thanks
--Michael
... more >>
xml
Posted by Matt at 1/29/2004 10:35:04 AM
What is the easiest way to get data from xml assuming that it confirms to
the default microsoft schema?
Thanks,
Matt
... more >>
Outlook warning message
Posted by Chen at 1/29/2004 10:33:27 AM
When I access Email Address, A message show up
A Program is trying to access e-mail addresss you have
stored in outlook. Do you want to allow this?
How to get rid of this message.
Thanks... more >>
Color
Posted by Will at 1/29/2004 10:21:11 AM
If vb.net is asking me to enter 'Color as system.UInt32' , what's the value of Black??
THANX IN ADVACE... more >>
namespace confusion
Posted by Buz Waitz at 1/29/2004 10:14:38 AM
I'm a newbie. I've created a datalayer class which I creatively called
sqlAccess and placed in a namespace I just as creatively called
MyDomain.DataAccessLayer. (Well now, I didn't actually use "MyDomain" but
you know how that works.) And now I'm working on the business logic layer.
When I impor... more >>
Reading multiple excel file into 1 dataset.
Posted by Phoebe. at 1/29/2004 9:56:32 AM
Hi, Good Day!
Reading 1 excel file into a dataset is fine.
How can I read multiple excel with the same data structure into 1 dataset?
How can I append those data?
Can someone help?
Thanks in advanced.
rgds,
Phoebe.
... more >>
Problem when serializing class that implements IEnumerable
Posted by Craig Buchanan at 1/29/2004 9:51:35 AM
I have a class called LineItems. It implements IEnumerable. It uses an
ArrayList to hold objects. When I try to serialize the object that contains
LineItems (an object called Order), I get an error that reads:
You must implement the Add(System.Object) method on LineItems because it
inherits... more >>
Color parameter as optional in a function
Posted by Crirus at 1/29/2004 9:51:24 AM
I need to set a parameter for a function as optional and color... how can I
do that, because seems I cant set structure as optional parameter
--
Cheers,
Crirus
------------------------------
If work were a good thing, the boss would take it all from you
---------------------------... more >>
ImageList: Is this a bug...?
Posted by Roger at 1/29/2004 9:27:08 AM
....or am I missing something?
Setup:
- I've created an empty Winforms project, and added two buttons A and B.
- Button A's Image property is set to point to a imagefile calles
"users.png"
- Added an imagelist and added the SAME image to this list, setting the
properties (size etc.) exactl... more >>
Programmatically uploading a file via WebDAV using HttpWebRequest/FileWebRequest
Posted by Shannon Hardin at 1/29/2004 9:11:39 AM
I'm trying to build a routine that will take a specified file from the
user's local hard drive, and copy it to a remote server via WebDAV. I've
tried using both HttpWebRequest and FileWebRequest, as outlined in some
samples I found on MSDN and elsewhere, but so far have had no luck
whatsoever. ... more >>
Typed DataSet
Posted by Mythran at 1/29/2004 9:09:03 AM
Which would be the better solution?
1.) 20 Tables In 1 DataSet, no relationships.
2.) 20 DataSet's with 1 Table each.
The tables have no relationship with each other (although they represent data
retrieved from normalized databases, they are normalized themselves.
Basically, if I have... more >>
OT: version control
Posted by Eric Sabine at 1/29/2004 9:00:49 AM
We're going to look at some real version control programs out there. I have
heard good comments about CVS, Visual Source Safe, and Perforce. What do
people in this community use? Can anyone make some recommendations or
comment about these and others? Or, does anyone know some good online
com... more >>
Add Existing Item does not work for adding Forms
Posted by Christopher W. Douglas at 1/29/2004 8:40:38 AM
I am building a VB.NET application in Visual Studio.NET 2003. I have an
existing project with code and forms I want to reuse in this project. If I
am copying a module file, then Add Existing Item works fine. However, if I
am copying a form, it pulls it in as a module file, not as a form. I ha... more >>
Catching Posted Messages
Posted by Mike Bulava at 1/29/2004 7:56:24 AM
I'm creating a Custom Plug-in for an ATI Remote, I downloaded there SDK but
the damn thing is all in Unmanaged C++. In there example they are posting
messages to a Window to get the command to execute.. So that I don't have
to change much of the C++ code, I want to post message for my applicat... more >>
Tab Control
Posted by Paul at 1/29/2004 7:11:09 AM
Hi,
I want to add a tab control to a form I am working on. I drag and drop the tab control to the form, but where do I go from there? How do you make seperate tabs?
Please help!... more >>
scheduling fax
Posted by sebastien.chesney NO[at]SPAM socgen.com at 1/29/2004 6:45:29 AM
Hi,
I manage to send fax with the faxserver object.
Now I would like to schedule fax on a date.
Do you have any idea?
THank you for your help.... more >>
how to update user controls on a form - part2
Posted by skootr at 1/29/2004 6:11:13 AM
In a very simple learning project, I have a form and a UserControl in the same project. The first time I place the UserControl on the form, it is fine, however, if I make changes to the UserControl, those changes will not be reflected on the form, even if I delete the UserControl from the form and ... more >>
AxWebBrowser reference
Posted by Stan Sainte-Rose at 1/29/2004 6:09:15 AM
Hi,
A stupid question but ....
How to add the axWebBrowser in the reference section ?
Stan
... more >>
ListView
Posted by Bikesh Lakhmichand at 1/29/2004 4:06:02 AM
How does one find an item within a listview by just the text property of an
item ? I know im suppose to pass a ListViewItem to the IndexOf method but
what do i set to the ListViewItem object ? Just the text value of the item
im searching ?
i.e
ls = New ListViewItem("string to search")
dim... more >>
Scrollbars for a Picturebox
Posted by Yogiman at 1/29/2004 3:36:09 AM
Hi
Can anybody tell me how would I attach scrollbars to a picturebox ? The example given in MSDN is pretty good.But I have a different problem. I have to do other stuff with the picturebox as well like moving it, rotating it. Therefore, a solution with two pictureboxes (like the one given in MSDN... more >>
Cannot save a loaded image -- Access denied Error
Posted by SonyMan at 1/29/2004 3:11:10 AM
HI
I have a VB.NET application in which my Image (from a picturebox) is opened by the user in another application like MSPaint or Photoshop or whatever he chooses. The image does open there.But after making changes, the user cannot save the image since it throws an error : "Access denied.File is in... more >>
Array.BinarySearch fails
Posted by Yogi21 at 1/29/2004 3:06:12 AM
Hi
I have a sorted array containing strings. I am iterating through the array and clearing the contents one by one using "array.BinarySearch" to find each element. So far so good. But the moment I come to the last element, the BinarySearch method fails.It gives me a return value which is negative a... more >>
unicode, localization
Posted by ivan at 1/29/2004 3:06:12 AM
hello
i need to localize mz programe to some languages and i should do that by using unicod
well, since i never did that kind of a thing, i need help how to do it
how can use unicode in vb6 and is it the best way to read texts from some *.txt or....
thank you very much!!!
iva
... more >>
|