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 2006 > threads for friday march 10

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

Can't Change Installation Drive for new install of Visual Studio Professional 2005
Posted by Krazy Katt at 3/10/2006 10:39:38 PM
-- I am trying to install the MSDN version of Visual Studio Professional 2005 and the goddamn install won't let me change the installation drive -- it shows that everything will be installed to C: but I don't have enough space on C and I want to install to a different hard-drive but the ...more >>


Newbee ASP.NET Questions
Posted by Jonny at 3/10/2006 9:29:59 PM
Hiya all Using: ASP.NET Version 1.1 I am learning ASP.NET & would like to know:- How do I add a Open Browser Dialog behind a server button & validate a chosen file as a new e-mail attachment? How do I close an aspx window (client-side)? How do I set the page when the user visits the ...more >>

VB.NET 2.0
Posted by news.cox.net at 3/10/2006 6:56:29 PM
Is it me or did MS really take a dump on the 2.0 framework ? I mean code that worked in 1.0 and 1.1 solid is now beyond flakey, and I'll not even start on my ClickOnce Publish and totally hose your project rant. ...more >>

How to programmatically change directory attributes
Posted by Tony Girgenti at 3/10/2006 3:56:27 PM
Hello. I'm trying to write a simple VS.NET 2003 VB program to delete files and directories on my hard drive. If the directory is read only, how do i change it's attribute so that i can delete it ? Here is some of my code. It does not error out, it just does not delete the directories. ...more >>

deploying windows application
Posted by reidarT at 3/10/2006 2:36:16 PM
I have made a small windows application. When I try to publish it to a web-site I get the following error Error 5 The "SignFile" task was not given a value for the required parameter "CertificateThumbprint". SamTaxOppdatering reidarT ...more >>

Sending data to webserver
Posted by Eric at 3/10/2006 2:35:33 PM
Hi, In an old eVB program, it sends data to a ASP program with this: dim xmlHTTP as XMLHTTPRequest set xmlHTTP = CreateObject("Microsoft.XMLHTTP") xmlHTTP.Open "POST", url-string, False xmlHTTP.Send result = xmlHTTP.ResponseText Now I am trying to rewrite the program to vb.NET 2005, b...more >>

Passing values bewteen user controls is separate web forms
Posted by campwes at 3/10/2006 1:26:58 PM
Hi! I have what I hope is a simple problem. I have 2 web forms. The first form is a welcome page with a textbox and button (in a user control). What's supposed to happen is that a user will enter data in the textbox and click the button. The event handler for the button then has to send tha...more >>

Need to display version number of setup project on main application form
Posted by bishop at 3/10/2006 12:59:06 PM
Want to display the production version of the "Setup project" in vb.net 2003 on the main form which as part of another application in the same solution. Please help Bishop ...more >>



Write to an existing ASCII file
Posted by Mark at 3/10/2006 12:51:26 PM
My experience with reading/writing files is to open one file, read it into memory close it and open another file and write to it. Now I would like to learn how to read and write to the same file. My problem is that I need to open a file, read the first line, change the line somewhat and wr...more >>

Simple data grid question
Posted by Jason at 3/10/2006 12:40:45 PM
Hello I've got a VB.net datagrid that I use to display some inforamtion from a Acess DB. In my datagrid I only display a few items of informatin, because there are just to many cells per tuple to realisticaly display on each line in the datagrid. My question... How do I allow it, so tha...more >>

Convert local time(eg EST) on local machine to GMT
Posted by XML newbie: Urgent pls help! at 3/10/2006 12:05:27 PM
How to Convert local time(eg EST) on local machine to GMT. I am using VB.Net 2005. Then I need to subtract 1 minute(or 1-100) minute selected by the user in the combobox and pass it as start time to the query. I thanku all in advance....more >>

Get POP server from email address
Posted by William LaMartin at 3/10/2006 11:48:38 AM
Is there a way to determine the name of the POP3 server for a given email address? ...more >>

adding BG to forms.
Posted by raulavi at 3/10/2006 10:45:27 AM
vb 2003 HI and thanks. Is it any way to create a template for a form as: - form bg should use the same image. - controls (labels,groups and others) should have a "tranparent" property so it looks nice. otherwise I have to do it manually every time I create a form. what about forms that are...more >>

how do I call a SQL Server stored procedure?
Posted by cj at 3/10/2006 10:29:38 AM
I need to call a stored procedure that passes back 2 strings. I don't think I need a data adapter or a select command or a command builder. So after I create the connection what do I do? Dim mySqlConnection As New SqlConnection mySqlConnection.ConnectionString = conStr ? ? ? ...more >>

Application.Run Problem
Posted by rajendra.mishra NO[at]SPAM gmail.com at 3/10/2006 9:01:45 AM
Hi... I have a windows vb.net application. The StatupObject is a Module 'modMain'. In the main sub routine i have the following g_frmMain = New formVMMain System.Windows.Forms.Cursor.Current = System.Windows.Forms.Cursors.Default Application.Run(New ApplicationContext(g_frmMain)) Ther...more >>

blank form when debugging
Posted by raulavi at 3/10/2006 8:55:29 AM
vb VS 2003 Hi all: thanks to all in advance for your responses. my app displays the form , then when it reaches a debbuging point the form is blanked, (it just shows the frame around the form) I need to see the info that should be displayed . I tried me.refresh before the debugging point. Q...more >>

changing print font
Posted by J-Rod at 3/10/2006 8:16:03 AM
I am creating a file with streamwriter, and then reading it into a rawprinterhelper to print it. I want to be able to change the font name either when writing or reading. First thing is to try to change the font to say, Times New Roman, and then i also need to print a line using barcode font. ...more >>

ICollection Intersection
Posted by darth timeus at 3/10/2006 5:42:43 AM
Hi, i'm a newbie using vb .net, and i need to know if there is a way to intersects the key value in a hashtable. I'm using .net 1.1 ...more >>

Selecting Chartfx area
Posted by Dave at 3/10/2006 3:09:09 AM
Hi all, Ok basically what I am trying to do is this: I have a line graph with multple series what i want the user to be able to do is click and highlight an area of the graph in order to apply some mathematical function to the selected area.... ie axis x ranges from 0 to 10 but the user onl...more >>

Get Minimum and Maximum date
Posted by itsolutionsfree NO[at]SPAM gmail.com at 3/10/2006 2:50:51 AM
Hi All, i am deep trouble.so,please help me how to get minimum and maximum dates for particular Month and Year.Any kind of help will help. for ex: im passing : March 2006 Minimum Date - 01/March/2006 Maximum Date - 31/March/2006 my code: public sub MinMaxdate(ByVal MonInt as integer...more >>

VB.Net & SQL2005 Stored Procedures
Posted by Peter Newman at 3/10/2006 2:39:06 AM
i have a simple application that is calling a storedprocedure from a SQL 2005 server. It executes the stored procdure fine, however when i added a @RTN INT OUTPUT to my stored procedure and tried to get the result , i fell into all sorts of trouble Dim objSQLConn As New SqlConnecti...more >>

difference between ME and MYCLASS
Posted by Radu at 3/10/2006 1:23:44 AM
Hi. I have the following question: Since the methods are virtual, the following code produces "Child other stuff" - the call runs as if pasted in Child... it runs in Parent but in the context of Child. ------------------------------- Module Module1 Sub Main() Dim obj As New Child() ...more >>

Inheritance doubt.
Posted by Ravimama at 3/10/2006 1:18:32 AM
Hello All, I am planning to use inheritance for forms which have similar controls and properties. I tried to do it with a small example, but I am facing some issues. I created a base form (with 2 butttons) with overridable event procedures. In the inheritance I created a 2 overriding event ...more >>

Determining the Browser and event.keyCode vs. event.which
Posted by Nathan Sokalski at 3/10/2006 12:38:44 AM
I am writing a piece of code for an ASP.NET function that generates an onKeyPress JavaScript eventhandler that uses the event.keyCode / event.which properties. I have two situations that I would appreciate any advice on: 1. I know that IE uses event.keyCode to get the key pressed. I have, howe...more >>

advice needed for a good book to make good database applications
Posted by mesut demir at 3/10/2006 12:28:25 AM
Dear collegeaus, I would like to learn Visual Basic.NET and working with DATABASES. My intention is making some Windows programs using Database & Internet programs using Databaseses.(SQL) I'm a 3GL programmer.... Which and What book do you advice for start learning these stuffs? I have ...more >>

Retrieve data from xml document
Posted by Philip Wagenaar at 3/10/2006 12:15:30 AM
I have an xml document I want to extract information from and I am having a hard time achieving this. I want to extract data from the field elements. I want to know the name and the contents in the CDATA. So in the doc posted below I want to know: name = dossiernr and data = test name ...more >>

hair cross cursor
Posted by Otto Atzwanger at 3/10/2006 12:00:00 AM
How to make a "hair cross cursor"? Thanks in advance Otto ...more >>

Retainig location in autopostback
Posted by Shahriar at 3/10/2006 12:00:00 AM
I have a bunch of check boxed in my page and when I scroll down to a particular checkbox to select it, I want to keep the exact location during the postback. I tried to set the focus back to the checkbox after the post back, (that works), but the screen still shifts. Is that possible to keep...more >>

Detecting process start
Posted by Niclas at 3/10/2006 12:00:00 AM
Hi, I am trying to fire an event when a certain process starts, but can't get the event to fire. Would appreciate if someone could validate the code below for any obvious errors. I was hoping this code would write an entry to my eventlog when every new process start (as a test) Public C...more >>

uncompile functions in vb ?
Posted by James at 3/10/2006 12:00:00 AM
i m using symantec anti-virus product and i need to access the machine registry to get the pattern date. Using .net 2003, i m able to retrieve the registry. However retrieving the registry shows only the HEX and DEC value which is *not understood by human logic*. An eg in HEX is 20D213. An...more >>

Release File
Posted by Tlink at 3/10/2006 12:00:00 AM
I execute the following code and the created file cannot be deleted as it reports it is being used, even when I reboot the machine. Private WFilename As String = "data.txt" File.Move(txtcontrolfile.Text, FolderBrowserDialog1.SelectedPath & "\" & WFilename) File.Delete(inifile) wfile ...more >>


DevelopmentNow Blog