279 Posted Topics
Re: Any program can be started once windows has started by placing in in the startup folder under all programs in windows start. http://windows.microsoft.com/en-us/windows/run-program-automatically-windows-starts#1TC=windows-7 | |
Re: Maybe the lines in your textbox are wrapped? Make your listbox wider and see if you have all the txt there. | |
Re: @ Jim Now you are starting answering 6 years old posts. Trolls on Dani? There wasjust one answer to a question from 10 years ago. | |
Re: What have you done sofar? Any code? Also how many days is the trial version working for? What do you want to display for the days before the ten days? ![]() | |
Re: Can you find out which line throws the error? | |
Re: To print what you see in your rich textbox find the code here: https://msdn.microsoft.com/en-us/library/ms996492.aspx | |
Re: Just to check your system is o.k. copy OSK.EXE into the command line where it says "search programs and files" and start it from there outside of your program. If it works than there is something in your program preventing it from running. You might be able to run it … | |
Re: From your example I see that you want to get rid of the word go or Go. The best way to achieve this would be the string replace method. Just replace go or Go with "". You need to pay attention to: " Go "or "Go "or " go " … | |
Re: A typically example of trying to use a chunk of 300 lines of code without making an effort of understanding it and expecting others to to modify. I think not! | |
Re: You need to close the first connection to be able to open it a second time. | |
Re: You like to elaborate which program you are talking about and what type of page? | |
Re: @ Mr.M Why do you put Try Catch in the code but want to ignore any errors? | |
Re: You are using the name the sheet and not it's index. Example: osheet = CType( obook.Worksheets.Sheets(2), Excel.Worksheet) See if this works, otherwise you need to modify it. | |
Re: You are assigning either text to your array elements or nothing, that means if a textbox1.text="" then this element IntArr(0)="". So your array might look like this: "",3,7,"" etc. For sure if you return these elements there will be "" or 0 in it. So what you can do is … | |
Re: You might want to check out this code exsmple: http://www.codeproject.com/Articles/21443/Winsock-Revamped | |
Re: What have you got on FORMAKRYESORE form ? | |
Re: Maybe it would be better to start off by setting up the datagridview1 correctly at the form load event and after using a button to do whatever you want to do. Also you need to add rows to the datagridview1: Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load … | |
Re: Can you be more clear about of what is going wrong? Also what do you mean by "created a keyboard in textbox1"? | |
Re: O.K. lets deal with one issue at a time. First use the keyup ebent to check for invalid entry and also for the enter key and the back_key to allow editing if a wrong number has been enterd. Private Sub TextBox1_KeyUp(sender As Object, e As KeyEventArgs) Handles TextBox1.KeyUp If Not … | |
Re: The general method is: Do While (ListBox1.SelectedItems.Count > 0) ListBox1.Items.Remove(ListBox1.SelectedItem) Loop You might be also interested in this: http://www.codeproject.com/Tips/170900/How-to-Delete-Selected-Items-of-ListView-and-ListB | |
Re: @ shark No, she didn't write qty is order number but she wrote "qty is the number of times...." @ jez9 Since your original questions has been answered by Jim you should close this thread as solved and open a new one with the new problem you are facing. @ … | |
Re: Using focused.item doesn't mean it is also selected. "lvorders.FocusedItem.SubItems(2).Text" instead use selecteditems or selectedindicies as cgeier pointed out to you before. | |
![]() | Re: Maybe put conn.Open() before executing: Dim cmd As New OleDbCommand( _ "SELECT * FROM Subjects WHERE [StudentID]= '" & StudentID.Text & "'", conn) ![]() |
Re: You can only resize the last dimension of a multidimentional array. http://stackoverflow.com/questions/2651682/resizing-a-two-dimensional-array | |
Re: The easiest way to do this would be the string.split method. Even if the name contains two or more spaces the op can decide which ones to use for initials. Good example is here: http://www.dotnetperls.com/split-vbnet and it uses also a For-Next loop | |
Re: I had the same issue a while back. My problem was fixed by changing some of the MyProject settings. Double click on MyProject---> and click on the tab Signing, I unchecked all in there. After everything was working o.k. If this doesn't help see the following link: http://www.codeproject.com/Questions/629067/How-to-add-a-manifest-file-in-my-project | |
Re: You need to check this link as it explains partly how to publish your application. https://books.google.de/books?id=wI88u24r3w0C&pg=PA294&lpg=PA294&dq=installation+ovf+vb+express+projects+by+user&source=bl&ots=YA970S6cWl&sig=X5uJIr4WzWIgSlf4KPdMi3ZW0Ek&hl=de&sa=X&ei=FZeqVNjaJuT_ywOP4oKgCw&ved=0CGoQ6AEwCQ#v=onepage&q=installation%20ovf%20vb%20express%20projects%20by%20user&f=false | |
Re: Well, in your settings form button1 you do declare a new form. If you want to just get back to form1 just do: form1.show(). You also don't need to close form1 to show form2. You just can hide form1 using: me.hide(). If all this doesn't work you need to call … | |
Re: Hi Don, I think the only thing you need to do is changing: My.Computer.FileSystem.WriteAllText(RestranName2, goodLine, True) to: My.Computer.FileSystem.WriteAllText(RestranName2, goodLine & vbCrLf , True) adding a carrige return and linefeed | |
| |
Re: You need to insert a me.refresh as so: Me.BackColor = Color.White me.refresh PrintForm1.PrintAction = Printing.PrintAction.PrintToPreview PrintForm1.Print() Me.BackColor = Color.Black me.refresh | |
Re: The framework itself doesn't support renaming of projects. However, there are solutions. First make a backup of your project. Then use the first link to manually change items. The second link is to a program that may work for you. http://msdn.microsoft.com/en-us/library/3e92t91t%28v=vs.90%29.aspx http://www.codeproject.com/Articles/1198/Visual-Studio-Project-Renamer @imti321 Don't post not working links. | |
Re: Go to Solution Explorer--- Double click on MyProject----Goto Application and where it says Icon ---- select your own Icon. | |
Re: It is not very clear what you are asking. In your definition 2 numbers are equal if they contain the same digits. So |123| = |312| etc. But what about |123| =? |11332222|? If they contain the same numbers of digits then you can pu them into arrays and sort … | |
Re: This link might be helpful with your quest: http://vb.net-informations.com/communications/vb.net_multithreaded_server_socket_programming.htm | |
Re: Have look at this link: http://stackoverflow.com/questions/11501531/saving-a-excel-file-into-txt-format-without-quotes If it doesn't work I shall post some code to strip the the text. | |
Re: Dim dirs As String() = Directory.GetFiles("C:\Restran Conversion\IPSDATA\PM00213A\", "*.*") Dim dir As String For Each dir In dirs Debug.Print(dir) Next | |
Re: Well, you need the full path to the folder but then yes, this should work like: " 20141210.* " which is working on windows. For unix have a look at this: http://www.acnenomor.com/1652273p1/how-to-get-the-file-name-from-the-path O.K having written this the problem may be with length of the file extension, in windows it is … | |
Re: date1 = Date.Today should be date1 = CStr(Date.Today) because you declared date1 as string. | |
Re: If you must use a goto statement you have to mark the line like so: 30: GoTo 30 | |
Re: An array starts counting at 0. So your llop shoild be: For loop = 0 to 2 If Array(Loop).text = Data_In_Database then 'Do something next whic gives you the indexes 0, 1,2, = 3 items | |
Re: You don't need any coding to display a splash screen. In solution explorer click on My Project and in the Application windown, down the bottom you can select any of your form as splash screen. This will pop up before your first form loads. | |
Re: This how you get the screen resolution: Dim intX As Integer = Screen.PrimaryScreen.Bounds.Width Dim intY As Integer = Screen.PrimaryScreen.Bounds.Height Label1.Text = (intX & " × " & intY) and here isa little program that lets you play around with different screen sizes: Public Class Form1 Private Sub Form1_Load(sender As Object, … | |
Re: Maybe this one will get you onto the correct solution: http://www.codeproject.com/Questions/662815/how-to-set-progress-bar-during-copying-file | |
Re: Field names with spaces in them will create problems as in "Projcet Name" better to use Projcet_Name or brackets "[Projcet Name]" | |
Re: There is no Show statement. You need to use the Select statement. | |
Re: So what I do in some of my programs is to read the filenames from a directory and add the found filenames to a listbox. The user clicks on a name in the listbox and the file opens - in my case at the moment access databases. Is this the … | |
Re: You might want to check this out: http://www.dotnetperls.com/if-vbnet | |
|
The End.