Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
H

Hemant Thaker

@Hemant Thaker
About
Posts
113
Topics
72
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • EXT JS 2.2 - File upload control
    H Hemant Thaker

    Hi All, I have been trying to have file upload control in my portal using extJS, but failing. I am using EXT JS version 2.2. Below is the code I am using for file upload control. { xtype: 'fileuploadfield', id: 'form-file', fieldLabel: Text.MainAttachAttach, labelSeparator: '', name: 'uploadfile', allowBlank: true } This is throwing error as this code is from EXT JS 3.2.1 How do I write same If I am using EXT JS 2.2 Please Help me if anybody has idea. thanks, Hemant

    By: Hemant Thaker

    JavaScript help javascript question announcement

  • DataTable.js problem with mozilla
    H Hemant Thaker

    Hi, Get back to code project after long time.... I am using DataTable.js plugin for showing Grid to my salesforce application. Every thing works fine except pagesize box and search box. This works fine in IE and Chrome, but in Mozilla Search box and Page size box are overwriting in Grid, they are supposed to appear above the grid, but coming (overlapping) with Grid, Please let me know if you have any solution for this. Thanks, Hemant

    By: Hemant Thaker

    JavaScript javascript css help

  • Dot net Windows Service
    H Hemant Thaker

    Hi, I have installed a windows service in any of the work station in my network. It sends emails periodically. I want to remove the service, But I forgot the Node where i installed it. Now every morning I m getting emails as result of that windows service. Can you tell me how to trace, where this service is installed, so that I can remove it. Thanks

    By: Hemant Thaker

    C# sysadmin debugging tutorial

  • SQL Server + Procedure or function has too many arguments specified
    H Hemant Thaker

    Thanks for your responses. Error is resolved, that was more logical. I was creating Command object at class level, and adding parameters to it in remainderMailtimer_Elapsed(). This event will execute on timer interval. So when it executes first time it find one parameter and runs successfully. after 3 minutes interval it executes event for the second time and adds same parameter to it. so now command object will have two parameters and corresponding SP has one. So it was throwing error. I changed the code and created command object at event level. Thanks.

    By: Hemant Thaker

    Database database help sql-server sysadmin

  • SQL Server + Procedure or function has too many arguments specified
    H Hemant Thaker

    Hi Friends, I have windows service which will execute a STORED PROCEDURE during a time period, fetches email IDs from DB and will send emails to them. I am passing only one argument @ValidTillDays INT. I made this service run on each day. If its running for 3 days, then for the first day it executes perfectly. For the second day and remaining all days it gives following error. Procedure or function "BlaBlaBla" has too many arguments specified. I have only one input parameter and I am passing only one too. And if this was the case it could have given the error for the first time also. Please help me if you find any clue . Thanks :)

    By: Hemant Thaker

    Database database help sql-server sysadmin

  • popup blocker
    H Hemant Thaker

    right,.. thanks.

    By: Hemant Thaker

    ASP.NET question

  • popup blocker
    H Hemant Thaker

    Hi, any suggestion to bypass popup bloker ? Except the use of modalpopup extender. thanks, Hemant

    By: Hemant Thaker

    ASP.NET question

  • Modalpopup extender + IFrame + PDF
    H Hemant Thaker

    Hi.. I use Iframe to display PDF document and then with modelpopup extender to display this iframe. This works fine if I browse it through Mozilla, but dont work If I go for IE-7. In IE-7 only Iframe displayed and not the PDF. Could you guide me, what could be the issue. thanks, Hemant

    By: Hemant Thaker

    ASP.NET help tutorial

  • small help for email sending
    H Hemant Thaker

    Hi.. Didn't find correct Forum so writting in asp.net messageboard. as I am using this website frequently and used to it. I have one html document with some inputboxes and a submit button. On clicking the submit button, the data of all inputboxes should be emailed to an email ID. I am trying to use VBscript for this functionality. as under Set objMessage = CreateObject("CDO.Message") objMessage.Subject = "Subject" objMessage.Sender = "administrator@savilltech.com" objMessage.To = "thaker_hemant@yahoo.co.in" objMessage.TextBody = "Your identity is compromised." objMessage.Send but getting some error... activex can generate object CDO or something My website is online and I will be putting this html page to the same. thanks.

    By: Hemant Thaker

    ASP.NET com help csharp html asp-net

  • send email with no further parameters
    H Hemant Thaker

    Hi.. can i send email via javascript. how would i eliminate further input popup boxes which appear at submitting email. (popups like smtp settings and email id etc) thanks, hemant

    By: Hemant Thaker

    JavaScript javascript

  • motionless analog clock
    H Hemant Thaker

    private void drawclock4(object sender, PaintEventArgs e) { Graphics g = e.Graphics; Rectangle rec = new Rectangle(20, 20, 250, 250); LinearGradientBrush linearbrush = new LinearGradientBrush(rec, Color.Black, Color.Black, 225); g.FillEllipse(linearbrush, 20, 20, 200, 200); linearbrush.LinearColors = new Color[] { Color.White, Color.White, }; g.FillEllipse(linearbrush, 30, 30, 180, 180); linearbrush.LinearColors = new Color[] { Color.White, Color.White }; g.FillEllipse(linearbrush, 33, 33, 174, 174); SolidBrush solidbrush = new SolidBrush(Color.Black); Font textFont = new Font("Arial Black", 12F); g.DrawString("12", textFont, solidbrush, 109, 40); g.DrawString("11", textFont, solidbrush, 75, 50); g.DrawString("10", textFont, solidbrush, 47, 75); g.DrawString("9", textFont, solidbrush, 43, 110); g.DrawString("8", textFont, solidbrush, 52, 145); g.DrawString("7", textFont, solidbrush, 75, 170); g.DrawString("6", textFont, solidbrush, 113, 180); g.DrawString("5", textFont, solidbrush, 150, 170); g.DrawString("4", textFont, solidbrush, 173, 145); g.DrawString("3", textFont, solidbrush, 182, 110); g.DrawString("2", textFont, solidbrush, 173, 75); g.DrawString("1", textFont, solidbrush, 150, 50); g.TranslateTransform(120, 120, MatrixOrder.Append); int hour = DateTime.Now.Hour; int min = DateTime.Now.Minute; int sec = DateTime.Now.Second; // Create Pens Pen hourPen = new Pen(Color.DarkBlue, 4); Pen minutePen = new Pen(Color.DarkGreen, 3); Pen secondPen = new Pen(Color.DarkRed, 2); // Create angles double secondAngle = 2.0 * Math.PI * sec / 60.0; double minuteAngle = 2.0 * Math.PI * (min + sec / 60.0) / 60.0; double hourAngle = 2.0 * Math.PI * (hour + min / 60.0) / 12.0; // Set centre point Point centre = new Point(0, 0); // Draw Hour Hand //Point hourHand = new Point((int)(40 * Math.Sin(hourAngle)), (int)(-40 * Math.Cos(hourAngle))); //g.DrawLine(hourPen, centre, hourHand); // Draw Minute Hand

    ASP.NET csharp asp-net algorithms

  • motionless analog clock
    H Hemant Thaker

    Hi.. I want to display motionless analog clock. (asp.net + C#) I have 3 textboxes and entering HH, MM, SS. Clicking the button would generate analog clock with the respective time. Did lot of searching but didnt get my way out.. please suggest me some way. thanks,

    By: Hemant Thaker

    ASP.NET csharp asp-net algorithms

  • display analog clock
    H Hemant Thaker

    Hi... I want to display analog clock. I have a textbox . once I enter time in textbox and click button, the same time should be set on analog clock. how would I proceed in windows application in C#.net. I basically belong to webapplication community. thanks,

    By: Hemant Thaker

    C# csharp

  • display Analog clock
    H Hemant Thaker

    Hi.. I have a requirement, I want to set Analog clock and display it on screen as per the time I enter in textbox. I will be entering the time in HH:MM:SS, and clicking the button will turn the analog clock as per the given time. Do we have any control in asp.net, or do u have any free source control, Pls suggest me. thanks,

    By: Hemant Thaker

    ASP.NET csharp asp-net

  • end session on closing the browser [modified]
    H Hemant Thaker

    Hi.. I am revisiting codeproject after couple of days due to my old question. I have done some coding in session_end in global.asx and want to execute this event , if someone closes the browser window. I just want to have alternative to authentication. thanks,

    By: Hemant Thaker

    modified on Friday, June 25, 2010 8:17 AM

    ASP.NET security question

  • Application object + logged in users
    H Hemant Thaker

    Hi.. thanks, its biggest resolution so far. well.. how about calling CheckBrowser() function in master page As I am using master page. Can I use thanks,

    By: Hemant Thaker

    ASP.NET

  • Application object + logged in users
    H Hemant Thaker

    Hi.. I am working on a web application and storing logged in user to application object. once they signout its entry will be deleted from application object - application["Loggedinusers"] ( I have stored arraylist as list of logged in users) So , once the session ends by signout or timeout user gets deleted. But it doesn't work when user closes the browser without logging out. Means the entry is not deleted from Logged in users. So next time if he logs in, " It says you are already logged in".... Can you provide me the way to resolve this. Thanks,

    By: Hemant Thaker

    ASP.NET

  • access ConfigurationManager.AppSettings
    H Hemant Thaker

    Hi.. I want to access ConfigurationManager.AppSettings["xxx"] value to session_end event of global.asx. Is it possible ? As I am not getting the value there. thanks

    By: Hemant Thaker

    ASP.NET question

  • Restrict logged in user to login again
    H Hemant Thaker

    You said in last "Just dont forget to remove them when they logout or their session expires." will it work to remove entry in Session_End event in global.asx ? thanks,

    By: Hemant Thaker

    ASP.NET database csharp asp-net sql-server sysadmin

  • Restrict logged in user to login again
    H Hemant Thaker

    thanks, I think this is all about authentication. you are redirecting the user to login.aspx if he is not logged in. that's fine. I want to restrict one user to login in the second machine, if he is logged in , in one machine. (simply dont want him to use application in two different browser window). thanx

    By: Hemant Thaker

    ASP.NET database csharp asp-net sql-server sysadmin
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups