Posts
 
Reputation
Joined
Last Seen
Ranked #1K
Strength to Increase Rep
+6
Strength to Decrease Rep
-1
53% Quality Score
Upvotes Received
5
Posts with Upvotes
5
Upvoting Members
5
Downvotes Received
5
Posts with Downvotes
4
Downvoting Members
5
4 Commented Posts
~50.4K People Reached
About Me

Final Year B. Tech IT @ NITK Surathkal

Interests
[strike]Right now, its blogging.[/strike] Otherwise, its driving my car around town. I'm known for marathon…
PC Specs
HP dv6222 TX Windows Vista / Ubuntu 9.04 2.5 GB RAM nvidia 7400
Favorite Tags

111 Posted Topics

Member Avatar for buffdaemon_live

Use another SQL statement. Construct it like this- [code=vb.net] Dim strSQL2 As String = "SELECT product_id FROM product where product_name=" & Me.cmbDropDown.SelectedItem [/code]

Member Avatar for Mike Bishop
0
6K
Member Avatar for tuse

Hi all! Is there any way in which I can customize the look of the CPanel webmail so as to have custom webmail login with say the company logo and other things on the page?

Member Avatar for Abdullah_6
0
313
Member Avatar for shubhalaxmi

You can try online examination project. Have done one here- [url]http://dontnet.tekyt.info[/url]

Member Avatar for Komal_2
-1
1K
Member Avatar for Yogesh Sharma

You should use a Command Builder to update records so that changes made to the dataset can be reflected into the database. Here is some sample code- [code=VB.NET] Public Class Form1 Dim cn As New Odbc.OdbcConnection("Driver={MySQL ODBC 3.51 Driver};Server=localhost;Database=shreyas; User=root;Password=;") Dim cmd As Odbc.OdbcCommand Dim adp As Odbc.OdbcDataAdapter Dim ds …

Member Avatar for Venkatesh_6
0
6K
Member Avatar for tirso

let us say you have a login button on the registration form which gets enabled on validation of registration details. code for login button- form2.showdialog() in the form_load for the 2nd form, do form1.hide() and in the form closing event for the 2nd form, remember to do form1.close()

Member Avatar for luck_1
-1
6K
Member Avatar for cee_karthi

Check my blog post- [url]http://dotnet.tekyt.info/?p=27[/url] If you still have any doubts, feel free to ask

Member Avatar for Reverend Jim
0
4K
Member Avatar for tuse

Hi Folks - back on DaniWeb after a long time. I used to be an active developer a few years back - now I am leading a team that needs some help. So here goes: We need to create a dynamic menu - (dynamic in the sense that the values …

Member Avatar for JorgeM
0
98
Member Avatar for tuse

Hi all! I am trying to connect to a remote MySQL database in a VB.NET application. 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 …

Member Avatar for pritaeas
0
255
Member Avatar for tuse

I need to check if a databse user exists and if not, create that user. However, I do not know the statement to check if a user already exits. How to check if a user already exists in MySQL?

Member Avatar for Offirmo
0
1K
Member Avatar for tuse

Hey All, I am looking to develop a web application on the Java platform with Oracle 11g database. I asked one of the dealers for a quote & the quote is for "20 users". I don't really know how this works, but will I be requiring a license for 20 …

Member Avatar for alanlawson123
0
58
Member Avatar for aditya_amb

Are you sure you are giving 6 parameters? Could you paste your SQL Command text again? It appears broken in your previous post.

Member Avatar for Ezzaral
0
114
Member Avatar for tuse

In a shell script, I want to 'spool' (record) the shell prompt & command typed alongwith its output into a file. eg: In the script, if I give a 'ls' command, the file should contain: [CODE] <<root@server ~>>$ ls a b c.txt <<root@server ~>>$ [/CODE] i.e. the command as if …

Member Avatar for shibblez
0
2K
Member Avatar for preethi_ga

I think it is a better option to use a binding source to solve your problem. You can attach data to a component using the following- dim ds as new dataset dim bs as new bindingsource(ds,"<table name>") me.textbox1.databindings.add("Text",bs,"<field name>") Next button- bs.Movenext() Previous- bs.MovePrevious()

Member Avatar for 123dev
0
2K
Member Avatar for kalyanapu

I have made a similar project. You might want to see the code- [url]http://dotnet.tekyt.info/?p=34[/url] In case you have any doubts about the code, do ask here.

Member Avatar for nirajs
0
263
Member Avatar for tuse

Hi, I just installed Tomcat 5.5 and could see the default index page (with images missing) Upon running the sample JSPs, I get the following- HTTP Status 404 - Servlet default is not available In the logs, I can see a Root Cause saying something like- "java.lang.NoClassDefFoundError: org/apache/naming/resources/Resource" Basically, I …

Member Avatar for peter_budo
0
152
Member Avatar for tuse

Hi! There is a file on my desktop of size 0 bytes. When I try to delete it, it says "Could not find this item" What is the problem? This is really irritating me. Any help would be highly appreciated

Member Avatar for earningsilence
0
138
Member Avatar for rajeesh_rsn

1. Keep an array to hold the random numbers 2. In order to add an element to this array, generate a random number in the required range, and check the array to see if the generated number is already a part of the array (using foreach) 3. If the generated …

Member Avatar for rajesh_kanna
0
146
Member Avatar for tuse

Hi, I am running Windows Vista. Sometimes my browsers will abruptly stop displaying webpages. The error on Mozilla says- Unable to Connect, on Safari - Winsock Error 10013 I am able to ping, my DNS servers are working (so its not a connectivity problem- other computers on the same network …

Member Avatar for tuse
0
125
Member Avatar for DoEds

[QUOTE=DoEds;917584] *problem* How to exit this program when the user assigned k to 1 ? [/QUOTE] Use exit() function [url]http://www.cprogramming.com/fod/exit.html[/url]

Member Avatar for DoEds
0
100
Member Avatar for ayesha789

Check with your network administrator if there is a mail server on your network. If you are running the website on your own server, you might have to configure your mail settings on the localhost

Member Avatar for ayesha789
0
166
Member Avatar for Dream2code
Member Avatar for sumeetdesaeee

[QUOTE=sumeetdesaeee;915223] Sample question:- Wat will the expression ABC AB AC will become after postfix operation?? [/QUOTE] The expression contains only operands. Where are the operators? If you have a string in infix, ie. in form A+B, and you wish to have it in the form AB+, you can use the …

Member Avatar for Dream2code
0
204
Member Avatar for rcbhat

[QUOTE=Kurt Kubing;917074]I think there's only one reason why your code will never work as you expected: you declare read-only strings. Although you didn't declare it with the const keyword, declaring string that way makes your string variable untouchable. [/QUOTE] Its possible that what the original thread starter meant by 'swap' …

Member Avatar for tuse
0
291
Member Avatar for makavelixx

printf("Trip Summary")[COLOR="Red"];[/COLOR] You are missing the semicolon here and here printf("Enter Total amount of fuel required")[COLOR="Red"];[/COLOR] and why do you have the return statement outside the main function?

Member Avatar for Pavan_
0
278
Member Avatar for tuse

Hi, I was reading the book "Fundamentals of Database Systems" by Elmasri and Navathe. In that it is given that for a relation to be in 2nd NF, every non prime attribute (attribute which is not a part of any candidate key) should be fully functionally dependent on any candidate …

0
94
Member Avatar for tuse

Hi, On my website, I am using breadcrumb links- A->B->P X->Y->P (same P) The breadcrumbs and other links change depending upon whether a spider visits P from B or Y. So what is the solution to this?

Member Avatar for tuse
0
123
Member Avatar for jalandoonk

This is how I did it- [code=vb.net] Public Class Form4 Private Sub Form4_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim cn As New Odbc.OdbcConnection("Driver={MySQL ODBC 3.51 Driver};Server=localhost;Database=mydb; User=root;Password=xxxxx;") Dim cmd As New Odbc.OdbcCommand("Select * from mytable", cn) cn.Open() Dim dr As Odbc.OdbcDataReader dr = cmd.ExecuteReader While dr.Read …

Member Avatar for venu_dw
0
138
Member Avatar for neutralfox

Hi, [LIST] [*]There are 65536 ports (TCP) i.e 0-65535 [*]Port No 0 to 1023 are reserved for well known services (http, ftp, telnet) [*]If you try to use a port already in use, you will get a [I]BindException[/I] [*]You can run a port scanner program to check what your ports …

Member Avatar for JamesCherrill
0
151
Member Avatar for tuse
Member Avatar for tuse

In a application for online test, the rank list is computed as follows- [CODE] select * from test order by marks DESC[/CODE] How can we make sure that the first record gets rank1, second rank2 and so on... I want to add the field to the table. Can this be …

0
91
Member Avatar for tuse

Hi, I am trying to implement a client server wherein the client must be able to download a requested file off the server and upload a file onto the server. I have implemented the download part of the code using TCP Sockets. In the upload part from the client to …

Member Avatar for JamesCherrill
0
95
Member Avatar for preethi_ga

Well when you click on the button, the page is posted back to the server and you start again with rec_count as 0. Thus when you click on the Next button, you see only your first record and when you say previous (which is again a button click), it does …

Member Avatar for srikanthkadem
0
757
Member Avatar for tuse

Hi ! I really don't know where to put this thread up, so this might be a misfit. I was wondering if we could have new forums on DaniWeb, especially for RIA's like Flex, JavaFx etc.. I guess that would help DaniWeb to scale greater heights.

Member Avatar for peter_budo
0
139
Member Avatar for tuse

Hi, I am involved in a project which requires our team to build a web portal for our college. We have gone about the collection of requirements. Hereafter, I need to know which is the best software development model to follow for the creation of a web portal. We tried …

0
79
Member Avatar for rajarajan2017

Or you could see youtube video tutorials by Mike Lively, those are good to get started.

Member Avatar for seanansari
0
138
Member Avatar for tuse

Hi! I am trying to initiate a client-server talk but for some reason it is not working. The server starts running, but when I start the client nothing happens. Please point out the mistake in my code- Server- [code="java"] import java.io.*; import java.net.*; public class MyServer { public static void …

Member Avatar for tuse
0
113
Member Avatar for tuse

Hi all! I have a HP dv6000 laptop, bought it around 18 months back. The laptop battery has fallen to 10% of origin capacity. I'm trying to buy a new battery, but the HP battery costs a bit too high... Has anybody used a battery on the HP 6000 series …

Member Avatar for jermaghs07
0
111
Member Avatar for tuse

Hi! How can I include CSS styles in a PHP HTML Email? This is what I have so far- [code=php] <?php $msg='<html>This is a <em>test</em> message</html>'; mail('[email protected]', 'Test HTML Mail',$msg,"From: Santa Claus <[email protected]>\n" . "MIME-Version: 1.0\n" . "Content-type: text/html; charset=iso-8859-1"); ?> [/code]

Member Avatar for tuse
0
93
Member Avatar for tuse

Hi! Sometimes while browsing, suddenly I stop getting sites, but I am able to ping sites. If I reboot, it starts working correctly again. Here is my HJT log- Logfile of Trend Micro HijackThis v2.0.2 Scan saved at 15:12:52, on 18-10-2008 Platform: Windows Vista (WinNT 6.00.1904) MSIE: Internet Explorer v7.00 …

Member Avatar for Suspishio
0
161
Member Avatar for jabb
Member Avatar for tuse
0
59
Member Avatar for Basils57

Check your ethernet connected computer, does it also use automatic IP? Or are the IP settings manually entered there?

Member Avatar for Merlin33069
0
163
Member Avatar for xty

try this- [code=php] <?php $name="foo"; $age="bar"; header("Location: print.php?name=".$name."&&age=".$age); ?> [/code]

Member Avatar for Anamika1
0
329
Member Avatar for cutieann12

Hi! Just verify these- Do you have the MySQL Connector installed? Are you sure your connection string is correct?

Member Avatar for tuse
0
107
Member Avatar for tuse

Hi! I am using a code to echo a row in a database table using ajax. The code is working correctly. The ajax will send the response text as follows- [code] document.getElementById('outputText').innerHTML = httpObject.responseText; [/code] My question is how can I retrieve individual fields into separate Id's?

Member Avatar for tuse
0
81
Member Avatar for tuse

Hi! I am using a code to echo a row in a database table using ajax with PHP. The code is working correctly. The ajax will send the response text as follows- [code] document.getElementById('outputText').innerHTML = httpObject.responseText; [/code] My question is how can I retrieve individual fields into separate Id's?

Member Avatar for tuse
0
176
Member Avatar for tuse

Hi! This is the code I have for sending mail- [code=vb.net] Imports System.Web.Mail Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load End Sub Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim Mailmsg As New System.Web.Mail.MailMessage() SmtpMail.SmtpServer = "mysmtpserver" …

Member Avatar for tuse
0
184
Member Avatar for tuse

Hi! I am using the following code for a file upload- [code=php] <?php if(isset($_POST['b1'])) { if($_FILES['uploadedfile']['name'] !="") { $target_path = "/home/infotech/myhomepage/uploads/"; $target_path = $target_path . basename( $_FILES['uploadedfile']['name']); echo("Temporary Location is: ".$_FILES['uploadedfile']['tmp_name']."<br />"); echo("Target Path is: ".$target_path."<br />"); if(move_uploaded_file($_FILES['uploadedfile']['tmp_name'], $target_path)) { echo "The file ". basename( $_FILES['uploadedfile']['name']). " has been uploaded"; …

Member Avatar for tuse
0
215
Member Avatar for tuse

Hi! I have the following code- [code=vb.net] Imports System.Data.OleDb Public Class Form1 Dim x As String = """" Dim cs As String = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=c:\sbi\mm.xls;Extended Properties=" & x & "Excel 12.0 Xml;HDR=YES" & x & ";" Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim cn …

0
77
Member Avatar for tuse

Hi! In the following code- [code=php] <?php header('Cache-Control:no-cache'); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <body> <form id="form1" name="form1" method="post" action="<?php echo($_SERVER['PHP_SELF']);?>"> <p> <label>Name: <input type="text" name="txt" id="txt" value="<?php $_POST['txt'];?>" /> </label></p> <p> <input type="submit" name="b1" id="b1" …

Member Avatar for tuse
0
91
Member Avatar for tuse

Hi! Can anybody please explain this- [code="php"] <?php $num=5; echo($num.++$num); echo("<br />".$num); ?> [/code] prints: 66 6 while [code="php"] <?php $num=5; echo($num++.++$num); echo("<br />".$num); ?> [/code] prints: 57 7 how exactly is the parsing done?

Member Avatar for ShawnCplus
0
61

The End.