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
R

raghvendrapanda

@raghvendrapanda
About
Posts
114
Topics
80
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • error while trying to uplaod the file in current directory using c language
    R raghvendrapanda

    Hi, i writing a code in c language in load runner to upload a file into the current directory using c.I am getting an error "operands of = have illegal types `pointer to char' and `int'" Below is my code:- char *current_dir = getcwd(); char *filename = "current_dir:\\EUR_PR_01302013.txt"; long file_stream; if ((file_stream = fopen(filename, "a+")) == NULL) //open file in append mode { lr_output_message("Unable to create %s", filename); return -1; } Any kind of help/suggestion will be appreciated. regards, raghvendra panda

    ATL / WTL / STL help

  • swf file not getting displayed in chrome
    R raghvendrapanda

    Hy, I have shown a swf file inside the object tag which was embedded into an iframe through jaava script .The following code works in IE 8 but is not working in chrome.I have pasted my code below. <script type="text/javascript"> function populateIframe(FilePath) { // var FilePath='../images/suche.swf'; var ifrm = document.getElementById('ucCMSHTML_ifrmCMSHTML'); ifrm = (ifrm.contentWindow) ? ifrm.contentWindow : (ifrm.contentDocument.document) ? ifrm.contentDocument.document : ifrm.contentDocument; ifrm.document.open(); ifrm.document.write('<object height="300px" width="100%" style="border: 0 0 0 0 ; background-color: #FFFFFF;" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" ><param name="movie" value="'+FilePath+'\" ><param name= wmode value ="opaque"/> </object>'); ifrm.document.close(); contentEditable="true" ; } </script> <table width="100%"> <tr> <td> <%-- <asp:Literal ID="ltrcmsHTML" runat="server"></asp:Literal>--%> <div style='border: 1; width: 100%; height: 100%; overflow: auto; padding: 0px'> <iframe id='ifrmCMSHTML' runat='server' width='100%' height='300' scrolling='no' frameborder='0' style='border: 0 0 0 0; background-color: #FFFFFF;'></iframe> </div> </td> </tr> </table> Please Help.

    ASP.NET javascript sysadmin hardware tools help

  • cursor in the textbox is blinking very fast
    R raghvendrapanda

    autoextender result was coming behind Flah inside iframe. To resolve the issue we have used the attached code. As a result autoextender result is coming above flash. But the cursor started blinking very fast in all the textbox of the page in an abnormal way. We need to know how to make the cursor blink in normal way.

    ASP.NET adobe help tutorial

  • paas MinimumPrefixLength value of ajax autocompleter from code behind
    R raghvendrapanda

    We have used an ajax autoextender inside a user control in a web application. Now we need to make the “MinimumPrefixLength” property of Autoextender configurable from server side. But as we are using an WebApplication(not a website), we are not able to access the Autoextender ID from codebehind. As a result not able to configure the property. We have tried using tag “<%=>” and keeping a property inside this to assign the value. But its giving error. “can not convert to Syestem.Int32” Can Any one please suggest how to make the property configurable.

    ASP.NET sysadmin cloud help tutorial

  • IE 8 browser autocomplete Feature not working on enter button
    R raghvendrapanda

    I am using a .ascx page in a aspx page. The ascx page contains a textbox and a search button. The Enter key was not working with search but when we put following line textboxsearchInput.Attributes.Add("onkeydown", "if(event.which || event.keyCode){if ((event.which == 13) || (event.keyCode == 13)) {document.getElementById('" + btnSearch.ClientID + "').click();return false;}} else {return true}; "); on the page load method of the ascx page the Enter key starts working but now the auto complete functionality of the text box is not working, When we go to any option in the auto complete drop down and press Enter the form is submitted without considering that option. Please help if any one have some idea.

    JavaScript help

  • Browser AutoComplete Not working in IE 8
    R raghvendrapanda

    I am using a .ascx page in a aspx page. The ascx page contains a textbox and a search button. The Enter key was not working with search but when we put following line textboxsearchInput.Attributes.Add("onkeydown", "if(event.which || event.keyCode){if ((event.which == 13) || (event.keyCode == 13)) {document.getElementById('" + btnSearch.ClientID + "').click();return false;}} else {return true}; "); on the page load method of the ascx page the Enter key starts working but now the auto complete functionality of the text box is not working, When we go to any option in the auto complete drop down and press Enter the form is submitted without considering that option. Please help if any one have some idea.

    ASP.NET help

  • SSIS package converting varchar(MAX) to nvarchar(50)
    R raghvendrapanda

    hy, I have created an ssis package which tranfers data from one database to another,first i drop the tables and then recreat it before inserting data. I have a cloumn which has a datatype of varchar(MAX) and on re creation becomes nvarchar(50). what should i do to avoid it. Thanks & Regards, Raghvendra Panda

    Database database sql-server

  • Access denied for parent.parent.enableclock();
    R raghvendrapanda

    Hy, I have two ASP.net applications which are running simultaneously (p1,p2). If i am working on application p1, i have to restart the clock of application p2 also.For this i have written a java script code which works perfectly on my machine but gives error in server. Here is my code string strOut = @" <SCRIPT language='JavaScript'> var tparent; alert('In PC.SearchResult.ascx Script'); debugger; try{ if(parent.EnableClock == null) { alert(' In PC.SearchResult.ascx Script:parent.enableclock=null'); alert(parent.parent.EnableClock); if(parent.parent.EnableClock == null) { alert('In PC.SearchResult.ascx Script: parent.parent.enableclock=null'); tparent = parent.parent.parent; } else { alert('In PC.SearchResult.ascx Script: parent.parent.enableclock!=null'); tparent = parent.parent; } } else { alert('In PC.SearchResult.ascx Script: parent.enableclock!=null'); tparent = parent; } alert('The value of tparent is'); alert(tparent.value); tparent.resetClock(); tparent.EnableClock = true; alert(" + Session.Timeout.ToString() + ");" + "tparent.startClock(" + Session.Timeout.ToString() + " );} catch (err){alert(err.message)}</SCRIPT>"; // string strOut = @"<SCRIPT language='JavaScript'>try{var tparent;if(parent.EnableClock == null){if(parent.parent.EnableClock == null){tparent = parent.parent.parent;}else{tparent = parent.parent;}}else{tparent = parent;} tparent.resetClock();tparent.EnableClock = true;tparent.startClock(" + Session.Timeout.ToString() + ");}catch(err){alert(err.message);}</SCRIPT>"; Response.Write(strOut); The error that i get is when the debugger goes on "parent.parent",it says "ACCESS IS DENIED" Please help

    JavaScript help csharp java javascript asp-net

  • Access denied for javascript object
    R raghvendrapanda

    Hy, I have two application which are running simultaneously (p1,p2). If i am working on application p1, i have to restart the clock of application p2 also.For this i have written a java script code which works perfectly on my machine but gives error in server. Here is my code string strOut = @" <SCRIPT language='JavaScript'> var tparent; alert('In PC.SearchResult.ascx Script'); debugger; try{ if(parent.EnableClock == null) { alert(' In PC.SearchResult.ascx Script:parent.enableclock=null'); alert(parent.parent.EnableClock); if(parent.parent.EnableClock == null) { alert('In PC.SearchResult.ascx Script: parent.parent.enableclock=null'); tparent = parent.parent.parent; } else { alert('In PC.SearchResult.ascx Script: parent.parent.enableclock!=null'); tparent = parent.parent; } } else { alert('In PC.SearchResult.ascx Script: parent.enableclock!=null'); tparent = parent; } alert('The value of tparent is'); alert(tparent.value); tparent.resetClock(); tparent.EnableClock = true; alert(" + Session.Timeout.ToString() + ");" + "tparent.startClock(" + Session.Timeout.ToString() + " );} catch (err){alert(err.message)}</SCRIPT>";

    ASP.NET java javascript sysadmin debugging tools

  • find a session value of one project in another project
    R raghvendrapanda

    Hy, I have a web site which has two different web projects in it.the problem is when ever i am not using any page of one of the Project(P1) and using a page of the other project(p2), it give me session time out soon as session of P1 gets expired. I have to write the code in such a way that,the session values of 2 different project can interact with each other so that even if i am not working on any of the pages to which a particular project belong ,it wont give me session time out.

    modified on Monday, November 22, 2010 7:41 AM

    ASP.NET help

  • How to read a 180mb xml file in asp.net
    R raghvendrapanda

    that's exactly what my problem is ,i am unable to find a control which can hold huge data upto 200 mb.as i want to pass it as an parameter into the database, i have to send the data as a parameter,kindly suggest me what i should do.

    ASP.NET help csharp asp-net database xml

  • session start is getting fired on each page click
    R raghvendrapanda

    Hi, I have problem that session start is getting fired each time I click on a page. But on other machine it is gets fired only once when session is started. I have the same code on both machine. here is my code string strOut = @"<SCRIPT language='JavaScript'>try{var tparent;if(parent.EnableClock == null){if(parent.parent.EnableClock == null){tparent = parent.parent.parent;}else{tparent = parent.parent;}}else{tparent = parent;} tparent.resetClock();tparent.EnableClock = true;tparent.startClock(" + Session.Timeout.ToString() + ");}catch(err){}</SCRIPT>"; Please Help, Raghvendra Panda

    modified on Wednesday, November 17, 2010 10:52 PM

    ASP.NET help javascript tools

  • How to read a 180mb xml file in asp.net
    R raghvendrapanda

    I have a requirement in which i have to import an xml file of 180mb into the database. i tried to read the file using stringbuilder,session....but nothing worked .every time i tried to read the file ..i got an error of out of memory exception.. Please Help, Raghvendra Panda

    ASP.NET help csharp asp-net database xml

  • Exporting Datasets Into Multiple Sheets In Excel
    R raghvendrapanda

    thanks man its working

    ASP.NET csharp

  • Exporting Datasets Into Multiple Sheets In Excel
    R raghvendrapanda

    Hi, I had a procedure which returns 5 result sets. Now i want to export 3 results sets in 1 excel sheet and the remaining 2 resultsets in another excel sheet. Can we do this in C#.net code and how. Thanks, Ram

    ASP.NET csharp

  • Replace ImagePlaceHolder1 in Word 2007 with the image selected in Combo box in C#.net Windows Application
    R raghvendrapanda

    Instead of place holder i placed 'Sign1' Text in Word 2007 with this i tried your code to replace it with image but iam getting System.Drawing.Bitmap in .pdf while saving instead i should .jpg image Below is my code object[] Parameters; Parameters = new object[15]; Parameters[0] = "Sign1"; Parameters[1] = _missing; Parameters[2] = _missing; ; Parameters[3] = _missing; ; Parameters[4] = _missing; ; Parameters[5] = _missing; Parameters[6] = _missing; Parameters[7] = _missing; Parameters[8] = _missing; Parameters[9] = img; Parameters[10] = _missing; Parameters[11] = _missing; Parameters[12] = _missing; Parameters[13] = _missing; Parameters[14] = _missing; myfind.GetType().InvokeMember("Execute", BindingFlags.InvokeMethod, null, myfind, Parameters); I am getting from img = GetSignPath();//method used to Clipboard.SetDataObject(img); i am getting img from below mentioned code inside GetSignPath(); MemoryStream ms = new MemoryStream((byte[])ds.Tables[0].Rows[0]["SignatureImage"]); System.Drawing.Image img = System.Drawing.Image.FromStream(ms); imgPath = "C:\\" + comboempname.Text + ".JPG".Trim(); img.Save(imgPath); //return imgPath; return img; Any Help is Appreciated Thanks, Harish

    ASP.NET csharp help tutorial

  • Replace ImagePlaceHolder1 in Word 2007 with the image selected in Combo box in C#.net Windows Application
    R raghvendrapanda

    Hi, I have created one template in MsWord 2007 and placed ImagePlaceHolder1 in it.I am able to find and replace the text but how to find ImagePlaceHolder1 in that Word Doc and replace with the one i select in the combo. At the end I want to save it in .pdf format as shown below. object format = Word.WdSaveFormat.wdFormatPDF; _wordapp.ActiveDocument.SaveAs(ref save, ref format, ref _missing, ref _missing, ref _missing, ref _missing, ref _missing, ref _missing, ref _missing, ref _missing, ref _missing, ref _missing, ref _missing, ref _missing, ref _missing, ref _missing); Want to submit this project today. Any help is appreciated. Thanks, Harish

    ASP.NET csharp help tutorial

  • Application.Find.Execute() method is giving problem in Windows Server 2003
    R raghvendrapanda

    Still it is giving me the same exception The stub received bad data

    ASP.NET help sysadmin windows-admin

  • Application.Find.Execute() method is giving problem in Windows Server 2003
    R raghvendrapanda

    I am stuck at this place . Its working fine in Window XP but giving above mentioned ComException error here The stub received bad data Exception from HRESULT: 0x800706F7 _aDoc.Application.Selection.Find.Execute(ref findText, ref _missing, ref _missing, ref _missing, ref _missing, ref _missing, ref _missing, ref _missing, ref _missing, ref _missing, ref _missing, ref _missing, ref _missing, ref _missing, ref _missing); Its urgent.Any help is highly appreciated Thanks

    ASP.NET help sysadmin windows-admin

  • Application.Find.Execute() method is giving problem in Windows Server 2003
    R raghvendrapanda

    Following is my code:- Word.Range SearchArea = _aDoc.Application.ActiveDocument.Range(ref _missing, ref _missing); // _aDoc.Content.Find.Replacement.ClearFormatting(); _aDoc.Application.Selection.Find.Execute(ref findText, ref _missing, ref _missing, ref _missing, ref _missing, ref _missing, ref _missing, ref _missing, ref _missing, ref _missing, ref _missing, ref _missing, ref _missing, ref _missing, ref _missing); SearchArea = _aDoc.Application.Selection.Find.Replacement.Application.Selection.Range; Object oMissed = SearchArea; Object oLinkToFile = false; //default Object oSaveWithDocument = true;//default _aDoc.InlineShapes.AddPicture(fileName, ref oLinkToFile, ref oSaveWithDocument, ref oMissed); File.Delete(fileName); this.FindAndReplace1("Sign1", ""); Running successfully in Windows Xp but not working in Windows Server 2003 Here i am getting exception _aDoc.Application.Selection.Find.Execute(ref findText, ref _missing, ref _missing, ref _missing, ref _missing, ref _missing, ref _missing, ref _missing, ref _missing, ref _missing, ref _missing, ref _missing, ref _missing, ref _missing, ref _missing); Please any help is appreciated.reuired urgently Thanks

    ASP.NET help sysadmin windows-admin
  • Login

  • Don't have an account? Register

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