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 > april 2004 > threads for thursday april 8

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

Scheduled task failing
Posted by Rob Oldfield at 4/8/2004 10:49:42 PM
I have a pretty straightforward app that's designed to take entries from a database and create a Word template containing AutoText entries using those entries. A basic outline of the code is below. If I run it manually then everything works fine. But the idea is that it runs overnight and....more >>


WindowsApplication hosted in asp.net pages
Posted by Nicola Garone at 4/8/2004 10:49:13 PM
Hi I'm planning to realize an ASP.NET application and I'd like to use, for a particular function, a control which have to run client-side but embedded in Aspx pages (like flash playee or a lot of others viewer). I know I can develop an ActiveX document vith Visual Basic 6, but since I hope t...more >>

Get HDD serial number
Posted by Kaid4 Informática at 4/8/2004 9:53:57 PM
How do i get the serial number of an harddisk? thanks, Gonçalo Boléo Kaid4 Informática Portugal ...more >>

DV Press announces a "VB Roadshow special" for User Group Members:
Posted by sales NO[at]SPAM dvpress.net at 4/8/2004 8:33:56 PM
DV Press announces a "VB Roadshow special" for User Group Members: Our first two DVD training sets (12 hours of training of a 3-disc DVD set) are being offered online at our website (only) , www.dvpress.com during the VB Roadshow for only $24.95 per each set! They are entitled: "Visua...more >>

Hello, VB.NET and A tool bar, add-in im so confused....
Posted by cwertman NO[at]SPAM yahoo.com at 4/8/2004 8:25:35 PM
Ok I have been looking and looking and I cant find what Im looking for. I need to be able to add a button to IE , When that button is fired it send the URL that is in the Address bar to a seperate application that will scrape about 10 fields and insert them into an access table, now the scrap...more >>

DV Press announces a "VB Roadshow special"
Posted by DV Press at 4/8/2004 7:59:18 PM
DV Press announces a "VB Roadshow special" for User Group Members: Our first two DVD training sets (12 hours of training of a 3-disc DVD set) are being offered online at our website (only) , www.dvpress.com during the VB Roadshow for only $24.95 per each set! They are entitled: ...more >>

ado.net
Posted by WStoreyII at 4/8/2004 7:19:58 PM
Hello, is ado.net a seperate language or does it just represent dot.nets data capability. when planning a dataapplication with a lot of data is best to link to a outside source ie access, sql. Or is best to generate your own sources using ado.net and xml? WStoreyII Thanks Again ...more >>

Menu tearing...
Posted by Enzo(V) at 4/8/2004 6:33:44 PM
I'm trying to create a tear off mean or -- as some call it -- a float menu. I have an owner drawn context menu on a notify icon and a tear off menu item. Then only problem is I don't know how to detect and handle a mouse down event or something of this nature to detect the mouse is being pressed ...more >>



IShellFolder.GetUIObjectsOf fails while accessing un unistatiated object
Posted by Nicola Garone at 4/8/2004 6:17:03 PM
Hi all, here I am again :-( , this turn I'm in trouble with IShellFolder.GetUIObjectsOf, which raise an exception while accessing an uninstantiated object (I have Italian version softwares and I litteraly translate the error, the original error may sound a little different). I'm using VB....more >>

Globally accessible variables and functions?
Posted by dougal NO[at]SPAM dougalfair.com at 4/8/2004 5:19:21 PM
I'm writing a VB.NET application, and I have a lot of general-purpose utility functions that need to be available throughout the program (like functions that perform standard date conversions peculiar to my app, etc.) and some global data values (i.e. the start and end dates of a billing period)...more >>

Question regarding sharing objects between applications
Posted by Michael Isaacs at 4/8/2004 5:05:01 PM
Is there any way to share an object or variable between applications other than through .NET remoting? Also, if this is the only way, what kind of overhead is there for storage (memory) and speed vs local objects and variables? In my case the remote and the client are on the same machine. I ...more >>

Where is the Graph Control in VB.NET?
Posted by Charles Law at 4/8/2004 4:46:13 PM
Am I going mad, or is there no control in .NET that will allow me to display a simple graph of a series of points held in an array? Please tell me I'm wrong. Charles ...more >>

VS.NET/VB.NET System Requirements - Opteron?
Posted by harry at 4/8/2004 4:38:55 PM
Hi, VB.NET System requirements http://msdn.microsoft.com/vbasic/productinfo/sysreqs/default.aspx lists Intel Pentium processors but no AMD processors. Can I run VS.NET and VB.NET programs on Opteron? Is .NET optimized for any particular processors? I guess AMD processors must be compat...more >>

Generate a unique receipt number
Posted by Chris Dunaway at 4/8/2004 4:31:37 PM
I have a web service which is accessed by a windows forms application. When the application submits a unit of work (a "job"), I want to return a job receipt or tracking number back to the application. My requirements are these: 1. The receipt number must be unique (like a guid is unique) 2...more >>

textbox and listbox
Posted by amber at 4/8/2004 4:31:06 PM
Hello, I'm going around in circles with this problem and I hope someone can help me. I have a listbox that is populated from a SQL Server database, with about 600 items, all strings. I have a textbox on the same form, where I want to display which item is selected. In the 'OnSelectedIndexCh...more >>

Simple VUMeter
Posted by Essam Salah at 4/8/2004 4:11:54 PM
Dear All I am using the Windows Media Player PIA with VB.net to develop an answer machine software ; I am facing 2 problems 1 - How to record 2 - How to get the sound level to make a simple VU Meter or Oscilloscope like sound recorder. -- Essam Salah Ali ...more >>

HELP! The field is too small to accept the amount of data you attempted to add. Try inserting or pasting less data.
Posted by astroboy at 4/8/2004 3:49:40 PM
Help! I run into error when my query is too long, anyway to solve this?? Dim objCommand As New OleDb.OleDbCommand(sql, objConn) Dim objDataAdapter As OleDb.OleDbDataAdapter = New OleDb.OleDbDataAdapter(objCommand) intNumOfRec = objDataAdapter.Fill(objData) SQL: INSERT INTO Items...more >>

Newby textbox format question
Posted by Fred Nelson at 4/8/2004 3:44:18 PM
Hi: I'm very new to vb.net and I apologize if this question should have been found in the documentation however I don't understand the documentation. I have a textbox on a vb.net web form that I need to load with a price - for example $1.23 The code: tbxPrice.text = prodprice.tostring ...more >>

Crystal Reports PrintToPrinter Method seems to hang.
Posted by mychevworld NO[at]SPAM yahoo.com at 4/8/2004 2:40:09 PM
Printer - HP4300 in 3 different locations. VB.Net Calling crReportObject.PrintToPrinter(iRptCopies, True, 1, -1) doesn't always return. We have had at least 4 cases now where the printers above seem to hang with several reports in the printer queue and when this happens the method PrintToP...more >>

how to create Thread?
Posted by Adda at 4/8/2004 2:32:42 PM
I have an mdi form and I am trying to call a procedure - "myTest" in the parent from the childform. I am experimenting using a thread, but the thread is not releasing the childform. I place a breakpoint in "myTest" on the parent form and I have a msgbox("Done here!") on the childform. T...more >>

mdiform childform and other form
Posted by andreas at 4/8/2004 2:22:05 PM
I have a program with a mdiform and same childforms (with a textbox) that i open. All works fine. In the childform i open another form (for finding and replacing). In a sub in that form i try to write there mdiform.activechildform.textbox.text but that fails because activechildform should not...more >>

Getting variables into a method in a thread
Posted by Derek Martin at 4/8/2004 2:17:24 PM
Quick one...I can't do this can I: t = New Thread(AddressOf personlist.time_returnpunches(param1, param2, param3)) ?? If not, how do I get params into the method??? Thanks! Derek ...more >>

Date question
Posted by simon at 4/8/2004 2:06:32 PM
If you have dateTime value, for example: 08.04.1004 11:00:00 how do you get how many seconds is until midnight. The reggional settings shouldnt affect on this. Thank you, Simon ...more >>

Adding a key to MS Access Table
Posted by Art at 4/8/2004 1:51:05 PM
Hi everyone I was hoping someone might be able to help me with this. I'm just starting to try to work with MS Access tables through VB.net. In Access I can take an existing table and add a new field with the type AutoNumber. I can then set this up as a key. Then if I go into the table I will s...more >>

Sorting two-dimensional array
Posted by Sick at 4/8/2004 1:10:58 PM
Hey, The Array.Sort function only applies to one-dimension arrays. Is there a solution for sorting a two-dimensional array, preferably *without* the usage of additional controls such as listbox/flexgrid? Example: OrderMatrix(0, iSortTheseRows) Where "0" is the sortable value (articlenumb...more >>

Problems Upgrading to v1.1
Posted by Steve Lloyd at 4/8/2004 12:57:18 PM
Hello, I have just noticed that depsite upgrtading my PC to versio 1.1 months ago Visual studio is still running against versio 1.0. does anyone know how i can get Visual studio to use the 1.1 framework. Thanks Steve ...more >>

Is shared safe in this example?
Posted by Stevie_mac at 4/8/2004 12:47:18 PM
Hi all, quick question - I need a bit of clarity. If I have a public class with only Public Shared functions in it, in an APS.NET web app (for common procedures) is it safe (since multiple web pages, can at any time access the code within) Example below - a simple routine that fills a dropdow...more >>

Description for functions in Intellisense
Posted by Umang Shah at 4/8/2004 12:39:14 PM
Hi, I want to add some description to my function. When a user starts using my function I want to show brief information about that function in Intellisense. We get same in dot net functions. Should I add some attribute to it? If yes, then which. Thanks in advance. Umang Shah ...more >>

Drop Down List Box Asp.net (VB)
Posted by Art DeBuigny at 4/8/2004 12:11:06 PM
I have a drop down list box that I populate with dat I actually have two of them, one databound, one not. The problem is that I can't seem to get the system to recognize that I have actually selected something different than the default. In the forms edit button I call the code like the follow...more >>

vb.net 2003 module sub main()
Posted by kyle at 4/8/2004 12:01:09 PM
Hi ther I have a small vb.net 2003 program with 5 forms: form1, form2, et I have a module in the program from where I want to launch form1 - the main for In the module I have a bunch of public declarations like Public carstuf Public yardstuf and so o At the end of the modul I have a sub mai ...more >>

Going from one form to another
Posted by rushabhkapasi NO[at]SPAM -NOSPAM-hotmail.com at 4/8/2004 11:55:10 AM
I want to know how to go from one form to another form in vb.net while closing the first form. --- Posted using Wimdows.net NntpNews Component - Post Made from http://www.DotNetJunkies.com/newsgroups Our newsgroup engine supports Post Alerts, Ratings, and Searching....more >>

Datagrid Formatting
Posted by MadCrazyNewbie at 4/8/2004 11:51:31 AM
Hey Group, I have a Table with 3 Others bound to it. Alls working fine. I have a combo box bound to on of the rows. Its setup as follows. Datasource: dsArcirisUsers DisplayMember: BomAccess.AccessLevel ValueMemeber: BomAccess.BomAccessArcirisUsers.BomAccessID On My datagrid I have format...more >>

Dataset update problem
Posted by Rich at 4/8/2004 11:35:43 AM
Hi I have a Windows form that has a number of controls on that are bound to a dataset. I'm using the code below to save the data back to the database: connDB.Open() da.Update(ds, "EQUIPMENT") connDB.Close() The problem I have is that if I update a record and move to the next record the...more >>

Telling if a dataset has changed
Posted by Brian Henry at 4/8/2004 11:08:45 AM
Hi, I am working with a set of data which is displayed on the screen. The problem is that it is in a datatable in a dataset. I need to know when a row was added or removed from that datatable inorder to redraw the text to match it correctly. I am trying to do this in visual basic.net right now...more >>

Rich Text box question
Posted by Brad Allison at 4/8/2004 10:36:29 AM
Hi, I guess I am not understanding something and I have been searching Help in VB, newgroups, etc. I have a simple application that contains just over 300 rich text files (these are breed standards for purebred dogs). The user selects the breed from a Tree View and based on this selection,...more >>

Tooltip font
Posted by Marco Castro at 4/8/2004 10:36:22 AM
Is it possible to overwrite the default tooltip font? I'm asking = because I want the tool tip to look like the example below and it = doesn't come out right unless I use a font where every character is the = same width. I know that I could just switch the tooltip font from = inside the displa...more >>

Overriding method
Posted by y1799 NO[at]SPAM yahoo.com at 4/8/2004 10:34:18 AM
Hi, I have such problem: On my form I have TabControl. I want to move from one tab to another using "Next" and "Prev" button. This part works fine. But control also supports switching between TabPagess using combination of buttons Ctrl+Tab (forward) and Ctrl+Shift+Tab (back). I would like...more >>

Re: Printer Status
Posted by Kris at 4/8/2004 10:30:26 AM
Hi All, I need to connect to a printer and check the status of it before printing the document. or Ideally, my component is connected to a printer constantly and receives events whenever something happened on the printer. (events like OutOfPaper, TrayOpenned, Ready, etc.) I'...more >>

OT : Happy Easter
Posted by Jorge at 4/8/2004 9:20:23 AM
Hi I wish You all an happy easter hollidays. Jorge...more >>

File Types
Posted by Rob Panosh at 4/8/2004 8:34:03 AM
Hello, Does anybody know how to query the OS to find out register file types, as listed under Explorer Folder Options? Also is there a way to get the icon for a specific file type? Thanks, Rob Panosh ...more >>

How to check if a file is used by another user
Posted by Li Pang at 4/8/2004 7:36:07 AM
Hi I'd like know how to check a file is used by another user Thank ...more >>

BackColor
Posted by Will at 4/8/2004 7:26:06 AM
hey guys . how do i set the backcolor of a cmdSomeButton when the color choosen by the user is not color.red or color.green its ff808040 ?? NEED CODE PLEAS THANX IN ADVANC ...more >>

SqlCommand Problem
Posted by Jorge at 4/8/2004 7:25:57 AM
Hello I have a stored procedure with several parameters and 2 are declared datatype Numeric as per the SQL table. When i try to use the following: Me.SqlCommand1.CommandType = CommandType.StoredProcedure Me.SqlCommand1.Parameters.Clear() Me.SqlCommand1.CommandText = "altera_linha_encome...more >>

Colors
Posted by Will at 4/8/2004 6:56:03 AM

VB.Net control needed
Posted by Rob Panosh at 4/8/2004 6:54:13 AM
Hello, In VB6 there is an OLE Control (MSOLE2.VBX) to create and display linked and embedded objects . Is there an equivalent VB.Net? Thanks, Rob Panosh ...more >>

async delegates and syncklock
Posted by pushpendra vats at 4/8/2004 6:53:03 AM
Hi!! I want otget the information about the async delegates and syncklock .if any link could be possibleto get the example forthe same... thanks... pushpendra...more >>

DataSet.AcceptChanges not working
Posted by pushpendra vats at 4/8/2004 6:36:04 AM
Hi!!, I have created a dataadapter and datasdet through code .On button i have added two records in dataset and called acceptchanges method. on second button i am inserting the records in database with the helpof update method of dataadapter. But no records are inserted.Now if i remove ...more >>

the property object
Posted by bm NO[at]SPAM bm.bm at 4/8/2004 5:11:26 AM
In VB6 there was a property - object. What is the similar property in .NET I am using a 3rd party COM grid object that requests the object property of another such object. e;g: Set grd.ddb = grd1.Object what is the equivalent of the line above in .NET? ...more >>

DataGridCell KeyDownEvent
Posted by Nicola Baldi at 4/8/2004 4:11:04 AM
Hi I've used the following code to intercept a KeyEvent into a DataGrid. ****************************************** Private Sub DataGrid1_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles DataGrid1.KeyDown ' Check if F2 Key is pressed. If e.KeyCode = Key...more >>

Can we use Unix as the server?
Posted by jonathan at 4/8/2004 1:11:07 AM
Hi there can we use Unix like Solaris as the application server, and put Unix database on server side, while the client application is still in .Net? Thanks. Jonathan ...more >>

VB.NET - currency manager position
Posted by Ramesh at 4/8/2004 12:37:20 AM
Hi, Pls. answer to this question? Does the position change of the currency manager affect the Dataset. Since I wanted to use the HasChanges method of the dataset to check whether is there any changes made in the dataset or not? But even though i dint do any changes in the Dataset, but the...more >>

Re: Subtracting
Posted by Tom W at 4/8/2004 12:21:06 AM
This post was on page 4 so I'll continue it here Ok I changed the code t \\\\\\\Private Sub btnminus_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnminus.Clic mdcurrentresult = mdcurrentresult - CInt(txtresult.Text txtresult.Text = mdcurrentresult.To...more >>

.Net Screen Savers
Posted by Shawn Mehaffie at 4/8/2004 12:06:12 AM
I have created a screen saver using VB.Net but cannot find any articles or examples on how to write the code for the /p parameter (display in dialog preview window). All the .Net exmaples I have found skip this functionality and simply put, this requires advance threading and is beyond the scope...more >>

HOW TO: Get from the aspx context the current authenticate username ?
Posted by Tiraman at 4/8/2004 12:05:27 AM
Hi, in vb6 we could use the GetObjectContext("Request") of the ASPTypeLibrary.Request in order to get the ServerVariables("XXX") from the asp to the dll . can we do that in aspx and vb dot net dll ? the question is if there is a context switch between aspx to the dot net dll ? 10x ...more >>


DevelopmentNow Blog