12 Topics

Member Avatar for
Member Avatar for Churchillrl

Hi, I am working on a personal vb.net project that will allow me to capture a full-sized image of a given web page. I've been working on this for a few of days and have not found a method that is 100% reliable. Here's what i have tried so far... …

Member Avatar for _1_18
1
4K
Member Avatar for William Hemsworth

Quite a while ago, I made [URL="http://www.daniweb.com/code/snippet217147.html"][B]this[/B][/URL] snippet. This code is basically the same, except that it adds animation. This method of blitting is very fast assuming you don't use a surface that's too large. On a 500 x 500 surface, I managed 350fps using only 0-1% of the cpu. …

Member Avatar for thetukiet
1
7K
Member Avatar for J.C. SolvoTerra

After trying to manipulate PNG files and failing miserably discovering that the standard GDI doesn't provide support for any PNG parameters decided to provide some basic image manipulation functions built into .Net that I came across on my investigations. 1. Adjust Image Quality 2. Flip Image Horizontally 3. Flip Image …

Member Avatar for Santanu.Das
1
2K
Member Avatar for ddanbe

Lately, I was reading [this snippet](http://www.daniweb.com/software-development/python/code/453788/moon-phase-at-a-given-date-python) by vegaseat. I thought, why not do it in C#? But I would also like to add lattitude and logitude in the celestial calculations and draw a picture of the moon at that moment and location. Now the calculations can get a bit involved …

1
2K
Member Avatar for raphael1

I got win32 application, that runs a infinite for loop, which increment a value inside the loop. the problem am having is that my application become unresponsive and uses alot of CPU when compiled. case IDM_ROTATION: for(int i = 0; i < 4; i++) { i = 0; rotation += …

Member Avatar for tinstaafl
0
236
Member Avatar for kaizen202

In my project, I have created around 12 custom controls(checkbox,radiobutton,editbox,progressbar,scrollbar,button etc...). Custom painting is done in all controls for the extended look and feel using Pen,Brushes,Graphics, GraphicPath,Images,Region and Bitmaps ect. After the use of these objects, I have disposed the objects using the Dispose() method. I am using these controls …

Member Avatar for kaizen202
0
403
Member Avatar for MastAvalons

Hi all! I need to intercept GDI function to save painted screen to hard drive. I have tried Microsoft Detours. Everything is good, but I need 64-bit version (Detours Professional do support but it costs much). Is there any 64-bit alternatives to Detours Professional?

Member Avatar for pipaman
1
325
Member Avatar for sbcro

Hi, I am trying to draw some rectangles by pressing the mouse button and dragging. Each time a new rectangle is being drawn, the previous one disappears. The question is how can I avoid this? I am programming in C. Thanks!

Member Avatar for orwell84
0
184
Member Avatar for Nirvin M

I am developing a electrical application. I need to present the user with controls like resistor, capacitor etc. How can I create such controls in VB.NET? Can I use GDI or WPF for this? If possible then how?

0
86
Member Avatar for ramilol

ok so im trying to use double buffer to make smooth animation but i can't get it to work here is the code for my drawing [CODE] VOID onPaint(HDC hdc,HWND hWnd) { HDC hDC=GetDC(hWnd); HDC memDC = CreateCompatibleDC(hDC); HBITMAP hMemBmp = CreateCompatibleBitmap(hDC,300,300); HBITMAP hOldBmp = (HBITMAP)SelectObject(memDC,hMemBmp); Graphics graphics(memDC); Pen pen(Color(255, …

0
153
Member Avatar for meetarun007

Hi to all, In my project I need to display an arrow moving when the user press the START button & it need to stop when stop button is pressed. The moving area of arrow is fixed .ie, consider 100 pixels for the arrow movement. Once it reaches the end …

Member Avatar for Oxiegen
0
149
Member Avatar for revski

hi i am using delphi 2009. i am looking to have a grid on the form, and draw a 2D shape from lines on that grid and have it rotate around a central point. first of all i would like to ask what would be the best method to do …

Member Avatar for m610
0
236

The End.