|
Mostafa&Messi wrote: hi , i'm project tic tak toe by tree binary in ds
Weird name, dude. Good to meet you, I'm Christian
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
|
Damn - I'm looking for the "Great answer" link. Good answer just doesn't cut it here.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
*grin* I was surprised it was still open after two replies.
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
Mostafa&Messi wrote: tree binary
Nah, you need to go recursive.
|
|
|
|
|
Make that game three dimensional. Then you have twice the chance of getting help from someone here. You also have exactly the same chance of getting help from someone here
Between the idea
And the reality
Between the motion
And the act
Falls the Shadow
|
|
|
|
|
Mostafa&Messi wrote: hi , i'm project tic tak toe by tree binary in ds
plz help me
So what's your problem then? It doesn't sound so bad!
|
|
|
|
|
Hi,
I want to get the text of an html page using a simple application in c#?
If there are nested elements
ie.,
<Table>
<TR>
<TD>ABC
</TD>
<TD>1
</TD>
</TR>
<TR>
<TD>XYZ
</TD>
<TD>2
</TD>
</TR>
</Table>
How can I get the text(bold) directly without using a foreach loop?
ie.,
<Table>
<TR>
<TD>Work
</TD>
<TD>1
</TD>
</TR>
<TR>
<TD>Cost
</TD>
<TD>2
</TD>
</TR>
</Table>
How can I change the ABC to Work and XYZ to Cost,
such that User should see directly the replaced text(i.e., Work and Cost instaed of ABC and XYZ).
|
|
|
|
|
I assume you have a web browser control you're working with. You can access the HTML from that control, and you can use all sorts of methods to change the HTML, from replacing the document with an edited one, to using the Document object to manipulate the HTML
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
I use the Document object to manipulate HTML, but the thing is initially for a fraction of second the old(original) text is visible and then that is replaced by New text.
How to avoid this using delay in fraction of seconds.
I want the new text to be directly visible to user.
How to do this?
|
|
|
|
|
I would expect you cannot. A fraction of a second, that's the issue here ?
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
Set it to invisible in the designer. Show it a second after "NavigateComplete", and the user won't see the data change during load
..or overlay it with a nice picturebox with a "Please hold, loading data" picture.
I are troll
|
|
|
|
|
I am using
item.SubItems.Add('\x6E'.ToString(), Color.FromArgb(row.DiaryActionRow.Color), diaryListView.BackColor, colorFont);
to display a coloured square within a listView column. It works fine, but now and then the listview displays a large red cross instead of the required columns and contents. Anyone know why this is please?
(I'm using VS8 to create the application)
|
|
|
|
|
I bet you are using a WinForm control, such as the System.Windows.Forms.ListView, is it?
In such case the red crass is a symptoms of an exception when painting... (in OnPaint, or in some native code for some build-in control)
A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station....
_________________________________________________________
My programs never have bugs, they just develop random features.
|
|
|
|
|
Is this fixable? It's driving the users nuts.
|
|
|
|
|
catch the exception, analyze it, fix it!
if it's your own control use a try/catch in OnPaint!
if it's a 3rd party control, mmh...handling of unhandled exception is a topic which change with every version of the .NET framework so it's hard to help with little detail you give.
but perhaps you might have some luck with:
System.Windows.Forms.Application.(
ThreadException
SetUNhandledExceptionMode
)
and/or
AppDomain.UnhandledException
A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station....
_________________________________________________________
My programs never have bugs, they just develop random features.
|
|
|
|
|
If you want a red square, might just using a space with a back color of whatever you want, work better ? The other option is to owner draw the control, I guess,
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
is it "tongue in cheek" humor?
Note: it's not a question whether it's humor or not, but a question to check if I'm using the right expression!
(Still learning English, I am!)
A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station....
_________________________________________________________
My programs never have bugs, they just develop random features.
|
|
|
|
|
i already send mail by programmatically(C#)but i cant receive mail.i am developing a software like Microsoft out look express.
Any help will be highly appreciated.
|
|
|
|
|
|
I am using the ListView in detaisl mode has 6 columns, and able to add the rows (items) to it. Now I want search the column1 for the perticular text.
|
|
|
|
|
You really should read the full documentation for controls, before posting a question.
From MSDN: How to add Search Capabilities to a ListView[^].
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
Hi,
I need some help in finding the best way to stream the content of an XML file to a HttpWebRequest. This needs to be streamed as the xml contains a Base64 Encoded zip file. The XML is encoded using UTF-8 if this makes a difference? Previously I was just using
byte[] byteData = Encoding.UTF8.GetBytes(requestInfo.XML);
but this was under some circumstances causing me a OutOfMemory exception. I cant send the actual file so cant stream the file. What is the best way to stream the UTF8 xml data to the HttpWebRequest.
Thanks
Stu
|
|
|
|
|
Hi
I am trying to get data from several dynamics datagridview. The grids are on a tabbed pages. I have set the form and the tab control to public
frmTeacherApp teachApp;
private void btnSave_Click(object sender, EventArgs e)
{
teachApp = new frmTeacherApp();
foreach (Control ctl in teachApp.Controls)
{
//Finding the datagridgrids from a global ArrayList i put the grid
//names in
}
}
but not work. Also try to put the grid into public System.ComponentModel.Container with same result.
Can someone help me?
Regards
Rune, Norway
|
|
|
|
|
If the DatagridView is bound and the "another form" opens from the form having these grids, you can send the datasource of the grids through a parameterized constructor.
|
|
|
|