|
You dont need to new thread
|
|
|
|
|
Stop spamming the forum !!
Geez, this is a forum, not a chat ! It's the fourth time you ask the same question in less than half an hour.
And I don't consider that as a question. You want http code link ? There are a plenty here[^]
But this has nothing to do with C++
|
|
|
|
|
cool down cedric
"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
|
|
|
|
|
ThatsAlok wrote: cool down cedric
I'm perfectly calm.
|
|
|
|
|
Hi
I am new to visual c++. I want to get the details of a wireless printer namely
printer ip
port name of the printer
server name
share name
location
protocol of the printer
Can anybody help me out in finding the same
Thanks
|
|
|
|
|
You dont need to new thread
|
|
|
|
|
Hi,
I am new to visual c++.. I want to find the details of a wireless printer namely
printer ip
port name
server name
share name
location
Can anybody help me out in finding the same
Thanks
|
|
|
|
|
|
thanks.
I already saw those links. But those links shows me the printer choosing and not the exact details that i require.. But anyway i'll look into it again
|
|
|
|
|
if anyone knows HTTP c or c++ code plz reply (
raghu
|
|
|
|
|
raghup13 wrote: if anyone knows HTTP c or c++ code plz reply
You just posted the same question underneath a while back. Just wait and be patient. Someone here will help you....
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
Is this the thread below where I asked why you're doing web sites in C++ and you didn't answer ? Dude, no-one does web sites like that anymore, you need to be patient, and you need a fall back plan if no-one answers. Spamming the forums will not help you.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
which is better suggest either c c++
raghu
|
|
|
|
|
LOL - C is almost never better. As I said before, my recommendation is C#.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
any previous HTTP versions code if u know send
raghu
|
|
|
|
|
I'm sorry, your 'question' makes no sense. Do you know what C# is ? All I've been trying to say is, not many websites nowadays will use CGI/C++ and so you'll have a hard time finding help, and depending on the size of your site, you may find it easier to learn to do it in ASP.NET.
If you're asking for some ASP.NET code, I have tons of it, as do all the other people in the ASP.NET forum. Either way, I told you to start with that this is a question for the web development forum in it's present form. So why do you keep asking it here ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
I'm generating excel report from MFC. whenever the cell contains data like A1-1 i.e. A/a and some no and the - it gets converted to arabic characters. I found one solution which says about some registery entry. I want to solve the problem programmatically from MFC.
I used worksheet->Cells->NumberFormat = "General"
But if the registery entry is set for that format then it doesn't work.
How can do it through code?
Please mail me if anybody has the solution.
My email id is pankajachavan@gmail.com
|
|
|
|
|
You dont need to new thread
|
|
|
|
|
hi everybody!
i asked a question yesternight about my problem.but was not that specific.
i have created a class the on a button click in it,a new window is created.
and have some buttons to show in this new window.
but when i set these buttons the child of that window,i get no message,nothing visible,...but when i set these buttons as children of the first class,they are visible and the messages can be proccessed.everything seems to be ok,WS_CHILD,WS_CLIPCHILDREN,...but it doesn't work.
HELP PLEASE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
SOS!
sepehr_vision@yahoo.com
|
|
|
|
|
sepehr_vision wrote: on a button click in it,a new window is created.
can u show the code u used to create the new window and set buttons as children?
nave
|
|
|
|
|
hi.
thanks for caring.
i did put the code yesterday.
but they said remove the code!
that is also available from yesterday.
void ECMLMItem::Create(int i,CWnd *pParent,CRect rect,CRect RcList)
{
/*WNDCLASS wndcls;
memset(&wndcls, 0, sizeof(WNDCLASS));
wndcls.style = 0;
wndcls.lpfnWndProc = ::DefWindowProc;
wndcls.hbrBackground = (HBRUSH)(COLOR_WINDOW+1);
wndcls.lpszClassName = "ABC";
DWORD style = GetClassLong(m_hWnd, GCL_STYLE);
RegisterClass(&wndcls);*/
// style |= CS_PARENTDC;
// style &= ~(CS_VREDRAW|CS_HREDRAW);
// SetClassLong(m_hWnd, GCL_STYLE, style);
CWnd::Create(/*"ABC"*/0,"ECMLMItem",WS_BORDER|WS_VISIBLE|WS_CLIPCHILDREN|WS_CHILD,rect,this,LISTITEM+counter,0);
counter++;
obj[i] = new ECMLMObjects();
obj[i]->create(i,pParent,rect,RcList);
}
void ECMLMItem::CreateItem(CWnd *pParent,int i)
{
if(i<10)
{
rect.left=RcList.left+12;
rect.top=RcList.top+20*i+1;
rect.right=RcList.right-12;
rect.bottom=rect.top+20;
ECMLMItem::Create(i,pParent,rect,RcList);//create a new item as a rectangle to put 3 objects in it
}
}
//
void ECMLMObjects::create(int i,CWnd *pParent,CRect rect,CRect RcList)
{
int w;
w=RcList.Width()-20;
rect.left=RcList.left+12;
rect.top=RcList.top+20*i+5;
rect.right=rect.left+w*3/15-2;
rect.bottom=rect.top+20;
btn[i].Create(""/*text*/,WS_CHILD|WS_VISIBLE|BS_AUTOCHECKBOX,rect,pParent,Button+i);
rect.left=RcList.left+w*3/15+15;
rect.top=RcList.top+20*i+5;
rect.right=rect.left+w*4/15-4;
rect.bottom=rect.top+20;
edt[i].Create(WS_VISIBLE|WS_CHILD,rect,pParent,editbox+i);
rect.left=RcList.left+w*7/15+15;
rect.top=RcList.top+20*i+5;
rect.right=RcList.right-12;
rect.bottom=rect.top+20;
name[i].Create("Hello"/*name*/,WS_VISIBLE|WS_CHILD,rect,pParent,statictext+i);
}
//
|
|
|
|
|
sepehr_vision wrote: // style |= CS_PARENTDC;
// style &= ~(CS_VREDRAW|CS_HREDRAW);
// SetClassLong(m_hWnd, GCL_STYLE, style);
CWnd::Create(/*"ABC"*/0,"ECMLMItem",WS_BORDER|WS_VISIBLE|WS_CLIPCHILDREN|WS_CHILD,rect,this,LISTITEM+counter,0);
try modifying it like this
CString csClassName = AfxRegisterWndClass( CS_OWNDC | CS_DBLCLKS | CS_SAVEBITS, LoadCursor( 0, IDC_ARROW ));
CWnd::Create( csClassName ,"ECMLMItem",WS_BORDER|WS_VISIBLE|WS_CLIPCHILDREN|WS_CHILD,rect,this,LISTITEM+counter,0);
nave
|
|
|
|
|
dear nave,thanks a lot for your help.
but unfortunately it doesn't work yet.
i tried it,but still when the objects are children of item,it doesn't work.
but when they are children of list,they are visible and can get and send messages.
i am hung!what should i do!
|
|
|
|
|
sepehr_vision wrote: ,but still when the objects are children of item,it doesn't work.
but when they are children of list,
I dont understand what u mean.
What about the the new window created? Is it visible?
nave
|
|
|
|
|
|