|
how can i fetch only single row from mysql table from vc++
when i write
mysql_query(myDB,"SELECT * FROM empinfo4 e,proinfo4 p");
(" WHERE empid = \'" + f + "\' and e.gid = p.gid ");
this will give the first row in the mysql table only
it will not give other rows
how can i fetch row using
GetDlgItemText(IDC_EMPID,id);
here id is value which i enter in the edit control
and i want that whenever i enter id value it display only that row matched row
hi
|
|
|
|
|
If you are using MFC:
CString strQuery;
strQuery.Format("SELECT * FROM empinfo4 e, proinfo4 p WHERE empid = '%s' AND e.gid = p.gid", id);
"The largest fire starts but with the smallest spark." - David Crow
|
|
|
|
|
|
Can we create Our Own Window in Dialog Based Application.
i.e create our own class using WNDCLASSEX structure
Register it using RegisterclassEx
And create window using CreatewindowEx ...
Thanking you
Manjunath S
|
|
|
|
|
|
Hi,
Iam new to VC++ .Please Help me regarding this..
Can we create Our Own Window in Dialog Based Application.
i.e create our own class using WNDCLASSEX structure
Register it using RegisterclassEx
And create window using CreatewindowEx ...
Manjunath S
GESL
Bangalore
|
|
|
|
|
Manjunath S wrote: Iam new to VC++ .Please Help me regarding this..
it doesn't excuse your behavior. i already answered your question on your previous thread, so if you want to ask something in relation to what i said, ask directly on my post... other, give time to other people to see, understand and answer (if they know the answer).
there's no need to spam the forum. the only you can get by this is been bad seen and so, get flamed
TOXCCT >>> GEII power
[VisualCalc 3.0 updated ][Flags Beginner's Guide new! ]
|
|
|
|
|
Hi ,,
Can i get sample code regarding this . i need urg...
create Our Own Window in Dialog Based Application.
i.e create our own class using WNDCLASSEX structure
Register it using RegisterclassEx
And create window using CreatewindowEx ...
Manjunath S
GESL
Bangalore
|
|
|
|
|
Hi ,
Please dont feel bad for rep request...
Manjunath S
GESL
Bangalore
|
|
|
|
|
ok, i tell you this, otherwise you gonna think i don't want to answer you...
i don't know the solution to you problem, that's why i don't provide much info.;)
TOXCCT >>> GEII power
[VisualCalc 3.0 updated ][Flags Beginner's Guide new! ]
|
|
|
|
|
, the best way to stop him?
<marquee scrollamount="1" scrolldelay="1" direction="up" height="10" step="1">--[V]--
[My Current Status]
|
|
|
|
|
VuNic wrote: , the best way to stop him?
How?
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
By saying "Nobody knows the answer "
<marquee scrollamount="1" scrolldelay="1" direction="up" height="10" step="1">--[V]--
[My Current Status]
|
|
|
|
|
VuNic wrote: "Nobody knows the answer "
How Come
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
Hey that means, you should say him you dont know about it so that he wouldn't keep asking the same again and again.
<marquee scrollamount="1" scrolldelay="1" direction="up" height="10" step="1">--[V]--
[My Current Status]
|
|
|
|
|
Manjunath S wrote:
Hi,
Iam new to VC++ .Please Help me regarding this..
Can we create Our Own Window in Dialog Based Application.
i.e create our own class using WNDCLASSEX structure
Register it using RegisterclassEx
Is AFXRegisterClass of any use?
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
|
|
tel me one thing as i am new to vc++
so i face a problem of how can an edit box is disabled from other form which has menu and i want to click on menu that is popup and has one option that is delete when i click on delete it will display next dialog box and then also make some edit control disabled which are on that dialog box
plz anybody help me in this regard
as i try some but not find success
NOTE: plz give in detail as i know only connecting forks in vc++
//////////////////////now look at this///////////////////////
yar why u domnt undestand
i want to disable my edit control which is on one form(dailog) and i want to disable it from menu which is on other form is it possible
hi
-- modified at 10:05 Monday 5th June, 2006
|
|
|
|
|
for disable control use EnableWindow and whats application type
i answer to like question one hours ago if your program is CDialog use like this
if main class CMyView use this code in another form
CMyView* view = (CMyView* )GetParent();
view->somefunction();
and for set text use SetWindowText
whitesky
|
|
|
|
|
if main class CMyView use this code in another form
CMyView* view = (CMyView* )GetParent();
view->somefunction();
and for set text use SetWindowText
oK I USE THIS ONE WAT TEL ME ONE THING THAT
view->somefunction();
WAT somefunction(); I CALL HERE TO DO SOLVE PROBLEM
gourav dogra jfjunf
|
|
|
|
|
I dont understand view->somefunction(); instead somefunction you can use from your variables or functions in another dialog
whitesky
|
|
|
|
|
paras_s12 wrote: so i face a problem of how can an edit box is disabled from other form which has menu and i want to click on menu that is popup and has one option that is delete when i click on delete it will display next dialog box and then also make some edit control disabled which are on that dialog box
plz anybody help me in this regard
as i try some but not find success
I'm sorry I don't understand your objectives
|
|
|
|
|
paras_s12 wrote: i want to disable my edit control...
Use EnableWindow(FALSE) .
"The largest fire starts but with the smallest spark." - David Crow
|
|
|
|
|
paras_s12 wrote: yar why u domnt undestand
i want to disable my edit control which is on one form(dailog) and i want to disable it from menu which is on other form is it possible
OnClick Handller of Menu.. post message to other dialog where you button is Present. in handller of the posted message using EnableWindow disable the Button. api to use PostMessage and EnableWindow!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|