|
I believe the second is telling you that you can write a function that takes the tsource and returns a bool to tell you a match, and pass it to the First method.
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.
|
|
|
|
|
In IE, when You type some URL in the address bar, corresponding web page will be displayed on screen.
How to catch this web page data on IE, using c#.
|
|
|
|
|
If your IE is a browser control inside your app, you can examine the HTML from there. If it's just IE, you may well be screwed.
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.
|
|
|
|
|
Hi,
i am also working in the similar type of problem.
using SHDocVw.InternetExplorer, you can get the DOM object.
from that you can get the entire source...
i am just struggling to get the frame element values in Gamail because it uses some strange format. by all means you can just catch the data from the DOM.
Regards
.....Jack
|
|
|
|
|
My project is large, so I can't remember when I last made any changes to this particular form, which used to work.
To bind the my datasets to the datagridviews I have:
bsUsers.DataSource = dsUsers;
bsUsers.DataMember = "UserList";
dgvUsers.DataSource = bsUsers;
bsRoles.DataSource = dsRoles;
bsRoles.DataMember = "RolesList";
dgvRoles.DataSource = bsRoles; The grids display the correct data.
At the start of saving changes I have:
Validate();
BindingContext[dsRoles, "RolesList"].EndCurrentEdit();
BindingContext[dsUsers, "UserList"].EndCurrentEdit(); The last line gives the runtime error "Child list for field UserList cannot be created". The previous line (dsRoles) works.
I have copied and pasted "UserList" just to make sure that there are no invisible spelling mistakes.
In the Watch pane I can't find any property for dsUsers where one can check if "UserList" is still correct.
|
|
|
|
|
Are you trying to reinitialize your grids bindings few times?
Life is a stage and we are all actors!
|
|
|
|
|
I want to make a C# calendarin which I want to show all the events( plans, appointments, festivals etc) from a database.The application should be a Windows application.
Would you please list me the possible( some easiest) ways of doing that.
1) Is there any to to select a date and write some text in it?
2)If I am making a custom calendar by inheriting the monthCalendar class, what are the extra things I need to do or learn?
3)Is there any way to bind the monthcalendar or a class inherited from monthecalendar class, in which I associate it to a
source and the events goes to their respective dates?
Any help will be highly appreciated.
|
|
|
|
|
arhat002 wrote: Is there any to to select a date and write some text in it?
I'm not sure what this means, but you can display a date with a textbox underneath, quite plainly
arhat002 wrote: If I am making a custom calendar by inheriting the monthCalendar class, what are the extra things I need to do or learn?
This is a terrible idea. The control is bound to cause you more grief than good
arhat002 wrote: Is there any way to bind the monthcalendar or a class inherited from monthecalendar class, in which I associate it to a
source and the events goes to their respective dates?
Hell no. Of course not. The control doesn't have any sort of idea of binding dates and events, because it does not do that
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.
|
|
|
|
|
|
Hi.
i want 2 show time 24 hour
how i can??
|
|
|
|
|
Hi,
did you tried this: DateTime.Now.ToString("HH:mm:ss") ?
Regards
Sebastian
P.S.: Please don't shout next time...
|
|
|
|
|
yes i tired this bt it show 12 hour after 12 am show 1 pm bt i want 13:00.
|
|
|
|
|
Okay, now I need more information. What are you doing exactly? Could you post a bit of your code?
|
|
|
|
|
this is my coding
InitializeComponent();
{
timer.Tick += new EventHandler(timer1_Tick);
timer.Interval = (1000) * (1);
timer.Enabled = true;
timer.Start();
}
private void timer1_Tick(object sender, EventArgs e)
{
DateTime dt = DateTime.Now;
Time.Text = dt.ToString("hh:mm:ss");
}
|
|
|
|
|
As said before: You have to use ToString("HH:mm:ss"). The format-string is case-sensitive. Uppercase H means 24-hour format.
|
|
|
|
|
|
No way!!!! it is working and it should work!!!
I am using the same format for several years now!!! no problem yet!!
Have a Happy Coding.....
|
|
|
|
|
Yes way - HH:mm:ss will not produce the same result as hh:mm:ss if it's past one o'clock.
|
|
|
|
|
My reply was for the message posted by SeMartens.
it clearly says "HH:mm:ss"
ofcourse there are several ways that it can produce wrong results if you supply wrong formats like hh:mm:ss...
HH:MM:ss ---------> which will give hours-months-seconds instead of minutes
HH:mm:ss tt ------> which will give 24 hours-minutes-seconds Am/Pm
hh:mm:SS ---------> will give hours-minutes-string "SS" and so on......
Have a Happy Coding.....
|
|
|
|
|
Guess I missed the irony then..
|
|
|
|
|
That is all available in the documentation. Don't be lazy.
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
|
|
|
|
|
|
I am trying to get keyboard and mouse hooks. I am able to install hooks in my system and also get the hooks. But i am trying to get hooks from a particular application, so is there any way to get it or it is possible that when i am installing the hooks then i am able to install for a particular application only.
I am using the following url as a sample application.
http://www.codeproject.com/KB/system/globalsystemhook.aspx
Please help me..
|
|
|
|
|
If you are trying to install global hook,you have to know that .NET Framework doesn't support that .You need a native DLL(based of MFC library for example),because .NET assembly doesn't support DLL exports(which are used for LoadLibary native function),required by the global hooks.Read bottom lines of this article.
Life is a stage and we are all actors!
|
|
|
|
|
ya i knw .NET Framework doesn't support this. I am using same dll and using this i am able to install hooks and also able to get the events on pressing of keys.
But i want to install the hooks for a particular application, so is there any method that give me this functionality or is there any way to get the application name on which we have pressing keys, so that i can do something on events if hooks comes from a particular application.
|
|
|
|