4,911 Posted Topics
Re: >Its absolutely irrational There was a Kodak commercial years back where James Garner responds to a comment from Mariette Hartley with, "that doesn't make sense." She replies with "you mean you don't understand it." You might want to dial it back a bit. * How do quotes work on this … | |
Re: > Im busy I can help you on skype, can send and code if is needed. If you supply a solution via Skype then it doesn't help anyone else here. If you do this then please post the solution. | |
Re: Chat is very useful for those members with whom people want to chat. When someone has posted a message in your chat box the indicator will change to a different colour with a number indicating the number of waiting messages. The usefulness of a feature is not determined by your … | |
Re: I reported this same problem some days/weeks ago [here](https://www.daniweb.com/community-center/daniweb-community-feedback/threads/491822/edit-box-problem). | |
Re: We can't help you unless you show us your code. What are you using for your database? | |
Re: That is why I prefer to avoid the complicated method. Too many ways to bollux things up. Try this Dim con As New OleDbConnection(your connection string here) Dim cmd As New OleDbCommand("", con) cmd.CommandText = "INSERT INTO Films " _ & " (Title, Director, Certificate, Genre, " _ & " … | |
Re: What line is giving the error? You should use a DataReader. Try Dim query As String qry = "SELECT Description, Price " & " FROM tblProducts " & " WHERE pID = ?" Dim cmd As New OleDb.OleDbCommand(query, myConnToAccess) cmd.Parameters.AddWithValue("@parm", cmbID.Text) Dim rdr As OleDbDataReader = cmd.ExecuteReader() If rdr.Read Then … | |
Re: Assuming the numbers are separated by a comma, you could split the string into separate numeric string by Dim nums() As String = tbx.Nums.Text.Split(",") Then you could create a dictionary, iterate over the strings and add/increment the count for each unique string in the dictionary. | |
Re: Your spec is incomplete. 1. write a function 1. with two parameters, an array and constant k 1. should return an array where array(i) is equal to k You didn't specify what `i` is. It isn't a parameter, and if it is a global then the design is bad. By … | |
Re: >if you were presented with 15 ads in a row..you'd probably be annoyed and you would change the channel. The channel provider wouldn't like that. That's not good business. I don't believe that the networks ARE practising good business. At one time, an hour show was about 55 minutes long. … | |
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: Been using it off and on for more than a year. | |
Re: You didn't open the connection. | |
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 … |
The End.