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 Chriss Miller 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: *

  • Users: Skute
  • Content: Threads
  • Order by date
  1. Skute

    Why won't this work?

    Hi, I've got a problem with a class, can you tell me what the problem is? [a.php] <?php $g_a = "hello"; ?> [b.php] require_once("a.php"); echo $g_a; class Test { public static function GetA() { if ($g_a == null || $g_a == "") throw new Exception("$g_a is an invalid value!")...
  2. Skute

    Making &quot;My Documents&quot; not appear as a path

    Hi, im trying to work with the shell and paths everywhere. Everything works fine for navigating through PIDLs, but when i access "My Documents" from the Desktop, it gives me the display name of: "D:\My Documents" (the correct location, but i want it to appear as just "My Documents") This is...
  3. Skute

    Adding coloured line to rich edit control

    Hi, I need some example code / suggestions which will easily allow me to add a new line to a rich edit control and colour it accordingly. Skute &quot;There are 10 types of people in this World, those that understand binary, and those that don't!&quot;
  4. Skute

    Draw icon next to edit control in combo box

    Hi, how can i draw an icon next to the edit control in a combo box? Ive successfully managed to draw a list icons in the listbox, but now i want to draw the icon that the user selected next to the text in the edit box. Ive obtained the edit box by attaching to it in the OnCtlColor() message of...
  5. Skute

    Using CTabCtrl

    Hi, how do i use CTabCtrl? Ive added the control to my dialog and added 4 tabs to it. Now how do i actually add items to the tab control? Or is that not how it works? As far as i can make out, you need to load up 4 different dialogs with no frames, then show or hide them depending on what tab is...
  6. Skute

    Using MsoCommandBar

    Hi, Is it possible to use the MsoCommandBar in your applications? Im working on a simple API application and would really like the funky drag drop rebars (or coolbar as it used to be called) from MS office. Cheers Skute &quot;There are 10 types of people in this World, those that understand...
  7. Skute

    Adjust windows sound volume?

    Hi, anyone know how i can programatically change the windows sound volume using API? Cheers Skute &quot;There are 10 types of people in this World, those that understand binary, and those that don't!&quot;
  8. Skute

    Getting the dimensions of a video?

    Hi, i can add several videos to a timeline and play them, but im trying to size the movies into a specific area on screen keeping their aspect ratio. For this to happen successfully, i need to know the size (width and height) of the clip playing in the timeline (or just the timeline if all...
  9. Skute

    Flicker Free Resize?

    Hi, Im having trouble with an application i wrote where by the resizing of the window is causing alot of flickering. Also, if i invalidate the whole window it causes a flicker. Is there any way of getting around these problems? Ive already used single buffering in my paint code to stop...
  10. Skute

    Access Outlook 2003 Blocked Sender List

    Hi, Does anyone know howto access the blocked sender list within outlook 2003 via code? Thanks Skute &quot;There are 10 types of people in this World, those that understand binary, and those that don't!&quot;
  11. Skute

    Training course [UK]

    Hi all, Just wondering if anyone can recommend a couple of decent training courses in the UK? Im looking for either Managed C++ .NET, cryptography, network programming, artificial intelligence or directx(3d). Cheers Skute &quot;There are 10 types of people in this World, those that...
  12. Skute

    MAPI - Send HTML email?

    Hi, im after a way of sending an email in HTML format (including embedded images). Currently ive got it working so that i can send an email, but it sends the .html file as an attachment! Which obviously isnt very good for my needs. If anyone has any help / advice on getting a HTML email...
  13. Skute

    Google style bar

    Hi, i know this question has been asked many times before but every time i try to google for some examples i get no-where. Does anyone have any good links for information regarding creating your own toolbar in IE? I would prefer API examples but will look at all. Cheers Skute &quot;There are...
  14. Skute

    Fastest way to keep adding objects into array?

    Hi, whats the fastest way to keep adding data onto the end of an array? I know you cant resize an array but this is the method ive come up with: string[] strTest1 = new string[1]; strTest1[0] = &quot;Hello!&quot;; string[] strTest2 = new string[2]; strTest2[0] = strTest1[0]; strTest2[1]...
  15. Skute

    Export Class from DLL to EXE

    Hi, how can i create a class in a DLL and then use it in an EXE? Im just using Win32 - no managed, no MFC. Cheers Skute &quot;There are 10 types of people in this World, those that understand binary, and those that don't!&quot;
  16. Skute

    Macro quote expansion

    Hi, is it possible to get quotes inside a macro?? basically i want to change this: #ifdef PEGASUS_EXPORTS #define PEGASUS_API __declspec(dllexport) #else #define PEGASUS_API __declspec(dllimport) #endif to this: #ifdef PEGASUS_EXPORTS #define PEGASUS_API extern &quot;C&quot...
  17. Skute

    Managed C++ - Load Icon

    Hi, im trying to load an icon into a NotifyIcon structure, however it wont work when i try to load from a resource: m_pNotifyIcon->Icon = new System::Drawing::Icon(GetType(), &quot;App.ico&quot;); The only way i can get it to work is if i load it directly from disk (by doing...
  18. Skute

    Online Game Development Groups?

    Hi, are there any online game development groups / communities you know of? Id like to join / start a group for fun. Skute &quot;There are 10 types of people in this World, those that understand binary, and those that don't!&quot;
  19. Skute

    operator+ overload, simple string class

    Hi, im trying to overload the &quot;+&quot; operator to join 3 strings together, but im having difficulty. Im only doing this for a bit of experimentation. CStr String1 = &quot;Part1&quot;; CStr String2 = &quot;Part2\n&quot;; CStr String3; String3 = String1 + &quot; &quot; + String2; //...
  20. Skute

    Throw / Catch - Exception Handling

    Hi, Can someone give me a good example of throwing your own exception classes and catching a reference of them, ie: try { functionx(); } catch (MyException& ex) { printf(ex.GetMessage()); } functionx() { // This isnt right! MyException* pEx = new MyException(); pEx->SetMessage(&quot;Throwing...

Part and Inventory Search

Back
Top