|
I want to change the back ground color of whole of my application developed in VC++... Suppose I want to change the background to Green...
Every thing in green.... Toolbar, menu , status bar, title bar etc ....
any help? or comments
|
|
|
|
|
How I can change the property sheet background color... Also the property Tab and button like OK, Cancel and Apply should be changed...
Also How the title bar background color changed..
Thanks In advance
|
|
|
|
|
Hi,
I was seraching the codeproject site and came across your post. I am sorry that no one has seemed to reply to your post. I was wondering if you managed to change the look of any of your property sheet buttons? I am trying to do the same...I want to simply change the color of the OK and other buttons.
Thank you for any help you are able to give.
Michael
mikethomas@veryfast.biz
|
|
|
|
|
Hello everyone!
I've been searching for a tutorial about creating ActiveX controles on a website (no asp.. just html & javascript)
One of my friends said that i should use "COM", but i haven't found anything that worked.. I've seen one here with cookies in ASP, but when i'm not using ASP, it's kinda hard..
maybe someone has a small source for an ActiceX control that returns a string.. like
This is a test: (call function from ActiveX control)-> "Test string returned from an ActiveX control"
I hope someone can help me or direct me to a good tutorial..
Ice
|
|
|
|
|
|
I tried to open a PE file with a program called PEExplorer .. Opend the header & discoverd that all the items in the header is correct..
but i found something strange i igot "the address of entry point" field from the header but when i checked that address i found it's so different from the contents that the PEExplorer program shows...
i found that the "image base" field is added some times 2 the address of the entry point field...
for example the address of entry point is: 0000E67Ch
& the image base is: 01000000h
but when i run the disassembler view of the PEExplorer i find that the address of the entry point is 0100E67Ch & this address can't be located coz the file size is smaller than it & the contents that the disassembler show in this location 0100E67Ch i can find it in another different place in my file
plz does any one knows how is this operation handled & how can i reach 2 the real entry point of an exe file...
my email is
blacksun_damn@yahoo.com,
ashshab_beh@yahoo.com
thanx alot ppl
blacksun
|
|
|
|
|
The base is the recommeded address that the module should load at in memory at runtime.
The entry point of the module cannot be 0000E67Ch when it is loaded, because anything under the 4MB is reserved for the system. That is why the base address is added to the entry point, or the system will pick a new base address offset if that one is already taken.
The point is still, that the entry point of your function will be 0000E67Ch Bytes from the beginning of the base offset address.
Good Luck
Build a man a fire, and he will be warm for a day Light a man on fire, and he will be warm for the rest of his life!
|
|
|
|
|
How do I get the MAC address of a host that's not in the ARP-cache?
I'm using GetIpNetTable() to search the ARP-cache.
It works okay as long as the entry hasn't timed out yet.
I looked through <iphlpapi.h> and saw SendARP(). Unfortunately my MSDN collection is too old to document this function . Could it be used for an ARP-resolution?
I need this to port libnet to Win-XP (first with MingW then MSVC).
Ref. http://www.packetfactory.net/libnet.
Thanks.
Gisle V.
"If you feel paranoid it doesn't mean they're not after you!" -- Woody Allen
|
|
|
|
|
I hate to reply to my own posts, but for anyone interested..
I found some more details on SendARP() and why it's
not very usable.
- Not supported on Win9x/ME/NT.
- Doesn't add the result to the global ARP-cache.
- Doesn't retransmit on timeout.
So I probably end up writing my on ARP resolver.
Gisle V.
"If you feel paranoid it doesn't mean they're not after you!" -- Woody Allen
|
|
|
|
|
Hi
I have a custom window control derived from CTreeCtrl.I want to convert that into ActiveX component.
So any idea how to proceed.
I have used Wizard to create activex contol but there is no provision to include our custom control ......So any help is appreciated
cheers,
Super
------------------------------------------
Too much of good is bad,mix some evil in it
|
|
|
|
|
Export your class as Gallery, then make new ActiveX project and import your gallery!
A. Riazi
|
|
|
|
|
Hi riazi,
Thanxs for the help ....
Can u be more elaborate in the explaination...
I converted my control to .ogx file......
Then what should i do....
I created the MFC activex project and then i went to Add to project/Insert activex component.....
Is it correct...Do have any materials to refer.....
cheers,
Super
------------------------------------------
Too much of good is bad,mix some evil in it
|
|
|
|
|
No, dont use Add to project/Insert activex, instead use Add to project/Components and Controls/<your previous="" project="" name="">/<gallery name="">
A. Riazi
|
|
|
|
|
Any idea how to map all the functions of the Custom Contol so that it can be given outside.....
cheers,
Super
------------------------------------------
Too much of good is bad,mix some evil in it
|
|
|
|
|
For every member function, add a method. and for every public member variable add a property (Get/Set functions).
A. Riazi
|
|
|
|
|
I work for a small programming house, that has just doubled in size( now FOUR Programmers!!! ), we now need to implement some sort of source control and bug tracking programs. I have had a quick look at cvs for source control, but i haven't been able to find and decent bug traking programs. I'm just wondering what other people out there are using, and if any one has had major issues implementing or using cvs, or is there is something else that is a bit better.
"!!Insert witty signature here!!"
|
|
|
|
|
Do you have SourceSafe?
A. Riazi
|
|
|
|
|
|
Just set up cvs on local drive here. (TortoiseCVS and WinCVS-- using the TortoiseCVS mostly.) It works like a charm.
|
|
|
|
|
Does anyone know how to employe TransmitFile API to transmit a file over network? any source code available?
A. Riazi
|
|
|
|
|
|
I've having all kinds of memory corruption with _bstr_t. I was also told that _bstr_t was the devil and never use it, even if my life depended on it So I made this useful function to load strings
_bstr_t LoadStringEx(HMODULE hModule, int ID)
{
CComBSTR bstrTemp;
bstrTemp.LoadString( hModule, ID );
_bstr_t strT( bstrTemp.m_str, FALSE );
return strT;
}
I could use the LoadString function from CComBSTR and CStringT directly too...
Thanks!
---------------
Tired of Spam? Introducing InboxShield® for Microsoft® Outlook®
http://www.edovia.com
|
|
|
|
|
_bstr_t has it's problems, but is not THAT bad that I would avoid using it. CComBSTR is better, but does not provide the functionality that _bstr_t does. Why not write your own BSTR wrapper ?
Christian
No offense, but I don't really want to encourage the creation of another VB developer.
- Larry Antram 22 Oct 2002
C# will attract all comers, where VB is for IT Journalists and managers - Michael
P Butler 05-12-2002
It'd probably be fairly easy to make a bot that'd post random stupid VB questions, and nobody would probably ever notice - benjymous - 21-Jan-2003
|
|
|
|
|
Hi,
In the near future I'm going to have to extract some text from PDF documents, as well as search the text in them. Can anyone recommend a good library? It would be good if it was cross-platform and didn't have redistribution costs.
Thanks,
Stuart
|
|
|
|
|
There's some good stuff on SourceForge. Do you need to work with PDF's that are compressed ? I don't think it would be too hard to write the code to decompress them anyhow, and then it's just cleartext, easy to search for.
Christian
No offense, but I don't really want to encourage the creation of another VB developer.
- Larry Antram 22 Oct 2002
C# will attract all comers, where VB is for IT Journalists and managers - Michael
P Butler 05-12-2002
It'd probably be fairly easy to make a bot that'd post random stupid VB questions, and nobody would probably ever notice - benjymous - 21-Jan-2003
|
|
|
|