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 25

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

Newbe ValueMember property question
Posted by Bruce A. Julseth at 2/25/2005 10:43:54 PM
Sorry. The other post got sent before I was complete. Does the ValueMember property in the ComboBox work like the DisplayMember property. For example, if I set the properties: comboBox1.DataSource = dataSet1 comboBox1.DisplayMember ="Employees.LastName" comboBox1.ValueMember = "Employees.Em...more >>


Forms - Can I automatically close the form after 5 minutes (but only if there is an exception.)
Posted by Joe Fallon at 2/25/2005 10:37:29 PM
I have a form that runs a batch task. (say every 15 minutes) When it is kicked off it connects to the DB and then runs through all of the things it is supposed to do. The length of time to complete these tasks is unknown in advance. If it finishes all of the tasks without error then the applic...more >>

ValueMember property
Posted by Bruce A. Julseth at 2/25/2005 10:35:03 PM
Does the ValueMember property in the ComboBox work like the DisplayMember property. For example, if I set the properties: comboBox1.DataSource = dataSet1;comboBox1.DisplayMember = "Employees.LastName";comboBox1.ValueMember = "Employees.EmployeeID"; " ...more >>

Windows Services & .NET Controls
Posted by ThunderMusic at 2/25/2005 8:48:44 PM
Hi, I'm currently stuck with a big problem. I must develop a Windows service and an application to configure it and display what is happening. The problem is not really on the service side, but on the application side. I explain: The service is composed of a kernel dynamicaly loading plug...more >>

using System.IntPtr
Posted by Sushi at 2/25/2005 8:46:36 PM
I need to get a pointer of a variable... How can I get it ? for example: Dim a() as CStructure Dim z as System.IntPtr z = ?????? Sushi ...more >>

Service Windows et Controls .NET
Posted by ThunderMusic at 2/25/2005 8:27:48 PM
Hi, I'm currently stuck with a big problem. I must develop a Windows service and an application to configure it and display what is happening. The problem is not really on the service side, but on the application side. I explain: The service is composed of a kernel dynamicaly loading plug...more >>

Editable windows form datagrid?
Posted by Nina at 2/25/2005 7:15:01 PM
Hi there, Is there anyone knows how to make windows form datagrid that is bound to an array editable? How to catch when a cell has been edited? Thank you for your help. Nina...more >>

How to calculate the output value from a formula string??? ... Urgent
Posted by Ivan at 2/25/2005 5:46:13 PM
Hi All, I just wanna ask one simply question.. Is there anyone know how to calculate the output value from a string like that?? Dim strFormula As String = "20+30+(100+20+30)*0.1" Dim douOutput As Double douOutput = Function(strFormula) what can i do to calculate the dynamic formula ...more >>



Getting Pic from a USB-Cam
Posted by Nijazi Halimaji at 2/25/2005 5:32:24 PM
Hi I have installed a USB-Cam on my system and would like to get a pic from the usb-cam in VB.NET? Can someone give me a tipp how to do? Thanks alot! Nijazi Halimaji ...more >>

keydown event
Posted by Rob T at 2/25/2005 5:10:24 PM
I have a simple windows app. On the form, I have one panel which displays an image. I have a KeyDown event that I use to tweek the image depending on which keys are hit. ie. ctrl-D, ctrl-A, etc. Works fine so far. Now I've added a textbox (and there will be other controls) to the form, no...more >>

How to refresh the generated code??
Posted by Ellis Yu at 2/25/2005 5:03:36 PM
Dear all I would like to know how to refresh the coding which is generated by .Net when I put my custom control on the form. Since the setting of control may often change during development, I found that the generated code will not be updated if my custom control has been changed. And it seem...more >>

ShowDialog()
Posted by No Sheds at 2/25/2005 3:02:03 PM
Hi I have an MDI application. I have a MDI child window within this application that shows another form using ShowDialog. This works fine, except that the final form shown with ShowDialog can't be an MDI child window, and so can appear outside the boundaries of the main window. I know I c...more >>

Change Read/Write Property on Property Grid
Posted by Carl Gilbert at 2/25/2005 2:42:59 PM
Hi Is there any way to enable/disable an item in a property grid at runtime? I have two properties that I am showin in a property gris and based on the validity of the first property, I want to disable/enable the second property. Therefore the user would not be able to set or change the v...more >>

Merge two fields from DataTable into one?
Posted by Bruce D at 2/25/2005 2:10:08 PM
I have a DataTable that I need to merge the 'lastname' and 'firstname' fields to be displayed in a datagrid. I know I can use the SQL statement to merge the fields into one, but I want to know if it's possible to do through the DataTable, DataView or DataGrid that I have already created to displ...more >>

Using a matrix to produce a result
Posted by Scott at 2/25/2005 1:01:14 PM
I have generated a form that inserts travel information and I need to manipulate that info. All the info is now stored in variable and i need to generate prices... Its a little complicated cos there is not a relative price structure. Ill try and explain whets happening... variable1 - ei...more >>

Parsing HTML
Posted by Sindbaad at 2/25/2005 12:31:05 PM
Hi, I have a requirement where in I need to parse and get all the HTML and custom specific tags from the HTML page. I'm using mshtml and vb.net. One way i thought off was to use the regex functions. Can I know what is the best way to parse and fetch all the tags or if any one has worked ...more >>

Pound symbol in a string
Posted by Paul Hadfield at 2/25/2005 11:55:27 AM
All, When I use system.IO.StreamWriter to write append a string to file that contains the GBP pound symbol, I notice that it also appends an extra character before the pond symbol. Yet when I examine the string character by character in the command window, the extra character is not there. ...more >>

Instantiate a form from another project
Posted by jack at 2/25/2005 11:37:28 AM
Hello, I have a set of class library projects that are used by a Windows application project. I would like to add forms that are specfic to those class library projects and instantiate them from the windows application project. Of course I can't add forms to my class library projects, howe...more >>

Upgrading a VB6 ActivityX EXE project
Posted by Oenone at 2/25/2005 11:03:13 AM
I'm about to begin porting a VB6 ActiveX EXE project over to VB.NET. This project (project "A") has nearly always been used purely as an executable, but on a small number of occasions we have written other executables which automate project A, getting it to launch itself, connect to a datab...more >>

How to search in vb.net dataset object with unicode
Posted by zoneal NO[at]SPAM yahoo.com at 2/25/2005 10:48:08 AM
How do i search in vb.net dataset object with unicode. I've have problem. ds.tables("table1").select("Name like '" & (unicode) & "'") ...more >>

Automated Regression Testing Tools
Posted by Amos Soma at 2/25/2005 10:47:12 AM
Can anyone suggest automated regression testing tools they use for the .Net apps? We would like to begin nightly automated testing of our apps. If it matters, we use Infragistics for our presentation layer. Thanks very much. ...more >>

Kermit and ASTM protocols
Posted by Dzemo at 2/25/2005 10:40:25 AM
I'm newbie in serial communications any help I have to program lab analyzer with these protocols any help. I have to do this from VB.NET but I for experimenting use HyperTerminal I can't brake start packet I get "invalid length packet' Any help thx ...more >>

Get Mouse coordinates of Image in PictureBox
Posted by Tom at 2/25/2005 10:13:42 AM
I have a picturebox on my VB.NET form. The picturebox size mode is set to stretched. I then load an image into that form and display it. As the user moves the mouse over the form, I want to get and display (in the status bar) the image coordinates of the mouse location. However, if I use the pic...more >>

Breakpoint
Posted by Peter at 2/25/2005 10:09:36 AM
Hi,all We can set a breakpoint that will break when a varible's value changes or reaches a destination value in VB6. I think this is a most valuble debugging tool. In VB.NET, there is also a "New Breakpoint" menu under the mainmenu "Debug". After clicking the menu a dialog appears. The dialog...more >>

Modify a single column in a datagrid?
Posted by Bruce D at 2/25/2005 10:07:43 AM
Is there a way to programatically set the format of just one column in a datagrid? I have a datagrid bined to a datasource. My dataview has 6 columns. And I want to format one column ('amount')...without have to mess with all the other columns. If I use DataGridTableStyle() and DataGridTextBo...more >>

using a class without creating it (probably an easy question for those who know)
Posted by D at 2/25/2005 10:06:46 AM
I was reviewing these vb.net classes which deal with user logins, logouts, cookies etc etc. I noticed that in the Page_Load function of a user control the code calls into another library like so Call AnotherClassLibrary.AnotherClass.UserLogin(userId) I do not understand how this code ca...more >>

Reference?
Posted by Elena at 2/25/2005 10:04:46 AM
Hi, I trying to edit a project I haven't worked with in a long time. I am getting this error: Namespace or type 'Core' for Imports 'Microsoft.Office.Core' cannot be found. When I checked the references, It says the refernces is already added. Thanks in Advance, Elena ...more >>

Shopping cart template
Posted by Roy at 2/25/2005 10:03:23 AM
Hi all, I'm trying to build a shopping cart application and I need sample code or any template that I can use for building this type of applications. Is anyone aware of such template or application that I can use? Thanks in advance, Roy...more >>

Data Persistence
Posted by Keith at 2/25/2005 9:50:35 AM
Hi all I'm looking into persisting data for the life of an application. Can anyone enlighten me as to which would produce the least memory overhead; i) Storing dataset objects in a hashtable ii) Storing the datasets as xml files and reloading them into memory Cheers Keith ...more >>

Strange behaviour of Listview loaded from database
Posted by David at 2/25/2005 9:24:52 AM
I have mentioned this issue previously but as yet have not found a solution. In VB.Net 2003, I have 4 Listviews on a Tab. Each listview has the data source property set to point to a database table and the display member set to a field in that table. The program runs fine and all the infor...more >>

MDAC 2.10?
Posted by Dave Littley at 2/25/2005 8:25:06 AM
I'm distributing a VB.NET application that uses an Access database. It works on most computers but on one install I got the following error when it tries to use the database: The .NET Data OLE DB Provider(System.Data.OleDb) requires Microsoft Data Access Components(MDAC) version 2.6 or lat...more >>

invalid cast exception
Posted by cs_hart NO[at]SPAM yahoo.com at 2/25/2005 6:10:50 AM
I am getting an invalid cast exception - cast from string to type double is not valid. Dim curName As String Dim prevName As String = "" curName = CStr(rows.Item(i).Item(colSchName)) ' extract name from database row If (curName.CompareTo(prevName <> 0)) Then <--- exception occurs on th...more >>

Setup project
Posted by Nathan at 2/25/2005 5:49:01 AM
Is there a way to customize the look, feel, and functionality of the Windows installer, other than by what's available in the basic properties? ...more >>

Saving to the registry
Posted by Ithaqua at 2/25/2005 5:23:04 AM
How do I save a string (taken from a text box) to a multi string registry key? At the moment when I save a string it turns the Multi string reg entry into a string Key entry! -- Cheers Ithaqua...more >>

Obtaining Culture Info ???
Posted by (cmrchs NO[at]SPAM yahoo.com) at 2/25/2005 2:04:18 AM
Hi, I try to obtain the current culture of a server by executing : Dim str as String str = Thread.CurrentThread.CurrentCulture.ToString() Executing this in a console-applicastion results in the correct string (e.g. "en-AU") but when executing in ASP.NET does the command always return "...more >>

How to get VS Installer to check for / install MDAC on target?
Posted by BernieP at 2/25/2005 12:49:07 AM
I originally posted this question in the vb.setupwiz forum, but they suggested that it should be posted in a .net group, so I hope this is a better fit - if not please point me in the right direction... I have a VB.net application that relies on MDAC2.7+ to work. The install set up generate...more >>


DevelopmentNow Blog