16,018,460 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 Darsh_Basha (Top 23 by date)
Darsh_Basha
10-Dec-13 9:22am
View
Hi @OriginalGriff
i tried ur answer
USE [CS_ATC]
GO
DECLARE @return_value int
EXEC @return_value = [dbo].[Ledger]
@Account_Serial = 4,
@DateFrom = N'26/1/2013',
@DateTo = N'1/1/2014'
SELECT 'Return Value' = @return_value
GO
and return this error
Error converting data type nvarchar to datetime.
Darsh_Basha
31-Oct-13 10:16am
View
This didn't help me
Darsh_Basha
31-Oct-13 6:22am
View
@IpsitaMishra did u read my Question ?
i want to move or Align controls to right
Darsh_Basha
7-Jul-13 7:28am
View
right click and then execute procedure , write the group name and press ok
Darsh_Basha
3-Apr-13 6:35am
View
@_Amy
this is not my question , i asked to press on the gridview then get the value that selected or pressed .
Darsh_Basha
3-Apr-13 6:13am
View
@_Amy
sorry , but i don't understand your answer
Darsh_Basha
31-Mar-13 11:30am
View
@Omar Adnan Isaid
can u explain how to do this "CausesValidation" in my buttons in my page
my page inhabited from master page. the master page contains three buttons
Darsh_Basha
28-Mar-13 8:26am
View
@ryanb31
plz tell me more
Darsh_Basha
28-Mar-13 7:59am
View
Thx
Darsh_Basha
28-Mar-13 7:59am
View
Thx
Darsh_Basha
25-Mar-13 9:28am
View
@mbsmbs
i want to use my url ,How can i do
Darsh_Basha
25-Mar-13 9:20am
View
@aspnet_regiis -i
all document ( word , powerpoint , pdf , iamges "jpg,png,tiff" )
Darsh_Basha
13-Mar-13 6:51am
View
@Matej Hlatky
can u explain more , i don't understand this idea
Darsh_Basha
5-Mar-13 9:35am
View
yea
added reference for (word,Excel, PowerPoint,Visio)
Darsh_Basha
28-Feb-13 9:42am
View
sorry
but this not i want to do
Darsh_Basha
28-Feb-13 8:23am
View
Ibrahim Uylas
i didn't like to do this , more complex and waste time for convert word to html and display it
i ask u
i i do this what is the view of the document the same like in the word
Darsh_Basha
28-Feb-13 7:26am
View
Ibrahim Uylas
tell me how
and think it's not good idea
Darsh_Basha
28-Feb-13 5:50am
View
Thx Ibrahim Uylas
but this didn't display the document in a webpage ,but display download window
i want to display the document in web with same style
Darsh_Basha
28-Feb-13 5:07am
View
Hi @aspnet_regiis
no answer, where is it
i have some problems with this code and ask for Help
Darsh_Basha
28-Feb-13 3:43am
View
Hi
@Anuja Pawar Indore
@Anuja Pawar Indore
using Microsoft.Office.Interop.Word;// Microsoft.Office.Interop.Word reference
private void readFileContent(string path )
{
ApplicationClass wordApp = new ApplicationClass();
object file = path;
object nullobj = System.Reflection.Missing.Value;
object format = true;
Microsoft.Office.Interop.Word.Document doc =wordApp.Documents.Open(
ref file,
ref nullobj,
ref nullobj,
ref nullobj,
ref nullobj,
ref nullobj,
ref nullobj,
ref nullobj,
ref nullobj,
ref format,
ref nullobj,
ref nullobj,
ref nullobj,
ref nullobj,
ref nullobj,
ref nullobj);
doc.ActiveWindow.Selection.WholeStory();
doc.ActiveWindow.Selection.Copy();
string sFileText = doc.Content.Text;
string style = doc.
doc.Close(ref nullobj, ref nullobj, ref nullobj);
wordApp.Quit(ref nullobj, ref nullobj, ref nullobj);
Response.Write(word);
}
this function open the content of the word file in web,but without word style
thx
Darsh_Basha
27-Feb-13 10:06am
View
Hi
@Anuja Pawar Indore
thx for replay , but your idea is not good
i want to use
Collapse | Copy Code
Response.ContentType = "application/msword";
and why convert the document to pdf
thx
Darsh_Basha
16-Mar-12 9:40am
View
Thanks
Darsh_Basha
8-Mar-12 16:08pm
View
The line that generate this exception
da.SelectCommand.CommandText ="select sum(مدين),sum (دائن) from اذن_قيد where اسم_البيان='" + comboBox1.SelectedIndex + "'";
Show More