4,901 Posted Topics
Re: @altgen - When images are essential to the post, please upload the images to Daniweb and include them in your post. That ensures that the images will be available for as long as the post exists. Once the images are deleted from the external server your post becomes useless to … | |
Re: You could do Private Sub TextBox1_KeyPress(sender As System.Object, e As System.Windows.Forms.KeyPressEventArgs) Handles TextBox1.KeyPress Select Case e.KeyChar Case "0" To "9" Case "." Dim tbx As TextBox = sender e.Handled = tbx.Text = "" Or InStr(tbx.Text, ".") > 0 Case Else Dim key As Integer = Asc(e.KeyChar) e.Handled = Not (key … | |
Re: Settler's of Cataan or Archipelago - neither of which is computer based. | |
Re: I did it in MS SQL and got the expected results. Is it possible that the actual value of F iin the table is `'d2f2 '` or some such instead of `'d2f2'`? Try the query SELECT * FROM mytable WHERE F LIKE '%d2f2%' AND Tot > Pmin AND Tot < … | |
Re: Depending on your age, you might want to consider Lasix (laser eye surgery). I had it done in 2000 and it was one of the best decisions I ever made. I had worn glasses since grade four any my vision was 20/200+ in both eyes. I did, however, have to … | |
Re: Have a look at [ConnectionStrings.com](http://www.connectionstrings.com/mysql/) | |
Re: Now that the thread is marked as solved (and solution points appropriately allocated) I'd like to make a suggestion for formatting your queries that may help in keeping the code clearer. Instead of qry = "SELECT Mem_Id1, Mem_Name, Mem_Address, Mem_Contact, Mem_Role FROM Members WHERE Mem_Id1 = '" & txtMem_id.Text & … | |
| |
Re: What player are you using? Have you tried other players to see if they have the same problem? Can you post the code so that we can have a look (or the link where you got it)? How big is **BIG**? You can't expect us to help unless you provide … | |
Re: I don't understand the problem. You do it the same way you would insert into one table. If the question is about transactions it's the same as above. You create the transaction then do the inserts inside a try/catch block then either rollback or coommit the transaction dependinig on whether … | |
Re: You could iterate through the folder names and look for one starting with "1504 -". | |
Re: You can download Windows install/repair images [here](http://windows.microsoft.com/en-us/windows-8/create-reset-refresh-media). Note - you must have a valid Windows registration number which you should be able to get from the sticker on your computer. You can find detailed instructions [here](http://windowssecrets.com/newsletter/new-ways-to-get-free-windows-installation-media/). | |
Re: Almost as annoying are users who ask questions that are easily answered via search. ![]() | |
Re: That line of code may be correct (I'm not going to parse it) but it is so unclear I would be appalled if I saw it in production code. In my experience, clever code is almost always unmaintainable. | |
Re: When you receive a message it would have to be from your "past self" rather than your "future self". | |
Re: I'm retired. Every day is my day off (or no day, depending on your perspective). | |
Re: Try SELECT * FROM [BANK ACCOUNT] ORDER BY [ACCOUNT NAME] but if possible you should rename the columns by replacing the spaces with underscores. | |
Re: Unless x is a function, it is being interpreted as an array and you cannot use an array in an arithmetic operation unless you index to a specific element. | |
Re: Check [this procedure](http://answers.microsoft.com/en-us/windows/forum/windows_7-windows_update/the-remote-procedure-call-failed-and-did-not/445c3192-466e-476f-a552-535da05f086c) from Microsoft. | |
Re: Are you asking us to write the code for you? If so, that's not what we do. | |
Re: You can try UPDATE tb2 SET tb2.data = tb1.data FROM tb1,tb2 WHERE tb1.id = tb2.id AND tb2.data IS NULL This will update only records for which data is NULL. | |
Re: >what is the proceedure for booting windows 1. Remove all other bootable media (USB, CD, etc) 1. Power on the computer This assumes you have Windows installed on your computer. | |
Re: I notice you have one line ENG5Text = DataGrid1.Columns(8).Text that should probably be ENG5.Text = DataGrid1.Columns(8).Text You have SCI4.Text = DataGrid1.Columns(26).Text SCI5.Text = DataGrid1.Columns(26).Text where you use column 26 twice. Should that be SCI4.Text = DataGrid1.Columns(25).Text SCI5.Text = DataGrid1.Columns(26).Text Same thing for TLE1.Text = DataGrid1.Columns(35).Text TLE2.Text = DataGrid1.Columns(35).Text As for … | |
Re: The usual approach is to add Debug.WriteLine("stuff") lines at strategic places inside the loop, then run the code to see what is happening. Either that or step through the code in the debugger with breakpoints. By the way, a shorter method of adding a leading zero is the Format function … | |
Re: You can add rows just by For r = 0 To lines.GetUpperBound(0) DataGridView1.Rows.Add(lines(r)) Next Just add a test at the top of the loop to select/ignore specific rows. To clear the grid you do DataGridView1.Rows.Clear() Other than that I'm not sure what your problem is. | |
Re: Why not just SELECT * FROM Consultation WHERE Con_Consult_Date BETWEEN '01-01-2013' AND '31-12-2013' | |
Re: There is no `run.exe` file in Windows. | |
Re: Here is an example Dim srce As New AutoCompleteStringCollection() srce.AddRange({"January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"}) txtSample.AutoCompleteMode = AutoCompleteMode.Suggest txtSample.AutoCompleteSource = AutoCompleteSource.CustomSource txtSample.AutoCompleteCustomSource = srce | |
Re: Can you attach the text file containing that character? | |
Re: There's no way of telling without seeing the query string. Replace Dim CMD As New OleDb.OleDbCommand(simpan, CONN) with Debug.WriteLine(simpan) Dim CMD As New OleDb.OleDbCommand(simpan, CONN) and post the output here. Unless the strings you are concatenating contain "?", none of the parameters will be added. You may want to look … | |
Re: I find it particularly annoying that not only do you expect us to do your homework for you but you can't even be bothered to ask. You just post the question and expect us to do the work for you. You get a downvote for your lack of effort. | |
Re: Do not use Access. For that much data you are much better off using SQL. If you want to go Microsoft then I suggest MS-SQL. I believe you can have up to 10 gig of data with the free version. There are better tools available for maintenance (free - SQL … | |
Re: Do you have any system in place to prevent multiple users from changing a document at the same time? | |
Re: Can someone please remind me - how do I filter based on one or more tags? If I click on a tag I can get a list of tagged articles, and if I do a search I can find articles containing that text, but what if I want to specify … | |
Re: >That doesnt really explain how to No kidding. Microsoft would explain a beach by describing (in great detail) every grain of sand and every possible activity that can be done on that beach. Simple examples are often lacking. Declare a StreamWriter as Dim sw As New System.IO.StreamWriter("d:\temp\myfile.txt", False) Set the … | |
Re: >I tried to test it as a shared file What do you mean by that? | |
Re: That can be caused by a bad connection string. What is your connection string and what kind of database are you connecting to? What line is throwing the error? | |
Re: I think your code would be a lot clearer, less prone to typos and easier to modify if you used intermediate variables. For example DailyRate = arrDailyRates(cboBoard.SelectedIndex) Select Case cboBoard.SelectedIndex Case 0 To 1 If intDaysRented = 0 Then If intHoursRented > 3 Then cost = DailyRate Else cost = … | |
Re: So you want us to find the code for you? Or do you want suggestions for websites which will teach you to code? If the former then you can use Google like anyone else. Ditto for the latter. | |
Re: Seems pretty subjective to me. I don't have a problem with it. Then again, my eyes are quite a bit older than yours so perhaps that has something to do with it. ![]() | |
Re: If it's vmware have you installed vmware tools? | |
Re: I'm not seeing it and I looked really really hard. Try clearing your cache. |
The End.