Click here to Skip to main content
15,167,425 members

Comments by djrocks0101 (Top 89 by date)

djrocks0101 8-Nov-12 0:13am View
I want to create a service which retrieve some data from database and send an email to me in every minute. As I have said I have created it but not able to start it..
So I need some help.
djrocks0101 8-Nov-12 0:11am View
I have installed the service successfully but I am not able to start it as it pop ups a message "The Service on Local system started and then stopped. Some Services stop automatically they are not in use by other service or program"
please help
djrocks0101 7-Nov-12 9:32am View
thanks bro.
this code worked for me.
my 5 :)
djrocks0101 6-Nov-12 7:34am View
I have edited my question and added an sample array which i wanna iterate through
djrocks0101 6-Nov-12 7:33am View
Thanks Milind, I have added an sample array, which I want to iterate through..
djrocks0101 27-Aug-12 6:33am View
Thanks Mehdi Gholam :)
I wanna know one more thing, Is there any other way to run multiple forms asynchronously?
djrocks0101 16-Aug-12 6:47am View
whats the significance of using multiple eval code file for a single aspx page
djrocks0101 24-Jul-12 4:05am View
here is the code..

<asp:UpdatePanel ID="UpdatePanel2" runat="server">
<div ID="headerDiv">



<asp:LinkButton ID="lBtn_Updates" runat="server" BackColor="#CC0000"
CausesValidation="False" Font-Underline="False" ForeColor="White"

<asp:AsyncPostBackTrigger ControlID="btn_search" EventName="Click"/>

here is the code..

<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<div ID="headerDiv">


<asp:Timer ID="Timer1" runat="server" Interval="1000" ontick="Timer1_Tick">

<asp:LinkButton ID="lBtn_Updates" runat="server" BackColor="#CC0000"
CausesValidation="False" Font-Underline="False" ForeColor="White"

<asp:AsyncPostBackTrigger ControlID="Timer1" EventName="Tick"/>
djrocks0101 19-Jul-12 3:01am View
thanks :)
djrocks0101 18-Jul-12 4:40am View
How its going to help me on webpage because on webpage I have to check when a trigger is fired.
djrocks0101 18-Jul-12 4:24am View
Actually I am using ajax timer( interval=1000) to fetch data from database and wanna know that ,is there any other method to do so because it increases the load on database.
djrocks0101 18-Jul-12 4:12am View
got the answer..Thanks.
djrocks0101 18-Jul-12 2:50am View
Thanks.My 5 :)
djrocks0101 9-Jul-12 9:30am View
If I wanna set the checked property of the check box in grid view then how it can be done?
please help..
djrocks0101 9-Jul-12 9:29am View
what if I wanna set the checkbox's value?
djrocks0101 16-Jun-12 5:42am View
I am using VS 2005..I think this is the issue..
djrocks0101 14-Jun-12 7:32am View
yup..its working..thanks..
djrocks0101 14-Jun-12 7:31am View
oh yes ..thanks..barneyman.... :)
djrocks0101 7-Jun-12 2:19am View
thanks Manfred, actually what I want to do is, to create a method that will accept the form name as string and method will open that form "if that form is not already open"..that's where facing the problem.. please help..
djrocks0101 4-Jun-12 8:36am View
its not working for me..
djrocks0101 4-Jun-12 8:14am View
its fetching 12 records of one client only..I need 12 records from each client..
djrocks0101 11-May-12 1:30am View
Link is not working..
djrocks0101 11-May-12 1:19am View
The problem is still there..if I am opening the form with normal window state over a maximized window state form, the form with normal window state also getting maximized..please help..
djrocks0101 9-May-12 0:52am View
Thanks for the answer Andy411, it's an awesome link..I wanna know one thing that, do I need some hardware device to connect my land-line phone(pstn) to my computer..?
djrocks0101 3-May-12 10:11am View
Thanks you sir..As you might have seen or worked on Quest's Sql Monitor utility which helps to track all the oracle commands passed by aparticular software as its being select by the user in sql monitor. I wanna have the same functionality in my software..
djrocks0101 27-Apr-12 9:04am View
drill down row means row inside a row..there you will able to view drill down query's solution i.e. "if this then this"
it provides a tree like structure in each row.
djrocks0101 27-Apr-12 3:30am View
djrocks0101 26-Apr-12 7:20am View
Thanks for reply..but I am still having the same exception...

{System.Runtime.InteropServices.ExternalException: A generic error occurred in GDI+.
at System.Drawing.Image.Save(String filename, ImageCodecInfo encoder, EncoderParameters encoderParams)
at System.Drawing.Image.Save(String filename, ImageFormat format)
djrocks0101 25-Apr-12 8:36am View
sir please suggest me some solution by code..
djrocks0101 25-Apr-12 7:18am View
I have improved my question, now it includes the code..
djrocks0101 25-Apr-12 7:10am View
dear I wanna send image as body, but the link given above sends the image as attachment.
djrocks0101 21-Apr-12 8:15am View
This code sample sends the image file as an attachment..and I wanna mail it as html body..
djrocks0101 21-Apr-12 7:58am View
This one is not working for me..
djrocks0101 21-Apr-12 5:45am View
Yeah you are right..It was missing the permission to create file in that directory..
I just changed the drive to D:\ and it worked for me.
djrocks0101 21-Apr-12 5:35am View
Thanks OG.
djrocks0101 17-Apr-12 9:50am View
You can use dynamic views
djrocks0101 17-Apr-12 9:41am View
show me your code..
djrocks0101 17-Apr-12 9:35am View
I am having high system configuration..having 2GB of RAM and Dual core intel processor..I want some solution by code..
djrocks0101 17-Apr-12 2:32am View
then try javascript code onclick event of button

window.onload = function() {
var w ="about:blank",
"main", "width=640,height=480",
window.opener = "main";"", "_parent",
djrocks0101 17-Apr-12 2:14am View
Thanks for your answer sir..
Actually, the file that I am importing is trade file from different stock exchanges and the volume of records are in millions...I just wanna know that what can be different options to optimize the performance of bulk insert...
please suggest me some good solutions.....
djrocks0101 5-Apr-12 7:24am View
But still have the same problem...
djrocks0101 5-Apr-12 7:18am View
ok I got it..
djrocks0101 5-Apr-12 7:16am View
here Key name is (Default)..system generates a run-time error..when I am trying this..RegistryKey key = Registry.CurrentUser.OpenSubKey("(Default)", true)
djrocks0101 2-Apr-12 7:15am View
djrocks0101 2-Apr-12 7:14am View
thanks 5..:)
djrocks0101 2-Apr-12 6:54am View
Thanks OriginalGriff, One more thing I wanna know that, If I wish to send mail body formated as web page then how should I do that..please help..
djrocks0101 29-Mar-12 5:37am View
I want the list of database names..not current db which is in use...Please help..
djrocks0101 9-Mar-12 6:29am View
djrocks0101 9-Mar-12 5:21am View
Thanks for the solution. But please let me know one thing that What is the reason behind this exception and what are the side effects of this solution.
djrocks0101 29-Feb-12 3:25am View
thanks for the answer 5 :)
djrocks0101 29-Feb-12 3:11am View
at f.textBox1.Text=textBox1.Text;
djrocks0101 27-Feb-12 5:51am View
RegistryKey rk= baseRegistryKey;
rk.OpenSubKey("your keyword");
foreach (var k in rk.GetSubKeyNames() )
djrocks0101 27-Feb-12 5:43am View
But how do I search all registry keys with specific string..because I am not having any idea, that how many times do I need to iterate..and here if I use the code above, the nesting of loop will increase and increase the time complexity as well..
please help..
djrocks0101 25-Feb-12 0:56am View
I have gone through it, but the problem is, how do I iterate through all subkeys in HKEY_LOCAL_MACHINE\SOFTWARE containing a specific word in its name or value.
djrocks0101 11-Feb-12 5:00am View
I have specified the ReportSource..
djrocks0101 11-Feb-12 4:58am View
As Given above,


This statement is generating a run-time exception as
"Invalid Report File Path"
djrocks0101 11-Feb-12 4:48am View
This is the code I am using..

string cmd = "Select * from system.Branch";
OracleDataAdapter oda = new OracleDataAdapter(cmd,Connect.con);
DataSet ds = new DataSet();
crystalReportViewer1.ReportSource = reportDocument1;
djrocks0101 11-Feb-12 4:43am View
I have fetched the data into the dataset, but not getting the code to set that into the data report. please help..
djrocks0101 8-Feb-12 7:40am View
Please help me to remove this bug.
djrocks0101 26-Dec-11 13:12pm View
Thanks Richard.
djrocks0101 11-Sep-11 1:44am View
Thanks SAKryukov..My 5!
djrocks0101 5-Sep-11 13:56pm View
Actually I am trying to implement that in WPF Browser Application but finding some runtime error.
djrocks0101 5-Sep-11 13:52pm View
Sorry . Its WPF Browser Application..
djrocks0101 5-Sep-11 13:40pm View
Is it possible to implement the above program as web based application?
djrocks0101 5-Sep-11 9:48am View
Its very usefull. My 5 :)
djrocks0101 5-Sep-11 9:20am View
Thanks Mika....
djrocks0101 5-Sep-11 9:04am View
I wanna pick color from (x,y) coordinate of a given image using mouse over event..please help
djrocks0101 23-Aug-11 12:23pm View
but how its possible in case of char.
char c='A';
djrocks0101 23-Aug-11 12:17pm View
thanks.. Collin..
djrocks0101 23-Aug-11 12:16pm View
djrocks0101 23-Aug-11 12:11pm View
but how its possible in case of char.

char c='A';
djrocks0101 23-Aug-11 11:47am View
Relational and transactinal both.
djrocks0101 23-Aug-11 11:43am View
here first one is used like a variable while other like a class which is using constructor for initialising the String. I wanna know, why is it so? How the first case is working at background. please explain the answer.
djrocks0101 22-Aug-11 3:13am View
I just wanna retreive Image data from database in a Byte[] array using SqlDataAdapter
djrocks0101 11-Aug-11 9:56am View
do I need to download any driver for making connection to db2 database?
djrocks0101 11-Aug-11 9:46am View
djrocks0101 10-Aug-11 9:59am View
Give me any reference if available so that I can proceed with my project.
djrocks0101 10-Aug-11 9:35am View
thanks Sam.
djrocks0101 10-Aug-11 9:34am View
djrocks0101 9-Aug-11 11:55am View
I am not having knowledge of any such third party tool so please tell any such tool so that I can implement that in my project.
djrocks0101 5-Jul-11 1:47am View
thanks...its working..
djrocks0101 5-Jul-11 1:26am View
here is the code of my project

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using System.Speech.Recognition;

namespace speech_Recognition
/// Interaction logic for Window1.xaml

public partial class Window1 : Window
private SpeechRecognitionEngine _recognizer = new SpeechRecognitionEngine();

public Window1()

private void button_Rec_Click(object sender, RoutedEventArgs e)
_recognizer.LoadGrammar(new DictationGrammar());
_recognizer.SpeechRecognized += new EventHandler<speechrecognizedeventargs>(_recognizer_SpeechRecognized);

void _recognizer_SpeechRecognized(object sender, SpeechRecognizedEventArgs e)
foreach (RecognizedWordUnit word in e.Result.Words)
djrocks0101 5-Jul-11 1:10am View
Now I am using microsoft speech SDK, but now I'm getting a new exception
in this line of code:


and exception is as show below:

ArgumentException was Unhandled
Value does not fall within the expected range.
djrocks0101 5-Jul-11 1:01am View
I wanna use audio frequency representation for voice matching.
djrocks0101 4-Jul-11 14:57pm View
thanks, but I want some books..
djrocks0101 4-Jul-11 14:46pm View
djrocks0101 4-Jul-11 13:28pm View
djrocks0101 3-Jul-11 4:50am View
I have googled but not getting the solution....
djrocks0101 3-Jul-11 4:43am View
but I'm not getting the code for pattern matching as it is used in face recognition system...