15,888,162 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 Sriram Bala (Top 38 by date)
Sriram Bala
1-Jan-15 4:10am
View
There is a help link already presnet in Codeproject related to XPS file printing using c#. May be you should try that approach?
URL 1.
Print to XPS from Code
Sriram Bala
9-Apr-14 7:30am
View
Hi,
<pre lang="xml">Could you please try renaming the component id "FCONUCClient.exe" to CMP_FCONUCClient?
<!-- Definition of Directory APPLICATIONFILEDIRECTORY -->
<Component Id="FCONUCClient.exe" Guid="C124E507-E545-45F1-8262-8528EE86706A">
hopefully this should solve the issue.</pre>
<pre lang="xml"><!-- Step 3: Tell WiX to install the files -->
<Feature Id="InstallFCON" Title="FCON UC Client 1.0.9" Level="1">
<ComponentRef Id="CMP_FCONUCClient" /></pre>
I hope this should solve this warning.
Sriram Bala
3-Feb-14 6:03am
View
Hello SA. Thanks for showing interest in my query Actually my requirement is similar to this question posted in this forum
<p>https://groups.google.com/forum/#!topic/microsoft.public.platformsdk.msi/1dYXJta4gOM</P>. Here Mr.Rajneesh suggested a workaround how to trick WIX to disable fileinuse window. I copied his suggested workaround here. Please have a look and let me know if it clear now.
Hi,
After struggling for about 3 hours, looks like I was finally able to figure
out how to trick MSI to NOT display the FilesInUse dialog.
All i did was set the Attribute property in the FilesInUse Dialog row in the
Dialog table to 0 (Zero).
This seems to have done the trick. At InstallValidate, MSI I believe tries
to load the dialog and since the msidbDialogAttributesVisible property is
not set, all i see is just a flash and the setup goes on. It does prompt for
a reboot in the end, which is even better.
Sriram Bala
13-Jan-14 8:47am
View
Thanks Mo. I think i am clear now.
Sriram Bala
13-Jan-14 8:42am
View
Hi I tried this program,
class Program
{
static void Main()
{
DateTime dt = DateTime.Today;
Console.WriteLine(string.Format("{0:g}", dt));
Console.ReadLine();
Console.WriteLine(dt.ToString(CultureInfo.CurrentCulture));
Console.ReadLine();
Console.WriteLine(dt.ToString(CultureInfo.InvariantCulture));
Console.ReadLine();
}
}
I got the output as
1/13/2014 12:00 AM
1/13/2014 12:00:00 AM
01/13/2014 00:00:00
if string.format and .Tostring("g")
is same then the output is different. Am I missing something here? Sorry to ask again and again.
Sriram Bala
13-Jan-14 8:16am
View
Hi Mo, Thanks for your response, In dt.Tostring() I can pass the cultureInfo.currentculture or Invarientculture... how this works with String.Format("{0:g}",dt)
Sriram Bala
3-Oct-13 8:23am
View
There is a resolved post in codeproject for file conversion. This does for .png to .jpeg. Please have a look it might help you.
http://www.codeproject.com/Questions/601801/Howplustoplusconvertplus-Pngplusimageplusintoplus
Sriram Bala
3-Oct-13 7:21am
View
Instead of .jpf format, you can try .gif format this will save you some space. http://www.siriusweb.com/tutorials/gifvsjpg/
Sriram Bala
29-Sep-13 9:14am
View
Hi,
Post your source code this will help us to have look and see we can provide any solution.
Sriram.B
Sriram Bala
23-Sep-13 6:07am
View
Search in GOOGLE and download as per your requirement. This forum is not for helping this kind of queries.
Sriram Bala
18-Sep-13 8:40am
View
Nice Search and Finding.
Sriram.B
Sriram Bala
16-Sep-13 7:40am
View
Hi. Sorry I am working in Windows application so Overlooked the requirement is in ASP.Net. User can remove the Message box stuff, however this piece of code will give the user an idea which he can modify for his requirement. By the way Nice catch. :-)
Sriram Bala
16-Sep-13 7:36am
View
Hi,
http://shop.oreilly.com/product/9780596521073.do?cmp=af-orm-msdn-book-9780596521066 - Chapter 17. Events in C# are implemented with delegates. The publishing class defines a delegate. The subscribing class does two things: first, it creates a method that matches the signature of the delegate, and then it creates an instance of that delegate type encapsulating that method. When the event is raised, the subscribing class's methods are invoked through the delegate.
Happy reading.
Sriram.B
Sriram Bala
13-Sep-13 2:38am
View
Hi, What is your domain experience and how many years of experience you have in a particular technology? In IT industry its always better to keep our options wide, by learning new skills.
Sriram Bala
13-Sep-13 1:07am
View
Deleted
Good Catch. Hope this solves his problem.
Sriram Bala
13-Sep-13 1:00am
View
Hi, Please post the sql query so far you have created.
Sriram.B
Sriram Bala
12-Sep-13 2:56am
View
Hi, there is an article in codeproject regarding captcha project place have a look this might resolve your problem.
http://www.codeproject.com/Articles/5947/CAPTCHA-Image
Sriram Bala
12-Sep-13 2:51am
View
Hi, Is there a problem you are facing? you have not mentioned anything but pasted table and trigger schema? edit your query with more information.
Sriram Bala
12-Sep-13 2:48am
View
Hi, I felt difficult to understand your question. You are getting an error message thats is clear, however do you have anylogic written inside try.. catchblock or it is thrown from the method called from some other place. brief your question to understand clearly.
Sriram Bala
6-Sep-13 8:58am
View
Hi,
Please go through this Link. you will understand the difference between them.
http://www.allinterview.com/showanswers/61039.html
Thanks
Sriram.B
Sriram Bala
30-Aug-13 7:29am
View
Hi, I could not understand your question. provide some more information.
Sriram.B
Sriram Bala
30-Aug-13 7:25am
View
Hi,
Please brief your requirement clearly. It will help viewers to provide relevant suggestions and solutions.
Sriram.B
Sriram Bala
30-Aug-13 7:21am
View
Welcome. here goes my suggestions.
1. Yes you need to add the namespace in the .xaml file of the main project
xmlns:vc="clr-namespace:ValueConverters;assembly=SecondaryProjectname" You can use intellisence functionality to select the correct namespace.
2. Please dont create classlibrary project. Create a normal WPF application project, then select the properties and change the output type to class library. this will solve your problem.
Thanks
Sriram.B
Sriram Bala
30-Aug-13 6:27am
View
Hi. Browse this link. http://en.wikipedia.org/wiki/Microsoft_certification
Sriram Bala
21-Aug-13 6:37am
View
Hi Gokulnath,
I am sure you can resize to various positions using grid splitter control. however i am not sure about dragging the control to different locations dynamically.
Regards,
Sriram.B
Sriram Bala
21-Aug-13 6:05am
View
Hi AnnuBhai,
I think you need to rephrase your question. if my assumption is correct you need to have a batch file(.bat) to invoke multiple setupfiles without user intervention.
Regards
Sriram.B
Sriram Bala
20-Aug-13 8:52am
View
Hi Yesudasan Moses,
Yes making use of .resx to support multi-language or culture facility is one of the best option. Based on my experience it will not affect performance. Instead of verticl picture you can use styles and control template to display the text vertically. but the decision is yours based on your requirement.
Sriram.B
Sriram Bala
20-Aug-13 6:31am
View
Hi,
https://forum.hibernate.org/viewtopic.php?f=25&t=951789. Have a look in this link looks similar to your problem.
Thanks
Sriram.B
Sriram Bala
20-Aug-13 6:27am
View
Hi,
What do you mean Beautifull menu? are you using winforms or WPF or webbased application. Be specific on your requirements to help us understanding.
Thanks
Sriram.B
Sriram Bala
20-Aug-13 4:42am
View
Thanks Punam1990
Sriram Bala
20-Aug-13 2:10am
View
Hello Romeland,
You need to mention the table columns and the constraints defined to relate the tables. This will provide us an idea to help you writing a query to suffise your requirement, otherwise we are helpless.
Thanks
Sriram.B
Sriram Bala
20-Aug-13 2:03am
View
Hi Arun pk.
If you are using the Parent container control as Grid then you have the GridSplitter control as an option to resize and adjust all the four user controls similar to Visual studio editor. Tell us how you placed the usercontrols like all stacked horizontally or vertically mostly i am looking for the layout.
Regards,
Sriram.B
Sriram Bala
19-Aug-13 6:39am
View
Hi Kiranrahir,
Can you update what is the namespace defined for "dxgt:". You can find it at the Header part of the .xaml page. you can find the style defined in App.xaml if there is no separate Project for styles.
Sriram Bala
19-Aug-13 1:52am
View
Hi Sudeshna,
The error message clearly shows the data is either not unique or null which is against the primary and Unique key rule. Please debug and check the ComboBox1.Text is having unique value or not. for testing purpose try with some hardcoded values and check wether it is getting inserted in to the database since you have mentioned only broker id is primary key. Make sure you are NOT inserting the same value for the primary key again and again. It is invalid.
Thanks.Sriram.B
Sriram Bala
14-Aug-13 8:24am
View
I am trying to replicate the error you pasted above. I am not getting that. I placed a command button in the form and wrote the above piece of code inside Private Sub CommandButton1_Click(). However Member 10208918303 should include empty text validation logic like you mentioned. Thanks. :-)
Sriram Bala
14-Aug-13 6:36am
View
Hi,
I am not clear with your question. Are you trying to implement the functionality using .net Program or looking for a VBA macro code.
If macro code Press Alt+F11 in spreadsheet this will take you to VBA code window. Below URL will help you.
http://www.yogeshguptaonline.com/2009/04/macros-in-excel-disable-cut-copy-paste.html
Thanks.Sriram.B
Sriram Bala
11-Jul-13 8:06am
View
Hi, I am unable to understand your question. Are you looking for a SQL query to display the shown output?
Sriram Bala
6-Feb-13 2:25am
View
Do you need to export only data present in current page or the whole content, since you mentioned paging.
Show More