4,911 Posted Topics
Re: Use [autoruns from Sysinternals Suite](http://technet.microsoft.com/en-ca/sysinternals/bb963902.aspx). Free. | |
Re: It. Laughable show but great performance (as always) by Tim Curry | |
Re: Normally (with just the main thread) you can access a control's properties directly as in lblStatus.Text = "online" however, if you are trying to access the control from another thread you must use a delegate. So what I do is wrap the code in a sub such as Private Sub … | |
Re: I don't have my dev machine so I can't test this but I believe the format for a date value is like select * from tble where Invoiced > #01/05/2012# so try "SELECT * FROM invoiced_filter " & _ " WHERE Invoiced > #" & fromdte & "# AND < … | |
I just noticed the little purple dot on the threads with a pop-up indicating "user is currently online". Have I been overlooking this for a while or is this a brand new feature? In any case, I like it. | |
Re: There are a couple of things to try. I'm not using Windows 8 yet so I'm not sure where to find this (on Windows 7 it is under My Computer/Properties/Advanced/Environment Variables). Make sure PATHEXT includes .VBS In a command shell with admin rights, type WSCRIPT //H:wscript //S To set the … | |
At the time of the writing of Charles Dickens', A Christmas Carol, "scrooge" was a slang word synonymous with the word, "squeeze". And "a humbug" was a person who put on false airs as in a person who behaves as if everything is rosy when his life is anything but. … | |
Re: My first impression is based on the initial download. One of the first things on the download page states >Your download (18.7 MB) should begin in a moment. If not, click here. However, when I do the download I end up with a 573K file that, when run, identifies itself … | |
Re: >I want to get sum of total data where status is "yes" What you should provide is 1. the structure of all relevant tables 1. perhaps a few records with an example of the before and after This is particularly helpful if you are trying to explain the problem in … | |
Re: Please check the dates on threads before you post. This thread is more than four years old and your input is likely no longer needed. | |
Re: What happens if you supply the IP address as part of the server name? For example, on my regular computer my SQL Server instance is JIM-PC\SQLEXPRESS But I imagine (I can't verify this because my computer is in the shop) I could also use \\192.168.1.104\SQLEXPRESS | |
Re: Thanks for the feedback. I'd just like to point out that it's a good idea to check the dates on threads. This one is two years old and likely has been long since resolved or abandoned. | |
Re: In order to prevent errors on ' all you have to do is replace each ' with two '. Instead of using name use name.Replace("'","''") If you do that SQL won't complain. | |
Re: @TnTinMN - Just curious - is their an advantage to doing this rather than using My.Settings? | |
Re: On a related note, have you considered that recipes don't "scale up" easily when it comes to things like cooking times? | |
Re: I don't think you should be allowed to use that particular avatar until you have had a job that required supporting end-users (or working with engineers). | |
Re: The Timer.Tick event fires once every Interval milliseconds so you don't need a loop inside the handler. If you are counting down to zero then just stop the timer at that point. Private Sub ... Handles timer1.tick If datetime.Minute > 0 Then datetime.AddSeconds(-1) Else DirectCast(sender,Timer).Enabled = False end if | |
Re: What do you mean by "the MySql command is being skipped"? Please remove the TRY/CATCH/FINALLY/END TRY statements and post the exact text of the error message that is displayed. Your MsgBox which displays only "ERROR" is useless for debugging. It would also greatly help if you were to post the … | |
Re: You could create two new tables named Invoice and InvoiceLine. Each invoice would have a unique primary key named Invoice_ID. The fields in this table would contain information relevant to the entire invoice (Customer_ID, date, status, etc). InvoiceLine would have a primary key consisting of Invoice_ID and Line_ID. This table … | |
![]() | Re: Why not have the remaining letters in a dropdown combobox. Once a letter has been guessed you remove it from the combobox. That way there is no need to validate input. ![]() |
Re: I have one suggestion (not necessarily a great one). Set a class variable in the main form (call it something like ShowForm). Set it to True initially. Have a timer on the main form and set the interval to 1000. In the timer Tick event do Me.Visible = ShowForm You … | |
Re: I use [CutePDF Writer](http://www.cutepdf.com/products/cutepdf/writer.asp). It's free and doesn't have to be run on a server. It just installs as a pseudo-printer and can be installed on on the workstations for whichever users need it. I haven't tried this but perhaps it could also be installed as a shared printer if … | |
Re: If you are only interested in the total number of vowels and not the number of each vowel then a simpler approach is Dim str As String = "the quick brown fox jumped over the lazy dog" Dim numVowels As Integer = 0 For Each ch As Char In str.ToUpper.ToCharArray … | |
Re: Make all cells in row 1 blue. For Each c As DataGridViewCell In DataGridView1.Rows(1).Cells c.Style.BackColor = Color.Blue Next | |
Re: If you check out my code snippet [BackgroundWorker IP Monitor](http://www.daniweb.com/software-development/vbnet/code/440614/backgroundworker-ip-monitor) it shows how to use Delegates to access the textbox from another thread. I think that is what you will have to do. | |
Re: Is it still possible to get a virus in the master boot record? If so, you might have to recreate this. | |
Re: It's the people who believe the world is coming to an end and decide to help the process along that worry me. It also bothers me that the end of the world (a least this week's version) is one day before my birthday. That blows. I guess I'll just have … | |
Re: Index is a reserved word. You can either rename the field to something other than Index, or you can specify the field as [Index] as in Dim myUpdateQuery As String = "UPDATE Sensor_Table " & _ " SET Equipment_ID = @id, " & _ " Location = @Loc, " & … | |
Re: My nephew had this done a few years ago. It was his first one. After a few hours( and only halfway through) the artist asked him if he'd like to finish it up another day. His response was "once I get out of this chair there's no way I'm ever … | |
Re: Have you seen the second Berserk that was just released? | |
Re: I have a bit of a family thing at the moment (had to take my father-in-law to emergency) so I can't address the bigger issue just now, but I have a suggestion to simplify the username/password verification. Have the user enter both the username and password at the same time … | |
Re: But then someone has to go through all replies to all posts to rate how relevant each post is to the question. If the OP doesn't provide full background and someone posts >You need to provide more details such as > > 1. The exact text of the error messge … ![]() | |
Re: What are you comparing the day part of the date to? | |
Re: There are several examples of encryption/decryption in the VB.Net forum. Just click on Code Snippets and scroll through the list. As for the timer thing, based on what you have said, it would only work if the user left the program running all the time. A timer won't function when … | |
Re: My Christmas gift is having my older son fly home from Long Island to spend the holidays with us. He's due here Wednesday evening. | |
Re: The regular expression ^\d+-\d+$ will match any string of the form "#-#" where "#" is any sequence of one or more digits. Once you have a match you can do a Split on the "-". For example Dim s As String = "123-45" Dim nums() As String = s.Split("-") nums(0) … | |
Re: It is complaining because the compiler has determined that if the loop doesn't get executed then pname will not have a value to return at line 80. By assigning a null string when you Dim pname you ensure that pname will have a value no matter what execution path is … | |
Re: No, but there are certainly a few available at other sites such as [this one for VB at msdn](http://channel9.msdn.com/Series/Visual-Basic-Development-for-Absolute-Beginners). You can easily find more with a little googling. A complete list of msdn tutorials can be found [here](http://channel9.msdn.com/Browse/Series?sort=atoz) | |
Re: Aside from the Kinect I can't think of anything. ![]() | |
Re: We don't offer help in that way. Private help doesn't benefit anyone else who might be looking for a similar solution. You also haven't given any indication what you need help with. If you are interested in help then please post your questions here. | |
Re: You can output the linies by displaying them in a TextBox or RichTextBox control. As a matter of convenience, the RichTextBox control has methods to read/write files. or if this is for debugging purposes you can use Debug.WriteLine, or Console.WriteLine for console applications. In this case something like Module Module1 … | |
Re: You have to convert the string to a number first. In your case that would be If CDec(CapAmount) >= 3000 Then | |
Re: IMO I would think that people who are looking for tech help are typically looking for help with programming issues or with operational (configuration, driver, virus, hardware, etc) issues. Tablets are pretty much oriented to content consumers. Programming issues are in the realm of content creators. As for operational issues, … | |
Re: Gonna take a shot in the dark. When you have your "disappearing" drive plugged in and visible, run diskmgmt.msc and try assigning a different drive letter to it (try Z:). Then see if it still disappears when another device is plugged in. | |
Re: Whether or not the specs are adequate depends a lot on what you want to do with it. Document editing doesn't require much power. Hardcore gaming is another matter. | |
Re: The OP hasn't been on DaniWeb for almost seven years. There is no need to revive this thread. | |
Re: [google this](http://www.google.ca/#hl=en&tbo=d&output=search&sclient=psy-ab&q=what+is+the+difference+between+vb6+and+vb.net&oq=what+is+the+difference+between+vb6+and+vb.net&gs_l=hp.3..0j0i8i30l2.1524.11507.0.12259.45.21.0.23.23.3.1555.6606.0j9j3j4j2j1j8-1.20.0.les%3B..0.0...1c.1.lSPOqM8xzm0&pbx=1&bav=on.2,or.r_gc.r_pw.r_qf.&bvm=bv.1355534169,d.b2I&fp=1585625df7f66034&bpcl=40096503&biw=1440&bih=783) and check out the first three hits. | |
Re: >how to find all data in my first listview to another Can you please explain what you mean by this? | |
Re: Not by itself, but you might find the source code for a custom control to do that [here](http://www.codeproject.com/Articles/3206/Multi-Column-ComboBox) | |
Re: Perhaps you haven't put any text into fo1. In any case you don't need to have the If. We know the current directory exists and WriteAllText will create the file if it doesn't exist. |
The End.