111 Posted Topics

Member Avatar for tuse

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 …

0
55
Member Avatar for tuse

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 …

0
40
Member Avatar for vasireddy83

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.

Member Avatar for tuse
0
77
Member Avatar for meerachand

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 = …

Member Avatar for tuse
0
80
Member Avatar for tuse

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- …

0
65
Member Avatar for tuse

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 …

Member Avatar for tuse
0
65
Member Avatar for tuse

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 …

Member Avatar for tuse
0
97
Member Avatar for prasu
Member Avatar for tuse
0
77
Member Avatar for tuse

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 …

Member Avatar for iamthwee
0
53
Member Avatar for spacekat

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 …

Member Avatar for tuse
0
854
Member Avatar for tuse

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 …

Member Avatar for tyagi
0
256
Member Avatar for newtechie
Member Avatar for jeffchan86

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]

Member Avatar for tuse
0
235
Member Avatar for ansari.wajid

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'. …

Member Avatar for tuse
0
123
Member Avatar for pranav_jog
Member Avatar for greeny_1984
0
2K
Member Avatar for jamello

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 …

Member Avatar for jamello
0
175
Member Avatar for prasu

I think he means that the column (i.e. field names) names must be sorted. Not the records

Member Avatar for selvaganapathy
0
118
Member Avatar for knrakesh

Here is the link for an Online Examination Project that I made- [url]http://dotnet.tekyt.info/?p=34[/url] Its free :)

Member Avatar for shadow_cool
0
77
Member Avatar for crafted

Relax dude! Post the code here, we will try and figure out the problem.

Member Avatar for dmf1978
0
251
Member Avatar for pranav_jog
Member Avatar for iSoftware

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.

Member Avatar for dmf1978
0
103
Member Avatar for yasekwa

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 …

Member Avatar for tuse
0
60
Member Avatar for Bill Purkins
Member Avatar for Bill Purkins
0
371
Member Avatar for Bill Purkins

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.

Member Avatar for dmf1978
0
177
Member Avatar for mkdmkd_1

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]

Member Avatar for tuse
0
50
Member Avatar for sam1

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]

Member Avatar for sam1
0
98
Member Avatar for Motvel

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?

Member Avatar for Vilice
0
181
Member Avatar for Techbee

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)

Member Avatar for tuse
0
66
Member Avatar for Waseemn

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()); …

Member Avatar for Alex Edwards
0
152
Member Avatar for tuse

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 …

Member Avatar for Fungus1487
0
90
Member Avatar for kavithabhaskar

I guess the solution to all the problems is the manner in which you have constructed the SQL statement.

Member Avatar for kavithabhaskar
0
162
Member Avatar for paulcat

I have never tried this, but I guess you can try adding Animated GIF's and play around with the visibility.

Member Avatar for J-P
0
78
Member Avatar for pranav_jog

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 …

Member Avatar for tuse
0
109
Member Avatar for tuse

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 …

Member Avatar for serkan sendur
0
141
Member Avatar for tuse

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

Member Avatar for mwasif
0
51
Member Avatar for visual_2005

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 …

Member Avatar for tuse
0
255
Member Avatar for elfranger

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]

Member Avatar for elfranger
0
74
Member Avatar for rk4088

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, …

Member Avatar for Jx_Man
0
1K
Member Avatar for tuse

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 …

Member Avatar for tuse
0
184
Member Avatar for sjshiva04
Member Avatar for prasu
Member Avatar for prasu
0
158
Member Avatar for tuse

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?

Member Avatar for stephen84s
0
99
Member Avatar for tuse

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, …

0
49
Member Avatar for tirso

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.

Member Avatar for tirso
0
719
Member Avatar for Michael Beck

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

Member Avatar for tuse
0
95
Member Avatar for tirso

You may try to make an MDI and then create instances for your individual forms.

Member Avatar for tirso
0
118
Member Avatar for tuse

Hi! I was wondering how screen captures can be added to a blog? I am using Wordpress.

0
66
Member Avatar for kavithabhaskar

[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 …

Member Avatar for tuse
0
905
Member Avatar for tuse

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 …

Member Avatar for Jx_Man
0
145
Member Avatar for prasu

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 …

Member Avatar for tuse
0
2K

The End.