111 Posted Topics
Hi! I am working on a data mining project which involves playing around with email ids. The problem is that the email ids are scattered over different machines on the network. ie. There are different windows machines, each with a copy of outlook maintaining an individual address book. Is there … | |
Hi! I am working on a data mining project which involves playing around with email ids. The problem is that the email ids are scattered over different machines on the network. ie. There are different windows machines, each with a copy of outlook maintaining an individual address book. Is there … | |
Re: 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. | |
Re: Do you know the SQL command to achieve the same? If so, use a DataReader- [code=vb.net] 'We have a Data Reader to read the values returned by the SQL Command Execution 'cmd is your SQL command ' I am using ODBC for DB Connectivity Dim dr As Odbc.OdbcDataReader dr = … | |
Hi! I am doing a project which tries to simulate a DBMS. The records for a relation(table) are saved in a file on disk. What I wish to do is - Specify the block to which each record be written / Save the content block wise Reason for doing this- … | |
The website that I created enables users to signup. When they register an account, a mail is sent to them. In the mail, I wish to send them a link upon clicking of which enables them to login. How can I do this? ----- I was thinking on the following … | |
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. The connection string that I am using is the following- Driver={MySQL ODBC 3.51 Driver};Server=192.168.1.2;Database=mydb;User=root; Password=;Option=3; The … | |
Re: Maybe this thread should be moved to the databases forum? | |
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 interested in extracting one column and adding it as a column … ![]() | |
Re: Here is a much simpler code to generate random passwords. The code is in VB.NET [code=vb.net] Public Class Form1 Public Function GenerateRandomPassword(ByVal length As Integer) As String Dim strGuid As String = System.Guid.NewGuid().ToString() strGuid = strGuid.Replace("-", String.Empty) Return strGuid.Substring(0, length) End Function Private Sub Form1_Load(ByVal sender As System.Object, ByVal e … | |
I'm doing a program on the addition of 2 Sparse Matrices. This is what I have coded- [code=java] import java.io.*; class Sparse { int r,c,m[][],s[][],count,rt; static int res[][]; public Sparse() { count=0; rt=1; } //Take the matrix public void read() throws Throwable { BufferedReader buff=new BufferedReader(new InputStreamReader(System.in)); System.out.print("Enter the number … | |
Re: Look at an ASCII value table. You will get your answer. | |
Re: Passing variables between pages can be done using Query Strings. [code=asp.net] Response.Redirect("somepage.aspx?name=" & Me.TextBox1.Text) [/code] The value of the user input in the TextBox1 of the page can be retrieved in the page you redirect to using- [code=asp.net] Request.QueryString("name") [/code] | |
Re: Umm... I think you should maintain a database of 'suggests' for showing them in the 2nd TextBox As @bhi said, enable the autopostback property for the 1st textbox and do this- [code=asp.net] "Select * from <table> where <field> like" & me.textbox1.text & "%" [/code] This sql is for the 'suggests'. … | |
Re: Your page is being 'posted back' Disable the auto post back property of the dropdown list. | |
Re: Use the Random Class. [code=asp.net] Dim arbit As New Random Randomize() X: For i = 0 To a.GetUpperBound(0) t = arbit.Next(1, 10) ' Generate between the numbers 1 and 10 If Array.IndexOf(a, t) = -1 Then a(i) = t Else GoTo X End If Next [/code] Here I am filling … | |
Re: I think he means that the column (i.e. field names) names must be sorted. Not the records | |
Re: Here is the link for an Online Examination Project that I made- [url]http://dotnet.tekyt.info/?p=34[/url] Its free :) | |
Re: Relax dude! Post the code here, we will try and figure out the problem. | |
Re: hi pranav could you please post the code you wrote? | |
Re: 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. | |
Re: 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. [code=vb.net] Public Class Login Dim cn As New Odbc.OdbcConnection("Driver={MySQL ODBC 3.51 Driver};Server=localhost;Database=mydrupaldb; User=root;Password=;") Private Sub login_FormClosing(ByVal sender As Object, ByVal e … | |
Re: Try this - [url]http://www.connectionstrings.com/[/url] | |
Re: 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 has occurred in the application. | |
Re: Just take a look at the sample code given here- [url]http://dotnet.tekyt.info/?p=31[/url] I have connected to a MySQL database using a ODBC Connector. Read this post for clarity and the download source- [url]http://dotnet.tekyt.info/?p=9[/url] | |
Re: You need to 'bind' the result of your SQL query to the textbox. This can be done using databindings. Find the code snippet here- [url]http://dotnet.tekyt.info/?tag=databind[/url] | |
Re: colors.getSelectedItem() will give you the selected item in the list. Hold it in a String and print it out on the console using System.out.println() But you have a GUI here and why do you wish to print the selected item to the console? | |
Re: You might want to take a look at this- [url]http://dotnet.tekyt.info/?p=31[/url] I've done it using MySQL, for Access all you need to do is change the Connection String (I guess you know this already judging from your post) | |
Re: This is what I tried- [code=java] import java.io.*; public class MyArray { public static void main(String[] args) throws Throwable { int[] a; int no; BufferedReader buff; if(args.length==0) { //You can use your -1 logic here if you wish to System.out.println("Enter the number of array elements: "); buff=new BufferedReader(new InputStreamReader(System.in)); no=Integer.parseInt(buff.readLine()); … | |
Ok, I know I've asked this before but am yet to get a convincing answer. Unlike VS 2005, its very difficult to position controls as desired (at required location) in VS 2008. The Absloute Layout thingy does not seem to work correctly. What is the best way to go about … | |
Re: I guess the solution to all the problems is the manner in which you have constructed the SQL statement. | |
Re: I have never tried this, but I guess you can try adding Animated GIF's and play around with the visibility. | |
Re: If you want the code inside the Page_load to execute just the first time the page loads and prevent it from executing subsequently, put this part of code inside an if not IsPostBack block [code=asp.net] Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load If Not IsPostBack … | |
I have an online exam system in which after the test, the result is displayed in a new asp.net page. If he clicks on the 'back' button on the browser, he gets back to the page which displays the test again. What I want to do is disable the user … | |
In most of my VB.NET applications, I connect to MySQL databases using the MySQL ODBC Driver. Recently, I got to know about the MySQL Connector (again provided by MySQL). Which one is better in terms of- a. Performance b. Security | |
Re: 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 button for update and use the following code- [code=vb.net] Private Sub Button1_Click(ByVal sender … | |
Re: You might want to take a look at my blog. In all my VB.NET applications, I have connected to MySQL. [url]http://dotnet.tekyt.info[/url] | |
Re: 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. [code=vb.net] Public Class Form1 Dim d1, d2, d3 As DateTime Private Sub Form1_Load(ByVal sender As System.Object, … | |
Hi! I am trying to develop an online examination system (my first asp.net project) in which multiple choice questions need to be answered within a time frame. One question appears after another on clicking a button. How can I use a timer control for this? When the timer expires, all … | |
Re: try: [url]www.elance.com[/url] | |
Re: Are you getting any error messages? Could you post them and the line numbers? | |
Hi! I have a linux server on which I have some drupal websites hosted. I was wondering if it is possible to host asp.net pages on the same linux server? | |
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 the password from that table. So, in the textfield that asks for password, … | |
Re: 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. | |
Re: 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'. Under its Command field properties, goto -> Appearance -> Button Type -> Button | |
Re: You may try to make an MDI and then create instances for your individual forms. | |
Hi! I was wondering how screen captures can be added to a blog? I am using Wordpress. | |
Re: [icode]cmd = New OleDbCommand("select * from table1 where MFG='& combobox1.text &' ", con)[/icode] I guess this should be- [icode] cmd = New OleDbCommand("select * from table1 where MFG='" & Me.ComboBox1.SelectedItem & "'" ,con) [/icode] The code you have at present checks if the value [B]& combobox1.text &[/B] is present in … | |
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 a database. I want to know which one is better and faster for … | |
Re: Ok. You need an Apache Module to do this. Download it here- [URL="http://sourceforge.net/project/showfiles.php?group_id=175077&package_id=223778&release_id=490544"]http://sourceforge.net/project/showfiles.php?group_id=175077&package_id=223778&release_id=490544[/URL] Since your Apache came from Wamp, the default installation path for the module will need to be changed to - C:\wamp\bin\apache\apache2.2.8 (or wherever your Apache is installed) Next, you need to modify your httpd.conf file. To do … |
The End.