|
That's what I was trying to get to above. It looks like /q isn't a supported switch for an upgrade, although I can't say for certain whether or not this is the case. Without knowing any more about how you created this update exe, I can't give any more help.
|
|
|
|
|
Ok thanks for this information
|
|
|
|
|
I run the below query in SQL server through C#.
SELECT ScheduleTime FROM test
I'm using SqlDataAdapter to fill the results in datatable. I'm getting "ScheduleTime" values from test table ("ScheduleTime" is datetime type). But the results are in system date time format.
For example, if my system Time format is "tt hh:mm:ss" in Long Time, the results are in the below format.
27-03-2013 PM 03:51:01
if my system Time format is "HH:mm:ss" in Long Time, the results are in the below format.
27-03-2013 15:51:01
I need to get the results in dd/MM/yyyy HH:mm:ss format irrespective of system date/time format.
Please guide me to this. Thanks in advance.
|
|
|
|
|
convert the date to show your desire format eg.
DateTime dt = yourdatabasedate;
string showdate = dt.ToString("dd/MM/yyyy");
for you : use this format "dd/MM/yyyy HH:mm:ss"
|
|
|
|
|
Thank you, hemantrautela. Due to hectic schedule, couldn't able to solve this small issue.
Thank you once again
|
|
|
|
|
I do not understand why the right button does not work??
namespace mouseclick
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
listBox1.MouseClick += new MouseEventHandler(listBox1_MouseClick);
listBox1.Items.Add("aaaaaaaaaaaa");
listBox1.Items.Add("aaaaaaaaaaaa");
listBox1.Items.Add("aaaaaaaaaaaa");
}
void listBox1_MouseClick(object sender, MouseEventArgs e)
{
if (e.Button == MouseButtons.Left)
{
MessageBox.Show("Left Button");
}
if (e.Button == MouseButtons.Right)
{
MessageBox.Show("Right Button");
}
}
}
}
|
|
|
|
|
Are you right-clicking on an item, or the listbox?
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Clicking on an item. Left clicking item works. Right clicking item does not.
|
|
|
|
|
Tried same code on both Vis2008 and Vis2010 Express with the same result.
|
|
|
|
|
The ListBox does not return a right click event; see the table on this MSDN page[^].
Use the best guess
|
|
|
|
|
Thanks I guess I will have to write a custom listBox from scratch.
|
|
|
|
|
I see from your posted link that a listView does have a right.mouse.button.click. I guess that's my best solution.
|
|
|
|
|
Quite possibly; it all depends on what you are trying to do.
Use the best guess
|
|
|
|
|
Perhaps the MouseDown and MouseUp events could help.
|
|
|
|
|
better use else if in second condition
if (e.Button == MouseButtons.Left)
{
MessageBox.Show("Left Button");
}
else if (e.Button == MouseButtons.Right)
{
MessageBox.Show("Right Button");
}
|
|
|
|
|
I need to read invoice info off of a PDF. The files have no images and are tabular in design.
I did some Google searches but I can't seem to find an example of actually reading a PDF.
Anyone done this? Can you provide an example or point me in the right direction?
Thanks
If it's not broken, fix it until it is
|
|
|
|
|
|
Thank you!
If it's not broken, fix it until it is
|
|
|
|
|
You're welcome
|
|
|
|
|
ITextSharp is possibly the best tool available to process pdf[^].
|
|
|
|
|
I wish to setup some of my favorites in Internet Explorer programmatically through C# from an HTML file (same as IE export file or similar). Can anyone point me to an example or write code or point me in the right direction.
Thanks in advance,
Michael
|
|
|
|
|
You can <a href="http://msdn.microsoft.com/en-us/library/ms143368.aspx">File.ReadAllText</a>[<a href="http://msdn.microsoft.com/en-us/library/ms143368.aspx" target="_blank" title="New Window">^</a>] to read in such an IE export file. There's an example on the bottom of that page. One could also <a href="http://msdn.microsoft.com/en-us/library/s2tte0y1.aspx">File.ReadAllLines</a>[<a href="http://msdn.microsoft.com/en-us/library/s2tte0y1.aspx" target="_blank" title="New Window">^</a>] , if that's easier with manipulating strings.
Lastly, (you can almost guess it), there's also a <a href="http://msdn.microsoft.com/en-us/library/system.io.file.writealltext.aspx">File.WriteAllText</a>[<a href="http://msdn.microsoft.com/en-us/library/system.io.file.writealltext.aspx" target="_blank" title="New Window">^</a>] method available. You'll find them all in the System.IO namespace[^], which you'll need to add to your "usings".
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Hi all,
I have searched the web for articles on using Opensource API. to convert word documents to other formats but have yet to find any. I would stick with Office Interop but I cannot install it on the web server I'm currently using unless I signup for a dedicated server. Please point me to a site if you know of one, thanks in advance.
|
|
|
|
|
|
Hi
For multiple employees (one or more), I have to generate report
--Report will be same for all employees
--Each page of report viewer will contain a single report for a single employe.
For example, for 10 employees ten report will be in ten pages of a single report viewer.
I am making report with RDLC
How i will do it??
Please help me
Thanks
modified 2-Apr-13 0:14am.
|
|
|
|