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 24

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

Event Handling
Posted by Morten Fagermoen at 3/24/2006 9:45:20 PM
Hello! I would like to make an event handler in a VB.NET 2005 project to check if the battery state changes on my Windows Mobile 5 device. But I don't manage to make this work, does anyone have an example for me? Her is a cut from my code: Public Shadows Event Changed As ChangeEven...more >>


Crystal Reports Assigning Report Source
Posted by Bernie Hunt at 3/24/2006 8:22:34 PM
I'm having trouble assigning the reportsource value at run time. I'm running a test setup, one form with only a Crystal Viewer, called cvwMail. My report is called CustomersBasic.rpt and it draws directly from the TradeWinds.MDB test database. If I use Me.cvwMain.ReportSource = "J:\Learni...more >>

HELP! How to pass a javascript value to asp.net?
Posted by Dav at 3/24/2006 5:40:26 PM
I am sure that I should be able to send a javascript value (client side) to a asp.net form via a hidden field. I have seen post where people say it can be donw but they never post there code. Please post a complete example (or a link to an example) on how to do this. I appreciate your help!...more >>

Datagridview requery
Posted by Chris Strug at 3/24/2006 5:01:28 PM
Hi, As a learning exercise I have created a simple form which contains a DataGridView, a Textbox and a Command Button. The DGW is populated from a stored procedure which optionally takes a parameter to filter the data retrieved. When the form is first loaded, the DGV is populated from th...more >>

read excelfile with ADO
Posted by steven at 3/24/2006 4:14:30 PM
Hello, I'm using ADO to read an excelfile in a datagrid as follows: Dim cnn As NewOleDb.OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" & filename & ";Extended Properties=""Excel 8.0;HDR=YES;""") Dim da As New OleDb.OleDbDataAdapter("Select * from [Sheet1$]", cnn) Dim dt...more >>

No arrow keys ?
Posted by Rob at 3/24/2006 3:31:20 PM
If I use the following code: Private Sub Form1_KeyDown(ByVal sender As Object, _ ByVal e As System.Windows.Forms.KeyEventArgs) _ Handles MyBase.KeyDown Dim myKey As Integer myKey =3D e.KeyValue MsgBox(myKey.ToString) End Sub all of my keyboard input ...more >>

synchronized method in vb.net
Posted by Alan Wang at 3/24/2006 3:12:59 PM
Hi there, How can I create synchronized method in vb.net like synchronized method in Java? Thanks in advanced Alan ...more >>

Problem with TopMost Functionality in VB.NET
Posted by Phil Galey at 3/24/2006 2:51:55 PM
I have a small application, which is to always stay on top. Another application, which it is supposed to stay on top of, is QuarkXPress 5. I'm using Me.TopMost = True in the Form1_Deactivate event, and it works almost perfectly. It always stays on top, except when I click on one of the tools ...more >>



VB 2005 compiled program takes 600 MB RAM
Posted by pete at 3/24/2006 11:17:46 AM
I've created a program in VB Express 2005 that imports a 150 megs text file into a MySQL database. The problem is when I run the compiled program outside of the VB Express IDE it takes more than 600 MB of RAM. However when I run the program within the VB Express IDE it behaves nicely and uses ...more >>

GAC assembly versioning QFE behavior
Posted by jtyner at 3/24/2006 10:52:02 AM
I am trying to get QFE (Quick Fix Engineering) working with an assembly installed in the GAC. I have two books that claim if two different versions of the assembly are installed in the GAC -AND- they vary only by revision number, then the default policy is to load the higher number version. I...more >>

Reading a Text file
Posted by Sudhesh at 3/24/2006 10:33:52 AM
Hi, I know its fairly easy in .NET to read a text file (fixed or delimited) using a Microsoft Text driver. My question is, is there a similar easy way to read text files if they have different types of rows, like a header, detail & footer. The first character on each line could identify wh...more >>

ONE process at a time
Posted by Alan Wang at 3/24/2006 9:04:27 AM
Hi there, I am having a web application which has OpenOffice running as backend. The whole web application runs great if there is only one request at a time. The web application will mess up if there are more than one requests at same time. My question is what should I do to only allow one pro...more >>

Debug permissions
Posted by Dan at 3/24/2006 8:38:09 AM
All of a sudden my VB2003 won't let me enter debug mode. When I try to compile in debug mode, I get the following error. Otherwise, the code compiles in Release mode, runs, I can modify it....but I can't debug. The dialog box that comes up says "Error while trying to run project: Unable to ...more >>

SMTP - need help understanding
Posted by ZRexRider at 3/24/2006 8:16:26 AM
Hi, I'm successfully sending email using the following code snip but what I don't understand is the use of "Http://schema" references. What happens to all email programs that use these references if this site were to ever go down? Is there a way to hard code the content behind these address...more >>

Using My.settings in VB2005
Posted by Hans at 3/24/2006 7:52:01 AM
Hello, I have a few questions about the My.Settings user configuration. Is it posible to change the filepath of the my.settings userconfig file ? Is it posible to have different files so i can group my setting by type ? In my Application i need to store a lot of different parameters a...more >>

Replace problem
Posted by AZNewsh at 3/24/2006 7:25:29 AM
I am storing HTML in an oracle database, this is loaded from a textbox in a webpage, I convert ' to ' ' using the code below: foo.Replace("'", "''").Replace("&", "'||'&'||'") this works just fine, then when I retrieve the text from the database and display it in a webpage, I convert it back ...more >>

Setup project VB.Net 2003
Posted by Hugo at 3/24/2006 5:52:17 AM
Hi everyone! I've made a windows application and, of course, I would like be able to intall it!!! I've tried for many days and I get the same error every day... First I tried with InstallShield 11.5, the program seems to install perfectly but when I tried to launch the program I got this ti...more >>

Read the target from a desktop shortcut
Posted by Peter Larsen at 3/24/2006 5:01:01 AM
Hi Can anyone guide me through reading the target from a desktop shortcut? -- Kind regards Peter Larsen System Developer...more >>

How to Force file download box when clicking on a link for a .pdf file
Posted by karups at 3/24/2006 4:53:12 AM
hi, Can some one help me out? How to Force file download box when clicking on a link for a .pdf file. Normally it opens the pdf in IE itself, instead it should ask for (open , save and cancel) Similarly , also clarify that, is there any other method other than Response.Redirect(f...more >>

Cancel a validation event based on what comes next
Posted by JohnR at 3/24/2006 3:51:27 AM
I normally validate the data in a control in that controls validating event. I also normally have a Cancel button on each form which does a RejectChanges to reset any unsaved data on the form. Clearly, if the user puts invalid data into a control and then hits the Cancel button there is no n...more >>

Scroll on MouseWheel Event - VB.NET 1.1
Posted by James at 3/24/2006 3:29:01 AM
Hi, I have a Windows Forms application which uses multiple child forms (MDI interface). The height of one of the child forms is larger than the height of the MDI client area, so when this form is visible, the vertical scroll bar of the MDI parent appears automatically. What I want to ...more >>

Please help with a new/createobject problem...
Posted by garyusenet NO[at]SPAM myway.com at 3/24/2006 3:27:06 AM
Hi some code im running has the following line on it fairly on in the code objApp = CreateObject("actole.database") now, i want to use New instead but when I try to replace that line with objApp = New actole.database() or or objApp = New actole.database I get the err...more >>

Remove not hide User Control, posting again
Posted by Mike TI at 3/24/2006 1:26:40 AM
March 24, 2006 Hi all I am new to VB.NET and am using VB.NET 2005. I have an MDI form with a Split Container Control. On demand I am adding and removing User Controls on Panel 2. I am using Show() and Hide(). It works perfectly. The only thing is I would like to remove the User Control ...more >>

Skinning and great looking apps....
Posted by Jim Hubbard at 3/24/2006 12:00:00 AM
I am interested in any controls or techniques that may allow me to make my Winforms (.Net 2.0) more visually appealing. I am especially interested in visual interfaces that look like those of TuneUp Utilities 2006. You can see an example at http://www.snapfiles.com/screenshots/tuneuputils....more >>

Changing RadioButton's NAme and ID properties using vb.net
Posted by Savas Ates at 3/24/2006 12:00:00 AM
I want to change my radiobutton's name ,id and value properties programmatically. RadioButton1.Attributes.Add("value", "Pele") RadioButton1.Attributes.Add("name", "R1") RadioButton1.Attributes.Add("id", "SAVAS") It returns <span name="R1" id="SAVAS" style="Z-INDEX: 101; LEFT...more >>

MouseMove event not firing
Posted by TyBreaker at 3/24/2006 12:00:00 AM
I'm writing a screen saver using Visual Studio 2005 (Basic) and I have a Form which contains a PictureBox. I have two events, Click and MouseMove that I'd like to cause the program to end (see below) as one would expect from a screen saver. Well my Click event fires but for some reason my ...more >>

Starting a console application from parameters
Posted by Fabri at 3/24/2006 12:00:00 AM
I'm writing a Console Application and I would like to start it only if I pass to it a param: myapp.exe -s --> start myapp.exe --> I write usage reference How can i do this? Any help appreciated. Best regards. -- fabri Sei un italiano medio, di oltre trent'anni se: Sai che il co...more >>

How to link a dll and exe
Posted by Michael Fällgreen at 3/24/2006 12:00:00 AM
This might be a stupid question - sorry - byt a have a exe (console) that uses a dll (both vb.net 2). Is it possible to "link" these to files together so I only have to distribute a (larger) exe? Thanks ...more >>


DevelopmentNow Blog