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 > september 2004 > threads for monday september 13

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

combo box (input capital letter)
Posted by Agnes at 9/13/2004 10:03:55 PM
In textbox, there is a property (character casing), However, in combox , any method/property to set it (as the user input the text, it is default to upper case ? Thanks a lot ...more >>

XML document
Posted by Mark at 9/13/2004 8:20:06 PM
I have a single XML file containing forty records, with no child nodes. For example, imagine a list of people's names, and birthdates with SSN. I'd like to find the row of a person with SSN of 123456789. What's the quickest way to: 1. Load the file from disk. 2. Find the "record" I want. ...more >>

Locking Files
Posted by joecx NO[at]SPAM aol.com at 9/13/2004 8:02:34 PM
Hi I am trying to understand what the lock feature does in vb.net. I am using a text file. I have created an instance of the filestream using fs and I am using the following line: fs.lock(0, fs.length) When I set this up using the function instead of name spaces, it locks me out of brin...more >>

interop between VB.NET and eVC++
Posted by Eric BOUXIROT at 9/13/2004 5:39:48 PM
hi there, i'm working on a smart application project on VB.NET. i must call API (custom eVC++ DLL) but i have some trouble with mashalas attribute..... i have copy/past a sample on msdn help but it's not working.. IDE says "unknown 'mashalAs' attribute".....and i don't know why.... i have ...more >>

parseing an xml string
Posted by Keith Henderson at 9/13/2004 5:20:43 PM
I have an xml document loaded into a string that I need to parse. below is the first few elements in the xml string. <?xml version="1.0" standalone="yes"?> <xs:schema id="NewDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> ...more >>

dataset primkey
Posted by Frank at 9/13/2004 3:18:59 PM
Hello, how do I remove the primary key on a datatable in a dataset (without removing the data itself)? Set the primary key to nothing? Or how? Thanx Frank ...more >>

Creating Excel Spreadsheet without opening Excel application
Posted by ken NO[at]SPAM enormtech.com at 9/13/2004 3:14:11 PM
Is it possible to create an Excel spreadsheet using VB.NET without opening the Excel application or having to have the Excel application on the operating computer? KH...more >>

Removing blocks of text
Posted by rbscheer NO[at]SPAM my-deja.com at 9/13/2004 2:53:22 PM
Hi. My application uses a text file as a log. Each log entry has six lines of text representing data about the application. I need to keep the file size reasonable so I am trying to write a routine that removes older entries. My problem is that I could not solve how to remove one entire block...more >>



Custom Web Server
Posted by Rob T at 9/13/2004 2:27:37 PM
I have a simple little vb.net app that runs on a server. I would like to have users log into it as a web page and view some status information. I would like to avoid using IIS since the app may get installed on machines that don't run this service. Any suggestions on the best route to take? ...more >>

Create a SQL Database or Tables in SQL Database using VB.net
Posted by Peter at 9/13/2004 2:18:39 PM
Hello£¬everyone, My program will collect a testing machine's data ,save the data and deal with the data everyday. I want to use vb.net to create database, add and delete tables or modify the records in the database. Is it possible to create a SQL Server database using vb.net? I know I can ...more >>

Best way to instantiate a class when the class name is passed as variable?
Posted by brfenske NO[at]SPAM hotmail.com at 9/13/2004 2:13:37 PM
I have many similar classes in a project, one for each type of report my app can create. I want to instantiate them based on a value passed in by a scheduler module. Right now I have Sub RunReports(sReport) Select Case sReport Case "CRByDistrict" oReport = New CRByDistrict ...more >>

Query DHCP for leases?
Posted by Jack Black at 9/13/2004 1:30:22 PM
Hi, all! Any way to query a DHCP server to get a list of current leases with machine name? Jack ...more >>

VB.NET
Posted by Rodrigue at 9/13/2004 1:07:07 PM
I upgraded to VB.net and I am having trouble calling a DLL. The old way a call is made from VB6 to a C dll. The dll would convert the BSTR to a null terminated string and reverse the process to return the string to VB. The dll is unmanaged code. The documentation is at best confusing. Any hel...more >>

System.DivideByZeroException does not catch exception
Posted by Amin Sobati at 9/13/2004 12:53:29 PM
Hi, I have the following code in my app: Dim intx As Integer Dim inty As Integer Dim intz As Integer inty = 0 intx = 5 Try intz = intx / inty Catch ex As System.DivideByZeroException MsgBox("Catch") End Try But System.DivideByZeroException does not catch the exception. If I u...more >>

visual source safe how to
Posted by Keith Henderson at 9/13/2004 12:06:35 PM
Hi, I want to start using visual source safe. I know this probably insn't the best group but I figure the members have used it. My question is about installing it. Our admin told me he could give me a share on a server running Windows Server 2003 Appliance Server edition which is a NAS. On...more >>

Scrollbars
Posted by Chris Smith at 9/13/2004 12:05:00 PM
Experienced posters, I am trying to sync the scrolling of to windows panel controls. Can someone point me in the right direction? Thanks, Chris ...more >>

Vb Newbie question
Posted by Altman at 9/13/2004 11:53:53 AM
I just started programming in VB.net, I have done alot of work in VB and FoxPro. I have a form with MS Comm. activex control and would like to pass this object to another form by reference. Is there a way to do this upon loading the second form? -- Altman Forward this to everyone o...more >>

Unable to use Undo in custom RTB control
Posted by Atchoum at 9/13/2004 11:26:15 AM
Hi, I have created a custom RTB control. Somehow I have disabled the undo feature (CTRL+Z). What could I have done wrong? TIA, Atchoum ...more >>

Exchange
Posted by Z D at 9/13/2004 11:15:27 AM
Hello, I'm trying to query Exchange Extension Attributes from ASP.NET. I would like to show the value of the attributes for a given user. For example, EXTENSIONATTRIBUTE3. I was wondering if anybody has some sample code, resources they could point me to, or general advice. Thanks!...more >>

SMTP Mail Issues
Posted by scorpion53061 at 9/13/2004 10:55:23 AM
I would like to know how you guys are handling this issue...... Some ISP's are now requiring authentication when using SMTP (such as orcsweb) while others are refusing to accept plain text authentication (charter.net for instance) but will send the SMTP mail without providing authenticat...more >>

Unicode to ASCII string conversion
Posted by Ger at 9/13/2004 10:39:56 AM
I have not been able to find a simple, straight forward Unicode to ASCII string conversion function in VB.Net. Is that because such a function does not exists or do I overlook it? I found Encoding.Convert, but that needs byte arrays. Thanks, /Ger ...more >>

Button not showing on certain computers!
Posted by Lars Netzel at 9/13/2004 10:24:59 AM
Hi! I have an application that starts witha login form.with two buttons there. A "Point To Database" and a "Log In". After you login you get to the application. In the login form these two buttons are not showing on my customers Computer but it shows fine on all the computers at our company...more >>

write to a Form label from a class object?
Posted by Steve at 9/13/2004 10:04:09 AM
Hello, If I instantiate a class object from a form I would like to be able to write to a label on the calling form something like "hello from class object" from within a subroutine inside the class object. Is this possible? I tried the following in the class object Public Clas...more >>

OSQL
Posted by nate axtell at 9/13/2004 9:53:04 AM
I would like to use the OSQL utility to run a *.SQL script from my VB.NET application. What is the best way to call osql in the command prompt fashion? Should I use WScript.Shell or is that for VBScript mainly? Any other suggestions? Thanks, Nate ...more >>

Weird Display Behavior
Posted by CJ Taylor at 9/13/2004 9:36:40 AM
Alright, I wrote this program that is used throughout my entire company for the past 9 months. Now, we have deployed it to well over 100 machines. So my Sys Admin comes up to me today and tells me how a list box will not display any values that are bound to it, unless he clicks on another ta...more >>

Waiting for another process?
Posted by Corey Scheich at 9/13/2004 9:12:09 AM
I am writing a simple exe that will locate a company file for the user with minimal input and open it in the appropriate application (Same as Explorer) Problem is sometimes the user may want to open a few files. I was opening them in a For....Next loop and it seems that if a file takes longer t...more >>

call sub from 2 thread at same time?
Posted by Steve at 9/13/2004 9:05:48 AM
Hello, Is it possible to call a sub routine from 2 different threads at the same time? Or should I create a class containing this sub and instantiate the class for each thread? The sub pulls data from different data sources but the same structure. Right now I have 2 separate forms wi...more >>

Excel Automation Problem
Posted by jburgoon NO[at]SPAM sakon.com at 9/13/2004 8:54:26 AM
I'm writing an Excel Automation app and I'm running to a problem early on with what should be a basic step. Dim oExcel As Object Dim oBook As Object Dim oSheet As Object Dim oRng As Excel.Range oExcel = CreateObject("Excel.Application") oBook = oExcel.Workbooks.Add oSheet = oBook.Worksheet...more >>

Training material
Posted by Vince at 9/13/2004 8:04:16 AM
How do I get the msdn training course 2559 pdf file. Thanks...more >>

Datagrid multiple selection
Posted by Jorge at 9/13/2004 2:52:00 AM
Hi Does Datagrid support multiple selection? If not please suggest some that does like the old msflexgrid. Thanks. Kind Regards Jorge ...more >>


DevelopmentNow Blog