|
I think the main reason for this behaviour is this (in general):
The obvious choice (without reading the guide lines) is to surround source code with the code tags. Which is wrong(!)
It's not easy (still, for someone who hasn't read the posting guide lines) to realize that the correct choice is to use the pre tags. The name isn't very descriptive...
IMO, a change in the names in the formatting options should make it easier for the posters to do the correct choice.
Alcohol. The cause of, and the solution to, all of life's problems - Homer Simpson
|
|
|
|
|
kakan wrote: IMO, a change in the names in the formatting options should make it easier for the posters to do the correct choice
i think this will need a big big change in the CP engine.
a better/simpler solution would be to provide a more explicit picture on the buttons which allow to surround a text with one or other html tags...
|
|
|
|
|
I'm sure it would help up the situation.
Any difference from today must be an improvement...
Alcohol. The cause of, and the solution to, all of life's problems - Homer Simpson
|
|
|
|
|
toxcct wrote:
posting police
What about Posting Police Gang
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and you
|
|
|
|
|
ThatsAlok wrote: What about Posting Police Gang
so you think advising people to follow CP rules is that bad ?
what about Posting Crap Gang, which is very influent thoses days ?
|
|
|
|
|
toxcct wrote: what about Posting Crap Gang, which is very influent thoses days ?
I think you're right. There's a real crappy gang set out these days who don't follow the rules.
Nobody can give you wiser advice than yourself. - Cicero
ப்ரம்மா
|
|
|
|
|
toxcct wrote:
so you think advising people to follow CP rules is that bad ?
i am not teasing you buddy... just want to from Posting Police Gang(Group).. what you say?
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and you
|
|
|
|
|
ThatsAlok wrote: what you say?
i don't get you...
|
|
|
|
|
I think you misunderstood him !
:Gong: 歡迎光臨 吐 西批 :Gong:
|
|
|
|
|
i think so, because i know Alok is a good guy, wanting the best for CP, but still i can't get what he meant
|
|
|
|
|
Hi all,
i have a DLL named as "AxInterop.ECLActiveX.dll" but i dont know is it "activex control" or "simple com DLL".
I have to use this DLL in my application which is console base application in managed code.
this DLL export some function like "compreesFile" etc.
can anybody tell me how can call function from that DLL.
please reply me.
thanks
bankey
|
|
|
|
|
|
Hi we are running on application on port .Here it is required to display the some
message when the port is already bind.kindely help me.
#sanroop#
|
|
|
|
|
Are you talking about a communication port used by sockets?
If so, then bind() should fail if the port is in use. Note that even if a port is in use by
another protocol, it's still possible to use the port. For example you can have tcp listen on
a port and use the same port number for UDP.
|
|
|
|
|
Hello
I build my project and everything builds fine untill when I press F5 to debug my application. As soon as I press F5, a dialogbox comes up asking me to "enter the path for MFCS42.PDB file". I have looked into the "C:\Program Files\Microsoft Visual Studio\VC98\MFC\Lib" folder and found this PDB file. But, when I change the path to this folder, it says though a file has been found, this is not the correct file. What could be the problem ??
I press cancel button, and the debugging continues normally without any problem. Though the debugging is continuing without any issues, I want to know the reason for this issue. Can someone please help me ??
|
|
|
|
|
When closing the childframe window which is having some views,
Is RedrawWindow() must be called or no need.
Thanks & Regards,
Suman
|
|
|
|
|
rp_suman wrote: RedrawWindow()
For which window you are talking about ?
Its not needed.
|
|
|
|
|
After closing the childframe, the whole window should be updated so that the childframe should not be visible and other windows (if there are some other childframe)should come to visible. For this does we need to call RedrawWindow() of MainFrame?
Thanks & Regards,
Suman
|
|
|
|
|
rp_suman wrote: For this does we need to call RedrawWindow() of MainFrame?
No.
|
|
|
|
|
Thanks. But how the window is updated?
Is any method like Update() or Paint() called automatically?
Thanks & Regards,
Suman
|
|
|
|
|
As child window is destroyed, that causes invalidation of that area.
|
|
|
|
|
Dear All:
I have code in VB program:
<br />
Do While trs.EOF = False<br />
rs1.AddNew<br />
For i = 0 To trs.Fields.Count - 1<br />
rs1(i) = trs(i)<br />
Next<br />
rs1.Update<br />
trs.MoveNext<br />
Loop<br />
How write it in VC??
Help me plz...
Thanks
|
|
|
|
|
Why ? Where are you stuck ? What is rs1 and trs ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
rs1 and trs in VB is:
Set trs = New ADODB.Recordset // for ms access
Set rs1 = New ADODB.Recordset // for sql server
My Stuck is:
I want to read a table (Ms Access) and insert into another table (sql Server) with the same value.
And here is code in VB:
Set rs1 = New ADODB.Recordset<br />
<br />
rs1.Open "select * from " & s1, con1, adOpenDynamic, adLockOptimistic<br />
<br />
' Populating the created table with the values<br />
<br />
If trs.EOF = False Then<br />
<br />
trs.MoveFirst<br />
<br />
Do While trs.EOF = False<br />
rs1.AddNew<br />
For i = 0 To trs.Fields.Count - 1<br />
rs1(i) = trs(i)<br />
Next<br />
rs1.Update<br />
trs.MoveNext<br />
Loop<br />
<br />
MsgBox "Data entered successfully", vbInformation<br />
End If<br />
My problem is rs1(i) = trs(i)
I write it in VC++ is m_pRecordsetMsAccess[i]=m_pRecordsetMsSQL[i] but wrong, Help me Plz
|
|
|
|
|
In VC++, There would be CRecordSet derived class, having member variables mapped to fields in table.
For example,
class CDBSet : public CRecordset
{
CString m_name;
long m_id;
};
void CDBSet::DoFieldExchange(CFieldExchange* pFX)
{
pFX->SetFieldType(CFieldExchange::outputColumn);
RFX_Text(pFX, _T("[Field_name]"), m_name);
RFX_Long(pFX, _T("[Field_id]"), m_id);
}
cuongnq wrote: I write it in VC++ is m_pRecordsetMsAccess[i]=m_pRecordsetMsSQL[i] but wrong,
There is no operator [] , so it is not possible, you can do like this,
rs1.AddNew( );
rs1.m_name = m_pRecordsetMsSQL.GetFieldValue(..);
rs1.m_id = m_pRecordsetMsSQL.GetFieldValue(..);
rs1.Update( );
|
|
|
|