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
V

Vladimir Georgiev

@Vladimir Georgiev
About
Posts
52
Topics
19
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • CEdit's Text Color when Disabled
    V Vladimir Georgiev

    Hi, Does anyone know what is the way to change a CEdit's text color when the control is disabled? I already implemented the reflected OnCtlColor, and it successfully changes the color when the control is enabled, but when disabled, the color becomes gray... Thank you in advance. "Needless redundancy is the hobgoblin of software engineering." - Peter Darnell

    C / C++ / MFC question

  • A pixel from another program...
    V Vladimir Georgiev

    My "?" was for the Greeeg's smiley. I did not understand what he meant about that. But anyway, I agree that the link provided gives me the right clues for solving my problem, for which I thank Maximilien :) I am sorry for the misunderstanding... "Needless redundancy is the hobgoblin of software engineering." - Peter Darnell

    C / C++ / MFC question tutorial

  • A pixel from another program...
    V Vladimir Georgiev

    ? "Needless redundancy is the hobgoblin of software engineering." - Peter Darnell

    C / C++ / MFC question tutorial

  • Recognise text from Bitmap
    V Vladimir Georgiev

    One way to implement OCR is using a Feed-Forward Multilayer Perceptron Network that implements the Backpropagation learning algorithm... There is a lot of this stuff on the internet, too. "Needless redundancy is the hobgoblin of software engineering." - Peter Darnell

    C / C++ / MFC graphics help tutorial

  • A pixel from another program...
    V Vladimir Georgiev

    Hello, I am writing an application that will provide the feature of "taking" a pixel color from any other window, currently displayed. When the user right clicks with the mouse on the desktop, taskbar, or the system tray for example, the color (RGB) of the pixel he has clicked on must be obtained. Do you have any idea how this functionality could be implemented? The real question is how could I obtain another window's DC (from which I could get the pixel), and the mouse coordinates when the user presses the right button on another window... Thank you in advance. "Needless redundancy is the hobgoblin of software engineering." - Peter Darnell

    C / C++ / MFC question tutorial

  • Sockets question
    V Vladimir Georgiev

    Hello, Yes, I attempt to run my ActiveX control through a web page (with the html tag)... Hope it gives any clues to the problem. "Needless redundancy is the hobgoblin of software engineering." - Peter Darnell

    C# com help question csharp html

  • Sockets question
    V Vladimir Georgiev

    Hello, I am using System.Net.Sockets in my app. I took some example code from MSDN for connecting a socket to a listening server, and I put it in an Windows Control (I believe same as ActiveX)... Unfortunately, the following exception is raised when I try to call: hostEntry = Dns.Resolve(server); The actual code could be found at MSDN. Exception: --------------------------- --------------------------- Exception Object Source:mscorlib Message:Request for the permission of type System.Net.DnsPermission, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed. --------------------------- OK --------------------------- Another important fact is that I am trying to access the control through an HTML page. Help on this issue is greatly appreciated. "Needless redundancy is the hobgoblin of software engineering." - Peter Darnell

    C# com help question csharp html

  • GDI+
    V Vladimir Georgiev

    Saving myBitmap does not save the rotated bitmap: // file is a 24-bit .bmp file Bitmap myBitmap = new Bitmap(textBox1.Text); Graphics g = Graphics.FromImage(myBitmap); g.RotateTransform(30); myBitmap.Save("c:/documents and settings/vortex/Desktop/file123.bmp"); My main purpose is to open a bitmap, get some pixels from it, calculate the rotation degree based on those pixels, rotate and save the bitmap. MSDN says that you could create a Graphics object from a bitmap, and vice-versa as well... But it does not work... Any help is highly appreciated. "Needless redundancy is the hobgoblin of software engineering." - Peter Darnell

    C# graphics winforms help

  • GDI+
    V Vladimir Georgiev

    It seems you understood the whole point wrongly... My intentions are to load a bitmap, manipulate it (e.g. Rotate it), and finally save it to another file... I thought the steps I described ( Bitmap->Graphics->Bitmap->file) could do it, but there was something wrong in that code. I strictly followed the MSDN documentation, but still I was unable to achieve this... "Needless redundancy is the hobgoblin of software engineering." - Peter Darnell

    C# graphics winforms help

  • GDI+
    V Vladimir Georgiev

    Hello, I have the following code in a win app: // create bitmap from file Bitmap myBitmap = new Bitmap(textBox1.Text); Graphics g = Graphics.FromImage(myBitmap); g.RotateTransform(30); //rotate 30 degrees // create a new bitmap from the Graphics object Bitmap next = new Bitmap(myBitmap.Width, myBitmap.Height, g); // save the new bitmap to disk next.Save("c:/documents and settings/vortex/Desktop/file.jpg"); When this code is executed, an empty image file with the right dimensions is stored - just a blank (white) image... I tried without rotating, but nothing happened either. I would appreciate if you could give me any hints about the problem. Thank you in advance. "Needless redundancy is the hobgoblin of software engineering." - Peter Darnell

    C# graphics winforms help

  • Capture LButtonUp in a CListBox ??
    V Vladimir Georgiev

    If the List box does not provide a way handle a message - WM_LBUTTONUP message in your case, you will have to use subclassing (write your own message procedure) for this control. See the articles on subclassing here at CP, or at msdn.microsoft.com... "Needless redundancy is the hobgoblin of software engineering." - Peter Darnell

    C / C++ / MFC help question

  • CD ROM burning libraries
    V Vladimir Georgiev

    Hello guys! Does anybody know of some good CDROM burning libraries that I could use for a project of mine? I want to add some CDROM burning capabilities to my programs... Thank you in advance! "Needless redundancy is the hobgoblin of software engineering." - Peter Darnell

    C / C++ / MFC question

  • VBA help!
    V Vladimir Georgiev

    Hello, I am successfully using the following under Excel 2000: Worksheets("Search_Results").Range("A3:AU310").Clear Unfortunately, this call fails in Excel 97. The error is 1004. Also the following line of code fails in 97 and runs perfectly under Excel 2000: Cells(i, k).Copy Destination:=Worksheets("Search_Results").Cells(m, k) Please help! Thank you in advance... "Needless redundancy is the hobgoblin of software engineering." - Peter Darnell

    Visual Basic help

  • System Tray Problem...
    V Vladimir Georgiev

    I have problems with the message handler of a system tray icon. I am writing an SDI application, and it adds the icon with no problems, but my custom message handler does not get the messages sent to the icon. I have successfully done this in a Dialog App some years ago, and now it does not work in the SDI one. I try to move this functionallity to the App, View, Frame classes - but nothing happens. I use VC++ 6.0 under Windows XP. Are there any catches here? What do I do wrong??? Really appreciate the help. "Needless redundancy is the hobgoblin of software engineering." - Peter Darnell

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

  • Copywright?
    V Vladimir Georgiev

    Is there a GUI tool that will provide the functionality, language syntax of VC++ and appearance of a Windows GUI (and run under Windows)? "Needless redundancy is the hobgoblin of software engineering." - Peter Darnell

    C / C++ / MFC visual-studio c++ csharp sales question

  • Copywright?
    V Vladimir Georgiev

    Jon, I am not buying a $500 IDE for building a $300 project... As you already know, I am a student yet. I have a whole bunch of academic work to do, plus this project that came up... There may be a while until I get another offer like this. That is why I am not willing to buy the VS software for this single (for now) program... As for sonfware piracy, I totally agree with you that everyone must pay for what she uses. But in a country like Bulgaria, where everybody uses illegal software, I will not be the only fool to use legal one... PS: Do you think, I being a programmer, am not afraid of illicit use of software myself? "Needless redundancy is the hobgoblin of software engineering." - Peter Darnell

    C / C++ / MFC visual-studio c++ csharp sales question

  • setting scrollbars
    V Vladimir Georgiev

    Try putting a scroll bar on the List box, and use SetCurSel and GetCurSel methods. This will scroll automatically to the selection you want. Hope it helps... "Needless redundancy is the hobgoblin of software engineering." - Peter Darnell

    C / C++ / MFC data-structures tutorial question announcement workspace

  • Copyright??
    V Vladimir Georgiev

    I am building a program under Visual C++ 6.0, which I will sell to a industrial customer (a factory). I am using an illegal version of the Visual Studio IDE - a cracked copy. I would like to ask if there is any way for the authorities to know that I used an illegal copy of VS. Say by examining the executable files? Does VC++ add any signature to all executables it builds? If you have any idea, please post it... "Needless redundancy is the hobgoblin of software engineering." - Peter Darnell

    IT & Infrastructure visual-studio c++ csharp sales question

  • Copyright?
    V Vladimir Georgiev

    I am building a program under Visual C++ 6.0, which I will sell to a industrial customer (a factory). I am using an illegal version of the Visual Studio IDE - a cracked copy. I would like to ask if there is any way for the authorities to know that I used an illegal copy of VS. Say by examining the executable files? Does VC++ add any signature to all executables it builds? If you have any idea, please post it... "Needless redundancy is the hobgoblin of software engineering." - Peter Darnell

    IT & Infrastructure visual-studio c++ csharp sales question

  • Copywright?
    V Vladimir Georgiev

    I am building a program under Visual C++ 6.0, which I will sell to a industrial customer (a factory). I am using an illegal version of the Visual Studio IDE - a cracked copy. I would like to ask if there is any way for the authorities to know that I used an illegal copy of VS. Say by examining the executable files? Does VC++ add any signature to all executables it builds? If you have any idea, please post it... "Needless redundancy is the hobgoblin of software engineering." - Peter Darnell

    C / C++ / MFC visual-studio c++ csharp sales question
  • Login

  • Don't have an account? Register

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