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 > may 2004 > threads for thursday may 20

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

Peer review requested....
Posted by Larry Serflaten at 5/20/2004 11:21:20 PM
I am planning to share a Cards.DLL out on Planet Source Code and GotDotNet. But before I send it out to the public I would like to get a peer review to be sure it works as intended, and to avoid any stupid coding tricks or other unsightly practices. I am supplying a zipped package of just the...more >>


Relationships using multi-column key..
Posted by Graham Blandford at 5/20/2004 9:33:02 PM
Hi all, Can anyone assist me? VB6er trying to delve into the world of .NET... I have inherited a poorly designed database (access).. that uses multi-column keys to determine parent-child relationships. Could anyone suggest how I can handle this using a relation in VB.NET. E.g. Table "A...more >>

Remoting Example
Posted by Glenn Wilson at 5/20/2004 9:31:04 PM
I am working on a server application that uses a windows service as it's source. Included in this app I also have a monitoring and configuration client that needs to be written. For this I am using remoting to talk to the service and collect information on what it is doing. What I need to do now is...more >>

Textbox Numeric only
Posted by Keith at 5/20/2004 9:06:32 PM
Am I crazy - to be shocked that there is no Numeric, Alpha, and AlphaNumeric Property in on the Textbox control I searched and searched - and found other people's code - but they don't work perfectly. Some do only allow numeric - but you cannot backspace. Maybe that is "good enough" - but surely...more >>

StreamWriter Adds FFFE at the start of the file with Unicode Encoding!!
Posted by Majed at 5/20/2004 6:00:12 PM
Hi , all I'm trying to write unicode to a file for another app (not developed with vs2003) to read it. I used StreamWriter with unicode encoding.but I was surprised that the streamwriter adds FFFE to the start of the file,which stopes the other app from reading it!! any idea how to stope it fro...more >>

Help with forms
Posted by Wooten26 at 5/20/2004 5:28:05 PM
Ok.. extremly new to NET so bear with me ) In VB5 you could do this (in Form2) form1.text1.text = "test" now how do you change textbox propertys from another part of code - like from a module or another form? Thanks- Noramn...more >>

How to change row height in a DataGrid
Posted by Tor Inge Rislaa at 5/20/2004 5:23:22 PM
How to change row height in a DataGrid I have DataGrid that is filled with data from a table in a DataSet. The content of the cells is text of more than one line (as a note field). What I want is to set the height of the row based on the number of lines in it. The row height of each row in...more >>

BUTTON - VISUAL STYLE HOW ?
Posted by Agnes at 5/20/2004 5:05:01 PM
i saw some .net demo, there is a property for the button or check box called "visualstyle" (something like that) In my.net 2000 , there is not such property. Does it belongs to 2005 ?? thanks ...more >>



Create TabPages at runtime (with controls)
Posted by Luc at 5/20/2004 5:00:15 PM
Hi, I have a TabControl and, at runtime, I need to add some tabpages. The problem is that each tabpage is similar to the others and contains several controls. If I do TabControl.TabPages.Add(MyTabPage), a new BLANK tabpage is added. How can I add in few statements a new tabpage as well as i...more >>

[VB.Net] To clear up all the textbox at one time
Posted by KKuser at 5/20/2004 4:50:38 PM
Hello: I have 20, 30 text and combo boxes on one form, and I would like to clear them up at one time using the statement "With..........End With". I used this when using VB6, but I don't know if I can use the same way in VB.Net. If I can't use With statement in VB.Net, what should I do? T...more >>

DataGrid UpperCase and Sort
Posted by Carmen at 5/20/2004 3:31:02 PM
how to format my datagrid control for only write on it in upper case. Also i want to sort my datagrid control automatically for the column number 4. Any ideas....more >>

Help 2.0 and .NET
Posted by CJ Taylor at 5/20/2004 3:16:21 PM
Alright, can't understand this. Visual Studio appears to have a HTML Help 2.0 plugin availible. I'm using it, it generates a HxS file just fine. I can browse this file in a custom viewer I found. Problem. The help provider for .NET only supports HTML Help 1.0 (CHM) it appears... No/lit...more >>

internet explorer toolbar
Posted by Alejandro Becker at 5/20/2004 2:59:33 PM
Hi, I want to create an internet explorer toolbar, like google and others. can you tell me, please, where can I find information about this. Thanks You Alejandro Becker ...more >>

Asynchronous Threading Help
Posted by slavisa NO[at]SPAM msn.com at 5/20/2004 2:07:48 PM
I am unable to call the .Show() method on a form that I have passed through .BeginInvoke as the AsyncState parameter. I can get back the form correctly after the .EndInvoke is called in the callback, but the process still seems to be on a different thread even though the ..EndInvoke finished ru...more >>

Read webpage with VB app
Posted by KC at 5/20/2004 2:04:41 PM
Is there a simple way to read (and parse) a webpage with a VB.net application. Right now I can sort of read a page but it's a framed page and the server thinks the app is a browser that can't handle frames...so I get a message to the effect in the response. Ken ...more >>

Database app for xda II
Posted by John at 5/20/2004 1:54:43 PM
Hi We have a .net database app with MS Access backend running in house over a windows 2000 server network. Is it possible to re-write the same app for xda ii (http://www.xda-2.co.uk/under_the_bonnet.html) /windows mobile 2003 that can updated data from/to server? What means can be used to upda...more >>

Could someone help with this one?
Posted by JLW at 5/20/2004 1:39:59 PM
I cannot get this to work correctly: File.Create("\\.\PHYSICALDRIVE0") or File.Create("\\.\Tape0") I've been searching for the better part of a week for this one. Thanks, JLW ...more >>

send email without SMTP
Posted by Mike at 5/20/2004 1:28:37 PM
In VB6 I could send email via Outlook without using SMTP, Is it possible to do the same in .NET and if so is there any examples of doing this? ...more >>

DataSet Schema
Posted by Carmen at 5/20/2004 1:21:03 PM
hello to all, I have the following problem: I change a field of the data base, changes it of char(10) to char(15). The field is display in a datagrid control. When I record the information, the field only accepts the 10 characters that the field initially had, how can I do to the field of the data ...more >>

How many event handlers registered for an event
Posted by Marina at 5/20/2004 1:14:03 PM
Hi, Is there a way to find out if any event handlers are registered for a given event of a given object? ...more >>

PIA of Microsoft Office 2003
Posted by ©pEIO at 5/20/2004 1:00:17 PM
I have installed the PIA of Microsoft Office 2003 and the installation was succefully. If I add the reference of Microsoft Excel 11.0, I see that the property CopyLocal is False and the assembly linked is C:\WINDOWS\assembly\GAC\Microsoft.Office.Interop.Excel\11.0.0.0__71e9bce111e 9429c\Micr...more >>

Authentication against NT4 domain
Posted by Z D at 5/20/2004 12:27:07 PM
Hello, I was wondering how I would go about writing some code that would be able to authenticate a user atainst a Domain Controller on an old NT4 domain. The call would be coming from a server or client machine that isn't necessarily even part of the old NT4 domain. Is this possible? If s...more >>

Mouse Movement & Control Bounds
Posted by Tom at 5/20/2004 12:11:46 PM
Hi I am having problems working out if the mouse pointer is within the control bounds within the OnMouseMove method: Protected Overrides Sub OnMouseMove(ByVal e As MouseEventArgs) Debug.WriteLine(Me.Bounds.Contains(e.X, e.Y)) End Sub This always returns false even whe...more >>

Passing in a file to a browser...
Posted by Robert at 5/20/2004 11:51:21 AM
I am creating a small help browser. It is pretty much finished except I cannot find how to pass a file to it (i.e. browser.exe index.html, or any html file, and the html file opens in the browser) from the command line. Pointers would help. : ) Bob ...more >>

Ready to Move to Stage 2
Posted by MadCrazyNewbie at 5/20/2004 11:34:15 AM
Hey group, Right im ready to move to Stage 2 of my Project (And learning Experience) I'm after some advice, not really on the coding side but more on the design side (Sorry if this is the wrong group). What I want is a IT support Database. On this I would like a mini Stock Control Databas...more >>

[VB.Net] How to disable tthe "X" button on the top-right cornor?
Posted by KKuser at 5/20/2004 11:11:24 AM
Hello: I currently use Me.FormBorderStyle = FormBorderStyle.None to hide the tile bar, but it looks quite ugly. It's easy to disable the "X" button using VB6, but I really can't find out any way to do the same thing using VB.Net. Thanks!! ...more >>

Newbie:Displaying aliases in Datagrid
Posted by A. Saidov at 5/20/2004 10:52:34 AM
hi all, How to display column aliases instead of real column names??? thx in advance for reply ...more >>

write to text file
Posted by Mike at 5/20/2004 10:29:57 AM
I have a text file that i need to write multiple lines of data to but one at a time. how can i write more then one line of data to the file? example: i do a search for a file on a server if the file does not exist on the server i write it to text file. then i search for another file and if t...more >>

UserControl
Posted by Nice Chap at 5/20/2004 10:27:55 AM
I am unable to find a way of 'Visually' add user controls present in a project to a form or another user control present in the same project. Does VS.Net allow this and if so how please ? ...more >>

Using CASPOL to grant permissions for a strong named assembly
Posted by Craig Miles at 5/20/2004 10:19:51 AM
Hi, I have a couple of small exes compiled using the same .snk file. These exes will be deployed to the client machines using a "No Touch Deployment" scenario from a web server. We need to push a script out to the client machines to run Caspol to allow the exes the relevant permissions the...more >>

Using AddressOf... as a parameter
Posted by Anthony Coelho at 5/20/2004 9:49:37 AM
Hello Guru's! I am trying to pass a function pointer as a parameter to a method and can't seem to get it working. Basically I want to do the exact same thing that the System.Threading.Thread constructor does in VB.NET within my own class. In the Thread constructor, you can specify the function...more >>

How to print barcodes?
Posted by Mika M at 5/20/2004 9:48:22 AM
Hello! I would like to know recommendations and experiences how to print barcodes using VB .NET 2003 and Windows Form application. What would I need to make it possible to use my application to create barcode paper printings. Do I need extra components or is it possible to use Crystal Reports ...more >>

Help files
Posted by Brian Henry at 5/20/2004 9:19:02 AM
Now in VS.NET how do you create help files? we use to have a help workshop to do it but I don't see it, what is the process now? thanks ...more >>

Insert Date into SQL Server
Posted by Stefan Richter at 5/20/2004 9:01:23 AM
Hi, I am trying to enter data into a table, but I got problems with my sql statement. It's something like that: Dim now As String = DateTime.Now.ToString INSERT INTO table (date) VALUES(now) I know there is also ToShortDateString but it didn't change my String in anyway. Atm the date ...more >>

Posting messages inside function
Posted by peter NO[at]SPAM mclinn.com at 5/20/2004 8:34:12 AM
I have a function like this: Public Function HearThis(byval strWords as string, byValue strTimesSaid) as string end function Is there anyway to input a message into the function that would be seen in the programming enviornment? ...other than naming the variables IE. HearThis('do no...more >>

SetProcessWorkingSetSize() Bad to use or good???
Posted by Anthony Nystrom at 5/20/2004 8:31:11 AM
Is it okay to call this sub so that the user see's that the app uses less memory... I thought about using this sub after form loads, it does seem to the user that the app is using less memory... Bad, Good? Doesn't matter?? Thanks Anthon Private Declare Auto Function SetProcessWorkingSetSiz...more >>

Disallow multiple copies of app
Posted by Rob Oldfield at 5/20/2004 8:19:26 AM
I have an VB windows form app which I need users to be able to run once. If they have a copy running on one machine on a network, then I have to stop them logging on to a second machine and running it from there. Users also have access to the app through terminal services, so this also includes...more >>

Hard Drive Low in "Space" event !
Posted by Eddie at 5/20/2004 8:18:38 AM
Hi All, I would like to write a windows service that will "Check" any problems on my computer. For exemple, I would like to pop up a windows if my Hard drive is low in "space" (maybe 5 % free space). How may I do it ? Does VS.NET provide a tools for that... I also would like, for exemple, kno...more >>

Re: multiple search/replacements in a single Regex.Replace?
Posted by Jay B. Harlow [MVP - Outlook] at 5/20/2004 8:12:09 AM
D'oh!, I cut & pasted info on Split, when I meant to include info on Replace. :-)) The same thought applies, there are four Replace functions in .NET: I would use Microsoft.VisualBasic.Strings.Replace when I needed the extra options that it offered . I would use System.String.Replace when I...more >>

Need help with a VB.NET error ... please help! Details within
Posted by D P at 5/20/2004 5:13:48 AM
Hello everyone, I am new here and I hope I can get the help I need. I will be as descriptive as possible!! I have developed an app using VB.NET that requires making a connection to an access DB that sits on the same machine in which the app is running. First off, this works PERFECTLY on my P...more >>

VB.NET Error .... details explained inside. HELP!!!
Posted by D P at 5/20/2004 5:13:47 AM
Hello everyone, I am new here and I hope I can get the help I need. I will be as descriptive as possible!! I have developed an app using VB.NET that requires making a connection to an access DB that sits on the same machine in which the app is running. First off, this works PERFECTLY on my P...more >>

Dynamically Adding an Object
Posted by (chris.harper NO[at]SPAM preferredmortgages.com) at 5/20/2004 4:06:27 AM
Hi, Currently I have this code: Dim arrData(intNoOfRows, intNoOfColumns) As Object I want to dynamically add x amount of objects. Something like this: For intX = 1 to intCounter arrData(intX)(intNoOfRows, intNoOfColumns) Next Obviously the above code doesn't work. BUT, I'm sure ...more >>

DataTable: ColumnChanged event always fired
Posted by anthony NO[at]SPAM netcourrier.com at 5/20/2004 2:04:14 AM
Hi, When I update a datatable through a datagrid the ColumnChanged event is fired. In this event I check if the new value that the user has entered is correct and change it if it's not. My problem is when I change it, the ColumnEvent is fired again. How can I prevent this? I thought BeginEdit...more >>

PublicNotCreatable instancing?
Posted by Larry Serflaten at 5/20/2004 1:45:25 AM
I am getting a bit confused with several things that need doing, but I am trying to grasp the concept of a few keywords. The situation is I am making a DLL that uses two objects that support the same interface. One should be creatable and the other not. Due to the late hour I am perhaps not ...more >>

dropdownlistcolumnstyle in a datagridcolumn
Posted by Lekker Ding at 5/20/2004 1:22:31 AM
Hi All Does anyone know how to code a dropdownlistcolumnstyle in a datagridcolumn in vb.net? Thanks! Ch LD *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!...more >>

Memory Debugging
Posted by Aaron at 5/20/2004 12:31:20 AM
I just made a web app and there's some memory leak in the code. I can't use the VS.NET debugger for this. I would like to be able to see what's going on in the memory. What is the best memory debugging program? Aaron ...more >>

How to send message using the Messenger API?
Posted by norton at 5/20/2004 12:25:38 AM
Thx in advance! Norton ...more >>


DevelopmentNow Blog