September 16th, 2009 |
mylinh |
Question:
For some mysterious reason, when I make the menu choice Tools/Macros – instead of seeing the choice to Record a Macro and being able to start the Macro recorder – I am taken directly to the dialog box listing the Macros in my Personal.xls. This feature has worked fine for years and has suddenly [...]
September 16th, 2009 |
mylinh |
Question:
I want to use just the Win32 Application programming, without MFC. What is the basic code so that you can get a window and start outputting things to it? Also, what is the command to print to the screen in a Win32 application?
Solution:
You need to :
1. Create a window procedure for the window.
2. register a [...]
September 16th, 2009 |
mylinh |
Question:
my problem is:
i need made a program where i connect the printers in network, for exaple:
Procedure Tform1.button1onclick(sender:Tobject);
var
error:boolean;
begin
if not conect(‘lpt3′,’\\Karina\IKarina’) then
error:=true;
.
.
.
.
end;
any know the procedure form made these application?
end;
Solution:
I did
WNetAddConnection(‘\\Karina\IKarina’,”,’lpt3′);
or
WNetAddConnection(‘\\Ceseng\ZipDrive’,”,’X:’);
September 16th, 2009 |
mylinh |
Question:
I have a field called Employee_Name in my database where the data is ALWAYS comma separated. The data looks like this Smith, John I need a function that can turn the name into 2 separate fields Employee_First and get John and Employee_Last and get Smith How can I do this with one or 2 simple [...]
September 16th, 2009 |
mylinh |
Question:
In Outlook ‘98, how do you open a folder other than Inbox during start-up? I understand that you change the target in the .exe shortcut properties. What does it need to say if I want Outlook to open to a folder called Pending? Here’s what it says now:
“C:\Program Files\Microsoft Office\Office\OUTLOOK.EXE”
Solution:
That sounds fair enough to [...]
September 16th, 2009 |
mylinh |
Question:
Normally, I use a zero as the last parameter in SetWindowsHookEx (for the threadID) to make a global hook. How would I hook only the Program Manager window? I already have the handle of the Program Manager window, only need to know how to hook it. I think I somehow need [...]
September 16th, 2009 |
mylinh |
Question:
How do you make use of this header file along with windows.h?
I keep getting this error:
e:\program files\vc98\mfc\include\afxv_w32.h(14) : fatal error C1189: #error : WINDOWS.H already included. MFC apps must not #include <windows.h>
Error executing cl.exe.
I also try using winsock2.h, but I keep getting error saying redefinition of the all the associated sockets stuff.
What do I need [...]
September 16th, 2009 |
mylinh |
Question:
I have to connect to a microcontrller via modem connection. This microcontroller formats it’s output in TV950. I need an ActiveX that can handle terminal emulation not just plain VT-100, but it’s maybe customizable.
My efforts to code it in visual basic just where to slow and not acceptable.
Solution:
You can use Sax Comm Objects.
Download their evaluation [...]
September 16th, 2009 |
mylinh |
Question:
I am currently writing a program that must print to a printer that is attached to win95/98 machine. When I print to the machine unix thinks it sent it but nothing happens. To make sure that I had the remote printer set up correctly I tried printing to it from a app running on the [...]
September 16th, 2009 |
mylinh |
Question:
I have a problem with crystal reports. I get an error 20525 – unable to load report. I have looked on the seagate site and have found a possible fix that says to change CRPE.DLL to one dated August 30 1996. I don’t have this DLL – can someone tell me where to find it [...]