Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008


all groups > vb.net > february 2004 > threads for wednesday february 11

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

How to keep track of changes of an object???
Posted by Daniel Walzenbach at 2/11/2004 11:48:43 PM
Hi, =20 I need to track all changes made to an object. Consider the following = class: =20 Public Class Dog =20 Private _Name As System.String Private _Weight As System.Byte =20 Public Property Name() As System.String Get Return _Name...more >>

help! how to creat sqldataadapter?
Posted by sunny at 2/11/2004 11:42:53 PM
when I use creat the sqldataadapter (database is northwind),I enter: SELECT OrderID, ProductID, UnitPrice, Quantity, Discount FROM [Order Details] WHERE (OrderID IN (SELECT orderid FROM orders ...more >>

Weird MDI problem - sample code attached - WindowsApplication1.zip (0/1)
Posted by Andrew K at 2/11/2004 11:36:48 PM
Hi, This is a problem I noticed in one of my applications the other day and can't figure out how to fix. In the attached code I have 2 forms. The form named form1 is the MDI container, form2 is an MDIChild. I show the child form with the following code in the Form_Load event of the MDI cont...more >>

centering form in mdi window
Posted by Brian Henry at 2/11/2004 9:09:20 PM
is it possible to center a child form in a mdi window? i tried the centerparent for the position enumerated value, but it didn't do anything.. any thoughts? thanks ...more >>

How to get the row index of a datagrid in window forms
Posted by web_poster03 NO[at]SPAM yahoo.com at 2/11/2004 8:48:43 PM
I can get the row indexes using the following codes. but problem is that when I clicked the grid column header , it still printed out the same indexes. So the dataview here reflects the row indexes in the data source instead of the datagrid. What I want are the row indexes in the datagrid. How c...more >>

Protecting my code....
Posted by Terry Williams at 2/11/2004 8:41:56 PM
Someone suggest a good solution to keep others from viewing my html/javascript on my pages. I work on producing Thin Client or Web applications with desktop app behaviors. Last thing I want, is someone to view my html and javscript, and using it. *** Sent via Developersdex http://www...more >>

How can I draw on the desktop?
Posted by Don at 2/11/2004 7:04:30 PM
Is there any way I can get an object that allows me to draw to the Windows desktop using managed code? I've managed to figure out how to do it with unmanaged code using API functions, but I was just wondering if there was a more "proper" way to do it in VB.NET - Don ...more >>

How to attach a scroll bar to a picturebox
Posted by MJ at 2/11/2004 6:51:05 PM
as topic, anyone can provide some codes that enable a scroll bar to a picturebox when the picture expand? ...more >>



Bad performance in wireless Network (802.11b)
Posted by Al at 2/11/2004 6:46:06 PM
Hi, Although my application perform nicely in wired network, the performance in wireless network is very bad (I have tested in 802.11b). Would appreciate if anyone could suggest how I can improve the performance in the wireless network. Any one has tried running application in 802.11b vs 802.11g? ...more >>

How do I modify a record in a textfile in vb?
Posted by RBCC at 2/11/2004 6:40:09 PM
How do I modify a record in a textfile in vb? Do I need 2 files? JOhn --- Posted using Wimdows.net NntpNews Component - Posted from .NET's Largest Community Website: http://www.dotnetjunkies.com/newsgroups/...more >>

How to find if a text is in Time format
Posted by Tor Inge Rislaa at 2/11/2004 6:24:04 PM
I have a form with a textbox where the user can type a time in the format hh:mm (e.g. 01:00) How can I control that the .Text is a valid Short Time format T.I.Rislaa ...more >>

Problem checking checkedlistbox
Posted by Trapulo at 2/11/2004 6:23:47 PM
I've some problem checking items in a checkedlistbox by code: For jj As Int32 = 0 To cbTimeOptions.Items.Count - 1 ' cut: logic to set maycheck variable cbTimeOptions.SetItemChecked(jj, maycheck ) Next I've verified, dubbubg code, that after this for..next, cbTimeOptions has two item...more >>

VB code formatter
Posted by Nayan at 2/11/2004 5:38:24 PM
Anybody knows of some VB code(VB code tidy utility) ?? Thx, Nayan ...more >>

Create an object at runtime
Posted by Dave Taylor at 2/11/2004 5:26:07 PM
I have a DataTable with three string columns, "Value", "Format" and "Type" However, some of the rows contain numbers and dates in the Value field. So I would like to be able to format the output based on the format specifier in the Format field. The problem is, since the Value field is a stri...more >>

Stream DataSet into XMLDocument
Posted by Rob Panosh at 2/11/2004 4:00:17 PM
Hello, I am trying to create a xmlDocument from as dataset. My code is listed below. All seems to go well until xmlDocument.Load(CType(ms, System.IO.Stream)) ... I keep getting the following error "The Root Element is Missing" ... any help would be appreciated. Thanks, Rob Panosh Pub...more >>

Waiting in vb.net
Posted by Peter van der Veen at 2/11/2004 3:56:38 PM
Hi What is the best to use. I've a form with an animated gif and a function to carry out. If i show the form and call the function the gif freezes. So i start a new thread which carries out the function and the gif is animating. I use a loop to check if the function is ready (i set a v...more >>

Who owns a running process?
Posted by Scott Meddows at 2/11/2004 3:50:45 PM
Can you tell who owns a running process in .NET? I can do the system.diagnostic.process object and see if an application of the same name is running but I need to tell if the process is running by a current user or by another user. Anyone know how to do this? Thanks ...more >>

Synchronous Events?
Posted by CJ Taylor at 2/11/2004 3:49:36 PM
I don't know how to do this persay, but maybe someone could give me a little guidance. I will start with an example, if you've ever heard of ComponentOne they have a tool called DataObjects, this thing raises events many times, however, you can modify data in the event args which is then passe...more >>

VS Unwire Bug
Posted by Juan Romero at 2/11/2004 3:39:46 PM
Hi guys, This is probably old, but it is getting on my nerves. When you cut and paste an object graphically while using the Visual Studio Editor (say for example, a button), all the methods get disconnected or unwired from their respective handlers (code). for the button for example, if I h...more >>

display control
Posted by Reny J Joseph Thuthikattu at 2/11/2004 3:08:28 PM
Hi, I am reading the data which is coming from the serail port using my program.While displaying it i am facing some problem like whether to use text box or some thing else. I want to display the arrived string in the window as it come .I want to move the previously arrived data which is there ...more >>

DataGrid
Posted by Tom McLaughlin at 2/11/2004 2:32:17 PM
I have a sequential file that contains data is there a way to load this data into the DataGrid control? I am using vb.net the standard version 2002. ...more >>

guid retrieval of assembly
Posted by Brian Henry at 2/11/2004 2:29:59 PM
Is there anyway to retrieve the GUID code of an assembly for use in the application as a unique identifier? thanks! ...more >>

How to add My Documents to a TreeView
Posted by SamSpade at 2/11/2004 2:23:54 PM
I'm looking at using a TreeView control and can see how to fill in MyComputer with directory and file names. But I have no idea of how to include things like My Documents and My Network Places Anyone how to do that. Thanks ...more >>

p/invoke and allocconsole
Posted by colmag at 2/11/2004 2:11:05 PM
I read in a previous post by Tom Shelton that you can call AllocConsole via p/invoke to allocate a console window to a form application. I've searched for info on how to do this, but have drawn a blank. Can anybody help me to get this up and running? FYI, I want input received via a form to...more >>

Uhmmm, problems with framework...
Posted by Sueffel at 2/11/2004 2:01:37 PM
Okay, I have Framwork v1.0 on my devel machine, VS.NET 2002. On my workstations, I have Framework v1.1 (Redistributable) installed. Everything runs fine on my test machine, and it does not run on the workstations. I'm not sure, but the version on my devel machine is what VS.NET installs, and ...more >>

application
Posted by kerpal at 2/11/2004 1:53:23 PM
hi all, How would I monitor my VB app. when running on Windows Server 2003 with Network Load Balance Service (NLBS)? And if the program fails would it be possible to shut down the NLBS hosts automatically? Thanks for any pointers! ...more >>

Why I cannot new a Office object from .net?
Posted by anonymous NO[at]SPAM discussions.microsoft.com at 2/11/2004 1:28:53 PM
I installed Visual studia .net 2003, office 2003. When I go to File|New|Project| I cannot find office projects there....more >>

Why doesn't the compiler complain about functions that don't return a result?
Posted by Andrew J. Marshall at 2/11/2004 1:26:18 PM
It was dumb in VB6 and it's still dumb today ... or am I the dumb one? -- Andrew J. Marshall MCP (Visual Basic) Fairfax, VA ...more >>

Fill out Web Forms using vb.net
Posted by peter NO[at]SPAM mclinn.com at 2/11/2004 1:12:56 PM
I'm looking for some code examples that would show me the following: I want to be able to write a vb.net program that goes to a url and fills out a web form, then submits the form. Anyone do anything like this yet? I have a network monitoring product that is web based but I don't have acce...more >>

encryption
Posted by Brian Henry at 2/11/2004 1:10:58 PM
is there any built in encryption in .NET that would let me easily encrypt a string and decript it? thanks! ...more >>

How to rename sub main to function main
Posted by Rody Reulen at 2/11/2004 12:57:54 PM
I made an console application with Visual Basic .net. Visual Basic will automatically create the sub procedure main for you. I try to convert the main procedure to a function. During the compilation I will get an error message: No accessible 'Main' method with an appropriate signature wa...more >>

Property procedures vs. fields
Posted by Andrew J. Marshall at 2/11/2004 12:39:23 PM
If I have a class Fool with an attribute Bark implemented as a field Public Class Fool Public Bark As Boolean End Class and I want to "upgrade" it to be implemented as a property procedure Public Class Fool Protected MyBark As Boolean Public Property ...more >>

Error scanning with WIA
Posted by Ben Coats at 2/11/2004 12:26:06 PM
Hey I have a function in a class library that I'm using to help scan checks in using WIA scripting objects. Last night it worked fine on one computer, but here at my office computer I'm getting an exception thrown: "Exception from HRESULT: 0x80210007." Anyone know what could be causing this? Is...more >>

Cool Development Tool
Posted by Randy at 2/11/2004 11:41:07 AM
Hi Folks, I've recently completed a new information management and help authoring tool; it's available as a free download on my web site. I call it Foundation. It's written in VB.NET, and should be of interest to .NET developers who have a use for a documentation tool that can be tightly inte...more >>

How to export an array from VB .NET in VC++ .NET?
Posted by Dr. Zharkov at 2/11/2004 11:28:25 AM
We want to export myArrayVB (2000, 2) of VB .NET 2003 in myArrayVó [2000, 2] of VC++ .NET 2003 on scheme "component - client". But there is an error. For development of a component in VB .NET 2003 we make: File, New, Project, Visual Basic Projects, Class Library, name of project: ComponentVB...more >>

.NET DLL's and VB6
Posted by Peter van der Veen at 2/11/2004 11:25:53 AM
Hi I've a VB.NET DLL coupled to VB6. Everythings works ok except from the events. In the DLL i use the RaiseEvent keyword, but when i declare ths class in VB6 wth 'withevents' i got an error. Does anyone knows if this is/is not possible? Peter...more >>

Internet Explorer Automation
Posted by ltt19 at 2/11/2004 11:11:08 AM
Hi, I want to get the URL that the user typed in the address bar, I tryed with mshtml and with shdocvw, but I did not found anything that could help me.. If someones has any ideas it could be very helpful Thanks in advance...more >>

MS Word and Printing
Posted by scorpion53061 at 2/11/2004 10:59:47 AM
I have my Word document being created in a seperate thread. THe applicaiton is not visible. The end user can choose to view the document upon completion or just have it print. Viewing is fine. If htey choose to "just print it" it seems ot ignore this command: oDoc.Application.Dialogs.I...more >>

Can I customize "Pretty Listing (reformatting) of code "
Posted by Andrew J. Marshall at 2/11/2004 10:22:28 AM
I like the automatic reformatting of code (except for the bugs), but I was wondering if anyone knew of a way to customize the effects? Andrew J. Marshall MCP (Visual Basic) Fairfax, VA ...more >>

Sharing common code
Posted by Jeffrey Bradshaw at 2/11/2004 9:33:49 AM
I have two apps (one is a service and one is a windows app) that share some common classes. How can I make it so that I don't have to keep updating the items in solution explorer? Here's what I do now: Test and debug the windows app. Make appropriate changes required there. Once it's to my li...more >>

Using Images in vb.net
Posted by Alan Lambert at 2/11/2004 8:36:06 AM
H I'm writing a control which has a property called Picture of type Image. Once an image has been assigned to the property (no problems there) I need to split it up into a number of sub images e.g. cut it into 4 equal pieces, which is what I'm having problems with I've been looking at the variou...more >>

Can you write to the .config file?
Posted by feng at 2/11/2004 8:31:17 AM
..Net's .config file is supposed to replace the .ini files. That's all fine if all I need is to read from it. But what if I need both read and write? With .ini file, I can do that very easily with standard API. But is there API for writing the .config files? I know we can treat .config fil...more >>

CheckedListBox State
Posted by CC at 2/11/2004 8:31:06 AM
Hi, We are populating a CheckedListBox from a database. Based on a selection by the user, the CheckedListBox either contains ALL possible members of a set, or a subset of possible members. The user can click a button to toggle back-and-forth between showing all or some. The question we have is...more >>

datetime.format for quarter
Posted by Dominique Vandensteen at 2/11/2004 8:27:50 AM
I have a datetime and want to format it to "quarter year" so 20 december 2003 should give: "4-2003" is this possible? I don't find a format character for quarter :-( Dominique ...more >>

create/use form event/property to validate txtEntry
Posted by Rich at 2/11/2004 8:16:24 AM
Hello, I have 10 textboxes on a form. I would like to validate text-data entry on each textbox. I was looking for a Form_Current event or Form_Change event but did not recognize any such events. Or maybe there is a property for the Textboxes where I can set data entry conditions? Wo...more >>

Web Browser Control locks after ShowDialog
Posted by Kent Brown at 2/11/2004 8:04:27 AM
I have a modal dialog which has the web browser control in it. The first time it comes up fine. If I hide and then reshow, the form comes up, but the Web Browser is locked. Kent ...more >>

Blind Blogger
Posted by CJ Taylor at 2/11/2004 7:24:58 AM
http://www.manageability.org/blog/stuff/gateway_to_offshore/view If you ever wondered why Java was better from the mindset of an obvious trogodor. -CJ ...more >>

Detecting real changes in a bound datagrid
Posted by David Batt at 2/11/2004 7:16:05 AM
Hi, I need to determine when data in a datagrid bound to a dataset has changed and thus make updates accordingly. I would of thought the code below would detect when a change has been made to the dataset, however the haschanges value is set to true even if i just click on a cell without chan...more >>

VB6 > BV.Net Equivalents
Posted by Harry Strybos at 2/11/2004 6:48:24 AM
Hi All Is there a book or web site that lists all the VB.Net equivalents for VB.6 methods? In other words, a list of all VB6 keywords and their equivalent in VB.Net. This would be of enormous help to me. Tank you (sorry, got a cold ;->) ...more >>

Looking for work in the Arkansas and Louisiana Area....
Posted by twilliams NO[at]SPAM hongkongexpressions.com at 2/11/2004 6:16:43 AM
My apologies, this is way off-topic.... Im un-employed, looking for employment. The IT market is almost non-existent and jobs are scarce in Arkansas. If you are located in the Arkansas or Louisiana area. I have experience working with Infragistics and DataDynamic ActiveReports controls in C...more >>

First Day of the Month
Posted by Jeff at 2/11/2004 6:16:06 AM
I was wondering how to get the first day of the month as a datetime value. I don't want to set the date to a specified format because I want to display it, the way the user has it set on their machine. Thanks Jeff...more >>

Work in VB.NET, ASP.Net, Networking
Posted by twilliams NO[at]SPAM hongkongexpressions.com at 2/11/2004 6:11:22 AM
My apologies, this is way off-topic.... Im un-employed, looking for employment. The IT market is almost non-existent and jobs are scarce in Arkansas. If you are located in the Arkansas or Louisiana area. I have experience working with Infragistics and DataDynamic ActiveReports controls in C...more >>

is it essansial to install .net framework with any software which is developed in .net
Posted by peter at 2/11/2004 4:11:06 AM
i was install some software on my pc certainly it gives massage to install . net framwork first than the program will run properly. i just wnated to be sure that if iam developing a software on .net it means that on every before installing my sftware which is devloped on .net have to install framwor...more >>

Access Form to Asp.net converter
Posted by Stan Sainte-Rose at 2/11/2004 3:47:41 AM
Hi Guys, I m looking for a tool to convert an Access form application to asp.net. Do you have some ideas ? Stan ...more >>

Help: Sorting fails on boolean values!!!
Posted by Henning Kristensen at 2/11/2004 3:46:07 AM
Hi Been at this problem for 6 hours now, aka. time to admit my defeat and ask for help ;- The code thats acting up looks like this Imports System.ComponentMode Public Class aktivitetList Inherits System.Collections.CollectionBas Private _comparer As New aktivitetListSorte ...more >>

manipulating vcard
Posted by sebastien.chesney NO[at]SPAM socgen.com at 2/11/2004 3:32:11 AM
Hi, Is there a way in VB.net to create or manipulate vcard? Thank you for your help....more >>

asp.net howto to put wildcards in date rowfilter
Posted by amrita at 2/11/2004 1:26:05 AM
hi i have a dropdown where i have put dates in mm/dd/yy format and want to filter the date from the database(format mm/dd/yy time) based on these dates ie if i select 01/06/02 from the dropdown ,it shud show all the items wth this date and diff time, i cannot use like as it is not supported with da...more >>

Capturing key
Posted by John at 2/11/2004 12:20:27 AM
Hi How can I capture Esc key on my form? Thanks Regards ...more >>


DevelopmentNow Blog