15,993,795 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Prasad Khandekar (Top 200 by date)
Prasad Khandekar
21-Feb-17 9:36am
View
Hi,
The JSFiddle demo I have setup appears to be working in Chrome. I have tested with 56.0.2924.87.
Regards,
Prasad Khandekar
17-May-16 5:37am
View
Hello Jaydip,
This MSDN post should give you some pointers. (https://blogs.msdn.microsoft.com/tom/2008/03/14/validation-of-viewstate-mac-failed-error/)
Prasad Khandekar
17-May-16 5:25am
View
Hi,
May be this post will help you. (http://aspnetsuresh.blogspot.in/2012/03/editable-gridview.html).
Prasad Khandekar
17-May-16 4:14am
View
What is it that blocking you from searching the data?
Prasad Khandekar
25-Apr-16 3:00am
View
Try opening Developer Tools and inspect the element. In Firefox/Chrome developer tools hovering the cursor over background CSS rule will show you the image if it's not showing up then it means there is a URL error.
Prasad Khandekar
25-Apr-16 2:07am
View
Check the second link I have just added in the solution.
Prasad Khandekar
25-Apr-16 2:04am
View
Hello,
Create a stored procedure and loop through the cursor and assign values to the output variable. I do hope that you have a finite set of RequestStatusID and hence you know the number of output parameters to be passed.
Prasad Khandekar
15-Jan-16 4:59am
View
Hello Sujith,
Here is a quote from Tally help file.
Inward connectivity integrates data from other systems with Tally.ERP 9. With this feature you can use data from other systems in Tally.ERP 9 by creating an integrated system.
For example, a customer contact management program containing details like status of an order and last contact made can be brought into Tally.ERP 9 and merged into a report containing outstanding balances. Changes made to the data are immediately reflected in Tally.ERP 9.
To connect to other programs and use external data in Tally.ERP 9, you can contact the nearest Tally Offices or send an email to support@tallysolutions.com.
So as pointed out by Mehdi you will have to contact the mail address mentioned in quotes.
Regards,
Prasad Khandekar
8-Dec-15 7:42am
View
5+
Prasad Khandekar
8-Dec-15 7:41am
View
Hello Member,
Please have a look at PhotoSwipe (http://photoswipe.com/) or Visual Lightbox (http://visuallightbox.com/lightbox-for-photo-noble-demo.html), may be this is what you are looking for.
Regards,
Prasad Khandekar
19-Nov-15 3:04am
View
Hello,
You may have came across these links, if not then please have a look. Personally I do not have a scanner with duplex capability, So I was not able to verify this.
1. http://stackoverflow.com/questions/30743888/wia-2-0-duplex-scanning
2. http://stackoverflow.com/questions/4032058/wia-2-0-duplex-property/7580686#7580686
Regards,
Prasad Khandekar
Prasad Khandekar
17-Nov-15 4:46am
View
Hello,
Have you tried ScanWia (https://scanwia.codeplex.com/)? This (http://www.codeproject.com/Questions/629608/WIA-Scanning-for-Neatdesk) CP answer is for different scanner but you can definitely try.
Regards,
Prasad P. Khandekar
Prasad Khandekar
17-Nov-15 4:32am
View
Hello,
Check whether the WIA service is running and the PC user has necessary permissions to use a COM component.
Regards,
Prasad P. Khandekar
Prasad Khandekar
17-Nov-15 4:29am
View
Hello member,
WIA 2.0 which was released with Vista offer support for legacy WIA 1.0 (Windows-XP) applications and devices through a WIA 1.0 to WIA 2.0 compatibility layer provided by the WIA service.
The MSDN WIA article (https://msdn.microsoft.com/en-us/library/windows/desktop/ms630368(v=vs.85).aspx) describes in details the benefits offered by WIA.
As far as support for scanners is concerned it's the scanner manufacturer responsibility to provide the WIA compliant driver's.
Regards,
Prasad P. Khandekar
Prasad Khandekar
17-Nov-15 4:08am
View
Hello Member,
The link already includes the code for sample application.
Regards,
Prasad P. Khandekar
Prasad Khandekar
7-Jul-15 7:49am
View
Hello,
You can have a look at PostSharp Aspect Framework. (https://www.postsharp.net/diagnostics/net-logging)
Regards,
Prasad P. Khandekar
Prasad Khandekar
23-Jun-15 6:13am
View
+5. Can you post this as an answer?
Prasad Khandekar
16-Jun-15 3:51am
View
Hello Arun,
Try using System.Configuration.IgnoreSectionHandler instead of og4net.Config.Log4NetConfigurationSectionHandler as suggested in log4net samples. Also have a look at
this
stackoverflow thread.
Prasad Khandekar
26-Jan-15 14:31pm
View
Basically it won't count . & .. folders. Thus will return you the exact file count.
Prasad Khandekar
26-Jan-15 14:14pm
View
That omits . & .. folders.
Prasad Khandekar
26-Jan-15 14:06pm
View
Hello Sana,
Have a look at below example.
http://www.codeproject.com/Articles/706078/Popup-Editing-Adding-Deleting-Records-with-GridVie
http://www.aspsnippets.com/Articles/Add-Edit-Update-Records-in-GridView-using-Modal-Popup-in-ASP.Net.aspx
Prasad Khandekar
26-Jan-15 14:03pm
View
Please go through this thread (http://www.codeproject.com/Questions/175390/Disk-Encryption-and-decryption).
Prasad Khandekar
26-Jan-15 13:59pm
View
Counld not think of a better links than this (https://msdn.microsoft.com/en-us/library/ms189721.aspx) Or this (https://www.youtube.com/watch?v=ZNObiptSMSI)
Prasad Khandekar
24-Jan-15 2:45am
View
Here are couple of similar demos.
http://jsfiddle.net/D3X7R/73/
http://jsfiddle.net/kevinPHPkevin/D3X7R/72/
http://jsfiddle.net/D3X7R/71/
http://jsfiddle.net/mohsennazari/2bS4e/
http://codeboxers.com/beating-heart-with-jquery/
Prasad Khandekar
24-Jan-15 2:33am
View
Reason for my vote of 5 \n Fantastic!
Prasad Khandekar
24-Jan-15 2:27am
View
Reason for my vote of 5 \n Nice library!
Prasad Khandekar
26-Dec-14 7:05am
View
Hello,
You can use escapeHTML to properly escape the HTML content. However it will require more space while saving it in the persistent store. The better approach is to store the values as is and escape at the time of streaming from the server,
Regards,
Prasad Khandekar
26-Dec-14 6:41am
View
+5
Prasad Khandekar
26-Dec-14 6:41am
View
+5
Prasad Khandekar
26-Dec-14 6:38am
View
+5
Prasad Khandekar
23-Dec-14 5:45am
View
Hello Mandar,
Have a look at (http://en.wikipedia.org/wiki/Class-based_programming). Class-Orientation is in-fact a style of Object Oriented Programming.
Regards,
Prasad Khandekar
23-Dec-14 5:42am
View
Please have a look at this article (http://cleancodedevelopment-qualityseal.blogspot.in/2014/02/mvc-applied-on-android-practical.html)
Prasad Khandekar
23-Dec-14 5:37am
View
Perhaps this CP article should help you resolve the problem. (http://www.codeproject.com/Articles/63878/Enumerate-and-Auto-Detect-USB-Drives)
Prasad Khandekar
14-Dec-14 1:25am
View
The Simple Image Comparison solution tells you the percentage difference. You can have a threshold defined in your program and if difference is less than equal to that threshold then you can flag the image as duplicate.
Prasad Khandekar
28-Nov-14 5:12am
View
You are welcome!
Prasad Khandekar
26-Nov-14 5:58am
View
+5
Prasad Khandekar
26-Nov-14 4:58am
View
You may find following article interesting. Also note that the third party web app won't be able to perform single sign on automatically unless modified.
http://merbist.com/2012/04/04/building-and-implementing-a-single-sign-on-solution/
Prasad Khandekar
20-Nov-14 9:01am
View
Nice!
Prasad Khandekar
20-Nov-14 9:00am
View
+5
Prasad Khandekar
19-Nov-14 9:57am
View
use /\*/g as your search pattern.
Prasad Khandekar
19-Nov-14 9:50am
View
You can use RegExp("YourChar", "g") e.g.
var txt = document.getElementById('sometextbox').value;
var rechar = document.getElementById('replaceCharTextbox').value;
var srchChar = document.getElementById('searchCharTextbox').value;
var regx = new RegExp(srchChar, "g");
txt = txt.replace(regx, rechar);
Prasad Khandekar
19-Nov-14 9:44am
View
Hello Umesh,
From your code it looks like that the client side on click handler (ChangeTextBox) is not getting reference to actual text box. Try using document.getElementById to retrieve the actual textbox reference.
Regards,
Prasad Khandekar
19-Nov-14 9:30am
View
Reason for my vote of 5 \n Nice!
Prasad Khandekar
19-Nov-14 9:27am
View
Reason for my vote of 5 \n Nice!
Prasad Khandekar
19-Nov-14 9:16am
View
Good to know that you solved it. Thank's for sharing your findings as well.
Prasad Khandekar
10-Nov-14 8:19am
View
Hello Raj,
Have you checked the website of FusionCharts. You can find an elaborate example there and it will also show you the format for expected JSON.
Regards,
Prasad Khandekar
7-Nov-14 9:28am
View
Hello Member,
For windows have a look at an excellent article available right here on CodeProject (http://www.codeproject.com/Articles/30812/Simple-Numeric-TextBox). MSDN also offers a similar guide (http://msdn.microsoft.com/en-us/library/ms229644(v=vs.80).aspx). For web please have a look at this JsFiddle (http://jsfiddle.net/lesson8/HkEuf/1/) sample.
Regards,
Prasad Khandekar
7-Nov-14 8:41am
View
As I said earlier, the choice depends upon your comfort level. In my opinion however desktop app will allow you to offer much richer user experience to end users compared to web based app.
Prasad Khandekar
29-Oct-14 5:37am
View
Hello Dharmendra,
The basic <input type="file"/> element will render the textbox with a browse button which will allow end user to select the file from appropriate local folder. However as I said earlier it won't allow you to select anything but the file. However signed applets won't have such limitation & will allow you to write code to traverse the folder structure and upload multiple files. This (http://jupload.sourceforge.net/) Open Source project should get you started.
Regards,
Prasad Khandekar
29-Oct-14 5:34am
View
I wouldn't say C# is not a choice of language. It totally depends upon the UI, types of platforms you want to support & finally your comfort level with a particular language. For desktop based applications the basic windowing system & widgets needs to be available in the language library. For web based there are many options.
Regards,
Prasad Khandekar
1-Oct-14 12:07pm
View
Can you please elaborate your requirement? What exactly is the use of knowing file's complete path on the user's computer?
Prasad Khandekar
14-Sep-14 13:49pm
View
Thank's
Prasad Khandekar
14-Sep-14 13:48pm
View
Hello,
When browser is going to send the request for image it's IIS that's generally going to serve the image if the requested path point's to a static resource. In your case the image is going to be a static resource and hence for IIS to stream it back it needs to be in a virtual folder. Just check that the folder path you have entered in your configuration file is actually point's to be virtual directory under iIS.
Regards,
Prasad Khandekar
13-Jun-14 7:28am
View
Hello Member,
You are better of using a configuration file instead. In your web.config under appSettings add a new key say PayementSvcUrl with whatever desizerd URL and use it in your web service.
Regards,
Prasad Khandekar
13-Jun-14 7:23am
View
Hello Reza,
Uri.AbsoluteUri Property gets the absolute URL. In order to create a link to a new service you have to first strip everything after the last "/") and then append the partial service end point path to that value.
Regards,
Prasad Khandekar
13-Jun-14 6:14am
View
5+
Prasad Khandekar
13-Jun-14 6:13am
View
It looks like encoding issue. If I am not wrong you are sending the PDF data to browser and upon image click you are sending this data back to server which then streams it back to the page.
Please note that you will not be able to download the PDF via AJAX.
If you do not want to want change the current way, I suggest you send the ODF bytes in Base64 encoded form (System.Convert.ToBase64String(byte[]) & while sending out use System.Convert.FromBase64String(base64EncodedData); and stream the resulting byte array with Content-Disposition header. Also on Image Click instead of giving an Ajax Call open a new window and then make a POST request in that window.
Regards,
Prasad Khandekar
13-Jun-14 5:47am
View
Hello Alif,
Extremely sorry for my earlier response. It will not work. Instead May I suggest you to have a look at this excellant post by Scott (http://www.hanselman.com/blog/FirefoxWPFAndXBAP.aspx)
Regards,
Prasad Khandekar
13-Jun-14 5:36am
View
Yes if that's cheaper, else you can look at other mentioned options as well.
Prasad Khandekar
12-Jun-14 8:40am
View
MyMorph is not open source but free. However being a command line tool may not be suitable for use in ASP.NET.
Prasad Khandekar
11-Jun-14 6:14am
View
Hello Rajin,
You may want to look at
1. Aspose.Words for .NET (http://www.aspose.com/.net/word-component.aspx) - Commercial component
2. Spire.Doc for .NET (http://www.e-iceblue.com/Introduce/word-for-net-introduce.html#.U5gn21Ddfod) - Commercial component
3. DocImage SDK for .NET (http://www.rasteredge.com/how-to/vb-net-imaging/word-convert-pdf/) - Commercial Component
4. GemBox.Document (http://www.gemboxsoftware.com/document/overview) - Commercial Component
5. DynamicPDF Converter for .NET (http://www.dynamicpdf.com/PDF-Conversion-.NET.aspx) - Commercial Component
6. MyMorph (http://docmorph.nlm.nih.gov/docmorph/files.htm) - Command Line Tool
Regards,
Prasad Khandekar
11-Jun-14 5:47am
View
Are you able to ping to send.one.com? If not try using the correct IP instead.
Prasad Khandekar
10-Jun-14 9:00am
View
Hello Rajeev,
Are you using Ionic Zip Library? If So it has a method called AddEntry(String, Stream). You can use it to add the files. Assuming that a HTTP GET requests to the "http://192.168.10.119:8010/imgs/" returns the file listing (HTML) you will have to parse this HTML and then send GET requests to each of those file. Use GetResponseStream method of the HttpWebResponse to get the handle to response stream. For more details on HttpWebRequest please see (http://msdn.microsoft.com/en-us/library/system.net.httpwebrequest(v=vs.90).aspx)
Regards,
Prasad Khandekar
10-Jun-14 8:19am
View
Hello,
Checkout this thread (http://bytes.com/topic/c-sharp/answers/760091-max-tcp-client-connections).
Regards,
Prasad Khandekar
10-Jun-14 8:13am
View
URL will be a fixed url say download.aspx. It will receive a parameter say file_id which will allow server side code to locate the associated file with it. The download.aspx will always perform checks like whether the user is authenticated and optionally whether the user has access to the requested file. The download.aspx will then read the file contents and stream it back with Content-Disposition header. This will allow the browser to present the save as file dialog.
Regards,
Prasad Khandekar
9-Jun-14 3:46am
View
Hello Sreepad,
It will be very nice if you share the code which actually gets the data from WCF service?
Regards,
Prasad Khandekar
9-Jun-14 3:35am
View
Try setting the MailMessage.From to the email address provided to you by GoDadday.
Regards,
Prasad Khandekar
9-Jun-14 2:55am
View
Isn't this a server side configuration? Please have a look at (http://www.iis.net/learn/develop/developing-for-ftp/how-to-use-managed-code-c-to-create-an-ftp-authentication-provider-using-an-xml-database) this documentation.
Prasad Khandekar
9-Jun-14 2:27am
View
It will be very nice if you also post the code snippet.
Prasad Khandekar
9-Jun-14 2:08am
View
Hello Alif,
Image class is in System.Drawing namespace. You should be able to use it without any problems.
Regards,
Prasad Khandekar
9-Jun-14 2:05am
View
Well the download page is going to perform that check isn't it. The user must be first authenticating to the website.
Regards,
Prasad Khandekar
6-Jun-14 11:48am
View
Please have a look at
http://www.edidev.com/prog_guide_edifact.htm
http://www.codeproject.com/Articles/11278/EDIFACT-to-XML-to-Anything-You-Want
http://edifabric.codeplex.com/
Prasad Khandekar
6-Jun-14 11:42am
View
Hello Yitzhak,
From your web client use Window.Open(DOWNLOAD_URL, "_blank"). Where DOWNLOAD_URL is the URL for page which servers the content (the page in which the above mentioned code resides).
Regards,
Prasad Khandekar
5-Jun-14 5:44am
View
are u able to ping abc.com from command prompt. The error message indicates that there is a problem in resolving the given name to corresponding IP address. Try putting an entry in your host file or re-configure your DNS server.
Regards,
Prasad Khandekar
5-Jun-14 5:38am
View
Checkout this http://stackoverflow.com/questions/3213606/how-to-suppress-task-switch-keys-winkey-alt-tab-alt-esc-ctrl-esc-using-low.
Prasad Khandekar
5-Jun-14 5:14am
View
Hi,
Please have a look at this article. (http://www.codeguru.com/csharp/csharp/cs_misc/security/article.php/c16491/Working-with-Digital-Certificates-in-NET.htm)
Regards,
Prasad Khandekar
5-Jun-14 5:11am
View
If you are referring to the code found in the above mentioned thread, then converting the image to a jpg is very simple. use save method of the Image class (http://msdn.microsoft.com/en-us/library/9t4syfhh.aspx) to convert the image to desired format.
Regards,
Prasad Khandekar
29-May-14 6:05am
View
For ASP.NET you might want to take a look at (http://www.daypilot.org/)
Prasad Khandekar
29-May-14 5:24am
View
Please have a look at this article on CodeProject. (http://www.codeproject.com/Articles/14519/Using-Windows-APIs-from-C-again)
Prasad Khandekar
29-May-14 4:12am
View
Reason for my vote of 5 \n Seems to be interesting, thank's for sharing.
Prasad Khandekar
27-May-14 11:23am
View
5+
Prasad Khandekar
27-May-14 11:15am
View
Check this out (http://lmgtfy.com/?q=Microsoft.VisualStudio.Web.PageInspector.Runtime.WebForms.SelectionMappingRenderTraceListener.EndRendering(TextWriter+writer%2C+Object+renderedObject)+AND+stack+empty)
Or
(http://connect.microsoft.com/VisualStudio/feedback/details/817083/pageinspector-invalidoperationexception-stack-empty)
Prasad Khandekar
27-May-14 10:41am
View
Please checkout this (http://weblogs.asp.net/manishdalal/archive/2008/09/28/combobox-in-datagrid.aspx) article.
Prasad Khandekar
27-May-14 10:30am
View
Please have a look at (http://www.asp.net/ajaxlibrary/tabs-control.ashx) or (http://www.asp.net/ajaxlibrary/AjaxControlToolkitSampleSite/tabs/tabs.aspx)
Prasad Khandekar
23-May-14 7:28am
View
You will have to get rid of CryptoStream and instead use FileStream with StreamWriter/StreamReader to get rid of encryption.
Prasad Khandekar
23-May-14 6:16am
View
Hello,
You can use query similar to one shown below.
SELECT dialyzer_id,
COUNT(1) FROM reprocessor
GROUP BY dialyzer_id;
Prasad Khandekar
23-May-14 5:29am
View
Hello,
Are you talking of digital signatures as explained here (http://en.wikipedia.org/wiki/Digital_signature), if so then unfortunately this not possible without a client side active-x/applet. The DOMCrypt W3C standard is still in draft stage. IE leverages CAPICOM where as Mozilla guys depends upon window.crypto. For IE & FF you can try using js-signer (https://github.com/Glamdring/js-signer).
And don't worry about digital signature getting stolen, the private key used by client is typically password protected by the end-user and hence unless other person has the private key and the password he/she will not be able to use the stolen keys alone. Now if the end user is not password protecting the private keys then no body can help him/her and on the server side you will not be able to distinguish the real user from fake user.
Regards,
Prasad Khandekar
22-May-14 10:01am
View
Reason for my vote of 5 \n Nice!
Prasad Khandekar
22-May-14 9:57am
View
Hello,
Perhaps wrong forum, post the question under Comments and Discussions sections of the article. This way you will be sending your query directly to the article author.
Regards,
Prasad Khandekar
22-May-14 9:56am
View
Hello Aaron,
The code might not be setting any cookies and hence on the server log no cookie information is available, since you are getting response status as 200 OK, there is no problem on the server side, perhaps the response is gzipped as your code is indicating to server that it can accept gzipped encoded response.
Regards,
Prasad Khandekar
22-May-14 9:47am
View
Here are few links to get you started.
1. http://en.wikipedia.org/wiki/Gaussian_blur
2. http://docs.opencv.org/doc/tutorials/imgproc/gausian_median_blur_bilateral_filter/gausian_median_blur_bilateral_filter.html
Regards,
Prasad Khandekar
22-May-14 9:40am
View
As a general rule followed on this site never put your email address in the question/answer forums.
Regards,
Prasad Khandekar
22-May-14 9:28am
View
Hello Arshad,
Have you tried calling this web service as http://localhost:42813/ServiceContract.svc/news/2. Also suggest you to go through this CP article (http://www.codeproject.com/Articles/571813/A-Beginners-Tutorial-on-Creating-WCF-REST-Services).
Regards,
Prasad Khandekar
21-May-14 11:04am
View
5+
Prasad Khandekar
21-May-14 11:03am
View
In that case change the implementation of sum function as shown below.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
class ParamParmeters
{
public string sum(string name, params int[] marks)
{
int sum = 0;
foreach (int element in marks)
{
sum += element;
}
return (name + sum);
}
}
class Program
{
static void Main(string[] args)
{
ParamParmeters pp = new ParamParmeters();
string result = pp.sum("ABC", 10, 20, 30);
Console.WriteLine(result);
}
}
Regards,
Prasad Khandekar
21-May-14 11:00am
View
Are you user the user is authenticated? Please have a look at this thread (http://stackoverflow.com/questions/1056487/httpcontext-current-user-identity-name-is-always-string-empty).
Regards,
Prasad Khandekar
21-May-14 6:51am
View
Hello Sujeet,
AsyncTask should work. Another article you may find useful is (http://www.survivingwithandroid.com/2014/03/consume-webservice-in-android-intentservice.html). Are you getting ANR dialog (http://developer.android.com/training/articles/perf-anr.html)?
Regards,
Prasad Khandekar
21-May-14 6:44am
View
I have locally tested it with very simple tables (total 90). It seems html2canvas has some bug. In my tests it failed to render tables after 33 in IE. All table images thereafter were transparent images. In Chrome however it worked without any problems.
Regards,
Prasad Khandekar
20-May-14 5:52am
View
You are generally better off calling services in a separate thread. Use AsyncTask for this purpose. In my project I always doing it that way. Never really tried calling from main thread.
Regards,
Prasad Khandekar
19-May-14 4:08am
View
Hello,
Try specifying the widths on each column in %.
Regards,
Prasad Khandekar
19-May-14 3:36am
View
Hello Alif,
Please have a look at this discussion thread (http://stackoverflow.com/questions/4391109/how-do-i-load-html-into-webbrowser-control-for-wpf)
Regards,
Prasad Khandekar
19-May-14 3:33am
View
Hello Sujeet,
Are you able to access the web service from the emulator's browser?
Regards,
Prasad Khandekar
19-May-14 3:32am
View
Hello,
Look at the updated solution, the second link is what you are looking for.
Regards,
Prasad Khandekar
19-May-14 1:45am
View
Since your service takes more than 20 sec, increase the timeout for HttpTranspostSE, use alternate constructor which takes integer as second argument which specifies the timeout period.
Regards,
Prasad Khandekar
18-May-14 13:35pm
View
Hello,
You will have to create your own TraceListener. This custom tracelistener can delegate the work to TextWriterTraceListener and this instance can be created using following syntax.
TextWriterTraceListener listener = new TextWriterTraceListener(new StreamWriter(@"C:\AppTrace.log", false, new UTF8Encoding(true)));
In your config file configure the custom tracelistener instead.
Regards,
Prasad Khandekar
16-May-14 7:20am
View
Hi,
The TextWriterTraceListener class uses UTF-8 encoding by default. It's the excel which is not able to recognize the encoding as the resulting file does not contain UTF-8 preamble. While importing the file however you can select the File Origin as 65001: Unicode (UTF-8). File data should then get displayed correctly.
Regards,
Prasad Khandekar
16-May-14 7:07am
View
Hello,
The value returned from the database is just the number representing the date & time. Have a look at this site to know more about formatting DateTime. (http://www.dotnetperls.com/datetime-format)
Regards,
Prasad Khandekar
16-May-14 7:04am
View
Hello Sujeet,
It starts a device monitor. (http://developer.android.com/tools/help/monitor.html)
Regards,
Prasad Khandekar
16-May-14 6:40am
View
Hello Glenn,
If I understand correct The code snippet you have shown converts an integer to a binary string and that string you want to convert back to integer right? If answer is yes then you can use Convert.ToInt32(BinaryVersionSerialNumber, 2) to get the original Integer SerialNumber.
Regards,
Prasad Khandekar
16-May-14 6:26am
View
Hello Member,
The example does talk about the UI enhancements, in your case though I believe you are trying to call the click event of the button in the login form displayed in webview. But the underlying requirement is same, execute the javascript in a webview & that's why I suggested that article.
Is this appp of yours is meant to be used for any site or a particular site.
Regards,
Prasad Khandekar
16-May-14 6:15am
View
Hello Sujeet,
Since service has no errors, try running monitor.bat available in android sdk, this way you will be able to see all the errors. That error output may give some clues. The Default Timeout for HttpTransportSE is 20 sec. Does your service returns within this time?
Regards,
Prasad Khandekar
16-May-14 6:01am
View
I think you will have to call SetUnzipBaseDir to set the folder.
Prasad Khandekar
16-May-14 5:40am
View
Try changing your code to
static void Main(string[] args)
{
Task[] tasks = new Task[] {
Task.Factory.StartNew(() => {
ServiceReference1.BankCardSoapClient s = new ServiceReference1.BankCardSoapClient();
s.test();
}, TaskCreationOptions.LongRunning),
Task.Factory.StartNew(() => {
ServiceReference1.BankCardSoapClient s = new ServiceReference1.BankCardSoapClient();
s.test2();}, TaskCreationOptions.LongRunning)
};
Task.WaitAll(tasks, System.Threading.Timeout.Infinite);
}
Ragards,
Prasad Khandekar
16-May-14 5:28am
View
Please have a look at this example (http://www.techrepublic.com/article/pro-tip-inject-javascript-into-an-android-web-view-for-a-more-dynamic-ux/#.) for devices prior to kitkat, for kitkat the new API evaluatejavscript simplifies this a lot.
Regards,
Prasad Khandekar
16-May-14 5:24am
View
Hello,
Why not try using the MaskEdit control (http://msdn.microsoft.com/en-us/library/11405hcf(v=vs.71).aspx)
Regards,
Prasad Khandekar
16-May-14 5:18am
View
Hello Sameer,
Are you able to invoke this service via SOAPUI (http://www.soapui.org/) Just to ensure that the service does not have any errors.
Regards,
Prasad Khandekar
16-May-14 4:07am
View
Hello Sameer,
Just ensure that following line is present in your AndroidManifest.xml.
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"></uses-permission><
Regards,
Prasad Khandekar
16-May-14 3:55am
View
Hello Sameer,
Please check out this article (http://techbrush.org/simplest-way-to-create-a-multilingual-website/). Please do note that you need to get all your static data (labels, messages) translated into Arabic. There are many agencies who can do this translation for you. (Paid Service)
Regards
Prasad Khandekar
16-May-14 3:49am
View
Similar question answered on devexpress forums (https://www.devexpress.com/Support/Center/Question/Details/Q213013) Please check it out.
Prasad Khandekar
15-May-14 8:35am
View
Hello Vikas,
Have a look at http://viewerjs.org/ or http://flexpaper.devaldi.com/
Regards,
Prasad Khandekar
15-May-14 8:28am
View
Simplest way could be try to upload and download a fixed size file from a known destination using say apache HttpClient library and measuring the time required using Stopwatch class found in apache commons lang library. For reasonably accurate measurement you will have to carry out these operations multiple times and then take the average.
Regards,
Prasad Khandekar
15-May-14 7:45am
View
You get now records or wrong records or error? You must have replaced YOUR_TABLE with the actual table name right?
Prasad Khandekar
14-May-14 3:53am
View
In that case I think ARSoft.Tools.Net project should help you.
Prasad Khandekar
13-May-14 12:25pm
View
May be you want to give a try to this nifty utility. http://www.addictivetips.com/windows-tips/quickly-switch-between-multiple-hosts-files-without-editing-original/
You can even try ARSoft.Tools.Net (http://arsofttoolsnet.codeplex.com/) which contains a DNS Server component, using which you can create a local DNS server and use it for DNS name resolution instead of Host File. This way you can achieve what you want.
Prasad Khandekar
13-May-14 7:46am
View
Please have a look at this discussion. (http://sharepoint.stackexchange.com/questions/23626/how-to-restart-workflow-from-within-it-self)
Prasad Khandekar
13-May-14 7:26am
View
You can use [A-Z]{2,3}\d+
Sorry Griff did not look at your reply.
Prasad Khandekar
13-May-14 7:25am
View
+5
Prasad Khandekar
21-Apr-14 9:57am
View
Do you mind sharing a code snippet for the C# Client?
Prasad Khandekar
21-Apr-14 9:46am
View
Hello Ravi,
Please make sure that the function SendSms exists and is declared as public or protected.
Regards,
Prasad Khandekar
21-Apr-14 9:21am
View
Hello Subhash,
Have a look at tool called Reflector or ILSpy, these tools should help you see the code. May not work if code is obfuscated though.
Regards,
Prasad Khandekar
21-Apr-14 8:21am
View
As far as I know a computed column cannot be used as a DEFAULT or FOREIGN KEY constraint definition or with a NOT NULL constraint definition. My suggestion is to do this computation in your client code and store the computed value in the column. The column definition will be similar to other columns in your table.
Regards,
Prasad Khandekar
17-Apr-14 13:32pm
View
Using mvc is more preferred as it will help you clearly separate the business logic, lighter views, view reuse & more.
Prasad Khandekar
8-Apr-14 8:18am
View
Use SHOW ERRRORS to get more info while running the proc script in SQLPlus.
Prasad Khandekar
8-Apr-14 8:10am
View
with Groupedsalary(DepartmentId , totalEmp) as
(
select DepartmentId , SUM(salary) as totalEmp
from tblEmployee group by DepartmentId
)
SELECT DepartmentId , totalEmp FROM Groupedsalary
Prasad Khandekar
8-Apr-14 7:45am
View
Please check the procedure script. The Object is Invalid error means that there are compilation errors in the proc.
Prasad Khandekar
8-Apr-14 7:42am
View
May be what you can do is to define a result table with one additional column as say SEARCH_ID VARCHAR(20). Then before making a call to your stored procedure generate a unique number and pass it to the proc. The proc will save the search results with this number. Once proc is complete it's just a simple select query from result table with where clause containing search_id = generated_id.
Prasad Khandekar
8-Apr-14 6:54am
View
Have you tried putting all those commands in a batch file and running that from command prompt for one file?
Prasad Khandekar
8-Apr-14 6:39am
View
Please mark the answer as accepted to close the topic.
Prasad Khandekar
4-Apr-14 9:35am
View
It work's for IE, Please have a look at this (http://jsfiddle.net/X6s7Y/). However it fails on browser's other than IE. Change il(i) to il[i]. The document.getElementsByTagName("input") is going to return an array. The updated demo is at (http://jsfiddle.net/X6s7Y/2/)
Prasad Khandekar
4-Apr-14 9:10am
View
Checkout
How to Open a PDF File in C#
[
^
]
Prasad Khandekar
4-Apr-14 8:48am
View
Manish I think this is an file encoding issue. As suggested earlier
1. Open Notepad
2. Click File->Encoding->ANSI
3. Copy the code (from this page only). Make sure all the typo errors are fixed.
4. Save the file
5. Run the file by cscript.exe /E:JScript D:\Projects\Cron\CronScript.js
Regards,
Prasad Khandekar
2-Apr-14 5:26am
View
There is also a typo error related to variable containing urls (strUrl) in the for loop you are using strURLs.
Prasad Khandekar
2-Apr-14 5:23am
View
Open the file in notepad. Click on File Menu then Encoding And make sure that menu item named ANSI is checked. The save the file.
The command to run will be
cscript.exe /E:JScript D:\Projects\Cron\CronScript.js
Prasad Khandekar
1-Apr-14 10:38am
View
Hello Manish,
Have you used notepad for creating the script? If yes then may be you have saved it using UTF-8 encoding. Try saving it without UTF-8 encoding.
Also try running cscript with /E:JScript switch.
Regards,
Prasad Khandekar
1-Apr-14 10:31am
View
Looking at the code myStreamWriter.Close() is redundant and should not be in the with block. For PDF's you should be using binary mode. Just add .WriteLine("binary") statement before .WriteLine("put" & " " & output2).
Regards,
Prasad Khandekar
1-Apr-14 10:23am
View
My 5+
Prasad Khandekar
31-Mar-14 2:40am
View
Hello Mohammed,
Please have a look at http://msdn.microsoft.com/en-us/vstudio/hh500769.aspx.
Regards,
Prasad Khandekar
31-Mar-14 2:37am
View
Notepadd++ does not really support debugging, however you can take a look at this article, which shows how it is done for PHP. You will be able to draw some clues from this article. (http://www.clickoffline.com/php-development/live-php-debugging-using-xdebug-notepad-and-dbgp-plugin.html)
Regards,
Prasad Khandekar
21-Mar-14 9:53am
View
Reason for my vote of 5 \n Nice!
Prasad Khandekar
21-Mar-14 9:49am
View
+5
Prasad Khandekar
12-Mar-14 2:54am
View
+5
Prasad Khandekar
12-Mar-14 2:42am
View
Have you tried running the query in MySQLWorkbench? Most likely it's not returning the data. i.e. the table in question does not contain any rows.
Regards,
Prasad Khandekar
11-Mar-14 9:39am
View
Hello Kanan,
Please have a look at this tutorial. (
GetExtension
)
Regards,
Prasad Khandekar
11-Mar-14 9:37am
View
Hello,
Please refer to this tutorial. (http://www.phpro.org/tutorials/Dropdown-Select-With-PHP-and-MySQL.html)
Regards,
Prasad Khandekar
11-Mar-14 6:54am
View
Hello,
Have a look at (http://www.actatek.com/?action=Products&pro_id=115). They offer a SOAP API for integration.
Regards,
Prasad Khandekar
11-Mar-14 6:52am
View
Hello,
Please have a look at http://msdn.microsoft.com/en-us/library/aa367852(v=vs.85).aspx.
Regards,
Prasad Khandekar
11-Feb-14 0:18am
View
Are u using the correct distribution for your platform? The version you are installing is almost 9 years old. Why not use the latest stable release instead?
Prasad Khandekar
30-Jan-14 7:57am
View
Hello Arjun,
Since you are also specifying Trusted Connection as True, ensure that the ASP_NET user also has appropriate privileges in Database.
Regards,
Prasad Khandekar
30-Jan-14 7:55am
View
Hello Mrinal,
You can configure this in IIS. Please have a look at this article (http://www.iis.net/configreference/system.webserver/security/authentication/iisclientcertificatemappingauthentication).
Regards,
Prasad Khandekar
30-Jan-14 6:41am
View
Hello,
From your query it appears that you need to use either an INNER JOIN or LEFT JOIN kind of SQL. Assuming the following table structure
Trousers_table
---------------------
trouser_id
wardrobe_id
trouser_desc
trouser_size
trouser_waist
trouser_height
Wardrobe_table
--------------------
wardrobe_id
wardrobe_desc
You can use following SQL TO fetch the data
SELECT w.wardrobe_desc, t.trouser_desc, t.trouser_size, t.trouser_waist, t.trouser_height
FROM trouser_table t
INNER JOIN wardrobe_table w ON w.wardrobe_id = t.wardrobe_id
Regards,
Prasad Khandekar
30-Jan-14 6:35am
View
You can use roles for that purpose.
Prasad Khandekar
30-Jan-14 4:05am
View
Hello,
You are trying to access port 8094 which might be blocked? In firewall try opening port 8094 instead of 80, assuming that ISS is configured to listen on PORT 8094.
Regards,
Prasad Khandekar
30-Jan-14 4:02am
View
Hello Sonali,
Can you share the source snippet?
Prasad Khandekar
22-Nov-13 8:45am
View
I guess you will have to write code in backend or use a database explorer to do this.
Prasad Khandekar
22-Nov-13 8:38am
View
5+
Prasad Khandekar
22-Nov-13 8:33am
View
Are you referring to this link (http://msdn.microsoft.com/en-us/library/aa290350(v=vs.71).aspx)?
Prasad Khandekar
22-Nov-13 8:26am
View
You can not have multiple listeners for same port. Are u sure about your code.
Prasad Khandekar
14-Nov-13 0:54am
View
Have a look at this article (http://antezeta.com/news/avoid-search-engine-indexing).
Prasad Khandekar
11-Nov-13 7:49am
View
My 5+
Prasad Khandekar
11-Nov-13 7:31am
View
You are welcome Prashant.
Prasad Khandekar
11-Nov-13 7:31am
View
Hello Suresh,
For changing the color have a look at this MSDN forum thread (http://social.msdn.microsoft.com/Forums/windows/en-US/140096de-05d3-4d7e-8d4c-9f277bc72ddb/change-backcolor-and-forecolor-when-hovering-menu-items-of-menustrip?forum=winforms). For wordWrap try setting autosize property to false.
Regards,
Prasad Khandekar
11-Nov-13 7:15am
View
This may be a binding error. Please have a look at this article (http://blogs.msdn.com/b/jmstall/archive/2012/04/16/how-webapi-does-parameter-binding.aspx).
Prasad Khandekar
7-Nov-13 10:45am
View
A very simple way in your case is to keep a column containing the column counter. When it's one you will set the password in pass1 and then increment the counter by 1. if it is greater than equal to 6 then you will rest it to 1.
Prasad Khandekar
7-Nov-13 0:55am
View
Please check the definition for your IDENTITY Column it should be of form IDENTITY [ (seed , increment) ]. So for number to start from 1 and increment by 1 it will e IDENTITY(1, 1). Please also note that a transaction inserting multiple rows is not guaranteed to get consecutive values for the rows because other concurrent inserts might occur on the table. If values must be consecutive then the transaction should use an exclusive lock on the table or use the SERIALIZABLE isolation level.
Regards,
Prasad Khandekar
7-Nov-13 0:26am
View
Hello Jhonnie,
Is function name GridView1_RowDataBound1 is correct or should it be GridView1_RowDataBound?
Regards,
Prasad Khandekar
6-Nov-13 5:27am
View
You are welcome!
Prasad Khandekar
1-Nov-13 6:06am
View
It's not clear whether you are talking about an ASP.NET application or Windows Forms application. Please clarify and elaborate the problem.
Regards,
Prasad Khandekar
1-Nov-13 3:58am
View
Hello Karthik,
Perhaps this article can provide you some help. (http://www.codeproject.com/Articles/132809/Calling-WCF-Services-using-jQuery)
Regards,
Prasad Khandekar
31-Oct-13 9:56am
View
Hello,
Have a look the comments and discussion section of the article. Lot's of good suggestions and code there. (http://www.codeproject.com/Messages/2585538/Nice-article-but-what-about-different-parameters-w.aspx).
Regards,
Prasad Khandekar
31-Oct-13 9:49am
View
typeName is the name of the class.
Prasad Khandekar
31-Oct-13 9:36am
View
Nope, Just an array of parameters in sequence as per the definition of the method being called.
Prasad Khandekar
31-Oct-13 8:35am
View
You're welcome!
Prasad Khandekar
30-Oct-13 4:08am
View
Hello,
I assume that on your website whenever user clicks on the message you open a new window to display the message contents. In such a scenario you can write the necessary update count statement in the page responsible for displaying the message. (page load event).
If you are using AJAX to retrieve the message contents and display it in a dialog then in that scenario you can write this update code in the method which serves the data back to the caller.
Regards,
Prasad Khandekar
30-Oct-13 2:35am
View
Hello Srishti,
The HTTPSession is s server side container and available only on the server side. If you want to make the values stored in session to a client side script then you can
1. Write a HTTP Service which will take names of the session variables (Comma Separated) and return the values (as JSON)
2. Have a hidden field and store the serialized session (JSON format) in it.
Regards,
Prasad Khandekar
30-Oct-13 2:30am
View
Hi,
Very nice idea, please go ahead and implement one. I have not found one so far.
Regards,
Prasad Khandekar
28-Oct-13 3:48am
View
Thank's Rohan.
Prasad Khandekar
25-Oct-13 10:31am
View
Yes, but in your script you need to have the declaration. Try changing your code to something like one shown below.
var myList;
$.getJSON('JsonData.json')
.done(function (data) {
myList = data;
});
Regards,
Prasad Khandekar
25-Oct-13 10:28am
View
5+
Prasad Khandekar
25-Oct-13 10:27am
View
Hello Member 10360144,
You have all the necessary information to create the classes all by yourself. Just use Eclipse/Netbeans and you will be ready in no time.
Regards,
Prasad Khandekar
25-Oct-13 10:12am
View
Where in your file this variable (myList) is declared?
Prasad Khandekar
25-Oct-13 10:08am
View
Hello,
How about altering your code as shown below.
ALTER proc [dbo].[spCheckDuplicateRecordForUpdate] (@ID int, @Category int, @maxDaya int, @balDays int, @Value int Out)
AS
BEGIN
IF EXISTS (SELECT TOP 1 ID FROM LeaveTrans WHERE ID = @ID AND Category = @Category)
BEGIN
SET @Value = 2;
UPDATE LeaveTrans SET MaxDays = @maxDays, BalanceDays = @balDays
WHERE ID = @ID AND Category = @Category;
END
ELSE
SET @Value = 0;
END
Regards,
Prasad Khandekar
25-Oct-13 9:33am
View
5+
Prasad Khandekar
25-Oct-13 9:32am
View
Please mark the answer as accepted to close the question.
Prasad Khandekar
25-Oct-13 3:50am
View
Thank's
Prasad Khandekar
25-Oct-13 3:49am
View
Please post the relevant code?
Prasad Khandekar
25-Oct-13 3:47am
View
Just create a new class as shown below
public class MyMembershipDetails implements MembershipDetails {
....
}
If you are using Eclipse for the development. Then In the Package Explorer right click on any package where you want to put the implementation and choose New->Class. In the resulting window Type in your desired class name in the Name textbox. Click On Add button next to Interfaces combo and type MembershipDetails in the Choose Interfaces textbox. The matched interface should appear in the Matiching Items. just docuble click to select it. Now in the New Java Class dialog tick the checkbox named Inherited abstract method and hit ok to generate the class. You will get a class with all the methods to be implemented.
Prasad Khandekar
25-Oct-13 3:01am
View
May be it's a permission issue. The user you are using to connect to the database does not have INSERT privilege.
Regards,
Prasad Khandekar
25-Oct-13 2:59am
View
PatientVerificationRequestDetails, MembershipDetails are the interfaces and PatientVerificationRequestDetailsImpl, MembershipDetailsImpl are the implementations of those interfaces (Concrete Classes).
Regards,
Prasad Khandekar
25-Oct-13 2:56am
View
Can you share the sample data in these tables?
Prasad Khandekar
24-Oct-13 9:20am
View
I have updated my solution, please check.
Show More