15,895,142 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 Python 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 sreeyush sudhakaran (Top 190 by date)
sreeyush sudhakaran
24-Sep-17 6:20am
View
It should be like ?
Image myImage = new Bitmap(stream);
pictureBox1.Image = myImage;
sreeyush sudhakaran
1-Aug-17 1:56am
View
What you mean? You need to add a new row at row index 0 or you need to add separate grid view with only 1 row on top of grid view?
sreeyush sudhakaran
31-Jul-17 1:52am
View
Have a look at date format used in textbox and date format in class
sreeyush sudhakaran
31-Jul-17 1:51am
View
This works fine in testing
sreeyush sudhakaran
30-Jul-17 8:18am
View
Increase response timeout value
sreeyush sudhakaran
30-Jul-17 7:37am
View
Just right click and view ur source
sreeyush sudhakaran
30-Jul-17 7:35am
View
I can see u have given %3 in paragraph Tag
sreeyush sudhakaran
27-Jul-17 7:28am
View
What is the code you are using to read only table from Word?
sreeyush sudhakaran
27-Jul-17 7:08am
View
You need business logic?
sreeyush sudhakaran
27-Jul-17 7:07am
View
TextBox4.Enabled = false;
Decimal DiscountAmount = 0;
Decimal TotalAmount ;
Decimal.TryParse(TextBox5.Text,out TotalAmount);
if(TextBox4.Text.Trim().ToLower()=="silver")
{
DiscountAmount = TotalAmount - (TotalAmount * 0.1);
}
else if (TextBox4.Text.Trim().ToLower()=="bronze")
{
DiscountAmount = TotalAmount - (TotalAmount * 0.2);
}
else if (TextBox4.Text.Trim().ToLower()=="gold")
{
DiscountAmount = TotalAmount - (TotalAmount * 0.3);
}
sreeyush sudhakaran
27-Jul-17 7:04am
View
Please improve your question, where you got stuck?
sreeyush sudhakaran
24-Jul-17 4:30am
View
Create an application which can send API query to Google search API, modify your query string(search pattern) for searching only docs.
https://support.google.com/customsearch/answer/71826?hl=en
sreeyush sudhakaran
20-Jul-17 2:14am
View
Correct :)
sreeyush sudhakaran
20-Jul-17 2:01am
View
Did you mean you need to display a HTML page in WinForms where you have used Web Browser control. In Web browser control you need a HTML page with Static Header and Dynamic Body and Footer where you want to read data from Body provided by user.
sreeyush sudhakaran
24-Apr-16 5:57am
View
I hope you are using non secured cookie in your site for login page , to secure your cookie try adding below configuration in web.config
<authentication mode="Forms">
<forms loginUrl="~/Account/Login.aspx" timeout="2880" requireSSL="true" />
</authentication>
sreeyush sudhakaran
24-Apr-16 5:50am
View
Cant to Update this in SelectedIndexChange Event of Drop down list after changing it's property to AutoPostBack=True?
Something like this dgv.rows[0].cells[1].Text = ddl.selectedValue;
sreeyush sudhakaran
24-Apr-16 5:35am
View
Have you tried adding Trace to your application? If not try adding Trace Logs and also add a Log in Application_Error event of Global.asax to catch unhandled exceptions if any.
sreeyush sudhakaran
24-Apr-16 5:28am
View
Did you mean to show progress of web request inside your tab control?
sreeyush sudhakaran
12-Apr-16 15:49pm
View
Have a look at http://codepedia.info/2015/06/upload-image-using-jquery-ajax-asp-net-c-sharp/
sreeyush sudhakaran
18-Nov-15 14:03pm
View
I got the solution :)
sreeyush sudhakaran
7-Nov-15 23:53pm
View
ok thanks for new info :)
sreeyush sudhakaran
5-Nov-15 3:27am
View
Are these videos private video in Youtube?
sreeyush sudhakaran
1-Nov-15 7:02am
View
Why don't you go for creating a custom event by monitoring the position...
sreeyush sudhakaran
1-Nov-15 2:25am
View
Task t = dataReader.LoadAsync(1024).AsTask(); will Reading of bytes comes from 0 to 1023 or 0 to 1024? and also see https://msdn.microsoft.com/en-us/library/windows/apps/windows.storage.streams.datareader.inputstreamoptions
sreeyush sudhakaran
1-Nov-15 1:33am
View
Better to use a Windows Service Application in Automatic mode With Login Monitoring , Take Picture , Email Sending in OnStart Event or First time timer trigger When Windows Logged in
sreeyush sudhakaran
1-Nov-15 1:28am
View
Hi there is Visual studio Integration Tool for OpenCv
https://visualstudiogallery.msdn.microsoft.com/00ebd33e-c7c6-4a02-9466-b619b5eddfb5
http://docs.opencv.org/2.4/doc/tutorials/introduction/windows_visual_studio_Opencv/windows_visual_studio_Opencv.html
sreeyush sudhakaran
1-Nov-15 1:20am
View
Please refer nice example for Async Connect http://stackoverflow.com/questions/9732713/how-do-i-set-a-timeout-of-socket-connectasync
sreeyush sudhakaran
1-Nov-15 1:20am
View
Deleted
Please refer nice example for Async Connect http://stackoverflow.com/questions/9732713/how-do-i-set-a-timeout-of-socket-connectasync
sreeyush sudhakaran
25-Oct-15 3:33am
View
Deleted
table1BindingSource.Filter = string.Format("({0} BETWEEN {1} AND {2})","ColumnName", Convert.Todouble(txtbox1.Text),Convert.Todouble(txtbox.text));
sreeyush sudhakaran
21-Oct-15 7:35am
View
Better to ask in some Maths forum I think :) , If possible can you please share the reference link for this algorithm
A helpful Link : http://www.mathopenref.com/coordpolygonarea.html
http://www.mathopenref.com/indexpage.html (See Triangle Here)
sreeyush sudhakaran
20-Oct-15 4:03am
View
Ya I have planned , But Iam asking is this possible or not just advice,No point in starting that if this is not possible.
sreeyush sudhakaran
20-Oct-15 3:35am
View
Sorry I did not ask for source code here please read it with Patience , I only asked for advice or try your own..
sreeyush sudhakaran
20-Oct-15 3:29am
View
Deleted
Iam trying..any way...and I did not ask for source code too..I requested you too to try if interested or share better ideas or point out practical difficulties :)
sreeyush sudhakaran
20-Oct-15 2:44am
View
Deleted
Refer : http://how2doinvbdotnet.blogspot.ae/2015/06/send-email-from-gmail-with-smtp.html
sreeyush sudhakaran
20-Oct-15 0:22am
View
Refer:
http://www.codeproject.com/Articles/33850/Generate-Excel-files-without-using-Microsoft-Excel
http://nugetmusthaves.com/Tag/Excel
I hope GemBox.Spreadsheet also do the best and easy to use
sreeyush sudhakaran
19-Oct-15 4:14am
View
Refer http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxgrid/
sreeyush sudhakaran
19-Oct-15 3:49am
View
You want Details of SQL Server instance or Want to trace how many instances running in current PC?
sreeyush sudhakaran
19-Oct-15 3:32am
View
Why don't you use ProgressBar control with in a splash screen?
sreeyush sudhakaran
19-Oct-15 3:28am
View
I hope this API you got from GitHub non offical API ,unfortunately if so this is not working API , Please mention name of API Lib you used
sreeyush sudhakaran
19-Oct-15 3:19am
View
1) If you are trying to Send Mail through gmail , you need to add your application to google trusted list or turnoff the blocking of sending emails from untrusted Apps from your gmail account.
Please see here how to Turnoff it : http://how2doinvbdotnet.blogspot.ae/2015/06/send-email-from-gmail-with-smtp.html
http://how2doinvbdotnet.blogspot.ae/2015/10/asynchronous-parallel-mail-sending.html
Have Look at SmtpClient.Send Method in MSDN https://msdn.microsoft.com/en-us/library/swas0fwc(v=vs.110).aspx for more or try SendAsync Method
sreeyush sudhakaran
19-Oct-15 1:14am
View
What is the datatype of question in database? Is that Image or text or binary?
sreeyush sudhakaran
19-Oct-15 1:07am
View
Please mention your Question as Heading...Then only Experts can trace you :) , Is this code written by you?
sreeyush sudhakaran
19-Oct-15 1:05am
View
For hiding I think there is no need to do like above just create a Form2 object,equate list and call it...Am I right?
sreeyush sudhakaran
19-Oct-15 1:03am
View
You are welcome , thanks for new Information :)
sreeyush sudhakaran
18-Oct-15 8:02am
View
As far as I see you can apply So many design Patterns Like
1)Factory Pattern (Military Vehicle is common factory others are products)
2)facade pattern ( You can create a simple interface for Points Estimation for All Objects)
3)Encapsulation
4)Exception handling pattern (Handling Exceptions in Erroneous situation)
5)Observer Patterns (Points Object is Observer of all Vehicle class)
etc...
sreeyush sudhakaran
18-Oct-15 7:06am
View
I hope this is done for identifying Which is the Last ItemCode Used in Each table and you want it to display in a text box by switching table name in Combobox Am I correct?
sreeyush sudhakaran
18-Oct-15 6:55am
View
If your Database is SQLServer 2005 above I suggest you to use Transaction with in Stored Procedure and Use these Tables as Custom table valued Parameters type for the stored procedure
Refer : http://how2doinvbdotnet.blogspot.ae/2015/09/how-to-use-table-value-parameters-in.html
sreeyush sudhakaran
18-Oct-15 6:45am
View
It seems your idea doesnot work if this.close() is called after new Form2(listView1).Show(); , I have tried but not worked for me
sreeyush sudhakaran
18-Oct-15 2:50am
View
Will this work if Form1 close itself inside it's button click
sreeyush sudhakaran
12-Oct-15 1:31am
View
Use a stored procedure which will Query and Return all required fields from Database , Use that Stored procedure as your crystal report datasource
Ref : http://www.pdssoftware.com/newsletter/mar07/page6.htm
sreeyush sudhakaran
12-Oct-15 1:28am
View
6,18,12
sreeyush sudhakaran
11-Oct-15 8:00am
View
JQuery Library https://api.jquery.com/load-event/
sreeyush sudhakaran
11-Oct-15 7:53am
View
Did you mean you want to compare RequestHeader==ResponseHeader ???
sreeyush sudhakaran
11-Oct-15 7:44am
View
Dear friend your question seems to be point less in all aspects without identifying clicked button it is not a magic to calculate area , please get in touch with interviewer I hope he is the only one who can provide solution for your question.You need a Value as input to calculate area that value cannot be be obtained just from a button.
sreeyush sudhakaran
8-Oct-15 2:49am
View
you can install any .NET framework equal or lower than 4.0 in windows xp Sp2 and upper and try
Please find further details here : https://msdn.microsoft.com/en-us/library/vstudio/8z6watww(v=vs.100).aspx
sreeyush sudhakaran
8-Oct-15 2:35am
View
what is your error please mention...
sreeyush sudhakaran
8-Oct-15 2:33am
View
I think is no option other than creating COM control ( Create a Win32 dll type control from MFC)?
sreeyush sudhakaran
8-Oct-15 2:27am
View
with in the loop wait for something like this?
foreach (string file in wavlist)
{
WMPLib.WindowsMediaPlayer wplayer = new WMPLib.WindowsMediaPlayer();
wplayer.URL = file;
wplayer.control.play();
while(wplayer.control.status == Playing)
{
//Dummy loop
}
}
sreeyush sudhakaran
8-Oct-15 2:25am
View
Please use JQuery grid for this which do the purpose
sreeyush sudhakaran
7-Oct-15 10:35am
View
you need to get input object from user interface like Textbox according to Button click you need to process this input object and I also don't think they pointed you to solve this problem just like that they expect you to apply some design patterns and OOPS concepts to this question
This question is usually asked in every interview pointed to following OOPS concepts
1) Data Abstraction
2) Use of Virtual Functions
3) Use of Factory Patterns / Abstract factory methods
4) Event Handling can be directed to Observer Pattern
5) Inheritance / Interface usage
6) Usage of Public constructor
7) Usage of Delegates or Callbacks when using 1000 shapes
etc...these are all concepts i see which can be useful in approaching this problem sorry iam also not sure about your interviwer's point of view
sreeyush sudhakaran
7-Oct-15 2:45am
View
Yes..Instead you can create a Template class To Calculate your Area which Takes your Shape Object as Input , any how you need to calculate areas separately for 1000 objects that cannot be avoided.
sreeyush sudhakaran
7-Oct-15 1:32am
View
Did you register third party dll in registry as you did for you COM dlls? or created a reference for third party dll in your application instead of loading it dynamically?
sreeyush sudhakaran
7-Oct-15 1:24am
View
This purely error with accessibility of your sever
sreeyush sudhakaran
6-Oct-15 3:51am
View
Please don't post answers you are not sure about , Instead you can give reference links
sreeyush sudhakaran
6-Oct-15 3:04am
View
Use HTML Agility to get specific tag from a website
Refer : http://www.codeproject.com/Articles/659019/Scraping-HTML-DOM-elements-using-HtmlAgilityPack-H
sreeyush sudhakaran
5-Oct-15 6:59am
View
Have a look at Localization of .NET https://msdn.microsoft.com/en-us/library/5839we2z(v=vs.110).aspx
Pass a powershell script See here : http://superuser.com/questions/225697/changing-windows-language-programatically
sreeyush sudhakaran
5-Oct-15 6:52am
View
You mean want to get specific HTML tag from the given URL?
sreeyush sudhakaran
4-Oct-15 12:14pm
View
Try to upgrade to new version of Interops , else your application also will hang
sreeyush sudhakaran
29-Sep-15 6:57am
View
Is data is fetched using a stored procedure in Crystal reports then change in Date Format may cause problem.
sreeyush sudhakaran
28-Sep-15 6:23am
View
Google is great master make him as friend..and also sorry I don't have experience in Video Processing projects :-)
sreeyush sudhakaran
28-Sep-15 1:17am
View
Are you using any Memory access APIs , Interop Services or Native Dlls in your Program?
sreeyush sudhakaran
28-Sep-15 1:12am
View
For that you can develop a Serial Communication application as Windows Service...
sreeyush sudhakaran
27-Sep-15 6:36am
View
Do you mean always run your application as standard user rather than running as Admin irrespective of UAC Status?
sreeyush sudhakaran
27-Sep-15 6:31am
View
Have a glance at http://www.montivision.com/en/support/blog/
sreeyush sudhakaran
27-Sep-15 0:46am
View
Please provide JSON string Format you will receive and which you want to deserialize
sreeyush sudhakaran
22-Sep-15 5:12am
View
Did you mean to SaveAs/Save Xml file in resources directory after modifying Xml from your source code?
sreeyush sudhakaran
21-Sep-15 5:46am
View
http://www.codeproject.com/Articles/196168/Contour-Analysis-for-Image-Recognition-in-C
http://www.codeproject.com/Articles/239849/Multiple-face-detection-and-recognition-in-real
http://www.codeproject.com/Articles/462527/Camera-Face-Detection-in-Csharp-using-Emgu-CV-and
sreeyush sudhakaran
21-Sep-15 5:45am
View
Deleted
http://www.codeproject.com/Articles/196168/Contour-Analysis-for-Image-Recognition-in-C
http://www.codeproject.com/Articles/239849/Multiple-face-detection-and-recognition-in-real
http://www.codeproject.com/Articles/462527/Camera-Face-Detection-in-Csharp-using-Emgu-CV-and
sreeyush sudhakaran
18-Sep-15 13:35pm
View
It seems this is image processing project , to identify images you can use opencv like libraries
sreeyush sudhakaran
17-Sep-15 2:27am
View
Refer here : http://www.codeproject.com/Articles/28046/Printing-of-DataGridView
sreeyush sudhakaran
17-Sep-15 1:38am
View
Did you mean converting file size in bytes to KB , MB ,GB etc.. ?
If so then you can use API function which will be more faster comparatively
Refer : http://csharphelper.com/blog/2014/07/format-file-sizes-in-kb-mb-gb-and-so-forth-in-c/
sreeyush sudhakaran
17-Sep-15 1:23am
View
Sorry, What are you trying to ask , Help to solve a Mathematical equation? Did you mean HSL or CIE to RGB conversion?
if so here is sample code for conversions :
http://www.codeproject.com/Articles/613798/Colorspaces-and-Conversions
http://www.geekymonkey.com/Programming/CSharp/RGB2HSL_HSL2RGB.htm
http://www.codeproject.com/Articles/19045/Manipulating-colors-in-NET-Part
http://www.cs.rit.edu/~ncs/color/t_convert.html
Reference Book : Advances in Intelligent Systems and Applications - Volume 2
sreeyush sudhakaran
16-Sep-15 15:01pm
View
You can add your application as trusted application list.
Refer here : http://windows.microsoft.com/en-us/windows-vista/add-or-remove-items-from-the-windows-defender-allowed-list
http://answers.microsoft.com/en-us/windows/forum/windows_vista-security/user-account-control-adding-a-program-to-safe-list/d0edbc0a-5f4f-46cd-b082-81ffce9a114d
https://windowsforum.com/threads/add-programs-to-safe-list.28923/
Altering Antivirus Trusted List Example :
http://support.kaspersky.com/7913
sreeyush sudhakaran
13-Sep-15 6:52am
View
Use crystal reports
sreeyush sudhakaran
13-Sep-15 5:07am
View
Deleted
Please verify your Code always enters in else loop?
sreeyush sudhakaran
13-Sep-15 0:20am
View
1)Unique Key you are trying to insert may exists in the table already or
2)Unique Key may be foreign key from another table which may not yet present in the parent table.
If you are trying to insert foreign keys give importance in insertion sequence
Parent table should be filled before child tables referencing that.
sreeyush sudhakaran
13-Sep-15 0:17am
View
Did you mean in windows or Web?
sreeyush sudhakaran
12-Sep-15 11:09am
View
You can retrieve pixels by GetPixels method , and size by
System.Drawing.Image img = System.Drawing.Image.FromFile(@"c:\ggs\ggs Access\images\members\1.jpg");
int Height = img.Height;
int width = img.Width ;
sreeyush sudhakaran
12-Sep-15 11:00am
View
Do you mean to know that the provider of Webservice to whom you are client has updated his source code?
If you have access to their source code directory or dll on thing I will suggest is that check CRC of the file you want to know
sreeyush sudhakaran
12-Sep-15 10:53am
View
Have a glance at https://www.youtube.com/watch?v=No7QqSc5cl8
sreeyush sudhakaran
11-Sep-15 15:38pm
View
There is a Project Template in Other Project type->Visual studio Installer in Visual studio , if not found download it from
https://visualstudiogallery.msdn.microsoft.com/9abe329c-9bba-44a1-be59-0fbf6151054d
sreeyush sudhakaran
11-Sep-15 15:34pm
View
u made sql data read parallel in thread?
sreeyush sudhakaran
11-Sep-15 15:30pm
View
Deleted
Sorry..It is not mechanical I shared my experience and how I solved it.
sreeyush sudhakaran
10-Sep-15 13:22pm
View
what is you maxsize?
what happens if your code eneter into else condition no file will be copied right?
else
{
memoryStream.Seek(0, SeekOrigin.Begin);
}
sreeyush sudhakaran
10-Sep-15 13:17pm
View
Deleted
I don't know what will be your exact problem , I used to get this error when I missed Namespace or reference in my solution. Probably your solution may contain any other un referenced namespace.
sreeyush sudhakaran
10-Sep-15 3:25am
View
Please make your problem clear...what is the exception or problem you are facing , Is that not able to create any zip files from your list of directories?
sreeyush sudhakaran
10-Sep-15 2:58am
View
Have a look at Task Parallel Library
Reference Link : https://msdn.microsoft.com/en-us/library/dd537609(v=vs.110).aspx
sreeyush sudhakaran
10-Sep-15 2:49am
View
I recommend MYSQL because it is open source ,I think your project need database for face reorganization App then MSQL is more than enough for your purpose.
You can store your image data either as longblob, Blob or VacharText in MySql DB
If you want light weigh DB go for Apache Derby or HyperSQL
sreeyush sudhakaran
9-Sep-15 2:39am
View
Have a look at
http://stackoverflow.com/questions/24944865/monitor-usb-drives-and-retrieve-device-info-using-a-devicewatcher
http://blogs.msdn.com/b/powershell/archive/2007/02/24/displaying-usb-devices-using-wmi.aspx
sreeyush sudhakaran
9-Sep-15 2:17am
View
One option is you can populate the data to a Log table and can access it remotely , and also as far as my knowledge I think there is no way to get connection opened by Excel to Database from DB Logs , try a work around excel interops sorry I am not sure about it provides such functionality for your requirement.
sreeyush sudhakaran
6-Sep-15 4:13am
View
Refer : http://www.c-sharpcorner.com/Forums/Thread/251941/how-to-translate-english-letterswords-to-bengali-using.aspx
http://www.codeproject.com/Articles/12711/Google-Translator
http://www.dotnetspider.com/forum/334742-How-to-translate-English-Letters-Words-to-Bengali-in-C-using-database-SQL.aspx
sreeyush sudhakaran
6-Sep-15 2:57am
View
Take advantage of OpenCv libraries
sreeyush sudhakaran
6-Sep-15 2:36am
View
Refer :
http://blogs.msdn.com/b/leohu/archive/2013/10/05/odata-and-json-payload-examples.aspx
https://msdn.microsoft.com/en-us/library/ff478141.aspx
sreeyush sudhakaran
6-Sep-15 2:31am
View
your requirement is language converter or character encoding converter?
sreeyush sudhakaran
6-Sep-15 2:05am
View
Just Edit Template of your gridview and do proper databinding...
sreeyush sudhakaran
6-Sep-15 1:57am
View
I think there is some problem with your port connection , please check
1.Your device is connected physically
2.The port you assigned is available port in system in which you run this code.
3.Check if the fire wall or proxy is blocking your application communication through TCP/IP
sreeyush sudhakaran
6-Sep-15 1:51am
View
Have u tried alternatively using cmd.ExecuteNonQuery(); see what exception it throws
sreeyush sudhakaran
6-Sep-15 1:42am
View
how to Achieve that any refer links?
sreeyush sudhakaran
6-Sep-15 1:41am
View
You can use SSH/https for this so that I will be safe secured system
sreeyush sudhakaran
6-Sep-15 1:37am
View
SQL have builtin function of Logging you can make use of that Refer :
https://msdn.microsoft.com/en-us/library/ms141212.aspx
[
^
]
sreeyush sudhakaran
6-Sep-15 1:32am
View
Please refer : http://www.codeproject.com/Articles/14741/Advanced-TreeView-for-NET
sreeyush sudhakaran
6-Sep-15 1:30am
View
You should handle this in gridview events programatically..
sreeyush sudhakaran
6-Sep-15 1:25am
View
Is that mean
Step1:Check all columns in datagridview1 is filled and check your conditions
Step2:Generate columns in datagridview2 for copying data from datagridview1
step3:Copy data from datagridview1 to datagridview2
Can you please pin point which step you failed to acheive your task
sreeyush sudhakaran
6-Sep-15 1:19am
View
Thanks for sharing information :-)
sreeyush sudhakaran
6-Sep-15 1:16am
View
Above give solution is generic it will work regardless of your string and stringlength , suggest you to use HTML Doc so that I will be easy in future maintenance.
sreeyush sudhakaran
2-Sep-15 7:59am
View
Did you mean if all columns in datagridview1 is filled then u want to copy datagridview1 data to datagridview2 up on some conditions?
sreeyush sudhakaran
2-Sep-15 5:41am
View
Can use some online free REST Api which allows post to convert ppt to pdf?
sreeyush sudhakaran
2-Sep-15 5:06am
View
refer : https://exceldatareader.codeplex.com/
sreeyush sudhakaran
2-Sep-15 4:38am
View
You need to browse and add refrence from .NET assemblies?
sreeyush sudhakaran
2-Sep-15 4:26am
View
what problem you face?
sreeyush sudhakaran
20-Aug-15 0:10am
View
Sorry it is actually a sample program got from MVA they are getting JSON output in browser itself without any modification of code , What may be the reason , any way I will workout your solution and get back to you , Iam very new to Web API also :)
sreeyush sudhakaran
20-Aug-15 0:08am
View
Sorry it is actually a sample program got from MVA they are getting output in browser itself
sreeyush sudhakaran
19-Aug-15 5:04am
View
what is the error?
sreeyush sudhakaran
19-Aug-15 2:04am
View
please refer http://www.codeproject.com/Questions/141385/typedef-in-C
sreeyush sudhakaran
19-Aug-15 1:37am
View
Have a look at http://stackoverflow.com/questions/18758772/how-do-i-validate-a-date-in-this-format-yyyy-mm-dd-using-jquery
sreeyush sudhakaran
19-Aug-15 1:21am
View
Re-add the references after removing it and close VS solution and re-open it re-build all once again..
sreeyush sudhakaran
19-Aug-15 1:13am
View
How you created your service class in C++ using a Windows Implementation or just by start from main() entry point? , Is that you used sc create?. If there are any timers you used in the service in which you do a large dependency task , remove that code from timer , kill all threads on exit
sreeyush sudhakaran
18-Aug-15 7:54am
View
You have to write a override function DropDownOpening() which calls base.DropDownOpening() event with in it.
sreeyush sudhakaran
18-Aug-15 7:39am
View
Is it C++ or C# , this may happen due to delay caused in RPC calls , you can call service control manager APIs to kill the service from program if it is not responding for a long time.
sreeyush sudhakaran
18-Aug-15 7:12am
View
Use a crystal reports to print data directly from Table or data source / database result
sreeyush sudhakaran
18-Aug-15 3:47am
View
Deleted
Gave your IP and Listen and talk port correctly , ensure that your device is connected physically and installed driver for the camera.
sreeyush sudhakaran
18-Aug-15 3:45am
View
Have you gave ip of camera and port to listen and talk correctly and ensure that your device is connected physically.
sreeyush sudhakaran
18-Aug-15 2:26am
View
I hope you will not get entire code from here.. have a look at http://nsis.sourceforge.net/Simple_tutorials which allows customization and is free and light weight
sreeyush sudhakaran
18-Aug-15 2:22am
View
int TotxtValue = Convert.ToInt32(Totxt2.Text);
int fromtxtValue = Convert.ToInt32(fromtxt1.Text);
if(TotxtValue < fromtxtValue )
{
//Give your Validation Error Message Here
}
sreeyush sudhakaran
18-Aug-15 2:15am
View
what are the issues you face?
sreeyush sudhakaran
18-Aug-15 0:12am
View
consider above updated link
sreeyush sudhakaran
17-Aug-15 6:41am
View
https://www.youtube.com/watch?v=pdUZJUv7vgM
sreeyush sudhakaran
13-Aug-15 1:07am
View
For help you need to share some part of code with explanation
sreeyush sudhakaran
12-Aug-15 4:43am
View
what was your error?
sreeyush sudhakaran
12-Aug-15 0:15am
View
I think timer is the best option
sreeyush sudhakaran
11-Aug-15 6:14am
View
suggest you to use Newtonsoft.Json it is good in serialization and de-serialization
sreeyush sudhakaran
11-Aug-15 6:10am
View
ok..
sreeyush sudhakaran
11-Aug-15 5:01am
View
when u set like this ts = dts - dte; dte will be always greater than dts so you will get a negative values here
sreeyush sudhakaran
11-Aug-15 4:53am
View
what is your error?
sreeyush sudhakaran
11-Aug-15 1:05am
View
What error it is showing?
sreeyush sudhakaran
10-Aug-15 7:43am
View
Refer http://www.connectionstrings.com/
sreeyush sudhakaran
10-Aug-15 7:41am
View
you can use SQL Authentication???
sreeyush sudhakaran
10-Aug-15 7:23am
View
better to use jquery widgets instead of ActiveX control
sreeyush sudhakaran
10-Aug-15 5:58am
View
You need to get a application authorization from google to view the map in your custom web browser and your browser need to be supported by google standards, Instead you can develop a ASP .NET Application.
sreeyush sudhakaran
10-Aug-15 4:23am
View
Have a look at http://codesamplez.com/programming/serial-port-communication-c-sharp
sreeyush sudhakaran
10-Aug-15 3:38am
View
Can you please make it more clear..
sreeyush sudhakaran
10-Aug-15 3:06am
View
Yea..I realized it :)
sreeyush sudhakaran
10-Aug-15 3:02am
View
ok..thank you, I came across same scenarios when i was doing a conversion project from vb6 to vb .net also that time unsupported controls made the bugs but here it looks strange , nothing just a class causing trouble.
I hope visual studio needs something like this
"The class Form1 can be designed, but is not the first class in the file. Visual Studio requires that designers use the first class in the file. Move the class code so that it is the first class in the file and try loading the designer again."
sreeyush sudhakaran
10-Aug-15 2:54am
View
this solution works,i tried but may i know what is the reason behind this?
sreeyush sudhakaran
10-Aug-15 2:35am
View
Do you mean re-selecting the focus on control from where you lost the focus?
sreeyush sudhakaran
10-Aug-15 1:47am
View
Yes..it works
sreeyush sudhakaran
9-Aug-15 9:02am
View
if you have small amount data which is only used for short term storage xml is a good option , if you have bulk amount of data and need bulk data processing don't even think about xml it is very heavy go for sql.
sreeyush sudhakaran
9-Aug-15 7:12am
View
It is different scenario while working with single and multi displays , this problem is pretty much solved in WPF windows application.
sreeyush sudhakaran
9-Aug-15 7:07am
View
refer https://msdn.microsoft.com/en-us/library/system.componentmodel.dataannotations.schema.foreignkeyattribute(v=vs.110).aspx
sreeyush sudhakaran
9-Aug-15 6:45am
View
Better to use a stored procedure and pass your variables as arguments , Your database will automatically handle it.
sreeyush sudhakaran
9-Aug-15 6:30am
View
Please refer this http://www.codeproject.com/Articles/22717/Using-PropertyGrid , sorry my knowledge is limited for answering your question.
sreeyush sudhakaran
9-Aug-15 6:18am
View
sorry can you please make it more clear...
sreeyush sudhakaran
9-Aug-15 4:23am
View
It came by some network issues here, sorry for the mistake
sreeyush sudhakaran
9-Aug-15 4:22am
View
Please mark star and mark it as answer
sreeyush sudhakaran
9-Aug-15 4:15am
View
You can add Points like this dynamically:
Point objPoint = new points();
objPoint.Lat = 35.7159323908571;
objPoint.Lng=51.6639151177448;
lstPoints.Add(objPoint);
or Even like this
priavte Point GetPoints()
{
//Logic for getting points from some where
return objPoints;
}
lstPoints.Add(GetPoints());
sreeyush sudhakaran
9-Aug-15 3:29am
View
You cannot change the text fore color of a DataGridviewComboBoxCell instead you can Draw text in the CellPainting event , Use a solid brush and draw your custom text on combobox cell. Another method is on combobox click your text can be changed.This is done by mounting a combobox to this cell on editing control showing event , in this case you can change fore color of combobox when it is showing on edit.
sreeyush sudhakaran
9-Aug-15 2:33am
View
Did you mean on mouse hover the invisible control should be visible?
sreeyush sudhakaran
9-Aug-15 2:30am
View
why you want to select or hover event for a invisible control?
sreeyush sudhakaran
7-Aug-15 3:33am
View
Then you can modify the eventArgs and do like this
if(e.KeyValue == Key0 || e.KeyValue == Key1 || e.KeyValue == Key2)
{
// DO some thing here
}
This will a meaningful I think so far
sreeyush sudhakaran
6-Aug-15 5:32am
View
that means you need the id not staff name in the place , for that select both id , staff name from database and then set :
listBox1.DisplayMember = "staffname";//Name of the field as in Database
listBox1.ValueMember = "id";//Name of the field as in Database
listBox1.DataSource = Ds; // A Datasource filled by Querying the database
sreeyush sudhakaran
6-Aug-15 3:06am
View
If you want to print more as data please use crystal reports.
sreeyush sudhakaran
6-Aug-15 2:30am
View
You can call this sql query in your C# or VB .NET , First I created table to show you how the table structure should be to re-serialize
sreeyush sudhakaran
6-Aug-15 2:27am
View
You can use OCX controls in .NET using a Interop Service in .NET , but I strongly recommend you to migrate the control to .NET custom control type if code belongs to you , because this may cause performance issues.
sreeyush sudhakaran
6-Aug-15 2:19am
View
Better to use a separate thread which will monitor disconnection and re-connect it. QT FTP library have it's own FTP Re-Connect Mechanism which can be configured for a time interval???
sreeyush sudhakaran
6-Aug-15 2:01am
View
To Reset, use the following SQL command:
DBCC CHECKIDENT('table_name', RESEED, [new_reseed_value])
sreeyush sudhakaran
6-Aug-15 0:59am
View
Sorry your question is not clear , Can you please make it more clear?
sreeyush sudhakaran
5-Aug-15 9:19am
View
See post here http://stackoverflow.com/questions/17874733/converting-image-to-base64
sreeyush sudhakaran
5-Aug-15 6:39am
View
There is another good method of creating CSV files from List or collection , and converting a csv to collection See more about it here : http://sourceforge.net/projects/filehelpers/ or you can just use string csvResult = string.join(",",csvData);
sreeyush sudhakaran
5-Aug-15 4:34am
View
please share your code snippet if possible
sreeyush sudhakaran
5-Aug-15 4:29am
View
I have written a fine implementation of this in a class please find code here http://how2doinvbdotnet.blogspot.ae/2015/07/how-to-upload-and-download-files-in.html?view=flipcard
sreeyush sudhakaran
5-Aug-15 4:26am
View
create a list of class which contains status of upload say List<<statusupload>> where
Class StatusUpload{
string strfilename;
bool bUploadStatus;
int nRe-tryCount;
};
use this in your foreach
sreeyush sudhakaran
5-Aug-15 1:31am
View
Deleted
You can increase the column width of the data table programatically after finding the max length of header in each excel file upload to your form.
sreeyush sudhakaran
4-Aug-15 7:57am
View
Deleted
I cannot submit some errors are showing
sreeyush sudhakaran
4-Aug-15 7:57am
View
Deleted
I cannot submit some errors are showing
sreeyush sudhakaran
4-Aug-15 7:43am
View
Deleted
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;
namespace ConsoleApplication4
{
class Program
{
public class HashValues
{
public string HName;
public string HValue;
}
static void Main(string[] args)
{
Hashtable hashtable = new Hashtable();
hashtable[1] = "FETAvgas";
hashtable[2] = "GETAvgas";
hashtable[13] = "PETAvgas";
hashtable[3] = "FET1Avgas";
foreach (DictionaryEntry entry in hashtable)
{
Console.WriteLine("{0}, {1}", entry.Key, entry.Value);
}
var smallJobs = hashtable.Values.Cast<string>().Where(x => x.StartsWith("FET"));
List <string> Result = smallJobs.ToList();
Console.WriteLine("Results Starts with FET:");
foreach(string items in Result)
{
Console.WriteLine("{0}", items);
}
Console.ReadLine();
}
}
}
sreeyush sudhakaran
4-Aug-15 6:46am
View
Clearly, you are missing a semi-colon after SSPI, so the argument is being read as please make sure that your connection string is correct. In my example I have added a semicolon just after password by mistake , "Password=mypwd;" please remove that and make sure that the whole connection string and credentials of database is correct for more refer : https://www.connectionstrings.com/sql-server/
sreeyush sudhakaran
4-Aug-15 6:42am
View
Please refer here :http://pinvoke.net/default.aspx/user32/EnumWindows.html
sreeyush sudhakaran
4-Aug-15 3:34am
View
See Here : http://stackoverflow.com/questions/5008082/convert-xaml-wpf-window-to-winform
sreeyush sudhakaran
4-Aug-15 2:12am
View
Add reference of linq , Linq library will work in .NET 3.5 and upper
sreeyush sudhakaran
4-Aug-15 2:11am
View
Initial Catalog is your database name , User ID is Database UserName and Password is your database password ,Field<type>(fieldname of table) syntax of empcode is the field name of table you want to display in dropdownlist followed by field type in database. and write connectionstring in a line see how to write connection string in .net from https://www.connectionstrings.com/sql-server/
Show More