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 > january 2006 > threads for wednesday january 4

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

XML question
Posted by Aaron at 1/4/2006 11:24:47 PM
Hello, I am using VB/ASP.net 2005. When I click submit it refreshes the page without entering the data from all the text boxes and not entering in the Game1.xml. here is the asp.vb code Imports System.Xml Partial Class _game1 Inherits Web.UI.Page ............... Protected Sub bt...more >>


Address Matching System
Posted by Mario at 1/4/2006 10:21:41 PM
Help......... I have a CDROM that has address information from the USPS. If you have any source code for this I would appreciate it. What I want to do is pull the address and zip code from the CDRom and store in my database. Any suggestions. Thankz Mo ...more >>

Check PoP3 & SMTP Servers are up
Posted by Ben at 1/4/2006 10:14:59 PM
Hi We have an application that during a process we need to check that a remote POP3 Server and SMTP Server are accessable. Ideally we just want to open a connection and close it immediately. Is this possible without a third party tool? Any advice is much appreciated. Thanks B ...more >>

Accessing Owner class instance possible?
Posted by Cyril Gupta at 1/4/2006 9:56:11 PM
Hello, I have a class inside another class. The Scenario is like Car->Engine, where Car is a class with a set of properties and methods and Engine is another class inside it with its own set of properties. I want to know if there is a way to access the methods and the properties of the O...more >>

Hide the printing dialog box
Posted by Fox at 1/4/2006 9:49:43 PM
How to hide the printing dialog box during printdoucment.print() called? ...more >>

Excel automation???
Posted by Alain \ at 1/4/2006 9:03:06 PM
Hi everybody. In my program I have some data that is calculated after some input from the user. I have written some code that opens an Excel workbook, with 5 worksheets and the calculated data (no database!)with some titles and info, is entered in the worksheet in a printable format. Thi...more >>

How to check Excel version number with .net?
Posted by Alain \ at 1/4/2006 8:28:30 PM
Hi everybody. Does anyone know what code I should use to check for the version number of Excel, installed on a computer? Thanks. Alain. ...more >>

Color theme of toolstrip and menustrip
Posted by Teemu at 1/4/2006 7:16:15 PM
I'm wondering if there is a easy way to change for example toolstrips appearance. I'd like to have the same theme as in VB2005. Brown backgroung instead of the light blue. Can this be done without creating own custom draw procedure? Somehow the theme of Visual Studio looks more professional...more >>



Touch screen application - touch screen keyboard
Posted by Simon Verona at 1/4/2006 6:39:29 PM
I know that Windows has a "clickable" keyboard that can pop up when necessary.. I have a touch-screen based application. Is there anyway that I can utilise this keyboard application in windows to automatically fill the current textbox if a button is pushed to display the keyboard?????? Or ...more >>

Reading dbf Files
Posted by Shmuel Shulman at 1/4/2006 5:29:12 PM
Hi I have 2 funny probs that are probably related 1. I can't read the entire field from a dbf file it cuts it at some point (see below) 2. When I use Access or SQL server to read these files they too read only up to that point also SQLServer sets the number characters to the 1 that it re...more >>

SqlConnection component in VB.2005
Posted by Roman at 1/4/2006 5:14:15 PM
Hello I have a component built in VB.2003. It has the following property: Public Shared mCONN As SqlConnection Public Property Connection() As SqlConnection Get Return mCONN End Get Set(ByVal value As SqlConnection) mCONN = value End Set...more >>

Can someone point me to the english foxpro group?
Posted by cj at 1/4/2006 5:01:00 PM
Please....more >>

WIA.ImageFile to System.Drawing.Image
Posted by Jeremy at 1/4/2006 4:43:04 PM
I am creating an imaging service using WIA (Windows Imaging Acquisition). The problem is that I cannot convert a WIA.ImageFile to a System.Drawing.Image to put a timestamp on the image without first saving the file using the wia.imagefile.savefile then loading it again using System.Drawing.Im...more >>

Control.Invoke and ByRef args
Posted by swartzbill2000 NO[at]SPAM yahoo.com at 1/4/2006 4:20:38 PM
Hello, I wish to use Control.Invoke to make an inter-thread call to a sub that has ByRef args. How can I pass the ByRef args? Syntax like New Object() {byRefArg1, byRefArg2} in fact passes by value. Bill ...more >>

Solution rebuilding issues VS2005
Posted by Andrew Kidd at 1/4/2006 3:49:16 PM
Is there any reason that VS 2005 only selects some project to rebuild when I hit the "run debugger" (F5)? We have a solution with 12 projects in it, and I'm debugging one of them right now. I change some code, hit F5 and get the following error message: "Source file: <mypath>\<myform>.vb ...more >>

what is teh event name for after a form is created and loaded
Posted by jg at 1/4/2006 2:49:10 PM
In windows project with only one single class and the start-up object is the form itself. form load event seems to be before the form is loaded How do I create a post form loaded event? I am having trouble finding the right keyword for the event after a forma is created and loaded. I have...more >>

VS2005 - Debug and Locked Files
Posted by JR at 1/4/2006 1:16:06 PM
VS2005 Team Developer edition (final) developing a Windows Application When in debug mode if you make any changes to the application settings or project properties, the next time I attempt to debug I get "The operation could not be completed. The process cannot access the file because it is...more >>

Security Error Attempting to Create Outlook Object in .NET
Posted by sakieboy at 1/4/2006 1:15:02 PM
When attempting to load an Oulook Object in ASP.Net (VB) I get the foloowing error on the Server: System.Security.SecurityException: Request for the permission of type System.Security.Permissions.SecurityPermission, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e...more >>

Before delete event - where is it?
Posted by Bob at 1/4/2006 1:06:54 PM
I'm using a datagridview and a binding navigator in VS2005 all bound to a table in a sql dataset. I need to be able to handle a the equivalent of a before delete event in which I do checking before I actually execute the delete. I can't seem to find the event that would let me do the evaluatio...more >>

Withevents and Arrays
Posted by Joel Whitehouse at 1/4/2006 12:56:16 PM
Is there any way I can get the effects of declaring objects using WithEvents while also having indexed addressing? I'm designing a control that has several buttons, the functions of which vary only by the value of the integers they return and their visual placement in the layout of my contr...more >>

"Incorrect syntax near" problems
Posted by Michael at 1/4/2006 12:26:05 PM
Hi Everyone, I'm having a slight problem, I hope I didn't overlook something. I'm getting the following error when I try to execute the function below: Incorrect syntax near 'intake_GetListSet'." Private sub LoadListSet() dim da as New SqlDataAdapter Dim cmd as New SqlCommand try cmd...more >>

IRDA with VB2005
Posted by Roger Allen at 1/4/2006 12:24:33 PM
Hi: I am trying to write an app in VB2005 that can send data to another device via the IR port on my laptop. I do not want to use Comm Port workarounds. Does anyone know of code examples, or any clue how this can be done. Help will be appreciated. ...more >>

Retrieving App.Config custom section
Posted by kevininstructor NO[at]SPAM state.or.us at 1/4/2006 12:15:23 PM
I added a custom section from code found on the Internet and can not get it to work in DotNet 1.1 In the configuration file below my focus is on the "TestGroup" section, all other parts work fine. The following code returns a zero count for "nvc" and can not determine why? Any thought...more >>

SerialPort1.ReadLine
Posted by Jan at 1/4/2006 12:00:28 PM
Hi why is this piece of code not working????? It's getting really frustrating. I can not figure it out. If I replace the readline method for readchar it's working. But one character. I want to read everything from the serialport SerialPort1.Open() TextBox1.Text = SerialPort1.R...more >>

get active directory properties
Posted by shlomy at 1/4/2006 11:49:04 AM
how i can know all the properties of user that i get from active directory - that exist (i dont know there names) thanks...more >>

how i get the client macine name
Posted by shlomy at 1/4/2006 11:46:04 AM
hello how i get properties about client compuer such as machine name in asp.net (server variable return ip) and properties like hard disk serial numer , all the programs that install on the machine thanks...more >>

its a pain!
Posted by Bob at 1/4/2006 11:36:38 AM
I found it a real pain working with the datasets and table adapters and bound records. Here's why. During development I find I occasionally have to change some part of a table definition. Say I forgot to make the primary key an identity column ,yeah I'm human ;-). Typically I will find this o...more >>

Datagridview question in vs2005 VB.net
Posted by Bob at 1/4/2006 11:06:15 AM
I have a form with one control a datagrid view that is bound to a table an OK button and a close button - No navigation controls. Its just used a a selector for a record and then opens another form, storing the primary key of the chosen record in a global variable for later use when the user c...more >>

Can AddHandler cause memory leaks?
Posted by TrtnJohn at 1/4/2006 11:00:02 AM
If you call AddHandler and hook events of one object to a method in a class will the event source object still be available for garbage collection if the original reference is set to Nothing? Or do you have to call RemoveHandler as well? For example: I am using the ActiveX version of the ...more >>

VB.NET Event handling subs
Posted by Richard Grant at 1/4/2006 10:32:03 AM
Hi, I need to "save" in a variable the event handler sub of a control's event, then perform some process, and finally "restore" the originally saved event handler. Example in pseudo-code: 1) Save cmbMyCombo's event handler for SelectedIndexChange event. 2) Assign a temporary event hand...more >>

Unmanaged C dll call
Posted by Bob Simoneau at 1/4/2006 10:15:02 AM
I am trying to get a C DLL to work with VB.NET 2005. Below is the original header, my conversion, and test code. There is no error, but RVERSION_RESP.version returns empty. I must be missing something. Thanks in advance for any help. #define REQUEST_DECLINED -2 typedef struct rversi...more >>

Debug.Print Release ?
Posted by swartzbill2000 NO[at]SPAM yahoo.com at 1/4/2006 9:50:22 AM
Hello, I have a VB 2005 Express project with a TraceListener-derived class to route Debug.Print output to a log file. It works fine for Debug builds. What is the correct combination of changes to make it work in Release build? Bill ...more >>

VB6 -> .NET Roadmap Questions
Posted by Old VB6 Guy at 1/4/2006 9:30:11 AM
First of all, sorry if crossposting bothers you -- I don't normally do it, but both of these groups seem relavant to my questions. Alright, the time has finally come to make an investment in time and money to jump start my career again. I am currently a VB6/ASP programmer, but worse yet, I am...more >>

How to convert a string to an xmlNode
Posted by Ken Sturgeon at 1/4/2006 8:36:54 AM
Using VB.NET in VS2005, assume that you have a RegEx that matches a specific html tag; for instance "<title>.*?</title>" that returns a match "<title>SomeTitleHere</title>" and you want to convert that string into an xmlNode so you can just grab the InnerHTML... how would you go about conver...more >>

View browser page source from another app?
Posted by Shishu Das at 1/4/2006 8:33:55 AM
How can I get the page source from a browser window running on the same box as my program? shishudas *** Sent via Developersdex http://www.developersdex.com ***...more >>

Screen Coordinates of Secondary Screen
Posted by Zorpiedoman at 1/4/2006 8:32:07 AM
In a multi-monitor environment, a form I am creating at run time keeps placing itself on the primary screen, even if the main form of the program making the call is on the secondary screen. How do I place a form on the secondary screen (monitor)? -- --Zorpie...more >>

Cannot execute One-Clip App fom Website
Posted by Roger Allen at 1/4/2006 8:15:51 AM
I have created a very simple test app. When I publish to a local drive it runs without a problem It seems to publish to our internet website without a problem, but when i try to execute the setup file from the website, after downloading the app it just displays the .application XML file in...more >>

generics.addnew - follow question
Posted by guy at 1/4/2006 8:09:04 AM
if i use Generics.AddNew how do I pass an object to the items constructor? I have a set of class all inheriting from a base class, all requiring one parameter on their constructor - the data passed to it will be the same independent of the class type so how do i pass it to AddNew? ...more >>

accessing listbox item value
Posted by Candace at 1/4/2006 8:02:03 AM
I am just learning to program and cannot figure out what is wrong with the following line of code. I am trying to take the value of one item from a ListBox and assign it to a string variable. Please help. Thanks. strExistingTime = lstTimes.Items.Item(intCounter).ToString() ...more >>

Problems with a CLASS
Posted by William Cruz at 1/4/2006 7:18:36 AM
Ok, here is my situation. I have created a class called “Calculations” in the main form of my project, I declare this class as “Dim Calcs as New Calculations” and everything is fine and dandy, but In this same project I have another form where I also have to access the same class. So I do the s...more >>

Modems
Posted by gad at 1/4/2006 6:09:03 AM
How do i get a list of modems that are connectes to my ports?...more >>

How To: Save the export of a windows system service on a network s
Posted by SL33PY at 1/4/2006 5:53:05 AM
I have a windows service that runs as a system service (so noone has to be logged in for the service to work). A part of the service contains code to export the results in a file. This is where the problem is. The same code should also work on a client (front-end), but that is another (already...more >>

generics - creating a new item
Posted by guy at 1/4/2006 5:46:04 AM
i am new to generics so... if i have say dim MySecondList as new BindingList (Of MyFirstThing) dim MyFirstList as new BindingList (Of MySecondThing) how can i instantiate a new item withing the list without knowing what Type to create? so i might have sub Dostuff( bl as BindingList) ...more >>

Selecting, Inserting and Updating Relational Data (SQLServer/ADO.NET)
Posted by Mike Wilson at 1/4/2006 1:26:18 AM
Dear Group, I have a heirarchical set of database tables, say - "order" and "order_type" and want to display a series of orders in a grid control, and in place of the order_type foreign key identifier, I would like a dropdown combo box (lookup from the "order_type" table) to change the type...more >>


DevelopmentNow Blog