5,346 Posted Topics

Member Avatar for abhishaki

This is your post # 12 and yet your are not aware of how you post source code? Please read [URL="http://www.daniweb.com/forums/announcement18-4.html"]this[/URL] before you post any thing.

Member Avatar for abhishaki
0
170
Member Avatar for SteveInAlabama

Welcome SteveInAlabama. >I am forced by the environment to work in the same directory as other projects. Create New Project and save the project in new folder. > How do I tell Solution Explorer to include them, and how do I tell Solution Explorer not include the other modules that …

Member Avatar for SteveInAlabama
0
126
Member Avatar for phillipdaw

you may try to use System.IO.StringRead object and read this object line by line and split it. I think this whould be faster ... I am guessing.

Member Avatar for phillipdaw
0
77
Member Avatar for a496761

Do you want to display crystal report programatically? If so then create instances of CrystalReportSource , CyrstalReportViewer, and DataSet classes.

Member Avatar for a496761
0
121
Member Avatar for Redserpent

Welcome Redserpent. InputBox function returns zero length string if cancel button is clicked. Test this code: [CODE=VB.NET] Dim m As String = InputBox("enter name : ") MsgBox(m.Length) [/CODE]

Member Avatar for kvprajapati
0
329
Member Avatar for mc080201812

Welcome mc080201812. Before you post anything you must read [URL="http://www.daniweb.com/forums/announcement9-3.html"]How to post your problem & source code?[/URL] Source code must be surrounded with BB code tags. Your post must be moved to JSP forum.

Member Avatar for javaAddict
0
85
Member Avatar for funwithme

Welcome funwithme. Please read [URL="http://www.daniweb.com/forums/announcement61-3.html"]How to post?[/URL]. You may use request.getParameterValues() method. [CODE=JSP] <%@ page language="java" %> <% String []ar=request.getParameterValues("name"); String cmd=request.getParameter("cmd"); if(cmd==null) cmd=""; if(cmd.equals("Submit")){ for(int i=0;i<ar.length;i++) { out.println(ar[i]); } } %> <form method="post" action="page3.jsp"> <br/><input type="text" name="name"/> <br/><input type="text" name="name"/> <br/><input type="text" name="name"/> <br/><input type="text" name="name"/> <br/><input type="text" name="name"/> …

Member Avatar for kvprajapati
0
151
Member Avatar for NetGD

Welcome NetGD. ReadXML method create two DataTable instances. These two DataTable instances forms a relationship. [CODE=C#] public static DataTable GetPeople() { DataSet dsStore = new DataSet(); dsStore.ReadXml("example.xml"); // Test the count of tables and a relation MessageBox.Show(dsStore.Tables.Count + " " + dsStore.Relations[0].RelationName) return dsStore.Tables["person"]; } [/CODE] [CODE=C#] private void FillList() …

Member Avatar for kvprajapati
0
1K
Member Avatar for pupilstuff

Lazy.. why dono't you read [URL="http://www.daniweb.com/forums/announcement24-4.html"]http://www.daniweb.com/forums/announcement24-4.html[/URL].

Member Avatar for kvprajapati
0
135
Member Avatar for pupilstuff

[QUOTE=pupilstuff;888761]hi , I have made cystal report by wizard but i want to make it through code i as using vs 2005 can anyone help me[/QUOTE] Here are the steps: 1. Create a Data Source. Create a public sub-class of DataSet. [CODE=C#] namespace dbo { public class MyDS : DataSet …

Member Avatar for pupilstuff
0
88
Member Avatar for sebastian3

[QUOTE=sebastian3;890776]Does anybody know to import Gmail contacts. I have downloaded a useful tutorial at : [EMAIL="http://johnvey.com/features/gmailapi/"]http://johnvey.com/features/gmailapi/[/EMAIL] which is the only one available in search engines. But it is not working !![/QUOTE] What is your problem about import gmail contracts? Can I see your code?

Member Avatar for sebastian3
0
283
Member Avatar for waelaltaqi

Welcome waelaltaqi. You can modify line # 57 [CODE=PHP] <td><a href=\"somepage.php?customerid=$customerid\" target=\"_blank\">somepage.php</a></td> [/CODE] and write following code in somepage.php [CODE=PHP] <?php $custmerid=$_REQUEST["customerid"]; $sql="select * from yourtablename where customerid='$customerid'"; ... ... ?> [/CODE]

Member Avatar for nikesh.yadav
0
108
Member Avatar for shers

>Is there any way I can select multiple items in a listview programatically in WPF? Yes.

Member Avatar for kvprajapati
0
65
Member Avatar for nish123

[QUOTE]is it possible to have Postback method on page Refresh.?? (Hold the values of a form on page refresh..!!) [/QUOTE] You want to preserve the data or state of form input tag even after the page is posted back. State management : home-made measures needed to preserve the state. Traditionally, …

Member Avatar for OmniX
0
319
Member Avatar for tiger86

First problem at a line no 1st. Remove [COLOR="Red"]{[/COLOR]. [CODE=PHP] <?php { [/CODE] Another is : Function should be [COLOR="red"]isset(...)[/COLOR] [CODE=PHP] if(issett($mia) && in_array('firstname',$mia)) [/CODE]

Member Avatar for diafol
0
159
Member Avatar for Plyswthsqurles

Change the query : delete from.... [CODE=PHP] $query = "SELECT FROM email_list WHERE id = $delete_id"; [/CODE]

Member Avatar for Plyswthsqurles
0
316
Member Avatar for CppFTW

Here is a problem: Use \r instead of \n. [CODE=C++] data = Tokenize(s, '\r'); [/CODE]

Member Avatar for CppFTW
0
2K
Member Avatar for history84084
Member Avatar for RaniThomas

>whether i hv to write a connection code in (1) execute method in Action class, OR in (2) servlets, OR in (3) seperate DAO class Option is (3) DAO class. DAO class is an implementation of Model of MVC. Servlet and struts never involve in design of Model classes. - …

Member Avatar for kvprajapati
0
257
Member Avatar for mohankumar554

Here are some steps: 1. Open Excel document using MS-Office API. 2. Open MySql Database connection. 3. Read one after one cell and form a record. 4. Prepare a command object. 5. Execute the query. 6. Go to step 2 till excel sheet has data. If you are having source …

Member Avatar for kvprajapati
0
86
Member Avatar for brandongood

Maximum value is to stored with int type is 2147483647. So, you cannot use value of int type. Tryout this code: [CODE=Java] long value=1; for(int i=1;i<=31;i++) { value=value * 2; System.out.println(i + " " + value); } [/CODE]

Member Avatar for brandongood
0
87
Member Avatar for gitech

[QUOTE=gitech;890615]Hai friends, i want to invoke .net webservice([url]http://www.meizlik.com/Service.asmx[/url]) in java, how can i invoke, pass parameters to get result. please help me for this problem.[/QUOTE] If you are intermediate with java then try to create a project in NetBean and add webservice client code snippet. Use url with WSDL parameter. …

Member Avatar for kvprajapati
0
91
Member Avatar for krishnampkkm

[QUOTE=krishnampkkm;889855]hii How to open a directory using createfile() ? Any idea..? Thanking you.[/QUOTE] Use FILE_FLAG_BACKUP_SEMANTICS flag.

Member Avatar for krishnampkkm
0
4K
Member Avatar for ric1950
Member Avatar for ric1950
0
237
Member Avatar for VIPER5646

Your Debug\Bin or Release\Bin folder is a deployment folder. However, you may create a setup using Visual Studio using : 1. File + New Project + Other Project Types + Setup Project template. 2. Copy content of ..\bin> to the application folder 3. Create shortcut icons. 4. Build it.

Member Avatar for kvprajapati
0
49
Member Avatar for quibbie

>I uploaded all my files through Cpanel to my public_html root folder and set my permissions but my page is still not displaying when I type in the URL. 1. Did you check .htaaccess? 2. Did you know whether nameserver ip is assigned or not. >I have another domain name …

Member Avatar for kvprajapati
0
134
Member Avatar for ritu verma

[QUOTE=ritu verma;890084]I have a treeview with two nodes..I m showing the contextmenu when the user clicks on any portion of treeview .... [code] Public Class Form2 Private Sub Form2_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Try Dim N As New TreeNode() Me.TreeViewCategories.Nodes.Clear() With Me.TreeViewCategories.Nodes N = .Add("", …

Member Avatar for ritu verma
0
143
Member Avatar for functionalCode

This is your post no 4th. You haven't follow the rules; How to place source? Please read [URL="http://www.daniweb.com/forums/announcement9-3.html"]http://www.daniweb.com/forums/announcement9-3.html[/URL]. Source code must be surrounded with CODE tags. [CODE=C#] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace DBApp { public partial class Form1 …

Member Avatar for Ramy Mahrous
0
79
Member Avatar for everettnewell
Member Avatar for everettnewell
0
157
Member Avatar for IfNot

Welcome IfNot. Use title attribute of HTML tag to show a tool tip.

Member Avatar for IfNot
0
63
Member Avatar for meb111

meb111>I need to know the [COLOR="Red"]HWND [/COLOR]of a window. It's a Window data type. CreateWindow or CreateWindowEx() function returns a window handle that uniquely identifies the window. A program uses this handle to direct their actions to that window. >but i dont know how to get that. Through FindWindow or …

Member Avatar for kvprajapati
0
221
Member Avatar for navachaitanya

Welcome navachaitanya. Read [URL="http://www.daniweb.com/forums/announcement18-4.html"]How to post?[/URL]. Your code should be surrounded by BB Code Tags. [CODE=VB.NET] Private Sub UpdateButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles UpdateButton.Click Try Dim com As New OleDbCommand com.Connection = con com.CommandText = "Update Details Set CUSTOMERNAME= '" & TextBoxcname.Text & "',CUSTOMERNO= '" & …

Member Avatar for sweetsasthi
0
85
Member Avatar for sam023

[QUOTE=sam023;887889]Hello I want to get response or content of a url..!!! [code=php] $url="http://203.142.18.33:4480/3030service/airtel.php?mobile=".$mobile."&msg=".$msg."&from=".$from; $file=file($url) ; print_r($file); [/code] but i got an error [function.file]: failed to open stream: HTTP request failed- Response of the file..!! with file_get_contents it showing same error..!! is there any method other to get the response..!! with …

Member Avatar for digital-ether
0
2K
Member Avatar for themaster

[QUOTE=themaster;886395]Does anyone know how to give a GUI look to your C++ "Console Application". I cannot use Win32 API or any other template except the console application because I use Turbo C++ 3.0 IDE for development and I want my Application to be platform independent while using WIN32 API will …

Member Avatar for Ancient Dragon
0
293
Member Avatar for ubest25

Welcome ubest25. Please read [URL="http://www.webdeveloper.com/forum/showthread.php?t=197290"]this.[/URL]

Member Avatar for kvprajapati
0
42
Member Avatar for mccs

Welcome mccs. This is your first post and it is very impressive. You missed Submit Button and also "fruits" is an array and its elements should be written into a table. [CODE=PHP] <?php $cmd=$_REQUEST["cmd"]; // If submit button is pressed if(isset($cmd)) { $con = mysql_connect("localhost","root",""); if (!$con) { die('Could not …

Member Avatar for mccs
0
570
Member Avatar for mailtogsuresh
Member Avatar for shahbaz5144842

Your source code should be surrounded by BB code tags. [CODE=Jsp] ... <script type="text/javascript"> function hyperlinkvalue(passvalue) { var hyper=passvalue; alert(hyper); document.formName.textfieldtoassignlinkdata.value=hyper; } </script> //"ref is the Arraylist" // i is the integer of for loop for(i=0;i<ref.size();i++) { %> <a href="<%=ref.get(i).toString()%>" name="<%=i%>" onclick="hyperlinkvalue("<%=ref.get(i).toString()%>")"><%out.println(ref.get(i).toString()); %></a> <% } %> [/CODE]

Member Avatar for kvprajapati
0
68
Member Avatar for jincom

There are two copies of your database. One which is located in project-solution folder and another is at debug\bin folder. The path you mentioned is target to debug\bin folder. Database file added with project consider as a resource and VS creates a copy of database to the debug\bin folder. To …

Member Avatar for kvprajapati
0
85
Member Avatar for sarithak

As you said that you are familiar with PHP/MySql then read this tutorial at [URL="http://www.joomla.org/about-joomla/getting-started.html"]http://www.joomla.org/about-joomla/getting-started.html[/URL]

Member Avatar for kvprajapati
0
65
Member Avatar for mohankumar554
Member Avatar for kvprajapati
0
42
Member Avatar for furqan219

Headers must be written to the response before the any statement write anything to response.

Member Avatar for furqan219
0
290
Member Avatar for VernonDozier

urlencode function: [CODE=PHP] <a href="yourpage.php?gallery=<?php echo urlencode("Sand_&_Surf");?>">HM</a> [/CODE]

Member Avatar for VernonDozier
0
111
Member Avatar for seemant_sun

How many times a pointer operator can appear with pointer to pointer declaration. [CODE=C] int a; int *p; int **q; int ***r; int ****s; .... p=&a; q=&p; r=&q; s=&r; ... [/CODE] Is there any limit imposed by ANSI?

Member Avatar for Ancient Dragon
0
137
Member Avatar for tulipputih

This is your 11th post and still you have no idea how to post source code? Please read [URL="http://www.daniweb.com/forums/announcement17-4.html"]http://www.daniweb.com/forums/announcement17-4.html[/URL] You should paste your code in BB tags [CODE=PHP] <?php $query= mysql_query(" SELECT * FROM office WHERE officeID='" . $_GET['officeID'] . "'"); while($entry=mysql_fetch_array($query)) { echo "<br/>Name : $entry[name]"; echo "<br/>Location : …

Member Avatar for Atli
0
154
Member Avatar for danielgee
Member Avatar for danielgee
0
156
Member Avatar for thacravedawg

This is 32nd Post of thacravedawg. The sun isn't up yet - Wake up and format the code I really feel like i'm missing something here... Here's what I have [CODE=ASP.NET] protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { string qryString = Request.QueryString["id"]; fillContents(qryString); } } [/CODE] so …

Member Avatar for thewebhostingdi
0
203
Member Avatar for nonon
Member Avatar for pupilstuff

[QUOTE=ravi89;886726]Use built-in validators like: compare validtor RegularExpression validator[/QUOTE] Set UICulture & Culture - Globalization/Localization. [CODE=ASP.NET] <%@ Page Language="C#" .... UICulture="en-GB" Culture="en-GB" ....%> ... .. [/CODE]

Member Avatar for thewebhostingdi
0
119
Member Avatar for lagyossarian

[QUOTE=lagyossarian;888071]I have a SQLDataSource that has an XML string as its data value. I want to blast out the raw XML to the webpage. How do I do that? Thanks in advance for any help or assistance.[/QUOTE] If the control is GridView/DetailsView then use BoundField and set HTMLEncode to false. …

Member Avatar for thewebhostingdi
0
53

The End.