Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
S

shiraztk

@shiraztk
About
Posts
126
Topics
45
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Which type of Registration Software company ?
    S shiraztk

    Dear You have to comply with a lot of statutory regulation and registration. But getting all and starting a business is impossible in India, atleast in my place, kerala. You go ahead with some of the few below and comply with others as you grow up. 1. You can get a MSME registration from DIC (District Industries Center). This will help you fetch locations in software parks, subsidized electricity bills. You can also avail investment subsidy. This will be of the tune of around 10-20% of your investments. 2. You must a registration from the Local Administration. (Corporation, Municipality, Panchayath)etc 3. If you plan to employee, then you have to comply with ESI & PF 4. If you will be have large turnovers then you will have to take a Service Tax Registration 5. If you wish to sell your softwares in CD, or other object then you will also have to take a Sales Tax Registration 6. You will have to take a current account in Bank, if you wish to have some foreign remmitance or sales. 7. You can take IE code from DGFT for exporting your softwares. You will be able claim income tax benefits, lot of other benefits. 8. Else you come down to Kerala and do a enquiry at our startup village, rest will be taken care of... :) Enjoy..

    The Best Religion is Science. Once you understand it, you will know God.

    Running a Business help question

  • Looking for a PDF library/utility to create and print invoices
    S shiraztk

    This will be of some use to you.. PDF Library for creating PDF with tables and text, in C#[^]

    The Best Religion is Science. Once you understand it, you will know God.

    Adobe Technologies csharp php com tools help

  • Windows Filtering Platform
    S shiraztk

    Hi all Can we use windows filtering platform APIs in windows XP SP 2 and window 2000 Regards

    The Best Religion is Science. Once you understand it, you will know God.

    C / C++ / MFC sharepoint

  • ActiveX serialization
    S shiraztk

    Hi Where is the data serialized in a activeX Control file or registery? Can we access that data? Regards

    The Best Religion is Science. Once you understand it, you will know God.

    C / C++ / MFC com json question

  • Primality Test
    S shiraztk

    Hi | Not true, fails for 15, 27, 35 ture... :) i was trying with big numbers and found this working...didnt notice that it failed for small numbers, infact it fails for large numbers also. Regards

    The Best Religion is Science. Once you understand it, you will know God.

    Algorithms

  • Primality Test
    S shiraztk

    Hi I am not sure if this is true or not, but my initial tests gave a positive result To check for primality of P if 4 does not perfectly divide the perimeter of all the rectangles with area (P-1) then P is prime. Regards

    The Best Religion is Science. Once you understand it, you will know God.

    Algorithms

  • Magics of 4
    S shiraztk

    Hi all Yes, you can find a whole lot here http://mathworld.wolfram.com/QuadraticResidue.html Regards

    The Best Religion is Science. Once you understand it, you will know God.

    Algorithms question

  • images
    S shiraztk

    Hi Is it possible at all to convert 2d image data to 3d image data? In 2d image dat a you wont have the depth information, but for creating 3d image data you need depth information. Regards

    The Best Religion is Science. Once you understand it, you will know God.

    Algorithms question

  • Magics of 4
    S shiraztk

    Hi Just found some wonderful properties of number 4. 1. 4 is the only perfect square whose reciprocal is also a perfect square. 2. Any perfect square when devided by 4 gives a reminder of either 1 or 0. Is this something already known?

    The Best Religion is Science. Once you understand it, you will know God.

    Algorithms question

  • CFontHolder
    S shiraztk

    Hi all In my activeX control I have certain texts whose fonts I need to change using CFontDialog. I cannot change the font using stock font since I need to have different font for different texts. How can I do this? This is what i did. I have a member of CFontHolder m_Font in my control. Then with SetFont and GetFont method am trying to change m_Font. But I dont know how to set a particular font to m_Font object. And then get the font from m_Font and select that to DC so that TextOut will be drawing text with that Font. Any help would of great help. Regards

    The Best Religion is Science. Once you understand it, you will know God.

    C / C++ / MFC question com graphics help tutorial

  • MENU xp theme
    S shiraztk

    Hi Has anyone ever tried to implement xp theme for menu? I am getting good results with all class types exept MENU. OpenThemeData(hWnd, "MENU"); Am not able to get a handle to the MENU theme. Any commends would be of great help. Regards

    The Best Religion is Science. Once you understand it, you will know God.

    C / C++ / MFC help question

  • VARIANT Bitmap
    S shiraztk

    Hi thankyou, i got it working. I made it VARIANT long. In vb I used a win32 api CreateFromHandle and passed the variant type. Regards

    The Best Religion is Science. Once you understand it, you will know God.

    C / C++ / MFC com graphics tutorial learning

  • Drawing a text over a picture control
    S shiraztk

    Hi Just a guess CCleintDC dc(this) CRect TextRect; m_AtolCorridorBitmap.GetClientRect(&rect); TextRect = rect; TextRect.top = rect.top + 10; TextRect.bottom = TextRect.top + 25; TextRect.left = rect.left + 25; TextRect.right = rect.right - 25; dc.DrawText(_T("Test") , &TextRect , DT_CENTER); Regards

    The Best Religion is Science. Once you understand it, you will know God.

    C / C++ / MFC graphics help question

  • VARIANT Bitmap
    S shiraztk

    Hi Thats fine. Thankyou. Now to test my activex i am using vb. There I created a picturebox and am trying to set the picture property of picturebox using MyControl.GetBitmap (After copying a bitmap to the clipboard) Should this work or is there anything else am to do. (Anyway this is not working as expected am getting an Object required error. This is the VB code. Sorry for posting VB code in this forum, just for clarity Dim bit As Variant bit = AaClipboard1.GetBitmap Picture1.Picture = bit // am getting error here. End Sub) Regards

    The Best Religion is Science. Once you understand it, you will know God.

    C / C++ / MFC com graphics tutorial learning

  • VARIANT Bitmap
    S shiraztk

    Thankyou If I want to pass the handle of the bitmap what should be the type of the VARIANT? Regards

    The Best Religion is Science. Once you understand it, you will know God.

    C / C++ / MFC com graphics tutorial learning

  • VARIANT Bitmap
    S shiraztk

    Hi all Let me explain my requirement. I want to create a Activex control which has two methods SetPicture() and GetPicture(). SetPicture(VARIANT data) should copy the contents of the data to the clipboard and VARIANT GetPicture should return the contents of the clipboard. I know how to manage clipboard. But I dont know how to manage the VARIANT to hold the bitmap. Could anyone point me to a good resource or spare time to tell me how to accomplish this. Regards

    The Best Religion is Science. Once you understand it, you will know God.

    C / C++ / MFC com graphics tutorial learning

  • WinXP Visual Styles (Themes)
    S shiraztk

    Hi I am working on a ActiveX project where I want to implement XP Theme onto my controls. While searching www.codeproject.com I came across your posting, and ofcourse without an answer. (infact I could find only yours) Could you please spare some time of yours? I am also in the same posistion as you, and couldnt find answers regarding this. Did you manage to use GetThemeFont on BUTTON and TOOLBAR ? If so I will be grateful if you could share this with me. Thanking you and awaiting your response, Mohamed Shiraz T K

    The Best Religion is Science. Once you understand it, you will know God.

    C / C++ / MFC help question wpf json

  • VARIANT- picture control
    S shiraztk

    Hi I have an activex control. In that control I have a bitmap image. Now I have a function called GetImage(), I want to return this bitmap. How do I do that. What should be variable type of GetImage(). Any help would be of great help. Regards

    The Best Religion is Science. Once you understand it, you will know God.

    C / C++ / MFC com graphics help question

  • C++ basic question - parametrized and default constructors
    S shiraztk

    Hi How did you create your object ? This could help you, class Base { public: Base(int k) { value = k; } private : int value; }; class Derived:public Base { public: Derived(int k):Base(k) { } private: char s; }; int main(int argc, char* argv[]) { Derived object(10); // and not Derived object; This will give those return 0; //errors as you mentioned. } Regards

    The Best Religion is Science. Once you understand it, you will know God.

    C / C++ / MFC help question c++ debugging

  • Change MFC Dialog name (when running)
    S shiraztk

    Hi You can use SetWindowText("New Title"); Regards

    The Best Religion is Science. Once you understand it, you will know God.

    C / C++ / MFC question c++
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups