Groups | Blog | Home


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 > december 2004 > threads for friday december 31

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

writing a text file in vb.net
Posted by poldoj at 12/31/2004 11:30:55 PM
Hi all, I am trying to write the content of a variable to a text file. I am currently switching from VB 6 code to VB.NET. Here is the code in my vb 6 applications (this code works) ------------------------ .... .... FileName$ = CommonDialog1.FileName For i = 0 To List1.ListCount - 1 variab...more >>


Can files deleted by System.IO.File.Delete method be restored?
Posted by Raymond Du at 12/31/2004 10:30:20 PM
Hi, I am working on a VB.Net window application, the application use System.IO.File.Delete method to delete files, can those deleted files be restored? TIA ...more >>

Dim question
Posted by Jm at 12/31/2004 10:08:16 PM
Hi all Is it possible to use DIM with an existing variable. By this i mean for example: (Im just guessing on the syntax) Dim MyNum as Int MyNum = 5 Dim Lst(MyNum) as Listview Thanks ...more >>

Web crawler
Posted by Tim Gaunt at 12/31/2004 8:24:15 PM
Hi, Firstly, happy new year to you all. I'm just wondering if anyone is able to help me develop a small crawler to extract information from a directory (ie www.kellysearch.co.uk), this is just for a personal project to expand my .NET knowledge but I don't seem to be getting anywhere fast...more >>

Multiple List Views ?
Posted by Jm at 12/31/2004 7:11:32 PM
Hi All Is there a way to have multiple list views created during program runtime in code, which can have objects added, removed and later on the listview itself be removed, whilst keeping the previous listview(s) hidden or disabled under the original ? Thanks ...more >>

TextChanged Asp.net question
Posted by barry at 12/31/2004 6:51:54 PM
The code below works fine for one textbox (hit enter key) but adding another textbox and including the handle for it will not change either textbox without switching the focus to say a button. Do not understand the concept why it works for one but not two boxes. Private Sub TextBox1_TextChanged(...more >>

MdiChild
Posted by David A. Osborn at 12/31/2004 6:24:01 PM
Is there an easy way to lock and MdiChild to the left side of its parent? ...more >>

Hmm, What happened to Left ?
Posted by Jm at 12/31/2004 6:10:16 PM
Hi all I feel stupid for asking this, but i just went to use the left() function from vb6 only to find it doesnt do what it used to under .NET. Im assuming theres something else now im meant to do when i want to say for example Dim Str as string Str = "1234" msgbox left(str,2) Thanks ...more >>



InvalidCastException
Posted by some guy at 12/31/2004 5:05:05 PM
Hi, I've got a class called Client that inherits from TcpClient. I've also got a TcpListener set up, which then tries to convert the TcpClient received from AcceptTcpClient to my Client class, eg: Dim NewClient as Client = CType(Server.AcceptTcpClient, Client) I've also tried with Direc...more >>

VB.NET POP code
Posted by Brett at 12/31/2004 12:16:06 PM
begin 666 Class1.vb M[[N_#0H-"DEM<&]R=',@4WES=&5M+DYE="Y3;V-K971S#0H-"E!U8FQI8R!# M;&%S<R!0;W S36%I; T*#0H@(" @26YH97)I=',@4WES=&5M+DYE="Y3;V-K M971S+E1C<$-L:65N= T*#0H-"@T*#0H-"B @("!0=6)L:6,@0VQA<W,@4&]P M,T5X8V5P=&EO;@T*#0H@(" @(" @($EN:&5R:71S(%-Y<W1E;2Y!<'!L:6-A M=&EO;D5X8V5P=&EO;@T*#0...more >>

can u fix this ...............
Posted by Supra at 12/31/2004 11:33:37 AM
at runtime i got error right away. so i am getting closer...just 1 errors in bolds. when i do step over i found same error in bold below An unhandled exception of type 'System.NullReferenceException' occurred in system.windows.forms.dll Additional information: Object reference not set to an ...more >>

Favorites
Posted by Tom McL. at 12/31/2004 11:16:53 AM
I have a new computer which came with sp2 and framework 1.1. I have noticed that my favorites that contain links to visual basic.net subjects that were saved under the earlier version framework no longer work. Upon investigating I found that the help files in the following directory: C:\Docu...more >>

One Project / Multiple Executibles
Posted by Raterus at 12/31/2004 10:14:07 AM
Hi, I create many tiny vb.net console applications that I call from the = command prompt in sql server. Usually these are very tiny, and involve = just one method (I'm doing things that a stored procedure can't do). = The only way I know how to do this is to create a VS Project for each = e...more >>

Detecting if Shift is pressed when Toolbar button is clicked
Posted by Kejpa at 12/31/2004 10:10:39 AM
Hi! How can I detect if Shift (and/or Ctrl and/or Alt) is pressed in the click event of a ToolBar button? TIA /Kejpa ...more >>

i don't understand this.............
Posted by Supra at 12/31/2004 9:07:08 AM
An unhandled exception of type 'System.NullReferenceException' occurred in system.windows.forms.dll Additional information: Object reference not set to an instance of an object. Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object. at...more >>

How to get a part/copy of an imagebox
Posted by jr at 12/31/2004 8:38:16 AM
Hi, I need to place a part from an existing image into an other image control. How can I do this. ex image is 300X300 picels split it into 3X3 and I need the middle rectangle Jan ...more >>

Process cannot access the file because it is being used by another process
Posted by Jim at 12/31/2004 8:01:41 AM
Hey all, if anyone can help with this I would appreciate it. I'm loading an XML file and modifying one of the nodes. Once I modify the node, I call the .Save method on the XML document object and I keep getting the message below: The process cannot access the file "C:\Documents and Settings...more >>

VB.NET vs CFMX tick count distribution?
Posted by Brett at 12/31/2004 6:25:52 AM
I have compared, in ms, the time VB.NET and CFMX take to execute code that is nearly exact in their respective languages. The tick count distributions in VB.NET are very tight, ranging from 154 - 190 with no outliers. The CFMX code is distributed in the range 356 - 950 and one outlier at 135...more >>

API Function
Posted by martin huber at 12/31/2004 1:15:38 AM
Hello, I'm searching for an API-Function to find files. I would like to find files with a keyword. It's like a search how it is in Windows explorer. Right mouse-click above a folder -> Search -> Searching in file also. For example I would like to find all files which contains the strin...more >>


DevelopmentNow Blog