|
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
|
|
|
|
|
plz tell me where is the onclick handler of menu
i dont find message handler option for menu as there is option for the classes but menu does not contain onclick handler
tel me and how can i disable edit controlon oter dialog box from menu on another dialog box
hi
|
|
|
|
|
My application has an multiline edit box and button X. I have called OnButtonX() from OnOK() and i want that button handler to be called when i press enter.
Everything goes well when the control is outside the edit box. When some thing is typed in the editbox and enter is pressed its not callin the button handler and staying in the edit box itself. ( I HAVE NOT CHECKED WANTRETURN)
KIRAN
|
|
|
|
|
kiran.pinjarla wrote: verything goes well when the control is outside the edit box. When some thing is typed in the editbox and enter is pressed its not callin the button handler and staying in the edit box itself. ( I HAVE NOT CHECKED WANTRETURN)
is you control shifted to new line in Edit Box!
"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
|
|
|
|
|
Hi,
I have often seen project like "write a program to extract such-and-such data from the given websites"
Sometimes a list of websites are given and the program is supporsed to connect to each of those websites, scan for information automatically and put it in a database.
How can this be done in vc++6?
Thanks.
Tara
Fortitudine Vinsinues!
|
|
|
|
|
Can you be more specific what date?
whitesky
|
|
|
|
|
WhiteSky wrote: Can you be more specific what date?
Any data. For example http://www.fallingrain.com/world/[^].
The site lists country names and the regions under each country. So my program should be able to automatically collect all the country names and put them in an access database.
Fortitudine Vinsinues!
|
|
|
|
|
Im not sure maybe it is some helpful to you Here[^]
whitesky
|
|
|
|
|
Thanks.
Fortitudine Vinsinues!
|
|
|
|
|
|
There are two ways that I can think of doing it.
1: Download the raw HTML, run it through a parser and extract information from the cooked data.
2: Use a hidden browser instance to navigate to a URL and render the data. Use clipboard operations to copy what would be the visible text from the browser and extract information from that data.
Number 2 is easier, and would be using data that is closer to what an actual user would see when viewing the target site.
Peace!
-=- James If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong! Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road! DeleteFXPFiles & CheckFavorites (Please rate this post!)
|
|
|
|
|
or read links in one page
whitesky
|
|
|
|
|
Thanks.
Fortitudine Vinsinues!
|
|
|
|
|
Hi
I have written one application . it will connect to the remote server and create one service on the server (WINDOWS 2000) . My problem is while calling the CreateService(), this API get hanging in this function call on server. It is neither returning back nor throwing error code. Then I have to terminate application from task man. The same problem for running service on remote machine
I have Administrator rights. All services are running on (RPC) on service
What will be issue ?
-- modified at 9:06 Monday 5th June, 2006
|
|
|
|
|
Do u have SC_MANAGER_CREATE_SERVICE access right on remote Server
never say die
|
|
|
|
|
yes. i have ( SC_MANAGER_ALL_ACCESS)
|
|
|
|
|
Check the machine name u provided in OpenSCManager before Create Service()
never say die
-- modified at 0:56 Tuesday 6th June, 2006
|
|
|
|
|
double convert_to_f(double c) {
return (c * 1.8) + 32;
}
double convert_to_c(double f) {
return (f - 32) / 1.8;
}
is that what you're looking for ??
TOXCCT >>> GEII power
[VisualCalc 3.0 updated ][Flags Beginner's Guide new! ]
|
|
|
|
|
This is what I'm trying to use now. I get a declaration syntax error. The complier is old. Turbo C++.
thanks for the time again.
#include <iostream.h>
void convert_to_f()
void convert_to_c()
int main()
{
int temp, fahr, cel, f_out, yes, no, choice, c_out;
do
{
cout<<"Please choose one of the following conversions\n";
cout<<"1 - Celcius to Fahrenheit.\n";
cout<<"2 - Fahrenheit to Celcius.\n";
cout<<"Please select at this time: ";
cin>>temp;
switch(temp)
{ case 1:
void convert_to_f()
break;
case 2:
void convert_to_c()
break;
default:
cout<<"Invalid choice.";
break;
}
cout<<"\nWould you like to recalculate another temperature? '1' for yes, '0' for no: ";
cin>>choice;
}
while(choice==1);
return 0;
}
//function begins
void convert_to_f()
{
cout<<"You choose Celcius to Fahrenheit.\n";
cout<<"Please enter the degrees in Celcius: ";
cin>>cel;
f_out = (cel * 1.8) + 32;
cout<<"The degrees converted into Fahrenheit is "<<f_out<<".";
}
//end function
//new function
void conver_to_c()
{
cout<<"You choose Fahrenheit to Celcius.\n";
cout<<"Please enter the degrees in Fahrenheit: ";
cin>>fahr;
c_out = (fahr - 32) / 1.8;
cout<<"The degrees converted into Celcius is "<<c_out<<".";
}
//end function
|
|
|
|
|
|
You would call them just like you would any other function.
"The largest fire starts but with the smallest spark." - David Crow
|
|
|
|
|
As i'm sure you can tell, i'm a beginner writer. so i'm not sure how to do it.
|
|
|
|
|