|
by: Mike S. |
last post by:
I'm using a SystemParametersInfo call to attempt to manage the screen saver.
All I want to do is modify the ScreenSaveActive bit in the registry and have
the OS recognize it (and occasionally set it back to -0-). Theoretically this
should be easy to accomplish through the call shown below. If I trace the
call with SysInternals (si)Registry Monitor I can see the call being made.
Unfortunately in the si QueryValue for the key...
|
by: Christopher Benson-Manica |
last post by:
(Followups set to comp.std.c. Apologies if the crosspost is unwelcome.)
strchr() is to strrchr() as strstr() is to strrstr(), but strrstr()
isn't part of the standard. Why not?
--
Christopher Benson-Manica | I *should* know what I'm talking about - if I
ataru(at)cyberspace.org | don't, I need to know. Flames welcome.
|
by: philippe.joliet |
last post by:
Hello,
I'm currently try to use the SystemParametersInfo function in a c#
environnement but I have a problem to use it with the action
SPI_SETWORKAREA
I've got this definition
private static extern int SystemParametersInfo(int uAction, int
|
by: Dwight Trumbower |
last post by:
I need to disable the screen saver, due to an Excel "bug".
I thought I had the following code working, but now all I get is code 127.
I've searched the net and I don't see anything wrong with the following.
public static extern int SystemParametersInfo(int uiAction, int uiParam,
string pvParam, int fuWinIni);
|
by: Mohammad-Reza |
last post by:
In SystemParametersInfo API, type of its pvParam is PVOID.
I want to know what type I must use to both set and get of this api works
properly.
|
|
by: GTi |
last post by:
I need the csharp (C#) function for this API function:
SystemParametersInfo(SPI_GETWORKAREA, 0, &rc, 0);
Or must I pInvoke this (also)?
My biggest problem with C# is to find the C# function for API functions?
Is there any help for this available anywhere?
|
by: Shamil Salakhetdinov |
last post by:
Hi All,
I did try by myself and I did search on google but I can't find any info on
how to use SystemParametersInfo Win32API in VB.NET
Any useful samples, hints, tips & tricks will be greatly appreciated!
TIA,
Shamil
--
|
by: David |
last post by:
Hi,
I'm trying to use SystemParametersInfo to get the desktop work area:
Private Declare Function SystemParametersInfo Lib "user32" Alias
"SystemParametersInfoA" (ByVal uAction As Integer, ByVal uParam As Integer,
ByRef lpvParam As Integer, ByVal fuWinIni As Integer) As Integer
Dim rc As Rectangle
|
by: BigWilli |
last post by:
Hello, I want to change the keyboard language. Does anyone have an example code in VB6 for that? I know already from MSDN that it should be possible with the SystemParametersInfo and the SPI_SETDEFAULTINPUTLANG and you have to use the HKL. But I really do not understand how to do that. I would be very grateful for help!
BigWilli
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|