50 Discussion / Question Topics

Remove Filter
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 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
99
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 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 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 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 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 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 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 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('a@b.com', 'Test HTML Mail',$msg,"From: Santa Claus <santa@gmail.com>\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 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
62
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 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 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 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 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 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 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 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 tuse

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

0
66
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 tuse

Ok, I had posted this- [url]http://www.daniweb.com/forums/thread128689.html[/url] and got this piece of code from a link ([url]http://vb.net-informations.com/crystal-report/dynamic_crystal_report_from_sql_query_string.htm[/url]) [code=VB.NET] Imports System.Data.SqlClient Imports CrystalDecisions.CrystalReports.Engine Imports CrystalDecisions.Shared Imports System.Data Public Class Form1 Dim objRpt As New CrystalReport1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim cnn As SqlConnection Dim …

Member Avatar for tuse
0
108
Member Avatar for tuse

Is there any way in which a crystal report be generated by giving the table name at runtime? ie. the user chooses the table whose report is needed and the .rpt files do not exist beforehand.

Member Avatar for sheril85
0
313
Member Avatar for tuse

Hi! I am tuse from India. I am doing my engineering in Computers. Working with VB.NET and ASP at present, see you in the forums!

Member Avatar for zandiago
0
35
Member Avatar for tuse

In the 'Latest Reputation Received' thingy, the icon next to the thread name sometimes shows a green and gray/black sometimes. What is that supposed to mean?

Member Avatar for Dani
0
122
Member Avatar for tuse

I am new to ASP and using Visual Studio 2008. Unlike Visual Studio 2005, 2008 does not seem to have the absolute Layout that can be set for the entire webpage. Each control needs to given the absolute layout and sometimes the control cannot be dragged to the position I …

0
55
Member Avatar for tuse

Is there is query with which I can get the sum of elements in one row? I am trying to develop an atttendance application. Design as follows- <date1> <date2> <date3> <date4>--- <attended> <rollno1> 1 0 1 1 3 <rollno2> 0 0 1 1 2 <rollno3> 0 1 0 0 1 …

Member Avatar for tesuji
0
116
Member Avatar for tuse

I am new to VB. Yesterday I learnt how to connect to a database. My work computer has Microsoft SQL Server (which I could connect to) but I use mySQL at home and do not know how to connect to it. Can somebody please help?

0
53
Member Avatar for tuse

I am an absolute beginner to python. I would like to know how to download and install the modules. I am working on Windows. I am specifically looking to use the 'gasp' module. Any help would be highly appreciated.

Member Avatar for tuse
0
108

The End.