Hi all,
Can someone please post / email me an example of a CPropertySheet tabbed dialog application that transfers data (bi-directional) between each page and an external class (could be the sheet)?
Reason is I'm completely stuck on a data transfer issues with my app... been bashing my head...
Ok, looking over the code I may have confused you with this line:
$filename = mysql_query(...);
Without knowing exactly what your mysql_query returns, I may not be able to provide you with the link code you require. However, I will again try :-)
I have played slightly with your link code, I...
Hi,
I was wondering how to update a tab's controls from the respective member variables when the tab is not active?
My application is a CPropertySheet/Page based app. UpdateData(FALSE) throws assertion errors unless the page (tab) you are updating is the active one (has focus).
Thanks to...
The link is displaying in response to this code:
echo "<a href=\"".$filename."?articleId=".$articles[$a]."\">
http://localhost/intranet/".$filename."?articleId=
".$articles[$a]["articleId"]."</a>";
It might help if Itry to explain whats going on in the link.
Take this link...
Echoing a variable will, yes, show you the value.
You shouldn't need to 'know' the value, just the variable name the value is stored in. Then, replace the $filename variable in my above code with the variable name that contains the value.
This is getting into a realm I am unfamiliar with. but...
Hmmm... Not sure I understand fully, but I will try to help.
Assuming your database query returns some sort of value corresponding to the file name, outputting the link is fairly simple. If the database returned a variable called $filename for instance, the code to display the link would be...
Hmm... not sure about the multiple <?php - ?> pairs, as I'm still learning this particular language.
I would, however, use the echo statement to display the html. That way you wouldn't have the issue of the multiple php sections.
Something like this would suffice:
echo """
<html>...
Failing IDLE, try TextPad :-) (www.textpad.com - i think)
There is also a program called Komodo (although not free) that has syntax hilighting for Python, Perl, php to name a few. I believe it also inteergrates with the Python shell, and perl / php interpreters if they are installed on your...
Use code tags, without indentation reading it is a pain. Also, possibly include a link to a .txt file with the source of your php script, as my line 71 will probably differ to your line 71 using cut and paste.
I'm still learning php too, but I will try to summarise the . character. It is effectively a concatenation of variables.
For example in the code below, the last variable (string) is cat'd to $name which is cat'd to the first variable (string) which is then printed.
print "Hi ".$name.", welcom...
I have a PropertySheet based application and am trying to update the data members & controls on the respective PropertyPages, from within the PropertySheet, in response to a button push.
Currently, I am using this code:
int originalPage = GetActiveIndex();
SetActivePage(PAGENO_SYSCONF)...
The error is occurring on this line:
ASSERT(timeNew.GetStatus() != COleDateTime::invalid);
I will hunt through my code perhaps i'm missing a typecast someplace.
I have an dialog based application that requires a date to be loaded and a COleDateTime control updated.
I am currently using this call to try to update the date:
m_date.SetDate(tempYear, tempMonth, tempDay);
It throws a Debug Assertion Failed error when doing the update, ie...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.