After i've tried to update a vb 6.0 project to vb.net, using visual studio utility,i can't read correctly data bytes from a .bmp file to insert them in a matrix to operate on.
Using vb 6.0 the code was based on Get function:
GET #1, PIXELSTART, PHOTO.MATRIX
where PHOTO is a structure data...
After i've tried to update a vb 6.0 project to vb.net, using visual studio utility,i can't read correctly data bytes from a .bmp file to insert them in a matrix to operate on.
Using vb 6.0 the code was based on Get function:
GET #1, PIXELSTART, PHOTO.MATRIX
where PHOTO is a structure data...
I've an error and i can't understand the reason...i've an app that serialize
elements organized in records of a my-class type that contain input data from
user in a CFormView.
So if i put those records in a CObArray the serialization of the array and
related class elements contained it's ok...
Help please , i need to implement a static function in CView derived class that must return to CDoc derived class the active view pointer...how can i do?
i tried something similar
CSdicap10View* CSdicap10View::GetView()
{
CSdicap10View* pView = GetActiveView();
return pView;
}
it...
I can't find a good definition and explanation about callback functions in Win32... can someone explain me what are callback functions and how they work and receive parameters?
i've lost my project i can't compile it due to following message:
Cannot compile the file "d:\temp\myfile.h"; no compile tool is associated
with the file extension.
how can i solve?
Thanks
Can someone explain or help me to find some tutorial and sample apps about
API for creating an application that implements a VU METER for audio wave
soundcard device?What API win32 and algorithms i have to use and look for?
What's the real differences between use Adodc activeX control for database and simple Data control in VB6.0?
What choice the programmer have to consider relating those controls?
can someone explain me the following line of code
LPBITMAPINFO lpbi;
lpbi = (LPBITMAPINFO) new BYTE[sizeof(BITMAPINFOHEADER) + (256 * sizeof(RGBQUAD))];
i don't understand the use of new BYTE to inizialize the LPBITMAINFO variable...i expected something like this...
lpbi = new...
i have an app with a dialog resource with inside a tab-control...using GetClientRect i obtain the same dimension also if i resize the dialog and the tab-control in resource-view.
So exactly what represents the return value of GetClientRect, maybe one single tab dimension of the tab control?
Can someone illustrate me the difference between C++ and C#?This language need two separated learning-ship or if i use Visual C++ can easily use C# also?
Can someone look at the project at this link and explain me how the bitmap is inserted into the tabcontrol?
http://www.marco1036.altervista.org/FIRE.rar
to download project copy this link don't click on it
in a listbox control i have a list of filename with differnt extensions...i would like execute them in the listbox event click as if i execute them from windows explorer...how can i do?ther's an file execute method in visual basic?
can someone explain me the meanings o f callback function? I can't find a good definition to that, so i'm over and over confused about CALLBACK & DELEGATES mechanism...help [surprise]
I have to serialize a CObArray that contains class objects made by 2 CArray elements that handles POINT struct:
CArray<POINT,POINT> myArray1;
CArray<POINT,POINT> myArray2;
how can i serialize it?
i need to implement something similar...
CSpLine* CSdicap10Doc::AddSpLine(CArray<POINT,POINT>ControlPoints, CArray<POINT,POINT>Curvepoints)
{
CSpLine* pSpLine = new CSpLine(m_ControlPoints,m_CurvePoints);
m_oaSpLines.Add(pSpLine);
return pSpLine;
}
where ControlPoints and CurvePoints are...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.