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 > march 2007 > threads for tuesday march 27

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

How to Change Colour of Cell in datagrid More options More options
Posted by satish at 3/27/2007 9:52:11 PM
I have a table with two columns field1 int,Field2 and added a column to datagrid on runtime sum (field1+field2) ,upon changing the data in either of the fileds the sum field or column too changes . Intially there will be data in the fields ..and ii try to change the value of column [field1] so t...more >>


Database Layer - Data Dictionary
Posted by jkimbler at 3/27/2007 7:39:38 PM
I'm wondering if anyone has come across any good components, articles, or books about creating a data dictionary for an application. I need to be able to allow the data dictionary keep the database schema up-to- date with changes in the program. I found ADDA (Advanced Data Dictionary Architec...more >>

DataAdapter select assuming integer
Posted by tshad at 3/27/2007 7:10:21 PM
How do I tell DataAdapter that Column 2 and 3 are string and not integer? Following is the example data that comes from the .csv file FEDERAL TAX,1084,0000 COREHCR,1084,0000 CLIENT P,1084,0000 The select is: Dim da2 As New OleDb.OleDbDataAdapter("Select * from " & "CorelandGLConversio...more >>

reading connection string into a vb application...
Posted by Brad Pears at 3/27/2007 6:32:57 PM
I want to have my SQL Server 2000 database connection string data in an .ini file or a .xml file and then read that string into my vb.net 2005 app - rather than hard code the connection string in the app. What are most programmers doing and how do I read this data into my program on startup...more >>

Imports in VB.NET
Posted by MikeZ at 3/27/2007 6:05:12 PM
I just download a DLL from MS website for VS.NET 2005. I added it reference to my project, and I have to add five [Imports] statements on top of each class. It is burden. I found that Microsoft Demo Project don't have [Imports] statement in the class. How could they do that? Thanks...more >>

converting 24 bit hex values
Posted by RG at 3/27/2007 6:05:05 PM
I am reading from my serial port a 24 bit hex number which consists of 6 place values. For example: 7FED6F which equals 8383855 using the hex2dec excel function. I need to convert this hex into a value I can display in a textbox and also do other math functions with. I looked at the example ...more >>

ListBox Multiple Selections
Posted by Gus Chuch at 3/27/2007 5:19:12 PM
I have a ListBox with the SelectionMode set to MultiSimple. How can I iterate thru it using a for next loop to fill an array? Listbox For Row 1 = Array(1) Row 2 = Array(2) Next And so on. -- thank You...more >>

WebBrowser / My.Resources question
Posted by William Cruz at 3/27/2007 5:02:45 PM
Can I call a file (*.html) within My.Resources to show-up in my WebBrowser control? If so, please provide a sample code or a link. Thanks in advance for your help. William Cruz *** Sent via Developersdex http://www.developersdex.com ***...more >>



advapi32.dll -> RegCreateKeyExA & Normal user
Posted by Jck at 3/27/2007 5:02:34 PM
I am trying to access the registry from a normal user by the following code .... but failed!! However, it works under admin user logon. I think I need to grant some access right to the normal user, but I don't know how! Can anyone give me a hand please? Many Thanks!! ^_^ ' ---- Code sta...more >>

DataSet Select error
Posted by tshad at 3/27/2007 4:29:12 PM
I have the following line which I believe was working before. The error I am getting is: An unhandled exception of type 'System.Data.EvaluateException' occurred in system.data.dll Additional information: Cannot find column [F1]. I am getting this error from the last line of: sTemp =...more >>

Integrate a Queue with an ObjectPool
Posted by Craig Buchanan at 3/27/2007 3:37:57 PM
I would like to have a limited pool of objects (the objects are expensive to create) that can be enlisted to process items in a queue. Moreover, I would like to be able to have the processing (time-consuming) occur on a background thread. I have two questions: * what is a good way to bl...more >>

Dataset Object updating
Posted by tshad at 3/27/2007 1:34:14 PM
Is there a way to update a DataSet Object? I have a Dataset Object (DataSetObj.Tables(0) - one table) that I read in from a .csv file. I normally do the following to get my data from the .csv: Dim DataSetObj As New DataSet Dim DTDepartment As New DataTable Dim dt As New DataTable Dim...more >>

System.Net.Mail versa System.Web.Mail
Posted by Frank at 3/27/2007 12:46:24 PM
Hi, I am hoping to find out the differences between the System.Net.Mail and System.Web.Mail. Can some nice folks post the differences; or some urls which show the differences? Great Thanks Frank ...more >>

license keys commercial system?
Posted by Smokey Grindel at 3/27/2007 11:49:19 AM
We need a system out there that will be used as a license key system... not for an application in itself but to say an app can have so many users based on the key's installed or such (tied to a database backend in our code) anyone make license key systems that are extensible like this out ther...more >>

RegEx and Vb.net /// "Unrecognized escape sequence"
Posted by sloan at 3/27/2007 10:59:51 AM
I have a fairly simple RegEx code below. I am given a file name, (which I don't control) , and need to change a folder name in it. The code below is choking on the filename not being escaped. "Unrecognized escape sequence" While I can escape the findValue and replaceValue, I do...more >>

reusing same reader object throughout lifetime of app
Posted by vbDavidC at 3/27/2007 8:13:40 AM
Hi, I am fairly new to .net and objects. I learned to create a reader object in method 1, however if I wanted to create multiple select queries in the same module I did not know how to reuse the same code, I would like to verify if method 2 is the right way to reuse the same reader object. ...more >>

Error creating window handle
Posted by Jonathan Boivin at 3/27/2007 3:15:28 AM
Hi people, Let me introduce to how I get this error. I have a form which load all my bills representation depending upon filters which each bill is a usercontrol of my own having some textboxes containing bill's datas. (I already replaced the labels by painting the text instead.) When I...more >>

Clear IExplorer Cache
Posted by Norman Chong at 3/27/2007 2:55:13 AM
Hi, I need an application which clears the cache of the internet explorer and found the code for this on http://support.microsoft.com/kb/311289/en Problem: The end of the loop below is never reached so the program is blocked. Reason: Marshal.GetLastWin32Error() always returns code 87 ("Th...more >>

ListBox .DisplayMember and ValueMember ??
Posted by perrycheung221 NO[at]SPAM gmail.com at 3/27/2007 12:04:16 AM
Hi all, I got a problem of getting a display text and value from a item of a listbox Below is how I databind the data into myListBox dt is a dataTable with 2 column, ID (int) and value (string) Me.myListBox.DisplayMember = dt.Columns(1).ColumnName Me.myListBox.V...more >>

already an open DataReader associated with this Command which must be closed first
Posted by Bart at 3/27/2007 12:00:00 AM
Hi, i get the error: "There is already an open DataReader associated with this Command which must be closed first" Thanks Bart ----------------------------------------- Imports System.Data.sqlclient Imports System.Data .... .... sql = "SELECT count(*) FROM pc where lokl='" & w & "';"...more >>

Drilling down through directories
Posted by Jack Russell at 3/27/2007 12:00:00 AM
I need to drill down from a directory through all the sub directories and build up a list of files. I have VB6 code to do this but it uses APIs etc and am hoping that there is a better way of doing in .net 2003 I would appreciate any help or examples that anyone can give me Thanks Jack ...more >>

Tools to test the speed
Posted by Agnes at 3/27/2007 12:00:00 AM
My client put the SQL server in data center. Their branches (located in different area) run vb.net application via VIA VFP . Now, they complaint that there is Timeout occurs. When I test the system locally, it run very fast and fine. I think it is the internet problem . However, I just a SA b...more >>


DevelopmentNow Blog