Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. kwijibo

    Example of CPropertySheet App

    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...
  2. kwijibo

    Search engine script

    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...
  3. kwijibo

    imagecreatefromjpeg as undefined function

    Just use imagecreatefrompng() seeing as that is enabled.
  4. kwijibo

    How do I update a tab's controls when the tab is not active?

    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...
  5. kwijibo

    Search engine script

    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...
  6. kwijibo

    Search engine script

    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...
  7. kwijibo

    Search engine script

    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...
  8. kwijibo

    Search engine script

    There you go. I've learnt something too :-)
  9. kwijibo

    Search engine script

    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>...
  10. kwijibo

    Python Editor

    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...
  11. kwijibo

    Search engine script

    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.
  12. kwijibo

    simple question

    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...
  13. kwijibo

    CPropertySheet/Page - There has got to be a better way.

    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)...
  14. kwijibo

    Update COleDateTime From File

    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.
  15. kwijibo

    Update COleDateTime From File

    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...

Part and Inventory Search

Back
Top