16,004,653 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 .net developer123456789 (Top 37 by date)
.net developer123456789
8-Apr-19 5:29am
View
Thanks Nirav
Please give me link for above your comments so I will implement.
Thanks
.net developer123456789
8-Apr-19 5:00am
View
Thanks OriginalGriff,
I tired following code but can't work on Visual Basic.
Dim DownloadedFileFilename As String ' you save here your downloaded file name
Dim EA As Excel.Application
Dim DownloadedFile As Workbook
Set EA = New Excel.Application
With EA
.Visible = True ' Just to make sure
.ScreenUpdating = True ' Just to make sure
Set DownloadedFile = .Workbooks.Open(Filename:=DownloadedFileFilename), ReadOnly:=True)
' [DO STUFF]
End With
any idea ?
how to download .xlsx file in internet explorer dialog box using visual basic
.net developer123456789
4-Oct-17 3:15am
View
Thanks,It's working fine
.net developer123456789
30-Aug-17 5:52am
View
Thanks,HttpStatusCode.OK =200/201
.net developer123456789
30-Aug-17 5:34am
View
Deleted
Response Code = Ok (200/201)
.net developer123456789
30-Aug-17 5:18am
View
Code here :- if(fileContent != null && fileContent.Length > 0)
{
//byte[] fileContent = Convert.FromBase64String(docContent);
MemoryStream ms = new MemoryStream(fileContent);
Document doc = new Document(ms);
ms.Close();
MemoryStream toMS = new MemoryStream();
doc.Save(toMS,SaveFormat.Pdf);
toMS.Position = 0;
byte[] pdfbytes = toMS.ToArray();
pdfContent = Convert.ToBase64String(pdfbytes);
return Request.CreateResponse(HttpStatusCode.OK,pdfContent);
}
.net developer123456789
8-Feb-17 5:31am
View
please provide sample code.
.net developer123456789
8-Feb-17 3:55am
View
Try using XmlElement instead of XElement, that should work on both full and partial trust.
.net developer123456789
29-Jul-16 1:47am
View
It's working fine for VS 2013 :- https://visualstudiogallery.msdn.microsoft.com/9abe329c-9bba-44a1-be59-0fbf6151054d
but I found visual studio 2012.
please help
.net developer123456789
20-Jun-16 3:24am
View
please try :-
StringBuilder sbAmount = new StringBuilder();
string Addcomma = "";
for (int i = 0; i < dataGridView1.Rows.Count - 1; i++)
{
sbAmount.AppendFormat("{0}{1}", Addcomma, dataGridView1.Rows[i].Cells[0].Value.ToString());
Addcomma = ",";
}
string amounts = sbAmount.ToString();
con.Open();
OleDbCommand cmd = new OleDbCommand("insert into sale (ItemName) values ('" + amounts + "')", con);
cmd.ExecuteNonQuery();
MessageBox.Show("Data Registered");
.net developer123456789
20-Jun-16 3:01am
View
Deleted
Please try this code :-
con.Open();
for (int i = 0; i < dataGridView1.Rows.Count; i++)
{
string amounts = dataGridView1.Rows[i].Cells[0].Value.ToString();
OleDbCommand cmd = new OleDbCommand("insert into sale (ItemName) values ('" + amounts + "')", con);
cmd.ExecuteNonQuery();
MessageBox.Show("Data Registered");
}
.net developer123456789
15-Jun-16 5:43am
View
ok.Thank you..
.net developer123456789
9-Jun-16 7:55am
View
Thanks....
.net developer123456789
9-Jun-16 7:47am
View
I have installed Team Development for Sitecore.But still no luck
.net developer123456789
9-Jun-16 7:43am
View
I am trying to open my solution in Visual Studio 2013. I have 8 projects in one solution but now I have added 2 project in solution.
.net developer123456789
9-Jun-16 7:40am
View
Deleted
I am getting an error “These projects are either not supported or need project behavior impacting modifications to open in this version of Visual Studio. Projects not displayed either require no changes or will automatically be modified such that behavior is not impacted.
Unsupported
This version of Visual Studio does not have the following project types installed or does not support them. You can still open these projects in the version of Visual Studio in which they were originally created. For details, see More information.”
.net developer123456789
9-Jun-16 7:39am
View
I am trying to open my solution in Visual Studio 2013. I have 8 projects in one solution but now I have added 2 project in solution.
.net developer123456789
9-Jun-16 7:38am
View
Yes,solution
.net developer123456789
8-Jun-16 5:58am
View
Ok...Thanks
.net developer123456789
3-Jun-16 8:16am
View
how can only use JSONP for get requests ?
.net developer123456789
2-Jun-16 3:08am
View
Thanks..but How to write to a JSONP(JavaScript Object Notation with Padding) file using C#? (Desktop Application)
.net developer123456789
2-Jun-16 2:57am
View
How to write to a JSONP file using C#? (Desktop Application)
.net developer123456789
26-May-16 7:32am
View
Thanks...
.net developer123456789
26-May-16 6:42am
View
Yes,please help me
.net developer123456789
26-May-16 6:05am
View
Code Here :
public static void UploadShareFile(string strfilename)
{
try
{
string fileName = Path.GetFileName(strfilename);
System.IO.File.Copy(strfilename, "\\\\Admin-PC\\Upload\\" + fileName);
}
catch (Exception ex)
{
WriteToErrorFile("UploadShareFile Method Error on: {0} " + ex.Message);
}
}
.net developer123456789
26-May-16 5:54am
View
The file '\\Test-PC\UploadTest\test.txt' already exists.
please any idea ?
.net developer123456789
26-May-16 5:28am
View
Thanks a lot..Now working
.net developer123456789
26-May-16 4:58am
View
I got error something like this :- The name provided is not a properly formed account name.
.net developer123456789
5-May-16 10:11am
View
Microsoft Silverlight 5 SDK
.net developer123456789
4-May-16 3:28am
View
how can do ? please more explain..
.net developer123456789
15-Apr-16 4:15am
View
Thanks,how can test in my localhost any idea ?
.net developer123456789
14-Apr-16 5:46am
View
Yes,but my case stop application,now how can restart app ?
.net developer123456789
14-Apr-16 5:25am
View
try
{
logic here
}
catch (Exception ex)
{
//System.Runtime.InteropServices.COMException
WriteToErrorFile("ReadMail Method Error on: {0} " + ex.Message);
How can restart the Console app?
}
.net developer123456789
5-Apr-16 7:30am
View
Thanks for your help.. its working fine for me.
.net developer123456789
5-Apr-16 7:25am
View
Thanks for your help.. its working fine for me.
.net developer123456789
5-Apr-16 7:11am
View
Yes Working on console application..
Code here :-
Outlook.Application myApp = new Outlook.Application(); Outlook.NameSpace mapiNameSpace = myApp.GetNamespace("MAPI"); ns = myApp.GetNamespace("MAPI");
I try Local service..
.net developer123456789
5-Apr-16 7:04am
View
Value Data Set : Y
is it EnableDCOM ?
Show More