VBnet - Rotate controls Programming Software Development by melodies … new to this forum and I'm a biginner in VBnet language. I'm using VB express 2008. I'm trying… of the famous game "Ticket To Ride" using VBnet language. I uploaded the map as a background image. I… VBNET Like statement Programming Software Development by joel.hahn … having issues with the syntax for a like statement in VBnet. I am using access as a back end. here is… Re: VBNET FORMS Programming Software Development by Reverend Jim Please read [this](http://www.daniweb.com/software-development/vbnet/threads/424836/read-this-before-posting) then try again. Re: VBNet read from text file Programming Software Development by HctiMitcH For encryption I recommend taking a look at this; http://www.daniweb.com/software-development/vbnet/code/366392/encryption-and-decryption-functions-in-vb.net Re: vbnet mysql datagrid duplicate data Programming Software Development by cgeier … queries. See [this post](http://www.daniweb.com/software-development/vbnet/code/445801/use-parameterized-queries-to-avoid-sql-injection-attacks… How to make a report using datagridview through vbnet 2010 and access 2007 Programming Software Development by dushidav … one to help me how I can generate reports through vbnet 2010 but related to the database that I have in… Search button in VBNET Programming Software Development by JUNG_1 Hi! My name is Jung and I'm new to VBNET I have already tried many ways to write codes for &… Re: VBnet - Rotate controls Programming Software Development by Begginnerdev Do you have an image of the map you are using for the rails? As for the colors, you can set the tag to the name of the color you want the box to be. Re: VBnet - Rotate controls Programming Software Development by melodies Hello. Yeah actually, the cards the user drops are wagon (cars) cards. These cards can have several colors. What's the point of your question ? :) Re: VBnet - Rotate controls Programming Software Development by mohanrajan hi frnd if one dout in my mini project. I m use into .net my dout is My project form design is change to glass effect is possible how it ? pls.. help us. Re: VBnet - Rotate controls Programming Software Development by M.Waqas Aslam mohanrajan , always start new thread for your new questions. well yes you can use glass effect on your forms , but for this make sure your application is running on windows 7 , because in windows xp this functionality will not work. Regards Re: VBnet - Rotate controls Programming Software Development by M.Waqas Aslam i think you can rotate image instead of rotating picture box , here is a link , please visit it , there is some sample code to rotate image , hope this will help you [Click Here](http://www.vb-helper.com/howto_net_image_rotate.html) Regards Re: VBNET Like statement Programming Software Development by joel.hahn found it, Dim rs As ADODB.Recordset Dim cn As ADODB.Connection Dim strsql As String Dim stval1 As String Dim stval2 As String stval1 = "usa" stval2 = "state" strsql = "SELECT Count(TractStatus.txOwnerID) AS … VBNET 2003 Add new row into DataSet Programming Software Development by LennieKuah Hi there, When I add a new row into the DataSet, the first time it works good but after the first time I added another row it's not working instead it generate this error message : "Update requires a valid Insertcommand when passed datarow collection with new rows" This is where it generates that error message after the first time:… vbnet cannot get application to run on another PC Programming Software Development by track&price I cannot get the my application (AA_Coins.exe) to run on a different PC. I have 2 pc's are using Visual Studio 2010 and Net Framework 4 Client Profile. My .exe works fine on both as expected. I put it on a 3rd PC that does not have VisualStudio with Net Framework 4 Client Profile and it works. I then downloaded the .exe and … Re: vbnet cannot get application to run on another PC Programming Software Development by Pgmer The 3rd pc has been installed with the frame work? Re: vbnet cannot get application to run on another PC Programming Software Development by track&price I found the answer this morning. the adodb reference was not being picked up. I had to set Copy Local = true and Embedded Type = False. Also had to download the adodb to the user with the .exe application thanks sandy Re: vbnet cannot get application to run on another PC Programming Software Development by Pgmer Great...:) sometimes we miss copylocal=true for some dlls :) VBNET FORMS Programming Software Development by joel.hahn I have issue when I load a form, usa ADO net to add db items to controls .ect.... and when the form closes, and open it again, it some times retains the previous information. does anyone know how to clear the form on exit? specially when you use the exit on the control box? VBNet read from text file Programming Software Development by mariozeph Hello I'm new here and have been searching for a while but haven't came up with any results that satisfies my question. Basaically I'm making a tool that is sort of an account manager and needs to read some usernames from sample text file for example Sample.txt: username1:password1 Username2:password2 I want these to become variables Username &… Re: VBNet read from text file Programming Software Development by HctiMitcH Try This: Dim open = OpenFileDialog1.FileName '// or you can specify the file path If IO.File.Exists(open) Then '// check if file exists Dim openFileLines() As String = IO.File.ReadAllLines(open) For Each line As String In openFileLines '// loop thru array list. Dim lineArray() As… Re: VBNet read from text file Programming Software Development by Maligui I would also recommend encrypting at the very least the password by using using System.Cryptography.AESManaged, or similar. Re: VBNet read from text file Programming Software Development by mariozeph Thank you very much your code works very well one last question though when i use this it only displays the first username1:password1 how can i make it show the other lines I tried username(1) and password(1) but that makes it that it onl shows 1 letter. Thanks in advanced! I have already implemented a encryption into the files Re: VBNet read from text file Programming Software Development by tinstaafl Something like this might work for you: Dim Names As Dictionary(Of String, String) = New Dictionary(Of String, String) Dim open = OpenFileDialog1.FileName '// or you can specify the file path If IO.File.Exists(open) Then '// check if file exists Dim openFileLines() As String = IO.File.ReadAllLines(open) For Each line As … Re: VBNet read from text file Programming Software Development by mariozeph Hello to the above post I'm not quite sure I understand this part of the coding (forgive me for i am new) 'Find the name and get the password If Names.ContainsKey(TextBox1.Text) Then TextBox2.Text = Names(TextBox1.Text) I'm guessing this is assuming I have 2 textboxes one for username and the other for passwords … Re: VBNet read from text file Programming Software Development by HctiMitcH The strings 'username' and 'password' are strings, they are not arrays. The For Loop will loop for each line in the txt file. So if you would like to combine all of the usernames and passwords into one string it would look like this. Dim open = OpenFileDialog1.FileName '// or you can specify the file path Dim userlist as string … Re: VBNet read from text file Programming Software Development by mariozeph Hello thank you for all your help I have found a solution I'm going to post it in case anyone is wondering I'm not sure if this is the smartest way to do this but it works me: Dim LineSkip As Integer = 0 If IO.File.Exists(open) Then ' check if file exists FileOpened = True… vbnet and mysql Programming Software Development by rossanakaw how to bind a datagridview to a list of custom classes?? pls i need your help guys, tnx. Re: vbnet and mysql Programming Software Development by G_Waddell [www.connectionstrings.com](http://www.connectionstrings.com) will show you how to connect to a mysql database (Or any other for that matter) Re: vbnet and mysql Programming Software Development by anthonydaly From MSDN: Bind your `DataGridView` control to a `BindingSource` component and bind the `BindingSource` component further to your data source (`IList` or `IBindingList`). Code snippet: Public Partial Class Form1 Inherits Form Private personsList As New List(Of Person)() Private bindingSource As New BindingSource() …