Tab Content
No Recent Activity

16 Visitor Messages

  1. I don't actually remember lol.
  2. LPD3DXFONT is actually just a pointer to the ID3DXFont interface... I started out using LPD3DXFONT, and grown a custom to using it...
  3. Your my sucker baby
  4. What about not copy & pasting and trying to modify the code? Lol.
  5. [highlight="cpp"]$userfile = file("data.html") or die ("Couldn't open data.html.");

    //loop through every line
    foreach($userfile AS $my_file)
    {
    $full .= $my_file."<br>";
    }

    $replace = "hello";
    $replacewith = "wai";

    //fill in the data
    $full = str_replace($replace,$replacewith,$full);
    $full = str_replace("<br>", "", $full);

    //open the file
    $file = fopen("data.html", "w");
    //write all data in it
    fwrite($file, $full) or die("Couldn't access data.html.");
    //close the writing stream
    fclose($file);[/highlight]
  6. Read through the textfile and assign it to a variable.

    Use str_replace(source,whattoreplace,replacewith);.

    Rewrite the textfile.
  7. It is quite impossible to understand you. If you just want to empty the textfile, use the code below.
  8. <?php
    $logfile= 'data.html';
    $fp = fopen($logfile, "a");
    fwrite($fp, "");
    fclose($fp);
    ?>

    or dou you want to delete the file?
  9. View Conversation
    Sorry, completely forgot about this 'til just then. Here's the link:

    https://www.mpgh.net/forum/33-visual-...mp3-files.html

    My solution is in the middle somewhere.

    Enjoy,
  10. View Conversation
    Yeah it's called file associations. Someone made a thread about in the VB section recently, I'll VM you the link when I find it. I posted a site which gives you a really good explanation.
  11. Subs perform a operation, Functions Return a value.
  12. View Conversation
    Read under the highlight:
    Disabling Intelli sense !
  13. View Conversation
    Sorry I don't have CA installed.
  14. C++ is Unmanaged code , C# (as in the .net) is managed, making C++ a little more versatile in comparison to C#
  15. Yes, And there is hundreds of supporting documentation.
  16. Reinstall ca.
Showing Visitor Messages 1 to 16 of 16
About T0P-CENT

Basic Information

About T0P-CENT
What are you here for?:
Visual Basic
Gender:
male
Flag:
Europe

Statistics


Total Posts
Total Posts
88
Posts Per Day
0.02
Visitor Messages
Total Messages
16
Most Recent Message
09-05-2011
Total Thanks
Total Thanks
29
  • Thanked 17 Times in 16 Posts
General Information
Last Activity
11-10-2014
Join Date
03-12-2010
Referrals
1

3 Friends

  1. Alen Alen is offline

    • Send a message via ICQ to Alen
    Alen
  2. Jason Jason is offline

    Hung like a rabbit

    Jason
  3. [MPGH]Thunder Thunder is offline

    Potion Seller

    Thunder
Showing Friends 1 to 3 of 3
Post Areas

Top Areas Of Posting