4,901 Posted Topics
Re: You have to add it to the panel, not the form as in pnlMyPanel.Controls.Add(MyLinkLabel) | |
Re: You'll have to be more specific. You haven't told us anything useful. We don't know 1. what your form looks like 1. what kind of data you are searching 1. how you want to present the results | |
Re: You have two threads for the same problem. Please see [here](http://www.daniweb.com/software-development/vbnet/threads/471810/calculation-problems). | |
Re: Did you notice that if the number of checks written is >= 60 you don't do a calculation? You might want to consider a case statement which is simpler and clearer. Select Case checks Case 0 To 19 fee = 0.1 Case 20 To 39 fee = 0.08 Case 40 … | |
Re: If you want to make it dynamic then you can do it as follows. For this example create a form with four textboxes. TextBox4 will get the strings from the other three dynamically as you type. Public Class Form1 Private Sub Form1_Load(sender As Object, e As EventArgs) Handles Me.Load AddHandler … | |
Re: Try Dim qry As String Dim con As New ADODB.Connection con.Open("Driver={Microsoft Access Driver (*.mdb)};" _ & "Dbq=database;Uid=user;Pwd=password;") qry = "INSERT INTO table2 SELECT * FROM table1" con.Execute(qry) con.Close() If you want specific records then try qry = "INSERT INTO table2 SELECT * FROM table1 " _ & " WHERE Sex … | |
Re: Why do you need to make it shorter? It works, it's simple and it's clear. What more do you want? | |
CESG, the UK government's arm that assesses operating systems and software security, has published its findings for ‘End User Device’ operating systems. The most secure of the lot? Ubuntu 12.04. For the full article see [here](http://www.zdnet.com/uks-security-branch-says-ubuntu-most-secure-end-user-os-7000025312/) | |
Re: You haven't said if you are having a problem with * determining which cell was clicked * determining the value in that cell * calling another form * passing a value to that form In the CellClick event handler of the DataGridView you can determine the row and column clicked … | |
Re: Try this query instead UPDATE tab1 SET tab1.info = tab2.info FROM tab1 INNER JOIN tab2 ON tab1.info2 = tab2.info2 | |
Re: You can create a boolean settings variable with a name like FirstTime and set it to True. When your app starts, check the value of FirstTime. If it is true then hide the main form and display the settings form. Then set FirstTime to false and save it. If you … | |
Re: I'm sure you would appreciate it. There are two problems though. 1. we won't do your homework for you 1. you wouldn't learn anything if we did | |
Re: Perhaps the problem is that nobody understands what you are intending. For example, a 3x10 matrix, by any definition I am familiar with, is a structure with 3 rows and 10 columns. I don't know what definition you are using. Also, because this is a database forum, it would be … | |
Re: I had the same problem earlier. This has happened often enough that I routinely copy my entire post into the clipboard before submitting. I also had another bug? that happened twice in the last hour. **Normal behaviour** Using Chrome, I click on a direct link to the vb.net forum. While … | |
Re: Accessing the program and accessing the database are two different things. When you have multiple users accessing the database at the same time you have to be concerned about coordinating updates, deletes, inserts etc. In your code, have you accounted for problems that may occur when multiple users are updating … | |
Re: No particular order * Dexter * Homeland * Covert Affairs * Justified * So You Think You Can Dance | |
Re: One of the things you wat to avoid is duplicating code. One of the problems you end up with is having inconsistent code. For example, you process button 6 differently than the other digit buttons. The method you can use is to code a generic "digit" handler as follows: Private … | |
Re: You haven't told us anything about the data. What data is going into what columns of the listview? On another note, you are doing things in the wrong order. You create a new listitem and add entries from combo1 and combo2. Then you add it to the listview. Then you … | |
I posted a sample project for a user by uploading a zipped project folder. After I made the post I thought of a small change. I could edit the post but saw no way to "edit" the attachment. I was hoping to be able to delete it then upload a … | |
Re: Tor is also available for Windows [here](https://www.torproject.org/download/download) | |
Re: Hard to imagine someone celebrating a harvest festival while I'm looking out my window at three feet of snow but have a great time. I had a look at the recipe for Pongal and when I translated (moong dal? jeerea?) I realized I had all the ingredients. I think I'll … | |
There are reports surfacing that Microsoft has taken enough of a beating over Windows 8/8.1 that a new version, codenamed Threshhold, is in the works. Reliable sources claim that Threshhold will have the traditional desktop with a proper start menu and the ability to run Metro apps on the desktop. … | |
Re: If you have access to another computer you could download [TrendMicro Housecall](http://housecall.trendmicro.com/) and burn it to a CD. Boot the infected computer from that CD to run. | |
Re: >you might get eaten by a big bird of some sort. Romney was right in threatening to get rid of Big Bird. I always though BB had a secret agenda. | |
![]() | Re: Xmas as an alternative to Christmas actually dates back several hundred years. The X comes from the Greek letter, chi, which is the first letter of the word that we know in English as Christ. |
Re: try dr1.Item("perfevalID").Value and if that doesn't work then have a look at the examples [here](http://www.daniweb.com/software-development/vbnet/code/445801/use-parameterized-queries-to-avoid-sql-injection-attacks). But first make sure that the query actually returns data. If there are no matching records then you won't see any data. | |
Re: Keyloggers may have legitimate purposes, but mostly they are used for illegal or unethical reasons so I suspect you will get no help here, especially since you have not said what you plan to do with them. | |
Re: Can you right click on the folder then select "Take Ownership"? I have safely deleted a number of these folders on my D and E drive with no problem. | |
Re: There are various hotkey programs availible. I use Qliner Hotkeys. You can google for alternatives. | |
Re: And a toast to you as well. It's been a fun year thanks to all of you. | |
I've rewritten this question a half dozen times and each time it makes less sense. In a nutshell, I want to populate a listview with large icons representing image files but I can't get them to come out unstretched. They are always stretched along the x or y axis because … | |
Re: Have a look at [this tutorial](http://www.tutorialspoint.com/vb.net/vb.net_database_access.htm) for starters. | |
Re: Try SELECT COUNT(lead.id) FROM lead JOIN lead_status ls ON ls.lead_id=lead.id AND ls.id=(SELECT MAX(id) FROM lead_status WHERE lead_status=1) Note the replacement of **WHERE** with **ON** and the correction of the field name in **lst.status=1** to **lead_status=1**. This is a valid query, however, I am not sure this is the query you … | |
Re: Please post the exact error message text. Also, check your connection string. You are using parentheses instead of curly brackets. Example "Driver={MySQL ODBC 3.51 Driver};Server=localhost;Database=myDataBase; User=myUsername;Password=myPassword;Option=3;" | |
Re: You have to strike a balance between normalization and usability. For a student table, you should keep basic information like Name Address Telephone StudentID (which will be used as a foreign key in other tables) Status In one table. This is information that is used to uniquely identify a student. … | |
Re: I don't use datasets myself, but from what I can tell you can only populate a dataset with homegeneous data. In other words, all records must have the same number and type of fields. In your case you are trying to use multiple selects on different tables with different number … | |
Re: Microsoft has a [Windows 7 Advisory Tool](http://windows.microsoft.com/en-CA/windows/downloads/upgrade-advisor) that you can run to see if you can run Windows 7 on your computer. I'm running it on a 6 year old Dell Inspiron 1720 and have had no problems other than with Bluetooth. | |
Re: You have to put some effort in yourself first. So far you haven't even properly defined the problem. What have you got so far? | |
Re: It depends on where the database is and how heavily it is being used. If the database is on a server and it is heavily used by a large number of people/applications concurrently then best practice is to keep your connection closed until you need it. Then open it, use … | |
Re: I don't see why an endorsement is any less valid just because the endorsee has departed. I do, however, think endorsements from unverified members, or members with less than a particular level of rep or activity (to prevent bogus self-endorsement) should be excluded. | |
Re: I think you should have thought of that before you started trolling. I suggest you take the time from now until your infractions expire and try to acquire a little maturity. | |
Re: Can you please try to explain in clearer detail? | |
Re: Got you beat. I'm turning 60 on Sunday. >its awful moment happen in my life Sorry to hear you are going through a rough patch. I hope you have friends and/or family to help you through. | |
Re: You might want to go to the ASUS website and download all the drivers you will need before you get started. | |
Re: Rather than trying to code up a convoluted query to do that you should instead restructure your table to have separate fields for given name(s) and surname. You run into problems when storing the names as "John Smith". For one thing, if you want to sort by last name you … | |
[This post](http://joelgrus.com/2013/12/24/why-programming-language-x-is-unambiguously-better-than-programming-language-y/) by Joel Grus is both insightful and highly entertaining. Make sure to read the comments which are also witty and amusing. | |
Re: I don't recall what my post count was but it looks to be in the ballpark. | |
Re: Replace dt = ExecuteQuery("UPDATE tblUsers SET UserID = " & txtUserID.Text & ", UserName = '" & txtPassword.Text & "', Password = " & txtPassword.Text & ", LastName = '" & txtLastName.Text & "', FirstName = '" & txtFirstName.Text & "', Position = '" & txtPosition.Text & "', Address = … |
The End.