|
Sir,
I want to know the difference between VC++ and vb.net, and asp.net and c#. I referred many books for these. But all contain the almost all same topics such as MFC, ActiveX, OLE, COM, DCOM, ADO, DAO. Then where the difference exist.
I have one doubt why many people are not interested to learn VC++. Many people put interest to learn VB.NET, ASP.NET and C#.
Sriram Suresh Kumar
|
|
|
|
|
The difference is like the difference between englisch and french, with all the literature written in it.
What do you want to do with it? A language, or, better, the technologie you use should help you to solve your problems.
1) Your design shoule be "as independent as possible from the language"
2) Define what you want to do, what are the interactions. Maybe use uml for make it clear. Usecases are good to start.
3) Make a decision. Look what woule be the best technologie, wath the customer excepts, and what are the scills of you employees?
MFC is a c++ library used by microsoft. ActiveX, OLE, COM, DCOM, ADO are language-independent communication-layers. DAO normally means data-access-object. This is more a design-pattern.
Good luck,
Hardy.
|
|
|
|
|
Hi,
There are tons of differences between (vc++) & (VB.net,asp.net). I just give you the overview.
VC++ purely works with Pointers.
(ActiveX, OLE, COM, DCOM, ADO, DAO) --- these are the concepts you can implement with VB or VC.
again that is purely depends on applicaitons type.
VC particularly desinged for C++ development enhancements and if the same applicaiton developed in VB and VC, performance of VC program will pretty fast.
People feel it is difficult to work on pointers, so generally they choose VB.
Each VB.net and VC has got their own advantages and disadvantages.
To choose between these purely based on your application type.
Thanks & Regards,
Siva Koyi
|
|
|
|
|
Hello
I want to transfer data from a SAP system to my application into a flat file.I hear that the BAPIs can be used for the purpose.However I don't know the details of the use of these BAPIs.
Can anyone pls guide me regarding the usage of BAPIs in VC or VB?
|
|
|
|
|
HI,
speed increase at 0
speed increase at 1 :2
speed increase at 2: 5
speed increase at 3: 2
speed increase at 4: 4
speed increase at 5: -2( try again non-negative ):1
j.k
-- modified at 0:19 Tuesday 14th March, 2006
|
|
|
|
|
And what is the question ?
|
|
|
|
|
my question is , It should read the speed increase and how much should be at a particular point.
for example , the speed increase at point 1 to 2,
and the speed increase at point 5 to 1.
-- modified at 2:11 Tuesday 14th March, 2006
|
|
|
|
|
If you want an answer to your question, you'll have to be more specific. Explain CLEARLY what you want to achieve, nobody here knows your program and we cannot see your screen neither (neither are we god to read your mind).
yonis 11 wrote: It should read the speed increase and how much should be at a particular point.
Read the speed... Where, what is this speed ? Where is it stored ? Is it inputed from the user, ... ?
yonis 11 wrote: for example , the speed increase at point 1 to 2,
and the speed increase at point 5 to 1.
Just make a variable and assign it the required value, what is the problem with that ?
|
|
|
|
|
I mean by the speed
0*0
1***2
2******3
3********2
4************4
5*************1
the inputs are {0,2,3,2,4,1}
|
|
|
|
|
That is a very clear explanation indeed...
|
|
|
|
|
Sounds like a homework assignment anyway .
Software Zen: delete this;
|
|
|
|
|
hi Friends,
How to enumarate printers and users from active directory?
Vikram S
|
|
|
|
|
Hi,
for enum printers use EnumPrinters
and I think NetUserEnum
-- modified at 23:56 Monday 13th March, 2006
|
|
|
|
|
r u sure that these functions are uses active directory?
|
|
|
|
|
|
this seems to be fine for Users . What about printers?
|
|
|
|
|
i want to add a new button on title bar like minimize or maximize but its functionality will be diffrent.
Bankey Khandelwal
Software Engineer
|
|
|
|
|
|
thank you.
Bankey Khandelwal
Software Engineer
|
|
|
|
|
hello sir,
i have successfully create buttons on title bar but i am not able to understand that how to handle message on these buttons.
please reply me.
Bankey
Bankey Khandelwal
Software Engineer
|
|
|
|
|
I think
ON_NOTIFY(NM_DBLCLK, 1, OnBnDblClickedCaptionbn1)
ON_NOTIFY(NM_RCLICK, 1, OnBnRClickedCaptionbn1)
ON_NOTIFY(NM_CLICK, 2, OnBnClickedCaptionbn2)
|
|
|
|
|
hello sir,
i have handle messages on these buttons but now problem is that,
in my application i am using time when i stop timer then message on these custom button functions properly but when i start timer they does not work so
for this what can i do.
Bankey Khandelwal
Software Engineer
|
|
|
|
|
Can you post a sample that shows the problem?
|
|
|
|
|
i am setting timer on mouse move function like that
void CShow_ImageDlg::OnMouseMove(UINT nFlags, CPoint point)
{
// TODO: Add your message handler code here and/or call default
CRect rect; // Get the bounds of the control (just the client area)
GetClientRect(rect);
bool WasIn=false; // Check the mouse is inside the control
if(rect.PtInRect(point))
{
if(!WasIn)
{ // This is the OnMouseEnter area
KillTimer(1);
SetCapture();
}
else
SetWindowText("Moved Again"); // This else wouldn't normally be used.
WasIn=true;
}
else
{ //This is the OnMouseLeave area:
SetTimer(1,100,0);
ReleaseCapture();
WasIn=false;
}
//TrackMouseEvent( LPTRACKMOUSEEVENT lpEventTrack);
CDialog::OnMouseMove(nFlags, point);
}
when i stop timer then thses costom button functions properly but i have to use timer.
eg. for custom button function is that:
void CShow_ImageDlg::OnBnClickedClose(NMHDR * pNotifyStruct, LRESULT * result)
{
CPoint pt;
::GetCursorPos(&pt);
PostMessage(WM_SYSCOMMAND,SC_CLOSE,MAKEWORD(pt.x,pt.y));
}
Bankey Khandelwal
Software Engineer
|
|
|
|
|
why setimer in onmousemove and do you need settimer?
|
|
|
|