You also have to dispose the object
Ravi Kumar Tyagi
Posts
-
Excel file does not close in task manager -
Run msi thru bat file...Edit the bat file with following command msiexec /i "FileName.bat"
-
login dialog helpApplication.Run is used to provide the entry point for the window application and your application can use it one time. After click on login button you can create the object of your Mainform and need to call the showdialog method of that object. :)
-
c# string split functionsinstead for using the split function you can directly use the Path class of IO sample code is System.IO.Path.GetFileNameWithoutExtension (@"C:\CCCRM\CCCRM\bin\release\cccrmNeeded.dll"); and this will return the cccrmNeeded.
-
Encryption & DecryptionPlease let me know .. if you want the sample code for the same ... and regarding which type of encryption algorithm
-
Hi allpanel3.Visible = false; this.Size = new Size(this.Height - panel3.Height , this.Width); i am assuming all three panel are in vertically arranged and panel 3 is the last panel. or to make the load of the form as per available controls you can write the resize event of the form.
-
Connecting Access with VB.Net in Visual Studio 2005 or 2008Use the following connection string using the OleDb dataadapter to make the connection Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\DOT_NET\DB\db1.mdb;Persist Security Info=False and after update the data please close the conenction and release the created object. Please let me know if u want sample code for the same.
-
Encryption & Decryptionin which version you want this code. VS 2005 and later has directly support for any type of encryption algorithm like AES, DES, RSA etc.
-
Winsock arrayIf you are using the winsock (VB.NET 2005) for desktop application then no issue. You will get the same functionality with InterOp Winsock component i.e. AxWinsockArray.dll. Otherwise instead of InterOp Winsock you can use the socket programming, which is a great alternative of winsock.