|
Hi Navaneeth,
Now I keep receiving the following error message, could it be that the WebDav is disabled on the exchange server?
The remote server returned an error: (440) Login Timeout.
Thanks again.
Kind regards,
The only programmers that are better C# programmers, are those who look like this -> |
Programm3r
My Blog: ^_^
|
|
|
|
|
Not sure. I haven't experienced this so far. All I can suggest is to try adding more timeout value.
|
|
|
|
|
Hi,
I am facing an issue when using ErrorProvider's SetError method.
It seems the character "&" is not displayed in the error description string.
<br />
string tempStr = "Input can not contain the characters: &,^,!";<br />
this.mainErrorProvider.SetError(this.inputTxtBox, tempStr);<br />
The above code displays the tool tip consisting of the provided string but the "&" character seems to be converted to "space" character.
I am using Visual Studio 2008 with project targeted for .NET 3.0 Framework.
Any help would be appreciated.
Thanks,
sysdeamon.
|
|
|
|
|
|
Thanks, "&&&" did the trick.
sysdeamon.
|
|
|
|
|
Dear All, I have serveral pdf files, any ideas how to merge them into single file?
Abdul Rahaman Hamidy
Database Developer
Kabul, Afghanistan
|
|
|
|
|
|
|
|
|
|
If you want full source, I suggest advertising on the job site, or perhaps rentacoder. Be careful, some people there take jobs, then just come here and ask us to do the work for them.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
how to post item to ebay from c#.net application.I want to list item in ebay site under particular category(for example lg camera under camera category).
|
|
|
|
|
What have you tried ? What does the ebay site say ? What does google suggest ?
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
R U Try ed any thing...,
i thing u have to use the ebay developers API's.
Go through this .., this may help u
Ebay APIs[^]
Rajesh B --> A Poor Workman Blames His Tools <--
|
|
|
|
|
Dear friends,
i have small doubt.. i need to take the FilePath (full path) using process id . how to get it?
if i Use WMI are Process class i could get only the exe name for an example i get like c:\windows\system32\notepad.exe
but i want the filepath (where the opend file is physicaly available)
any idea? link ..
plz help me
By
Joe.I
|
|
|
|
|
By filepath, you mean the path to the file that is open in notepad ? No chance in hell that will work. The program itself may keep track of what files it has open, but the system doesn't care.
With notepad, you can read the text on the title bar, I believe.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Dear Christian Graus
Thanks For ur replay ..
With notepad, you can read the text on the title bar, I believe.
ya i got this one. but still i was trying some other possiblity ...
another clarification ..
is it possible to get ProcessID in FileSystemWatcher+create event?
my requirement is When the User "Save As" a file i want the full file path how to do that??
Thank U
Joe.I
|
|
|
|
|
=>Joe<= wrote: my requirement is When the User "Save As" a file i want the full file path how to do that??
I believe that articles exist on how to hook into notepad and add your own code to it. The process would be different for every program. If the standard file save dialog is used, that may be a hook too, but I doubt it. Your best bet really would be to watch the whole file system and watch when new files are created.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Thanks for your replay .....
I believe that articles exist on how to hook into notepad and add your own code to it
ya i tried this but there is a problem like
"Save As" event that need to hooked is not same in all the application ...
any idea for it?
Thank U
Joe.I
|
|
|
|
|
The only thing that's going to work is what I said already. A system wide file watch for new files will tell you if save as was used to create a new file. Overall, what you're trying to do, is pretty much impossible, but you can at least tell if a new file was created and work out what sort from the file extension.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Dear Christian Graus
Thanks for replay ..
for save as (any applicaion) what i have done is .....
at first i have hooked windows destroy event ..
when the window is distroyed, i am checking the window title as "SAVE As" if it so then i save the process id and (time) in a globel variable ...
then ..
when save as is done, file watcher event is fired there i am checking the new file name (getting the file name form e.Fullpath) with stored process id Window title ........ (and time)
i could not compare winth the newly created file Process ID with old process id .
i do not know how for this will work ....
|
|
|
|
|
gday all,
im having a problem with a C# application im developing.
the code is as follows.
...
namespace Keystore
{
public partial class FindKey : Form
{
public FindKey()
{
InitializeComponent();
}
DataSet ds;
System.Data.SqlClient.SqlDataAdapter da;
DatabaseHelper dataHelper = new DatabaseHelper();
DataRow dRow;
private void FindKey_Load(object sender, EventArgs e)
{
string sql = "SELECT * FROM Key";
string name = "AllKeys";
da = dataHelper.getAdapter(sql, name);
ds = dataHelper.getDataSet();
refreshList(1);
fillcboProvider();
fillcboProduct();
}
...
...
namespace Keystore
{
class DatabaseHelper
{
System.Data.SqlClient.SqlConnection con;
DataSet ds;
System.Data.SqlClient.SqlDataAdapter da;
public DatabaseHelper()
{
con = new System.Data.SqlClient.SqlConnection();
con.ConnectionString = "Data Source=.\\SQLEXPRESS;AttachDbFilename=|DataDirectory|\\KeyStore.mdf;Integrated Security=True;User Instance=True";
ds = new DataSet();
}
public System.Data.SqlClient.SqlDataAdapter getAdapter(String sql, String name)
{
da = new System.Data.SqlClient.SqlDataAdapter(sql, con);
da.Fill(ds, name); *** Code 'finishes' the load after here ***
return da;
}
...
The code seems to be ending the "load" phase at the marked line (marked with ***)
theres no error message, the program doesn't hang or anything... It just seems to be stopping the load there and displaying my form without any data in it.
Has anyone had this problem before? Can anyone help me fix it?
Also, can anyone tell me if the MSDN forums are down? i can't get to them for some reason...
Cheers in advance!
|
|
|
|
|
I already replied but got an error.
I think you are utilizing your DataAdapter many times. The first time you are probably going to the end (first fill). If you call fill again, you will have no data.
Don't return your DataAdapter. Use only the DataSet.
|
|
|
|
|
Dont i need to call da.fill for each new query?
ie, if i want to have a query that gets all the data in a table i would name it and call it by its name.
or if i want a query that gets all the companies in the database id name it "companies" or something
etc etc.
|
|
|
|