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 > may 2005 > threads for thursday may 5

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

Input needed
Posted by Andy at 5/5/2005 10:31:44 PM
Hi Hope someone can give me some input to this question. I'm currenty considering to more actively learn dotnet development. 2 years ago I spent some time learning VB.net, but haven't been using for over a year and a half.. Should I continue with VB.Net, or should I learn C#? For me, the mo...more >>

Anyone know how to save a document object to an email??
Posted by Siv at 5/5/2005 9:22:48 PM
Hi, I am developing an application that produces various printed reports. I use my own custom print preview form and it works pretty well. What I'd like to do to improve it is to allow the user to be able to either print the preview like it does currently, or give them the option to attach ...more >>

How to detect printer is color printer
Posted by dever at 5/5/2005 8:32:12 PM
I checked my color printers's Printersettings.SupportsColor, which all showed false. What is wrong that I could not use this property. Also, what other way to detect if a printer is color printer. TIA ...more >>

Export datagrid contents to EXCEL
Posted by chreo at 5/5/2005 7:07:21 PM
I would like to export earnigs of employees from datagrid to EXCEL. for example: __________________________ |..name.............|..money...............| ----------------------------------- |..John..............|..100$.................| |..Mary.............|...150S...............| ----------...more >>

2 computers (1-MsSQL, 2-VB.NET application) - doesn't work :-(
Posted by chreo at 5/5/2005 7:03:28 PM
I have problem. I have application which is connected to MS SQL base on my computer. It works perfectly. I tried to move application on other computer and it says that server doesn't exist or acces denied :-( http://img259.echo.cx/my.php?image=baza4qk.jpg What is the best method to conn...more >>

close application after a security exception
Posted by Nicola Farina at 5/5/2005 6:50:40 PM
Hi all, I've a window form application with 3 forms. I want to catch the security exception when users run this application from a network share, thus I've made this code (I've notice that excpetion has been throw by initializecomponent()): Try InitializeComponent(...more >>

Is there a way in TreeViewFolders_DoubleClick to determine which button caused the DoubleClick
Posted by Just Me at 5/5/2005 6:43:51 PM
Private Sub TreeViewFolders_DoubleClick(ByVal se... If TreeViewFolders.MouseButtons <> MouseButtons.Right Then If, as above, I try to check which mouse button caused the DoubleClick I get TreeViewFolders.MouseButtons =None Is there a way in TreeViewFolders_DoubleClick to deter...more >>

Displaying non-modal forms via interop from COM DLLs
Posted by Oenone at 5/5/2005 3:33:08 PM
I'm continuing work on getting my VB6 plug-ins to work within my VB.NET application and am making reasonable progress. I've just experienced an error that has me a bit worried though. Many of my plugins use non-modal forms to present data to the user. They typically open the form and then us...more >>



How can I determine if the app is running in Debug mode or Release mode?
Posted by Henry Padilla at 5/5/2005 3:02:31 PM
I found the following code snippet in the help but it doesn't seem to compile. Dim debugger As EnvDTE.Debugger Dim IsDebugging As Boolean debugger = DTE.Debugger If (debugger Is Nothing) Then MsgBox("Debugger doesn't exist! Fatal error.") ...more >>

Dynamically Load Assembly (Windows Service)
Posted by dercon at 5/5/2005 2:37:50 PM
I'm attempting to dynamically load an assembly from a windows service. However, i'm having problems when the service runs... he is the line of code that causes the error: dim loAssembly as Assembly = Assembly.LoadFrom("SomeDLL.dll") I have a test windows Form that i use when developing servi...more >>

How to use modems with Vb.net?
Posted by RD at 5/5/2005 2:08:38 PM
I can't figure out what to use to be able to receive a file via a modem in Vb.Net? The requirement is that users can dial in and send an ascii file using a modem. Anyone know where I can find some sample code for this type of stuff? In VB6 we could get 3rd party controls but I can't find ...more >>

Formatting phone numbers input
Posted by RD at 5/5/2005 1:55:03 PM
We always have to have an area code but user does not always have to dial the long distance digit 1 before the area code. When user does not have to make long distance call the phone number our format is like (450) 123-4560. When he does have to make a long distance call its like 1 (450) 123-456...more >>

Installation and File Path
Posted by Prasun at 5/5/2005 1:53:21 PM
Hello: My program displays a Datagrid which is populated from an excel file. It is done to show the end user a sample file. How can I reference the excel file in the program connection string so that it can read it from the application folder after install. I guess my question would be, ho...more >>

parsing a string as XML using VB.NET
Posted by wk6pack at 5/5/2005 1:51:53 PM
Hi, I would like to know how to parse the following xml string using vb.net? currxml=" <employee><address_2></address_2><assignments><assignment><assigned_bargaini ng_unit></assigned_bargaining_unit><assigned_department></assigned_departmen t><assigned_locations><assigned_location></assigned_...more >>

threading question...
Posted by Rothariger at 5/5/2005 1:12:03 PM
hello, i have a question of threads, im making some tests, and i want to get a value of a variable inside a thread, but i want to retrieve from outside of it.. was it clear? 'when i clic the button its start the thread. completes a variable in the class, and starts. Private Sub ...more >>

Want to unzip a partial zipped text CSV file
Posted by johnnyh at 5/5/2005 12:32:04 PM
I am currently using ASP.Net / VB.Net to partially upload the first 100K of a CSV file to programattically extract the header information for field mapping against our database and for a test sample of records to check some validation before entire file is uploaded. (Files can be HUGE) Questi...more >>

HOW do I count the Number of lines in a text file
Posted by Daniel Kaseman at 5/5/2005 11:05:32 AM
I'm using the streamreader stuff. I know how to write and append, but I don't know how to get VB to return the number of lines that there are in the sequential access file that I'm working with. Example: I've written 40 lines to the file. I know that, but how do I get the computer to tell m...more >>

VB6 migtation to 2003 or 2005
Posted by Al Reid at 5/5/2005 8:18:36 AM
We will need to migrate a select few apps to VB.Net. At this point the schedule is quite flexible. Any opinions as to whether we should start now with VB.Net 2003 or wait for VB2005? TIA, -- Al Reid ...more >>

Making Directory out of reach
Posted by Husam at 5/5/2005 7:10:03 AM
Hi EveryBody: I create directory by using the general formula that is : Directroy.CreateDirctroy("C:\windows98") and I want to make this dirctroy out of reach, I dont want any body to find it, so I use file attributes to hide it, but as you know any one can go to tools menu and go to fo...more >>

Vanishing User Controls
Posted by Linda at 5/5/2005 6:47:57 AM
Greetings, I am experiencing a problem similar to that mentioned in <a href="http://groups-beta.google.com/group/microsoft.public.dotnet.languages.vb/browse_thread/thread/a4ca8746b3de09c2/3a24082f15010830?q=controls+vanishing&rnum=1#3a24082f15010830">this post</a>, which is too old for me to re...more >>

SIMPLE Data Access
Posted by Noggin The Nog at 5/5/2005 5:58:05 AM
Hi All, As an ex VB6 developer I find ADO.Net has go HORRIBLY complex. I don't want disconnected recordsets, I just want to run a query on an Access DB(SELECT ID FROM Blah WHERE...) to see if the record exists. How do I do this AS SIMPLY AS POSSIBLE?...more >>

cast problem
Posted by Sam at 5/5/2005 2:01:56 AM
Hi, I can't figure out which cast I should do (using DirectCast) to solve this one : Dim aRow1 As Array dtData.Rows(nRow2).ItemArray = aRow1 Option Strict On disallows implicit conversions from 'System.Array' to '1-dimensional array of System.Object'. Thx ...more >>

Dependency practices
Posted by Earl at 5/5/2005 1:05:58 AM
Is it poor practice to have one custom library depend on another custom library? For example, my data manipulation library depends on my replication library, which in turn pulls serial data out of an XML file. ...more >>

moving rows in dataset
Posted by Sam at 5/5/2005 12:47:18 AM
Hi, I have a datagrid which datasource is a dataset. I want to add a spin button to my form so that when the user click on the up arrow, the selected row in the grid will be moved up by one (same if the user click the down arrow). Has anybody done that before ? Is it possible ? It seems quite h...more >>

string issues
Posted by Troy at 5/5/2005 12:27:54 AM
Hello, I'm reading a line froma text file that has words separated by a comma. Any ideas on how I can parse through the string and store the individual words? also, any tutorials out there on the data grid. I'd like to display the words after they're parsed using the data grid. Any help is ...more >>

How's the book I've just ordered ?
Posted by Lior Bobrov at 5/5/2005 12:00:00 AM
Hi , How's the book I've just ordered via Amazon.com , "Teach Yourself Microsoft Visual Basic .NET 2003 in 21 days" by SAMS ? did people here read it ? Thanks in advance , Lior . ...more >>

Constant definition
Posted by Lurc at 5/5/2005 12:00:00 AM
Dear all, From forum, I found some constants definition like Const ERROR_SUCCESS = 0& Const ERROR_BADDB = 1009& I wonder what is the meaning for sign & here? -- Best regards, RL ...more >>

Windows Form problem in Designer
Posted by Rod Gill at 5/5/2005 12:00:00 AM
Hi, I have a form that when opened in the designer appears of the screen. The form selector can't be dragged (or resized) and if I scroll right and down to centralise it the form simply jumps further away, completely leaving the selector box area. Any ideas? VS 2003 and VB.Net This i...more >>

Force termination of COM object?
Posted by Oenone at 5/5/2005 12:00:00 AM
I'm developing a wrapper around a series of VB6 plugins that I now want to be able to run in my VB.NET application. Everything is working fine, except I can't find a way to get the Class_Terminate from the VB6 classes to fire when I've finished with the objects. In VB6, these obviously fire...more >>

How to abort a thread?
Posted by yxq at 5/5/2005 12:00:00 AM
Hello, I want to abort a thread when form closed, but system will hang using the code below sometimes. ***************************************************** Private Sub frm1_Closed(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Closed If ScanThread.ThreadState <> Thre...more >>

Get Value from Registry using VB.NET
Posted by A_PK at 5/5/2005 12:00:00 AM
Hi, How can I retrieve something from Registry ? ...more >>

Accessibility: Table Summary
Posted by Brian Cryer at 5/5/2005 12:00:00 AM
I'm working on a project using VB.NET where the customer is very fussy about accessibility. One of the requirements that I'm trying to meet is that tables should have a summary, for example (and I've taken this from http://diveintoaccessibility.org/day_20_providing_a_summary_for_tables.html): ...more >>

create control array in vb.net
Posted by Tom at 5/5/2005 12:00:00 AM
Dear All : How to create control array class in vb.net and how to use loop method so that add all button of cuurent form into collection class Thanks ...more >>

dataGrid & dataGridView
Posted by Irfan at 5/5/2005 12:00:00 AM
hi, all In VB 2005 Beta i cant find dataGrid control in the toolbox, instead DataGridView is available. What is the differance between the two ? How can i get dataGrid Control? Thanks irfan ...more >>

How to determine whether a local user has a password?
Posted by yxq at 5/5/2005 12:00:00 AM
How to determine whether local user has a password? Thank you ...more >>


DevelopmentNow Blog