Forum: VB.NET Jul 18th, 2009 |
| Replies: 7 Views: 693 Check my blog post- http://dotnet.tekyt.info/?p=27
If you still have any doubts, feel free to ask |
Forum: VB.NET Dec 18th, 2008 |
| Replies: 1 Views: 631 Maybe you can try something like an automated payroll system? |
Forum: VB.NET Dec 11th, 2008 |
| Replies: 4 Views: 686 try this connection string-
Server=myServerAddress;Database=myDataBase;Uid=myUsername;Pwd=myPassword; |
Forum: VB.NET Dec 11th, 2008 |
| Replies: 4 Views: 686 Hi!
Just verify these-
Do you have the MySQL Connector installed?
Are you sure your connection string is correct? |
Forum: VB.NET Nov 27th, 2008 |
| Replies: 7 Views: 865 No luck with port 2525 either, have disabled my firewall too.
Any other troubleshooting steps?
Thanks a lot for your ideas. |
Forum: VB.NET Nov 27th, 2008 |
| Replies: 7 Views: 865 I guess I've specifically used this-
http://www.systemwebmail.com/faq/3.8.aspx
The server requires authentication. |
Forum: VB.NET Nov 27th, 2008 |
| Replies: 7 Views: 865 I did put valid values in the actual code I used, just did not want to post it here.
Have used a correct smtp server, username, password - sure of that |
Forum: VB.NET Nov 27th, 2008 |
| Replies: 7 Views: 865 If I try port 25, I get this message-
System.Web.HttpException: The message could not be sent to the SMTP server. The transport error code was 0x80040217. The server response was not available
... |
Forum: VB.NET Nov 27th, 2008 |
| Replies: 7 Views: 865 Hi!
This is the code I have for sending mail-
Imports System.Web.Mail
Public Class Form1 |
Forum: VB.NET Nov 16th, 2008 |
| Replies: 0 Views: 1,135 Hi!
I have the following code-
Imports System.Data.OleDb
Public Class Form1
Dim x As String = """" |
Forum: VB.NET Oct 28th, 2008 |
| Replies: 3 Views: 1,969 Are you sure you are giving 6 parameters?
Could you paste your SQL Command text again? It appears broken in your previous post. |
Forum: VB.NET Oct 15th, 2008 |
| Replies: 1 Views: 510 It can be done using a javascript, just google it and you will get it.
However, you must hope javascript is enabled on your client's browser else it will not work. |
Forum: VB.NET Oct 15th, 2008 |
| Replies: 1 Views: 1,049 Do you know the SQL command to achieve the same?
If so, use a DataReader-
'We have a Data Reader to read the values returned by the SQL Command Execution
'cmd is your SQL command
' I... |
Forum: VB.NET Aug 17th, 2008 |
| Replies: 2 Views: 1,909 Anybody tried it with the ODBC Driver? |
Forum: VB.NET Aug 15th, 2008 |
| Replies: 2 Views: 1,909 Hi all!
I am trying to connect to a remote MySQL database. This database is located on my LAN at the address 192.168.1.2. I am using MySQL Connector/ODBC 3.51 (MyODBC 3.51) for the connection.
... |
Forum: VB.NET Aug 5th, 2008 |
| Replies: 1 Views: 552 Maybe this thread should be moved to the databases forum? |
Forum: VB.NET Aug 2nd, 2008 |
| Replies: 1 Views: 525 Hi all!
I've always used MySQL with my VB.NET applications and I am not too good with MS Office either.
The situation I have now is that in a Word Document, there is a table from which I am... |
Forum: VB.NET Aug 2nd, 2008 |
| Replies: 1 Views: 1,077 Here is a much simpler code to generate random passwords. The code is in VB.NET
Public Class Form1
Public Function GenerateRandomPassword(ByVal length As Integer) As String
Dim... |
Forum: VB.NET Jul 25th, 2008 |
| Replies: 3 Views: 1,094 I think he means that the column (i.e. field names) names must be sorted. Not the records |
Forum: VB.NET Jul 22nd, 2008 |
| Replies: 3 Views: 717 Do you really want your application to do some 'work' ? If so, you can play with loops.
If not, you can use a timer control and code for an event after a defined number of ticks. |
Forum: VB.NET Jul 22nd, 2008 |
| Replies: 1 Views: 780 Here is the code. You need 2 TextBoxes, 1 Button and 1 ErrorProvider Control on your Login Form. I've used a MySQL database, you may use whatever suits you.
Public Class Login
Dim... |
Forum: VB.NET Jul 22nd, 2008 |
| Replies: 3 Views: 3,090 Use another SQL statement. Construct it like this-
Dim strSQL2 As String = "SELECT product_id FROM product where product_name=" & Me.cmbDropDown.SelectedItem |
Forum: VB.NET Jul 21st, 2008 |
| Replies: 7 Views: 2,893 Try this - http://www.connectionstrings.com/ |
Forum: VB.NET Jul 21st, 2008 |
| Replies: 12 Views: 1,315 I feel the message box is more intuitive.
You can choose the type of message box, say Critical - when the user sees this (accompanied by the critical system sound) the user knows that an error... |
Forum: VB.NET Jul 21st, 2008 |
| Replies: 7 Views: 575 Relax dude!
Post the code here, we will try and figure out the problem. |
Forum: VB.NET Jul 17th, 2008 |
| Replies: 2 Views: 1,890 You need to 'bind' the result of your SQL query to the textbox. This can be done using databindings.
Find the code snippet here- http://dotnet.tekyt.info/?tag=databind |
Forum: VB.NET Jul 6th, 2008 |
| Replies: 3 Views: 3,239 If you want a project that you can finish within a week or less, try to develop an application that can be used in your department to hold attendance and marks.
i.e Attendance Register and Marks... |
Forum: VB.NET Jul 3rd, 2008 |
| Replies: 3 Views: 3,539 Alternatively, you can use a Timespan object. I guess this is more elegant-
Public Class Form1
Dim d1, d2 As DateTime
Dim x As TimeSpan
Private Sub Form1_Load(ByVal sender As... |
Forum: VB.NET Jul 3rd, 2008 |
| Replies: 3 Views: 3,539 Hi!
This is what I did. I'm writing this @ 14:25 and hence added some hours to simulate your situation. I'm directly taking the datetime but you can do the same from the datetimepicker.
... |
Forum: VB.NET Jul 2nd, 2008 |
| Replies: 2 Views: 567 I have never tried this, but I guess you can try adding Animated GIF's and play around with the visibility. |
Forum: VB.NET Jul 2nd, 2008 |
| Replies: 2 Views: 516 I guess the solution to all the problems is the manner in which you have constructed the SQL statement. |
Forum: VB.NET Jun 30th, 2008 |
| Replies: 2 Views: 875 You might want to take a look at my blog. In all my VB.NET applications, I have connected to MySQL.
http://dotnet.tekyt.info |
Forum: VB.NET Jun 30th, 2008 |
| Replies: 3 Views: 3,239 You need a Command Builder Object for the Update.
Let us say you got the data on a DataGridView and wish to make changes from the gridview which must be reflected abck into your database. Make a... |
Forum: VB.NET Jun 26th, 2008 |
| Replies: 0 Views: 1,526 I have a 'users' table in which the password is stored using MD5 encryption. (Drupal created this table)
I have my Windows Application in which I have a login window. What I want to do is take... |
Forum: VB.NET Jun 24th, 2008 |
| Replies: 10 Views: 3,590 You can try creating your own Control and define the events and properties as you want them to be.
I guess that will help you as you seem to need multiple 'blinking' buttons. |
Forum: VB.NET Jun 24th, 2008 |
| Replies: 3 Views: 2,666 This is how I did it-
Public Class Form4
Private Sub Form4_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim cn As New... |
Forum: VB.NET Jun 24th, 2008 |
| Replies: 1 Views: 918 You are doing this in ASP.NET right?
After Selecting enable Selection, goto Edit Columns from the Smart tag of the GridView.
Under the Selected Fields, you should see the field named 'Select'.... |
Forum: VB.NET Jun 22nd, 2008 |
| Replies: 3 Views: 3,014 You should use the OR statement in your SQL query.
So your SQL command text should be-
cmd = New OleDbCommand("select * from table1 where MFG='" & Me.ComboBox1.SelectedItem & "' OR MFG='" &... |
Forum: VB.NET Jun 21st, 2008 |
| Replies: 1 Views: 857 Hi!
In most of my VB.NET applications, I connect to a MySQL database using a ODBC Connector for MySQL.
In the code snippets posted by fellow members, I saw that OLEDB is also used to connect to... |