279 Posted Topics

Member Avatar for jhaiyz

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

Member Avatar for jhaiyz
0
110
Member Avatar for arivbot

Maybe the lines in your textbox are wrapped? Make your listbox wider and see if you have all the txt there.

Member Avatar for pritaeas
0
300
Member Avatar for Wilderness Bob

@ Jim Now you are starting answering 6 years old posts. Trolls on Dani? There wasjust one answer to a question from 10 years ago.

Member Avatar for Reverend Jim
0
2K
Member Avatar for OMER AHMED

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?

Member Avatar for §AE§
0
316
Member Avatar for jez9
Member Avatar for PM312

To print what you see in your rich textbox find the code here: https://msdn.microsoft.com/en-us/library/ms996492.aspx

Member Avatar for PM312
0
1K
Member Avatar for jez9

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 …

Member Avatar for Reverend Jim
0
9K
Member Avatar for gbhs

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 " …

Member Avatar for Reverend Jim
0
237
Member Avatar for OMER AHMED

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!

Member Avatar for OMER AHMED
0
1K
Member Avatar for Solution Hall
Member Avatar for waqasmrd

You like to elaborate which program you are talking about and what type of page?

Member Avatar for waqasmrd
0
143
Member Avatar for OMER AHMED

@ Mr.M Why do you put Try Catch in the code but want to ignore any errors?

Member Avatar for Minimalist
0
273
Member Avatar for PM312

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.

Member Avatar for Minimalist
0
366
Member Avatar for Papa_Don

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 …

Member Avatar for Minimalist
0
704
Member Avatar for Mr.M

You might want to check out this code exsmple: http://www.codeproject.com/Articles/21443/Winsock-Revamped

Member Avatar for Mr.M
0
220
Member Avatar for altjen
Member Avatar for fugio

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 …

Member Avatar for fugio
0
210
Member Avatar for jez9

Can you be more clear about of what is going wrong? Also what do you mean by "created a keyboard in textbox1"?

Member Avatar for jez9
0
2K
Member Avatar for ZFPuhi

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 …

Member Avatar for Reverend Jim
0
219
Member Avatar for Xiao_1

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

Member Avatar for Santanu.Das
0
113
Member Avatar for jez9

@ 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. @ …

Member Avatar for jez9
0
11K
Member Avatar for jez9

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.

Member Avatar for jez9
0
385
Member Avatar for leyla

Maybe put conn.Open() before executing: Dim cmd As New OleDbCommand( _ "SELECT * FROM Subjects WHERE [StudentID]= '" & StudentID.Text & "'", conn)

Member Avatar for leyla
0
162
Member Avatar for PaInAnReV
Member Avatar for batoolhussain

You can only resize the last dimension of a multidimentional array. http://stackoverflow.com/questions/2651682/resizing-a-two-dimensional-array

Member Avatar for Santanu.Das
0
124
Member Avatar for Pompy

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

Member Avatar for Reverend Jim
0
155
Member Avatar for CodingSource

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

Member Avatar for Minimalist
0
297
Member Avatar for Papa_Don

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

Member Avatar for imti321
0
330
Member Avatar for Trle94

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 …

Member Avatar for Trle94
0
201
Member Avatar for Papa_Don

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

Member Avatar for Papa_Don
0
754
Member Avatar for Triple_7
Member Avatar for Triple_7

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

Member Avatar for Triple_7
0
309
Member Avatar for Papa_Don

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.

Member Avatar for Nutster
0
1K
Member Avatar for Papa_Don

Go to Solution Explorer--- Double click on MyProject----Goto Application and where it says Icon ---- select your own Icon.

Member Avatar for cgeier
0
432
Member Avatar for coolsasuke

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 …

Member Avatar for Santanu.Das
0
239
Member Avatar for sergio_pb

This link might be helpful with your quest: http://vb.net-informations.com/communications/vb.net_multithreaded_server_socket_programming.htm

Member Avatar for Minimalist
0
351
Member Avatar for Papa_Don

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.

Member Avatar for Papa_Don
0
671
Member Avatar for Papa_Don

Dim dirs As String() = Directory.GetFiles("C:\Restran Conversion\IPSDATA\PM00213A\", "*.*") Dim dir As String For Each dir In dirs Debug.Print(dir) Next

Member Avatar for Papa_Don
0
4K
Member Avatar for Papa_Don

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 …

Member Avatar for Minimalist
0
330
Member Avatar for OtepTheThird
Member Avatar for Santanu.Das
0
3K
Member Avatar for gara_mirza
Member Avatar for Reverend Jim
0
229
Member Avatar for H

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

Member Avatar for Santanu.Das
0
175
Member Avatar for OMER AHMED

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.

Member Avatar for Santanu.Das
0
393
Member Avatar for Akhila_1

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, …

Member Avatar for Minimalist
0
2K
Member Avatar for paul1145

Maybe this one will get you onto the correct solution: http://www.codeproject.com/Questions/662815/how-to-set-progress-bar-during-copying-file

Member Avatar for xrjf
0
332
Member Avatar for Xiao_1

Field names with spaces in them will create problems as in "Projcet Name" better to use Projcet_Name or brackets "[Projcet Name]"

Member Avatar for Mr.M
0
227
Member Avatar for Xiao_1
Member Avatar for Deep Modi

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 …

Member Avatar for Mr.M
0
190
Member Avatar for kasun.madushanka.77770

You might want to check this out: http://www.dotnetperls.com/if-vbnet

Member Avatar for Minimalist
1
74
Member Avatar for Xiao_1
Member Avatar for Minimalist
0
134

The End.