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 2005 > threads for friday february 18

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

How to 'Search' for keywords in .vb files?
Posted by kd at 2/18/2005 9:19:01 PM
Hi All, I seem to have lost a vb.net project. It would be of great help if anybody could suggect a way, that I can give a windows search to look for keywords in the .vb files present in the project? Thanks. kd ...more >>


is it ok to do this...
Posted by rodchar at 2/18/2005 8:41:01 PM
hey all, i have a long sequence of events that occurs in my one business class. i'd like to show the user a progress bar of what's happening. is it normal to have the values for the progress bar occur in the business class at each step? i can't think of any other way to do it. please adivs...more >>

Unable to access the VB.NET application deployed through Terminal Services
Posted by bharathi indukuri via DotNetMonster.com at 2/18/2005 8:28:28 PM
Hi, We have a VB.NET application deployed on the computer. When we try to access this application through Terminal Services, the message pops up saying that the application is already running eventhough we open it for the first time. But when we add the Windows user to the Administrators grou...more >>

Pocket PC application
Posted by S at 2/18/2005 8:23:57 PM
I am working on an application with a wizard type interface for Pocket PC's. Because of the lack of available space to work with I am creating the controls programatically and adding them to the form at run-time. However, I am struggling to find out how to reference these controls at design...more >>

ActiveX development
Posted by Steve Lloyd at 2/18/2005 7:15:20 PM
Hi, This is a bit of lame question but is something I have been struggling with for a while. I am struggle to find a way to develop ActiveX components, I seem to remember doing them in VS 6.0 but can't seem to find a way in .Net, I have done the Windows Forms Controls inbedded in a web p...more >>

web.config
Posted by Dan at 2/18/2005 5:33:12 PM
I am trying to add a definition for ConnString to web.config as follows (VB.NET STD 2003) <configuration> <system.web> .......... <appsettings> <add key="ConnString" value="C:\test\test.mdb" /> </appsettings> </system.web> </configuration> When I try to run it, I get "Error whil...more >>

How to change mouse cursor of a process?
Posted by Tee at 2/18/2005 4:06:32 PM
Hi, From my main form, I am executing another application using System.Diagnostics.Process.Start. The application has its own window displaying when the applicaiton is run. I want to change the cursor to a hourglass. But I only can change my own form's cursor using Cursor.Current, whenever ...more >>

timer question
Posted by rodchar at 2/18/2005 2:49:11 PM
hey all, if i have a timer program that ticks every 1/100th of a second and it just checks a variable status would that be a huge hit on the performance of the system or whatever indicator the timer would affect? just curious, rodchar...more >>



Compare a Variable Against Multiple Values
Posted by Jason at 2/18/2005 2:12:54 PM
Is there a mechanism in VB.NET that allows something like: If myVar In ("A","B","C") Then... The way I'm doing it now is: Select Case myVar Case "A","B","C" Or like this: If myVar = "A" Or myVar = "B" Or myVar = "C" Then... I'm just wondering if there's some handy new syntax i...more >>

Format datagrid column for the string datatype
Posted by Coen at 2/18/2005 1:59:02 PM
I have a datagrid bound to a dataset's table. I'm using a tablestyle and so I can, with the column.format property, format numeric and date typed datacolumns. But I need to format a column of type string. The column.format way is of no effect then. How to make this work? Any ideas are welco...more >>

Data Conversion (binary, hex, dec., etc.)
Posted by Amjad at 2/18/2005 1:51:05 PM
Hi, Are there any built-in methods in VB.NET that convert one number in one format to its equivalent in another format? For example I want to convert the number 162 (decimal) to 10100010 (binary) or to A2 (hexadecimal) and vice versa. Thanks....more >>

Formating a DataBound textbox
Posted by Dave Prouten at 2/18/2005 1:13:04 PM
Hi all, I am trying to format a textbox which is data bound to a datagrid using the following syntax txtReportDate.DataBindings.Add("Text", dvHistory, "Start Date") I need to display the txtReportDate as a "dd/mm/yy" date. Any Ideas? Thanks in advance Dave ...more >>

Threads and scope
Posted by Chris Dunaway at 2/18/2005 12:46:25 PM
I use the class below as a base class to make object that execute in their own thread. If I create a derived class and instantiate an instance of that class, what happens to the thread if the instance goes out of scope? Will the thread continue to run? Does the thread run independently of the...more >>

Help - TreeView Question
Posted by Kelvin Leung at 2/18/2005 12:32:14 PM
Hi I use Drag and Drop between 2 TreeView Control under VB.Net But I found that it cannot work when I add sub-class for each node Is it drag and drop method cannot work when the node with sub-class ? If no, any related information/reference ? Thanks a lot Kelvin ...more >>

How to open a reference file when I debug a project
Posted by ahawk at 2/18/2005 12:31:04 PM
Hi, All, I'm a beginner of Vb.net. My solution(A) has reference another object (solution B), so when I debug( trace) my program step by step, the system opens the class code of solution B. My question is how can I add breakpoint somewhere of one clsss of solution B (open it in Solution A ...more >>

Sql Server Timeout Problem
Posted by BBC1009 at 2/18/2005 12:22:43 PM
I have an application connected to an overseas sql-server using port 1433. But recently it always timeout the connection. Any solution to avoid this??? I am using the VB.net Windowed Form with .net 2002, SQL-Sever 2000 Enterprise Thanks! ...more >>

datagrid inside user control wont fire events
Posted by margant NO[at]SPAM gmail.com at 2/18/2005 12:16:02 PM
Dear Professionals, I have placed my datagrid : .... <asp:Datagrid ID="DGEdu" runat="server" OnDeleteCommand="DGEdu_Remove" OnItemDataBound="DGEdu_ItemDataBound" OnItemCommand="DGEdu_OnItemCommand" AutoGenerateColumns="false" ShowFooter="True"> <Columns> .... </Columns> in a ...more >>

node value keeps vanishing with XML.xmlTextReader
Posted by Dica at 2/18/2005 12:11:00 PM
hi all first off, i'm not trying to cross post, but couldn't find this newsgroup earlier (got here from a recommendation on microsoft.public.vb, where i originally posted this question). anyhow, i'm just getting into .Net and am trying to parse a document, but not able to read the values fo...more >>

MAPI component
Posted by Paul Hewson at 2/18/2005 12:05:13 PM
I'm looking for a VB.NET compatible MAPI component that gives me simple MAPI functionality, like the VB 6 MAPI controls. We don't want to use the VB6 controls, because of installation issues. http://www.mapi33.adexsolutions.com/ looks good, but cannot be used in VB.NET. :( -- Paul Hewso...more >>

Accessing Display Properties
Posted by Mark Assousa at 2/18/2005 11:55:00 AM
Is there any way to access the display settings within the .Net framework? On a WinXP box, one can right click on the desktop, select Properties, go to the Appearance tab, click on the Advanced button, and muck with the display appearance in fine detail. Are any of these settings available ...more >>

How to Copy/Paste existing row to a new row in data grid
Posted by Darrell Wesley at 2/18/2005 11:43:09 AM
Is there any way to copy an entire row from the Data Grid and then Paste it into a new row, modify some data and then save it back to the database? This grid is bound to a dataadapter with a commandbuilder monitoring the activity. Is there some property setting that needs to be set or what...more >>

Report Generator for vb.net
Posted by gustavo NO[at]SPAM usinaitajobi.com-dot-br.no-spam.invalid at 2/18/2005 11:38:39 AM
Hi, I need to code a report generator for vb.net like the MS Access Report Wizard.... Anybody can help me ? Thanks Posted Via Usenet.com Premium Usenet Newsgroup Services ---------------------------------------------------------- ** SPEED ** RETENTION ** COMPLETION ** ANONYMIT...more >>

Raising Custom Errors
Posted by Jason at 2/18/2005 11:31:25 AM
I want to raise custom errors. For instance, when my File class tries to copy a file, I check to make sure the file is available (by trying to get an exclusive lock on it). I try for a specific period of time, and if the file doesn't become available I want to throw an error stating something ...more >>

InStr performance
Posted by Morten Snedker at 2/18/2005 11:24:41 AM
Scenario: From a given folder all files from all subdirs are read. These are dropped in a one-dimensional array - myArray. Once everything is in my array it is sorted and dropped in a listbox. In a textbox I can enter a search criteria. Each time I press a key the listbox is cleared and I r...more >>

Concurrency Violation
Posted by elziko at 2/18/2005 11:16:30 AM
I have a DataTable which I did use as the source for a DataGrid, teh data table was popeulated form my database and when I made changes in the grid I used the same DataAdapter to chnage the values in the database. However, I now have the need (on a column by column basis) to show the values...more >>

Registry Booko
Posted by Chris Calzaretta at 2/18/2005 11:15:47 AM
Who know of the best registry book for windows xp and up. Thanks Chris ...more >>

Get Scroll Bar display size
Posted by Chris Calzaretta at 2/18/2005 11:12:00 AM
How would I go about getting windows display size for the scroll bar in all windows? Is it in the registery?? Thanks Chris ...more >>

manipulating SQL data using VB code but without binding to a datag
Posted by ASzasz at 2/18/2005 11:07:02 AM
I am new to VB .NET: I can configure a SQL adapter and access data via the datagrid. But how do you access and manipulate data if you do not require the data to show up on a form. I simply want to audit a SQL table's data using code to cycle through all records. The user doesn' t need to see t...more >>

Creating an executable
Posted by Jon Paskett at 2/18/2005 10:58:22 AM
Where is there a walkthru for creating an exe? ...more >>

Word Automation Error: ".FormattedText is not a by reference property"
Posted by Bill Coan at 2/18/2005 10:08:18 AM
NOTE: This was posted earlier to vsnet.vstools.office under a different subject line but received no response. I'm having a problem automating Word's Find object from a .NET application, using late binding. If I use early binding, my code runs fine on most systems, but it is vulnerable t...more >>

openfiledialog - selecting a folder
Posted by Bernie Yaeger at 2/18/2005 9:42:44 AM
How can I get the openfiledialog to allow selection of a folder (subdirectory) and all of its contents? Thanks for any help. Bernie Yaeger ...more >>

How to compute statistics ?
Posted by Gilles Lambert at 2/18/2005 9:35:26 AM
Hi, I know about Math namespace, but can't find anything for simple statistics opérations like avarage variance, etc. I can do it from the SQL Language from a DataTable, but i'm surprised there is nothing simpler ? So if anybody have found the rigth library somewhere ... Thanks and best ...more >>

How to know in that moment a tablestyles joins to my inherited DataGrid?
Posted by Carlos DurĂ¡n Urenda at 2/18/2005 9:16:18 AM
Hi I need to know in that moment a tablestyles joins to my inherited DataGrid control Tnks ...more >>

Package and development
Posted by MiaMia at 2/18/2005 7:50:41 AM
Hi all, I have developing program with database as well. What I want to do now is to create a setup.exe for the instalation of my program. I have develope new project on setup and deployment projects. What I want to ask is how to create the setup.exe so I can install the program to the oth...more >>

Struct trouble Visual Basic.net
Posted by DaHool at 2/18/2005 7:21:03 AM
Hi there !!! I browsed around the Internet in search for a solution of a little difficult problem i have in VB.NET.... However, i cannot find a suitable anwser anywhere, so i thought i'll give it a try here... Okay, here's the deal: I am trying to read from unmanaged memory with a cl...more >>

MSXML in Europe
Posted by jack at 2/18/2005 6:49:16 AM
Hello, My client is experiencing an issue on European computers related to MSXML3.dll. The issue is that the app is erroring when it does an xPath query to an xml file. On of the errors is: Expected token ']' found ','. //record[@sh_ubound_e = 150-->,<--9 and @table = "Table 2.3.7.3 (e)"]...more >>

Dynamically Create a Structure
Posted by pmclinn at 2/18/2005 6:31:21 AM
I was wondering if it is possible to dynamically create a structure. Something like this: public sub main sql = "Select Col1, Col2 from Table a" dim al as new arraylist al = LoadOracleData(sql) '____Do amazing things end sub Private Function LoadOracleData(SQL as string) as arraylist...more >>

sorting multiple arrays
Posted by cs_hart NO[at]SPAM yahoo.com at 2/18/2005 6:30:45 AM
I have the following data custID orderNum trackingNum ShipDate I have put these in multiple arrays since I want to redim. For example, the user selects one shipdate and I keep only the entries for that date and thenn redim to a smaller array. I come to a point where I want to sort by custID...more >>

Security Settings
Posted by Micheal Swenson at 2/18/2005 5:52:08 AM
Hello, I've been tasked with creating a kind of system scanner for Windows XP that checks various security settings (like file access to certain groups). I've been looking for a way to programatically check these settings for a month and a half now, but I have had no success. Does anyone o...more >>

Exchange server, creating rules on other folder than Inbox
Posted by Mikedi at 2/18/2005 3:17:01 AM
Hi. I use Exchange Server and I need to create a lot of rules to control my incomming mail. I also need be able to check my mailbox from any PC connected to the net. However there is only 32Kb of space reserved for rules on each inbox folder, which is insufficient. I have searched the we...more >>

Scroll to last item in listview
Posted by David at 2/18/2005 12:45:42 AM
Would someone mind explaining how I can get a listview to scroll down and show the last item. I am creating a history log that receives records from the serial port and I need the most recent item to be shown while the older items are either push up or down. A highlighted last entry would b...more >>

printing
Posted by notregister at 2/18/2005 12:31:03 AM
if i have 2 similar printer connected thru an usb hub to my pc, and if i send a print job to one printer, will it be replicated on the second printer automatically?? Because using vb.net i can selected the printername for the default printer, but both printer will have the same printername...more >>


DevelopmentNow Blog