|
|
Well i don't want to develop a Chat type of application.
I want to write an application just containing a "HELLO" message box , which is when activated spreads itself on the internet.
Thats what i mean.
|
|
|
|
|
usmanmir wrote:
which is when activated spreads itself on the internet
You mean like..a virus?
I Dream of Absolute Zero
|
|
|
|
|
Hahahaha... You're stupid. So you want to write a virus right? And you don't have the foggiest idea how to even start. And you ask the question in a forum for people who build software for a job. You really are stupid.
Joel Holdsworth
Wanna give me a job this summer?
Check out my online CV and project history[^] - now available in MSWord format![^]
|
|
|
|
|
Seeing the older posts he made, i guess he is trying to code a worm but using VB
Papa
while (TRUE)
Papa.WillLove ( Bebe ) ;
|
|
|
|
|
actually it's quite simple :
foreach(System.Internet.User usr in System.Internet.AllUsers)
{
usr.System.Windows.Forms.MessageBox.Show("Hello");
}
but maybe you will have som problems porting this C# code to VB
|
|
|
|
|
The. Whole. Entire. Internet. ?.
regards,
Paul Watson
South Africa
PMW Photography
Gary Wheeler wrote:
It's people like you that keep me heading for my big debut on CNN...
|
|
|
|
|
Paul Watson wrote:
The. Whole. Entire. Internet. ?.
Yep, So that he send Morning wish to each Internet user ... Good Morning
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
|
|
|
|
|
ThatsAlok wrote:
Yep, So that he send Morning wish to each Internet user ...
Is he aware of time zones ???
Greets
Roland
|
|
|
|
|
That won't work since there are people in different timezones... I don't like to get a goodmornig message before I go to sleep..
Blog[^]
|
|
|
|
|
Bob Stanneveld wrote:
... I don't like to get a goodmornig message before I go to sleep..
let convert It! he will send "GOD BLESS YOU"
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
|
|
|
|
|
RegardLess of the time zone, when i send my that application containing hello message , it should go to all the users who are currently using the internet.
Yup you were rite. SomeThing like a virus but just from spreading point of view.
|
|
|
|
|
Why do you want something to spread just like a virus? If somebody wants your code, they will download it or something, but if somebody doesn't want it, don't bother them with it
Blog[^]
|
|
|
|
|
Paul Watson wrote:
The. Whole. Entire. Internet. ?.
He just wants to write a "hello world" program...
_________________________
Asu no koto o ieba, tenjo de nezumi ga warau.
Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)
|
|
|
|
|
Jeffry J. Brickley wrote:
He just wants to write a "hello world" program...
Literally...
-- LuisR
Luis Alonso Ramos
Intelectix - Chihuahua, Mexico
Not much here: My CP Blog!
|
|
|
|
|
Luis Alonso Ramos wrote:
Literally...
That was my point.
_________________________
Asu no koto o ieba, tenjo de nezumi ga warau.
Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)
|
|
|
|
|
usmanmir wrote:
...send message say "HELLO" to all the active users on internet.
Perhaps you meant intranet?
"Ideas are a dime a dozen. People who put them into action are priceless." - Unknown
|
|
|
|
|
we are hopes blue color ( or several color ) for highlighted eria.
We could not color by our coding.
Please advice as soon as possible.
|
|
|
|
|
We tried it what take stopgap way of programming. The result was no good which is temporizing, mess and so on.
If you suggest the GridCtrl, we are very sorry that could not use it because most of the programm make by ClistCtrl & CheaderCtrl.
Therefore, please advice the about ClistCtrl & CheaderCtrl as soon as possible.
|
|
|
|
|
We have process as the following,
1. The user does the tracking at detaile of list, same as tracking at between the header items.
2. We does flow of programming as following,
2-1. changes cursor image then on the vertical grid line and near the it, like the hover motion on Header CTRL.
2-1-1. When start up the programm, does get the Header Ctrl of Hover Motion information.
2-1-2. Also, does get the tracking cursor image.
2-2. prepare tracking then hold the left click on mouse.
2-3. indicate vertical solid line then moving mouse cursor with holding Lclick.
2-3-1. When, does indicate solid vertical line, same as header tracking info of size, and so on.
2-4. indicate the look of tracking continury unless does not hold off the click.
2-4-1. using the OnMouseMove event function.
2-5. Then finish of tracking by hold off click, move & indicate the rows of width & positions.
2-5-1. When hold off, get the horizontal position & movement quantity.
2-5-2. set pos, width and so on, repaint these rows
3. We are certain of process flow, but we does not known functions and so on, about CListCtrl & CHeaderCtrl. so we could not coding to make the programm.
Therefore, please advice as soon as possible.
In conclusion, i am very sorry for my poor english.
|
|
|
|
|
Hi,
I am getting a vague problem, and I'm unable to figure out the reason for
this. I am working with MDI application. I wanted to remove maximize and
minimize buttons of the CMDIMainFrame window. So I handled it in
OnNewDocument as shown below.
BOOL CLogAppDoc::OnNewDocument()
{
DWORD style = ::GetWindowLong(AfxGetMainWnd()->m_hWnd, GWL_STYLE);
// Remove the thick frame style and the Minimize, Maximize buttons
style &= ~(WS_MAXIMIZEBOX|WS_MINIMIZEBOX|WS_THICKFRAME);
::SetWindowLong(AfxGetMainWnd()->m_hWnd, GWL_STYLE, style);
}
I wanted the window to be in maximized mode at startup, so in InitInstance
function of application class, I modified the ShowWindow call as follows
pMainFrame->ShowWindow(SW_MAXIMIZE);
Now when I run my application the window appears to be in maximized mode,
but it isn't so, because when I move the mouse cursor to the title bar and
right click on it, the move sub menu item is enabled. This implies that my
window is not in maximized mode, though it appears to be in maximized mode
by occupying the full screen area, and using the move option I can drag the
window.
Now if I comment the code that I've written above in OnNewDocument(), the
window is in maximized mode and the move submenu item of the popup menu is
disabled, but I will get the maximize and minimize buttons on the title bar.
My intention is to let the window be in maximized mode at startup and
minimize & maximize buttons should not be there on the title bar. Can any
one please help me to figure out my mistake?
Thanks
Madhavi.
|
|
|
|
|
Add Virtual Function "PreCreateWindow" to the MainFrame Class:
Like this:
BOOL CMainFrame::PreCreateWindow(CREATESTRUCT& cs)
{
// this code disable sysmenu from mainframe
cs.style &= ~WS_SYSMENU;
if( !CMDIFrameWnd::PreCreateWindow(cs) )
return FALSE;
// TODO: Modify the Window class or styles here by modifying
// the CREATESTRUCT cs
return TRUE;
}
|
|
|
|
|
Thanks to both of you for your inputs...
Madhavi
|
|
|
|
|
Add this:
AfxGetMainWnd()->GetSystemMenu(FALSE)->RemoveMenu(
SC_MOVE, MF_BYCOMMAND | MF_GRAYED); to the OnNewDocument method.
Then implement ON_WM_NCHITTEST() of the CMainFrame as follows:
UINT CMainFrame::OnNcHitTest(CPoint point)
{
UINT x=CMDIFrameWnd::OnNcHitTest(point);
return (x==HTCAPTION) ? HTTRANSPARENT : x;
} Strange requirements, anyway...
"though nothing
will keep us together
we can beat them
for ever and ever"
rechi
|
|
|
|
|
Hi!
I've recently changed my computer and my project has some problem registering one of it's component ever since. I'm pretty sure the path is fine (used to be on h:, now on f . All other components register fine. I get that error:
error PRJ0019: A tool returned an error code: "Performing registration"
If I try to do a regsvr32 mydll.dll in the Debug or Release folder, I get this error:
LoadLibrary("mydll.dll") - The specified module could not be found.
Now, if I try to debug that component by adding regsvr32 to the command line and $(TargetPath) for the parameters, I get a a different error:
LoadLibrary("f:\some old path that I don't use for months") - The specified module could not be found.
Finally, if I move mydll.dll to another folder (outside the project tree), it will register just fine!
I suspect that $(TargetPath) is the culprit, but I don't know where to look for that value.
Thanks!
|
|
|
|