|
..Get a program to run when Windows start
Valie
|
|
|
|
|
1) put a shortcut to your file into the autostart folder
2) create a key unter the "Run" key in the registry, see this link for more information
3) write a service
regards
modified 12-Sep-18 21:01pm.
|
|
|
|
|
Reccamended methods
HKLM\...\Run
HKLM\...\RunOnce
HKLM\...\RunServices
HKLM\...\RunServicesOnce
HKCU\...\Run
HKCU\...\RunOnce
Other methods
add a line in autoexec.bat
add a value to the key "load" or "run" in win.ini
set the shell to "Explorer.exe path/to/your/exe" // a bit on teh dangerous side for less advanced users
add a line to tmpdelis.bat
set it as a scheduled task
|
|
|
|
|
you forgot the start folder in the start menu
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
Hi all:
I have a titleless dialog(without a caption bar for some reason) which has the WS_EX_APPWINDOW style.
When I clicked the minimize button, this dialog does positioned at the
sys taskbar. But what makes it not so good is it doesn't have caption
when It appears in the sys taskbar.
How can I get a caption at the sys taskbar(still does't
have caption bar) when It minimized or maximized?
Furthermore, When I click the dialog at the sys taskbar consecutively,
It seems not responding well, it only get minimized. Which should be
get maximized and minimized correspondingly.
|
|
|
|
|
Try calling SetWindowText() on your dialog. The argument passed to this method should appear as the title when the dialog is minimized.
/ravi
My new year's resolution: 2048 x 1536
Home | Articles | Freeware | Music
ravib@ravib.com
|
|
|
|
|
Hi all:
I used the DrawText() to output several lines of text within a rect, but with the font I created
VERIFY(m_Font.CreateFont(<br />
12,
0,
0,
0,
FW_NORMAL,
FALSE,
FALSE,
0,
ANSI_CHARSET,
OUT_DEFAULT_PRECIS,
CLIP_DEFAULT_PRECIS,
PROOF_QUALITY ,
DEFAULT_PITCH|FF_SWISS,
_T("Arial")));
the text appears two crowded vertically, I know with a internal leading, the text can be looked good. But the question is how to add a internal leading?
|
|
|
|
|
Hi, I 'm trying to link my application with a dynamic library but I have some problems. I use VS .NET 2003. I 've downloaded a third party dll library and what I do is to include the required .h files and place the dll file in my project's directory. However I get a linking error that the function I 'm calling is an unresolved symbol. Do I need to do sth more? For example for .lib files I had to add the dependencies in my project's properties. Do I need anything like that with dlls?
Thanks and happy new year,
Themis
|
|
|
|
|
try using #import
or better
use LoadLibrary and GetProcAddress
to get function pointers
C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do, it blows away your whole leg
|
|
|
|
|
Hi.
I want to write a server client program that will work like telnet
but i don't now how to redirect the result of the the WIN32 API function system to the client socket...
do i need to redirect only the stdout ?
if so how do i redirect it so each client heve it one stdout ?
|
|
|
|
|
Perhaps these articles may help:/ravi
My new year's resolution: 2048 x 1536
Home | Articles | Freeware | Music
ravib@ravib.com
|
|
|
|
|
sorry , i am new person with visual c++.
my question is how to run/load file .exe using visual c++?
for example if i have file "features.exe" ..then i make a button (MFCapp wizard dialog based)..i want when i click this button then fle features.exe will be run/loaded
thanx
|
|
|
|
|
|
or ShellExecute
modified 12-Sep-18 21:01pm.
|
|
|
|
|
|
I was looking at the instruction posted on http://www.codeproject.com/miscctrl/mschart.asp
but i need an XY Scatter plot instead of Bar graph, and I have no idea how to use the m.chart.SetChartData() for XY plot. Can someone help me with some sample code on that please.. because I don't know how to separate the X and Y data...
with many many many thanks,
hellie
|
|
|
|
|
Hi.
I know how to write an interpreter which can execute a program written in my own language. I want to know how I can implement the functionality so that the program can be made an independent EXE file which will run without the need of an interpreter. (Just like the VC++ compiler&linker do).
Waiting 4 reply.
|
|
|
|
|
It's A LOT of work. First of all you need to produce assembly which of course should be machine-dependent, meaning that you should produce a different instruction set for each different machine. Assembly in x86 CISC architecture is quite chaotic. Then you either need to create a linker or use one that already works in order to make that assembly into binary code.
I 've tried that for the SPARC (RISC) architecture. In order to produce the proper assembly you really need to know a lot about the CPU architecture and read the manufacturer's manuals carefully.
Good luck should you try anything like that,
Themis
|
|
|
|
|
I think the easiest way to do that would be to generate code in an intermediate language, like C. Then you can compile and link using standard tools. In addition you'll take advantage of the optimization of the intermediate compiler that way.
/moliate
The corners of my eyes catch hasty, bloodless motion -
a mouse?
Well, certainly a peripheral of some kind.
Neil Gaiman - Cold Colours
|
|
|
|
|
You'll need to become intimately familiar with the PE file format.
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
|
|
|
|
|
I am facing problem in implementing edge detection for 24 bit BMP images.
The algorithm 3*3 mask works fine with 400*400 size image, but not with 800*600
the error message pops up as memory execess voilation .particularly it says memory is read only
If anyone knows how to implement the above please write to me ASAP.
OS win 2000 prof , VC++ 6.0
Thanks in advance
nagens
|
|
|
|
|
Hello
I am trying to make a program that tells me what the local machine name is?
I use GetMachineName() function but it says that it needs gpedit.h and it is not on my box. So where can I find it? I searched google and nothing.
|
|
|
|
|
You have to get a newer PSDK to get that file. It did not come VC6. It is in the Feb 2003 PSDK (the latest one I have with VC6) and it came with VC7.0.
How about using GetComputerName() or GetComputerNameEx( ) instead?
"You're obviously a superstar." - Christian Graus about me - 12 Feb '03
"Obviously ??? You're definitely a superstar!!!" mYkel - 21 Jun '04
Within you lies the power for good - Use it!
|
|
|
|
|
I have visual studio 2003 but there is not gpedit.h there either.
|
|
|
|
|
Spiritofamerica wrote:
I have visual studio 2003 but there is not gpedit.h there either.
My install of VS 2003 has the file in
Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include
I'm guessing an updated platform SDK installed it.
Michael
CP Blog [^]
|
|
|
|