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 > december 2004 > threads for thursday december 16

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

Windows Service Acessing SQL Server
Posted by Vignesh at 12/16/2004 11:01:02 PM
Hi I have Windows Service which does particular, depending on which i want to update the SQL Sever table. Can access Sql Server from Windows services, if so then how to do it? thanks in advance...more >>

How to decrypt DES SSL using asp ?
Posted by kelvinweb NO[at]SPAM gmail.com at 12/16/2004 10:53:44 PM
Hi All, I don't know how to decrypt DES SSL using asp. In addition, I have to some problem of user account encrytion across platform. I need to using PHP form login and pass user name and password to ASP. I don't know how to handle it. PHP is runing on Appache/Linux Server. ASP is runing on ...more >>

Shell Program
Posted by Kurien Baker Fenn at 12/16/2004 10:31:01 PM
How to write a shell program in visual basics to run a batch file.please help. thanks in advance....more >>

Dektop color scheme
Posted by VJ at 12/16/2004 10:24:19 PM
How do I read the desktop color scheme and set it to my controls on the Form. The toolbar, menubar all take the default colors... i want to match this to my forms Label, buttons... Panels etc.. VJ ...more >>

GetProperties
Posted by Dennis at 12/16/2004 9:35:01 PM
I am trying to get the properties of a DataTable or DataView using the following code where obj is an object set to either a DataTable or DataView: If TypeOf obj Is DataSet Then myDataList = CType(CType(obj, DataSet).Tables(v_DataMember), _ IListSource).GetList ...more >>

"Cannot change ReadOnly property of the expression column"
Posted by Aaron Smith at 12/16/2004 9:33:59 PM
Ok. I have a dataset that has multiple tables in it. In one of the child tables, I have a column that I added to the DataSet (Not in the DataSource). This column does not need to be stored in the data on the datasource. It simply gets the first name and last name of an instructor and display...more >>

Close Form Problem
Posted by S Shulman at 12/16/2004 9:04:10 PM
Hi I close a form in the DoubleClick event of a list view in one form and the form that opened this form closes as well the only way I can aoid it is by making the form not Modal Thank you Shmuel ...more >>

set up auto mouse click ?
Posted by aam at 12/16/2004 8:47:01 PM
i'm trying to find the coordinates of a certain button on a page that i'm viewing so i can program the mouse to click on it automatically every so many seconds. either that or have the mouse click wherever the mouse pointer is resting every few seconds.i would like to set up an adjustable time...more >>



Blank default in XSD
Posted by mjwills at 12/16/2004 7:49:15 PM
All, I am using VB.NET 1.0 / 2002. I am having trouble setting a column default to "" (note that "" is not the same as Null / DBNull / Nothing) in a typed dataset (to reflect the same database default)... Below is a snippet... <xs:element name="Customers"> <xs:complexType> <xs:sequence>...more >>

Default Property
Posted by Bernard_Bourée at 12/16/2004 7:46:13 PM
I would like to achieve the following goal: design a class with a default property called dVal where I could store and get a decimal value WITHOUT the need to write the property. I have the following code: Dim Var as New VarDécimal Var = 100 (instead of Var.dVal) But I get an error tel...more >>

Existence of Defragment API?
Posted by Jay King at 12/16/2004 6:49:54 PM
I want to create a small deframentor that will defragment a file that I specify. Any Api..?...more >>

How to kill an asynchronous delegate?
Posted by windsurfing_stew NO[at]SPAM yahoo.com.au at 12/16/2004 6:01:18 PM
Hey Group, Hoping someone can help me out. I have some code which starts up some asynchronous code using a delegate. The code is below. Basically my main code (not shown) calls ServerThreadStart.StartServer to start the server running asynchronously. This works fine. Shouldn't be any pro...more >>

Reverse For Loops
Posted by ree32 NO[at]SPAM hotmail.com at 12/16/2004 5:22:06 PM
My background is from C++ & C#. So I was wondering if there is a reverse for loop in vb? Or a way to do it some how. By reverse for loop I mean going eg. from i=7 to i=2...more >>

Control arrays converted from VB6
Posted by Greg Lesnie at 12/16/2004 3:12:08 PM
In VB6 I made heavy use of control arrays I see they have been 'deprecated' in vb.Net, with a questionable explanation that they are no longer necessary! Problem is I commonly associated several controls with the same index - eg a Directory listbox, Label, Checkbox, Textbox etc Now I see Cont...more >>

Write during reading a file
Posted by bnob at 12/16/2004 3:08:54 PM
I must read a txt file and when I found a line beginning with the word "Backup", I must replace this line with "Save" The read and the write must done into the same file! I know how to read line after line a file (I use StreamReader), but how can I write during I read the file ?? -- C...more >>

pageload during trace.acx
Posted by Antoine at 12/16/2004 2:52:38 PM
Is there anything that can make my project run its pageload twice? I added trace lines throughout code, and then checked recently. Unless its a temporary issue (resolved by reboot etc) I definitely seem to see pageload trace item being fired more than once, and a sizeable delay for it to run t...more >>

Indexed Property
Posted by Altman at 12/16/2004 2:33:00 PM
I would like to use an indexed property to access my private array of user controls. If I don't use an indexed property, the property will show up in my Properties Window during development. Is there a way to get this to show up in the properties window? ...more >>

string and integer
Posted by poldoj at 12/16/2004 2:30:20 PM
Hi all, I have a simple question. I must adding the content of a textbox, that is actually a string to a variable that his datatype is an integer. Example, I declare a public integer variable then I retrive a textbox.text value that is a string but is a number.(hold_text=textbox.text) hold tex...more >>

NEWBIE - Loop Through each WORD in a text file
Posted by Dave at 12/16/2004 2:12:47 PM
Greetings, How can I loop through each word in a text file? Something like: For Each Word in mytextfile.txt Do Something Next But, I'm not sure how to do this. Any help out there? ...more >>

read txtfile data to array or datatable?
Posted by Tim at 12/16/2004 2:01:32 PM
Greetings, I need to read the contents of a textfile to memory and then write these contents to another location. I was thinking of reading this data into a datareader, but I don't see anything for that, sqlDataReader, OleDBDatareader. Could someone tell me was kind of object I should...more >>

Identified problem not being able to delete controls
Posted by David at 12/16/2004 1:48:45 PM
I have been having a problem where I place Tab control on a form in the VB.NET 2003 IDE and when selecting any tab page other than page 1, I can no longer delete,cut, copy or paste components. I recreated the project with a blank form (as suggested by Cor) and checked each step to see where ...more >>

resize the height of the header column in a datagrid for window fo
Posted by behemoth at 12/16/2004 12:45:06 PM
hello, I need to display the text in the geader of the column on two lines without to resize the width. If anybody knows the solution it is the chrismas in december. best regards...more >>

Trying to create shared folder. VB.NET
Posted by ehaffey NO[at]SPAM gmail.com at 12/16/2004 12:30:50 PM
Hi, Im trying to get a VB.NET program to create a shared folder. I can make the folder but I cant figure out how to make it as a shared folder. Also I will want to set the permissions on the folder and on the share. How can I do this using VB.NET code? ...more >>

Print Tracking
Posted by BW at 12/16/2004 12:07:13 PM
Has anyone attempted writing a print-tracking application in VB.Net? I'd like it to run as an active service on the server and monitor all printjobs. I'd like to write it myself but am not sure where to start. The app will reside on SBS2003. Can someone point me in the right direction on h...more >>

I want to correct Round function
Posted by nomenklatura at 12/16/2004 11:50:15 AM
Hi, System.Math.Round function is confused me. for example i want to round 3.245 in with decimal symbol Result should be = 3.25 When i try to this in vb: A = 3.245 X = Round(A, 2) then x=3.24 , result is is false But when i try to A = 3.235 X = Round(A, 2) then x=3.24 , result is true...more >>

Extended datagrid
Posted by pmcguire at 12/16/2004 11:49:01 AM
I have a DataGrid control for which I have also created several new extended DataGridColumnStyles. They behave pretty nicely, but I can't figure out how to implement Selected Item formatting for them. In a plain vanilla DataGrid, when you click on the RowHeader, the appropriate row changes...more >>

Excel sheet name in Combo Box
Posted by Art at 12/16/2004 11:45:02 AM
Hi, I've got an application that imports data from an Excel file. I'd like a way to fill a combo box with the sheet names in the selected Excel file so the user can select the sheet they want. Can anyone suggest anything? Art...more >>

Newbie to ASP
Posted by Microsoft at 12/16/2004 11:27:05 AM
I'd like to stop using VB Gui's and make my apps available to a web page Alot of what I do uses WMI. How difficult would it be to move the apps to ASP.NET? Any good guides on this? ...more >>

More of "Index was outside the bounds of the array"
Posted by Antoine at 12/16/2004 11:04:35 AM
Herfried and Cor:- I used tracing and actually tracked down the code that was causing the problem most likely. I wonder if you wanted to comment on it. Also I wonder if there is a better way of testing if there is data than testing the length of the xml string I used as stringreader to creat...more >>

Finding name and type
Posted by Tor Inge Rislaa at 12/16/2004 10:46:29 AM
Finding name and type In the activate procedure of a form I want to write to the debug window, name and type of all controls at that actual form. Is there a smart way to do that? Allso for the entire application I want to print the name of all forms to the debug window. TIRislaa ...more >>

prob with array of colors from vb6 to vb.net
Posted by B at 12/16/2004 9:03:07 AM
Hello, I am trying to migrate a vb6 app to vb.net. In one piece of the vb6 app I have a label where the label backcolor changes every 5 seconds on a timer. So I created an array of colors as follows and then run the array in the timer event in vb6. Not working in vb.net. How would I d...more >>

connection with the SQL Database
Posted by anoop at 12/16/2004 8:53:07 AM
hello, i want to know where do I write the code for connection to the SQL Database using SQLConnection Object,SQLCommand and SQLDataReader object in a Visual Basic ..Net .Aspx page....more >>

Many-to-many relation in a datagrid...
Posted by Jan Nielsen at 12/16/2004 8:46:46 AM
Hi all I'm a former Access developer who would like to implement a many-to-many relation in about the same way you do in Access: With a subform and a combo box. Is it possible to use a combobox in a datagrid? Any other suggestions/articles on how to implement many-many relations in th...more >>

registry traversal
Posted by Noa at 12/16/2004 7:50:13 AM
Hi, Is there a code sample/snippet showing how to get a list of all child keys (of 1st level) of a given key? for example, I input "HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT" and the output is the list of keys of first level (direct children), e.g. ..NETCompactFramework, .NETFramework, ACT Thank...more >>

Begin and commit transaction
Posted by Horace at 12/16/2004 7:22:11 AM
Hello I am writing an ASP.NET / SQL-Server application and wanting to know when to connect/begin-transaction and commit/disconnect. I have a common module which I call at the beginning of Page_Load which, when instantiated performs the connect/begin-transaction. The page then does what it ...more >>

Swapping out a color programmatically
Posted by BobAchgill at 12/16/2004 5:04:21 AM
When I try to change the Color.Lime with a string that contains the contents "Color.Lime" I get a Casting compile error. So how can I get past this casting issue to change out the color programmatically? This is the line of code without trying to change color programmatically (no probl...more >>

color inversion
Posted by sam at 12/16/2004 4:41:02 AM
Hi Is there a method, or has anybody already ready written one to determine a contrasting color to a background color for text. In my case during a paint of a cell in a data grid. Thanks...more >>

Defining the range of an array
Posted by Xero at 12/16/2004 3:23:01 AM
If we declar a varible as: Dim series(10) as Double then series can contain 11 items in maximum ( 0 - 11 ). How do you declar this varible, making the first item as series(1) instead of series(0) ? Thanks. -- Xero http://www.chezjeff.net My personal web portal...more >>

Unknow error after minimised a windows form
Posted by vincentgoh75 NO[at]SPAM hotmail-dot-com.no-spam.invalid at 12/16/2004 1:52:48 AM
After I bring up a minimised windows form, I hit the error below: Rectange '{X=0,Y=0,Height=33}' cannot have a width or height equal to zero. I have checked my code, I did not write any code in the resize event or changing any component's size, any idea why was it happened? Thanks! *----...more >>

How to dispose the login screen
Posted by vincentgoh75 NO[at]SPAM hotmail-dot-com.no-spam.invalid at 12/16/2004 1:52:48 AM
After the login has been authenticated successfully, I written the code below to call the main form: dim loMainForm as new MainForm MainForm.ShowDialog() Me.close What happend is the MainForm is display but the login screen still havent been disposed until I close the MainForm, what's wron...more >>

Changing Default Icon of EXE??
Posted by Arsalan at 12/16/2004 1:38:00 AM
How do I change the default icon of the executable file to something else ? ...more >>


DevelopmentNow Blog