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 > march 2005 > threads for monday march 28

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

Progress Bar
Posted by Jm at 3/28/2005 10:28:46 PM
Hi All Is the vb6 progress bar available under vb.net ? Or can you make the vb.net one smooth instead of the default ? Thanks ...more >>

VB Threading issues
Posted by Federico G. Babelis at 3/28/2005 9:56:28 PM
Hi All: Im new to the threading programming, and i have problem working with threads in my VB.NET application. I have a module.vb with the following thread definition in the declarations: Public Thread_Test As New System.Threading.Thread(AddressOf MDIChild.SomeFunction) The problem re...more >>

OT : Are you guys in the US on a Public Holiday today ?
Posted by OHM ( Terry Burns ) at 3/28/2005 7:33:30 PM
Sorry, but I have a couple of US sites which dont seem to be working and I wondered if you folks are working generally in the US today ?? Terry Burns http://TrainingOn.net ...more >>

VB.NET with ADO.NET compilation error.
Posted by Kam at 3/28/2005 6:49:01 PM
I am using the command line to create a VB.NET and ADO.NET Application. But Imports System.Data and Imports System.Data.SqlClient cannot be found during compliation. Can anyone show me how to setup the enviroment? ...more >>

Regional Settings
Posted by David de Passos at 3/28/2005 6:18:35 PM
Hi! How can set Regional settings in rum-time mode? For example How can set decimal separator to "." in VB.NET? -- Cumprimentos, David de Passos -------------------------------------------------------------- RCSOFT, Lda. E-Mail: passos@rcsoft.pt Móvel: +351 966931639 Telefone: +351 23...more >>

Binding Controls to Controls
Posted by MeltingPoint at 3/28/2005 6:17:14 PM
Quick question: Can you bind the Value of a TrackBar to the Text of a Label? MSDN didn't reveal anything in the hour or so I spent looking:)...more >>

SqlDateTime.MinValue, SqlDateTime.MaxValue: WATCH OUT!
Posted by Bob at 3/28/2005 6:13:10 PM
Because DotNet (inexplicably) can't directly cast SqlDateTime to DateTime using either CDate or Convert, you have to use ToString first. I use this function to validate a SQL date: Public Function IsValidSQLDate(ByVal d As DateTime) As Boolean Return CDate(SqlDateTime.MinValue.ToString) ...more >>

How to make an user control button with 2 images.. rollover
Posted by Marcos Beccar Varela at 3/28/2005 4:55:16 PM
Hello.. can anyone help on how to make a button that has one image an when mouse over another image like a web rollover? I need some code if there is availablre.. Thank you all! Marcos ...more >>



How to restore/recreate .RESX file?
Posted by Bill Nguyen at 3/28/2005 4:46:19 PM
I accidently deleted the RESX file of a Winform. I still have the .VB file. When I ran the app, the form was ok, but I can't bring up the design form to edit. Is there any way to restore or recreate RESX from the VB form? Thanks a million! Bill ...more >>

C# to VB
Posted by Nikolay Petrov at 3/28/2005 4:33:07 PM
Can some please make this C# code to VB? Thanks. [DllImport("msvcrt.dll", SetLastError=true)] static extern int _mkdir(string path); //this function should provide safe substitude for Directory.CreateDirectory() static DirectoryInfo CreateDirectory(string path) { int returnCo...more >>

compression of a string , but must be interoptable someone an idea ??
Posted by m.posseth at 3/28/2005 3:17:02 PM
well let i first explain in more detail what i mean I would like to compress a string that i am gonna send through a remoting object that is wrapped in a webservice on a local network to a VB6 / Delphi win32 forms client so it should be a algorythm that is availlable in VB.Net and VB6 /...more >>

IO function in Vb.Net slower than in Vb6.0
Posted by hillcountry74 at 3/28/2005 2:38:20 PM
Hi, I'm re-writing a VB6 app in Vb.Net. This basically reads a text file using streamreader one line at a time, parses the string using substring, trim functions and writes the parsed string to an output text file using streamwriter. I've noticed while testing that this is 15 secs slower than...more >>

How to clear Mark flags from class
Posted by moondaddy at 3/28/2005 1:53:09 PM
I was using the 'find' tool in a class today and accidentally clicked on Mark All instead of Find Next. it put a bunch of blue Marks on the side where break points usually go. how do I clear these out? I didn't find any "Clear Marks" menu any where. Thanks. -- moondaddy@nospam.nospa...more >>

New Problem with timers
Posted by George Thompson at 3/28/2005 1:17:04 PM
Hi All, I am following text book timer usage as defined in the on-line VB help. The timer works partly. I'm using the following timer code segment in my application. : Public Sub MyTimer(ByVal sender As Object, ByVal e As ElapsedEventArgs) lblStatText.Text = ">> Processing - " ...more >>

ODBC adapter question?? What is wrong here?
Posted by max at 3/28/2005 1:14:46 PM
I have a routine to load CBO's on the main form, which is below. In this I check the reader for .HasRows and if this is FALSE I invoke the routine to Add constants to the table. In the Add Constants rountine I add two rows that are required, then let the user make any changes they need via a d...more >>

Online training
Posted by JackRabbit at 3/28/2005 1:08:31 PM
Has anyone done any of the online training from francistuttle.com? It's $49.00 for access to the online library. http://www.francistuttle.com/elearning/libraries.asp?LIBRARY=IT I work for the cheapest f???ing company I have ever seen. ...more >>

using SB_GETTEXT
Posted by gv at 3/28/2005 12:57:31 PM
Please help using vb.net 2003, on XP sp2 machine the length in the panel of the statusbar seams to be correct, but having problems returning text using "SB_GETTEXT" please help Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, _ ...more >>

Got to be an easier way...
Posted by Wardeaux at 3/28/2005 12:47:45 PM
Hey all, struggling to find an easier way to initialize an array of structures... Structure room Public Description as string Public Refridge() as string Public WeaponsVault() as string end structure Dim MyApt() as Room I'd like to find a way similar to init an array of strin...more >>

Dataset problem
Posted by TS at 3/28/2005 12:33:04 PM
From my windows form, I configured a Data Adapter and generated a dataset to load data from a SQL database table. Then I used a code to fill the dataset. The code returns the error message: "An unhandled exception of type 'System.Data.SqlClient.SqlException' occurred in system.data.dll Additi...more >>

CurrencyManager Question
Posted by Gary Paris at 3/28/2005 12:07:05 PM
I have two books that I purchased, "ADO.NET Step-By-Step" and "Visual Basic ..NET Black Book". I am reading about data-binding in Windows forms and there is a paragraph about the CurrencyManager Object which states: "The CurrencyManager object is fundamental to the Windows Forms data-bi...more >>

My Threading Timer Doesn't Fire
Posted by Daniel Maycock via .NET 247 at 3/28/2005 11:44:22 AM
I can't get my threading timer to show a splash screen panel for six seconds, then move onto the next panel. The timer just doesn't tick (this is aparent when I set the time to wait to 100 and it never fires off the sub) I've tried using java, I've tried using the system timer - this is my last h...more >>

New to .NET ... I have a few questions
Posted by George H. Slamowitz at 3/28/2005 10:51:10 AM
Hello All I am new to the .NET environment .... I am converting an application from MS Access to VB.NET I have run into a few problems, and would appreiate any elightenment to my problems. I was able tgo do this with MS Access 2000, but can't figure out how to do it with VB.NET 1. I...more >>

Help
Posted by Playa at 3/28/2005 8:59:02 AM
Does anyone know a good site I can visit that gives examples on how to use the Print Preview Dialog? I am new to the language and the book I have sucks. Need some serious help with this. Thanks in advance....more >>

Another vb.net and excel question
Posted by E-Cube at 3/28/2005 8:51:09 AM
Hello all, Is there a way to simulate the CopyFromRecordSet method (it accepts DAO or ADO recordset objects) from the office.excel.dll, so it can work with datasets/datatables? Thank you in Advance E-cube ...more >>

Image in Button with XP style look
Posted by Richard at 3/28/2005 8:21:37 AM
Hi, Is it possible to have a picture or color with XP style looking buttons. I am following this: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vstechart/html/vbtchimpdragdrop.asp Richard ...more >>

FindWindow API
Posted by Cutlass at 3/28/2005 8:07:06 AM
Hello My build is failing when I call some api's. Could someone help fix this code. Not sure how to declare the variables....already tried many different ways.....Thanks Public Declare Function WaitForSingleObject Lib "kernel32" _ (ByVal hHandle As System.IntPtr, _ ByVal dwMillisecond...more >>

VB to C#
Posted by Newbie at 3/28/2005 7:11:01 AM
Hi! I need to convert the select statement below from VB ASP to C# ASP.NET. Pls. help and thanks in advance. ' Create recordset and query Set rsCHI = Server.CreateObject("ADODB.Recordset") sCHI = "SELECT a.cust_des1, a.des1 projectName, b.job_no JobNo, b.des1 jobName, b.contract_amt,...more >>

Problems with the PrintPreviewControl, PrintPreviewDialog controls
Posted by Panos at 3/28/2005 6:19:01 AM
Hi all, I have developed an application using VB.NET 2002 on windows XP. When I run this application on Windows 98 SE, I get the exception "Object reference not set to an instance of an object", while the page, I want to preview, is been loaded to the PrintPreviewControl (or to the PrintPre...more >>

[String]
Posted by Robert at 3/28/2005 6:15:03 AM
Someone please tell me when to use [String] in VB.Net. I see strings dimmed like: Dim sStr as string I also see: Dim sStr as [String] What is the difference? -- Robert Hill ...more >>

Setup problem
Posted by Nathan at 3/28/2005 5:53:18 AM
Hi, I've been making a setup file for a while and it has been working okay--installation on client computers is fine. But I've recently been getting these warnings: in the Output window when the setup is compiling: ------ Starting pre-build validation for project 'SPARK Setup' ------ WA...more >>

Array of Hash Tables
Posted by Glenn Grant via .NET 247 at 3/28/2005 4:56:39 AM
I am trying to create an Array of type Hash Table. When I try to assign a value to a key in the hash table i get a System.NullReferenceException error. Here is the code: Public Function ReadTilesFromFile(ByVal Path As String, Optional ByVal TilesetDir As String = "tilesets/") Dim i As...more >>

FileSystemObject vs System.IO.File
Posted by google_groups3 NO[at]SPAM hotmail.com at 3/28/2005 4:17:03 AM
Hi all, I am slowly re-writing old VB6 code to VB.NET. I have 1 problem. I was using FileSystemObject to return the modified timestamp of a file, all worked well. When I use System.IO.File.GetLastWriteTime(MyFile).ToShortTimeString the time is 1 hour behind that of the file. For example...more >>

Create ListView columns dynamically from XML
Posted by yer darn tootin at 3/28/2005 1:05:23 AM
looking for any suggestions on how to approach building functionality to allow users to select their preferred columns for viewing in a ListView control. The idea is similiar to how Windows Explorer works, right click to select/deselect which columns are shown in the rh pane listview. For me, ...more >>

Set Desktop
Posted by Shane at 3/28/2005 12:40:46 AM
I have the following code that will change the desktop on my XP machine to a .BMP file. It doesn't work with a .JPG extention. Can anybody point me in the right direction? The full path name to the file is in m_Picture Const SPI_SETDESKWALLPAPER = 20 Const SPIF_UPDATEINIFILE = &H1 Const SP...more >>

How can I get the Menuitem 's name ??
Posted by Agnes at 3/28/2005 12:02:16 AM
I know how to get the Menuitem's TEXT . BUT I need to get the names , Does anyone know how to do ?? Thanks I try That " For Each FileMenuItem As MenuItem In Me.Menu.menuitem" before ...more >>

record locking with DBF (visual basic) table in ADO OLEDB in VB.NET
Posted by JohnR at 3/28/2005 12:00:00 AM
Hi, in VB.NET I'm accessing a DBF file using ADO with an OLEDB connection with the Visual Foxpro OLEDB driver (VFPODBC.DLL). Read, write, update, delete all work fine using a dataset. Is there any automatic way to handle concurrent updates to the same record by different users. How would it wo...more >>

VBScript tutorials
Posted by Avinash M at 3/28/2005 12:00:00 AM
Hi, Can any one please help in getting the VBScript tutorials or guides. Thanks, Avinash M. ...more >>


DevelopmentNow Blog