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 > february 2006 > threads for tuesday february 7

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

what to do, what to do
Posted by rodchar at 2/7/2006 10:24:27 PM
hey all, i have a windows service that uses a FileSystemWatcher. When a file arrives i need to do quite a few things to it. my question is should i put the rest of the process in a separate vb program and just call that in the event. Or just have the entire process inside the service? th...more >>


HTML in to readable/value accessible object
Posted by Joe at 2/7/2006 10:21:43 PM
Can someone show me how I can correctly put the HTML code of a webpage into an object where I can access the various values of the tages in VB.net? I did it in VB6 with HTMLDocument, but its seems to not work for me in VB.NET. Thanks in advance ...more >>

Looking for a quick tutorial on how to allow draging a form from something other than menubar
Posted by BlarneyFOR at 2/7/2006 6:02:35 PM
Hi, I have an app where I've hidden the menubar. so there is no real way to drag the form around the screen. I know this can be done, how would I program it so I could click down on a label or button and drag the entire form around the desktop? thanks ...more >>

Checking strings are alphanumeric
Posted by Oenone at 2/7/2006 4:57:58 PM
Is there a nice .NET framework function that will allow me to easily check if a string contains only alphanumeric characters? Or is the only way to loop through the characters, checking each one individually? TIA, -- (O)enone ...more >>

Loading HTML into an HTMLDoc problem
Posted by Joe at 2/7/2006 4:48:56 PM
I am trying to load some HTML code in a string variable into a mshtml.HTMLDocument object. I want to do that so I can access the various tags and structures (<table>, <a>, using VB.NET code) So is there a good way to load HTML to an object and access its parts with VB.NET ? I have an erro...more >>

passing a list as a parameter to a TableAdapter Fill method
Posted by Crazy Cat at 2/7/2006 3:48:24 PM
I've created a TableAdapter which implements the following SQL statement SELECT MSC.MSC_NAME AS NAME, Capacity.Capacity AS CAPACITY FROM Capacity INNER JOIN MSC ON Capacity.MSC_KEY = MSC.MSC_KEY WHERE (MSC.ED_MARKET_KEY in ( @ED_MARKET_KEY)) the type of...more >>

Designing A Process and Report Scheduler/Spooler Application
Posted by Ben Kim at 2/7/2006 3:25:56 PM
Hello all, Prior to our days with .NET (yesterday - grin), we could LoadLibrary any application DLL and call a function/procedure. If we stored our Class DLL's in the GAC (since we are designing multiple application executables that could call common DLL's), is there a similar function in...more >>

Error when 'option strict'
Posted by philip at 2/7/2006 2:57:44 PM
Private Sub FlowLayoutPanel1_DragDrop(ByVal sender As System.Object, ByVal e As System.Windows.Forms.DragEventArgs) Handles FlowLayoutPanel1.DragDrop If e.Data.GetDataPresent(DataFormats.FileDrop) Then Dim fullFilenames() As String fullFilenames = e.Data.Ge...more >>



Converting a project from 2003 to 2005 differences
Posted by NickP at 2/7/2006 2:47:08 PM
Hi there, I have converted quite a large project from VS.NET 2003 to 2005 (VB.NET) and one difference I have noticed is that it doesnt automatically put the automatically generated designer code into a seperate part file. Is there a quick way that I can scan the project and make th...more >>

System.IO.File.Exists
Posted by raibeart at 2/7/2006 1:41:01 PM
I am trying to use System.IO.File.Exists to determine if a file exiusts on a server. I am using a UNC path stored in a database table. Is there a way to use UNC rather than a mapped drive? For example: \\Srv09\Data\LogCenter\Logs\log_1.tif will not work x:\LogCenter\Logs\log_1.tif ...more >>

Reflection, and an error
Posted by Babillon at 2/7/2006 1:28:38 PM
Good day all. I have a bit of a problem in a small project I'm working on. I've decided to make a function that will recursively loop through all of the controls on a form and apply a user specified property to them e.g.; Enabled = False I found out about Reflection and it seemed the best ...more >>

calling vbscript
Posted by rodchar at 2/7/2006 12:19:27 PM
hey all, can i call a vbscript within my windows service? thanks, rodchar...more >>

run a dos command
Posted by rodchar at 2/7/2006 11:50:22 AM
hey all, how do i run a dos command from vb and make sure that the dos command completes before proceeding back to vb? thanks, rodchar...more >>

question on coding a reset button
Posted by Charlie Brookhart at 2/7/2006 11:36:26 AM
I am trying to figure out how to code a button labeled reset which will clear the user input as well as clear out the two read-only text boxes. Here is the program code that I have. 'declaring variables Dim totalLiters As Double = Convert.ToDouble(txtLiters.Text) Dim totalPints As Double ...more >>

need help resolving runtime error
Posted by Charlie Brookhart at 2/7/2006 11:33:27 AM
I have a program (posted below) that is supposed to take liters, which is the user input, and convert it to pints and gallons. The pints and gallons are displayed in a read only textbox. I don't understand how to fix the problem. 'declaring variables Dim totalLiters As Double = Convert.ToDo...more >>

EXE vs DLL Creation
Posted by Ben Kim at 2/7/2006 10:47:21 AM
Hello all, In Clarion for Windows we were able to create many DLL's and a single execute that would link in the DLL's (LIB's). You could cross DLL->DLL (imports/exports) and interconnect many procedures/methods. So we could create a DLL for Persons, one for Businesses, and so on. What ...more >>

COM+ question
Posted by olsen.chris NO[at]SPAM gmail.com at 2/7/2006 10:43:40 AM
I am passing parameters to a dataccess COM+ object so I needed to create a serializable class that would allow me to do this, which I did. Does this class have to inherit from the ServicedComponent class? If I do not inherit from the ServicedComponent class I get a "COM Interop registration...more >>

Books On VB.NET 2005
Posted by Ben Kim at 2/7/2006 10:43:15 AM
Hello all, Since we are converting from a language called Clarion to VB.NET 2005 what are some books one would recommend with the following technologies in mind: 1. Data access and manipulation (MS-SQL Server) 2. TCP and UDP communications 3. COM/Serial communications (persistent, dial ...more >>

Draw backs of Serialized Objects
Posted by Ben Kim at 2/7/2006 10:36:35 AM
Hello all, We are diving into VB.NET 2005 head first, coming from a language called Clarion. What are some of the drawbacks, if any, to serialized objects? Should we just use streaming data? The environment will be as follows: Multiple data stores (could be SQL Server databases across L...more >>

Best Practices with In Memory Data
Posted by Ben Kim at 2/7/2006 10:27:33 AM
Hello all, I am coming from another development environment (Clarion for Windows) and they offer a special In-Memory driver which acts just like a database driver. What would be the appropriate replacement for such an animal using VB.NET 2005? We are looking for the fastest possible spee...more >>

Peculiar inconsistency in autogenerated event handler code
Posted by Larry Lard at 2/7/2006 8:27:59 AM
Experiment A: Start a new Windows Forms project. Double click Form1. This is what is generated: Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load End Sub Experiment B: Start a new Windows Forms project. Go to the code window...more >>

"obj" folder in VB.NET 2005
Posted by vad at 2/7/2006 7:13:38 AM
Hi, Can anybody explain me, please, what the folder "obj" in VB.NET 2005 for? And what the difference between folders "bin" and "obj"? Thank you. ...more >>

Method description thingy...
Posted by almurph NO[at]SPAM altavista.com at 2/7/2006 6:53:53 AM
Hi everyone, I have a simple method inside a class in a solution. When I create an object from the class I see the method signature appear in the drop down - I'm sure you know what I mean. My question is though how do I get a description to appear underneath the method signature - just like...more >>

Device Driver in VB 2005
Posted by Fla at 2/7/2006 6:37:33 AM
Hy! I'm newbie to VB 2005 and I'm trying to read value from a device driver, as I used in VB6 with CreateFile and DeveiceIoControl. I get a correct driver handle with CreateFile but I can't read values with ReadFile, as reported in this URL http://support.microsoft.com/default.aspx?scid=kb;en-u...more >>

String vs. Stringbuilder speed parsing questio
Posted by almurph NO[at]SPAM altavista.com at 2/7/2006 4:39:24 AM
Hi everyone, Can you help me please? Say you have hashtable of about 500 key/value pairs. This hashtable has to parse a word. If the word matches the key the then said word must be replaced by the value. My question is though - would parsing occur faster if the word is input as a type str...more >>

Dynamically remove child controls ?
Posted by Cerebrus99 at 2/7/2006 4:28:48 AM
Hi all, I am dynamically removing some child controls from a groupbox. The problem occurs because some controls are removed and some aren't. Dim ctl as Control For each ctl in GroupBox1.Controls If CStr(ctl.Tag) = "Removable" Then GroupBox1.Remove(ctl) End If Next After much ...more >>

System.IO.FileSystemWatcher is missing alot of files.
Posted by Philip Wagenaar at 2/7/2006 4:22:27 AM
I have a Windows Form application that monitors a directory using the System.IO.FileSystemWatcher. On the event created I run a sub that sends an xml file over http to a service. When I copy 7000 files in the directory to be monitored only 123 are sent to the service. What might be go...more >>

PropertyGrid Control - Accessing Collections
Posted by Mkenney at 2/7/2006 1:15:29 AM
Hi, I have been trying to use the property grid control as a means of editing an object, one of the properties of the objet is a collection of another of my classes. to create the collection i have inherited CollectionBase. When the PropertyGrid is displayed the collection has the elipses ...more >>

KeyUp + KeyDown Event Handler
Posted by ShaneO at 2/7/2006 12:00:00 AM
I would like to handle the KeyUp & KeyDown events in the same event handler but can't find how to determine which event was fired - Private Sub ListBox1_KeyUp(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) _ Handles ListBox1.KeyUp, ListBox1.KeyDown If e.KeyV...more >>

FlowLayoutPanel control reordering
Posted by NickP at 2/7/2006 12:00:00 AM
Hi there, I am trying to implement drag and drop reordering of controls that are placed in a FlowLayoutPanel control but unfortunately as the control collection doesn't have an "insert" method I am having to use the SetChildIndex method, which has some rather adverse side effects which ...more >>


DevelopmentNow Blog