Now my team working in a network project using windows application c#.
How to scan the wireless devices which exist on the network.The functionality is exactly the same thing that you see in the existing windows utilities within the windows operating system. I'm sure you experienced when you plug a wireless laptop card in, it brings up...
Hi guys,
Can you help me look for a way to convert char into 8x8 binary (am not sure how to call it)
like for example an "A"
00011000
00100100
00100100
01000010
01111110
10000001
10000001
10000001
am actually doing this manually :(
suggestions are still open :D
EDIT:
Anyway, if you guys are wondering what am trying to do.
Am try...
I am using certificate based authentication between my server and client. I have generated Root Certificate. My client at the time of installation will generate a new Certificate and use the Root Certificate to sign it. I need to use Windows API. Cannot use any windows tools like makecert.
Till now I have been able to Install the Root c...
Hi!
I have an MFC application, which i don't want to be closed during the running. I have disabled the "X" icon in the right upper corner, but now if i press the ESC key, or ALT+F4 it still closes.
How can i disable this, so it won't close, if someone press those keys? After the program has finished running i want to reenable them.
T...
I've been having problems with a third-party application that uses UDP broadcasts to configure some propitiatory networked hardware and I think I've worked out what's going on. It seems that all outgoing broadcast packets are being lost because of bunch of entries in my routing table that route broadcast packets to a non-existent link-lo...
I would like to move fairly complex types from the managed to native world and visa versa.
Currently this is being done by creating multidimensional safearrays, which has the advantage that marshalling is done for you, but means we end up with rather complex jagged arrays to get our heads around.
I have tried to put some structs into S...
In my application I need to calculate shifts using a pattern described in a file.
Recently, at one of my customers the application was hanging because of the following reason:
If you fill in a 'struct tm' with the exact moment at the end of the wintertime (non-DST) _mktime seems to return an incorrect result.
The code looks like this:
...
Hi Peeps.
I am building facial recognition software for a certain purpose, however, as a spin-off i would like to use that same software / concept, to automatically recognize me when i sit in front of the PC, and log me in.
recognition is handled.. however, i need to incorporate this into windows, the same way fingerprint logins work.
...
I have a simple vbscript for retrieving Windows version:
Set objWMI = GetObject("winmgmts:{impersonationLevel=impersonate}!\\.\root\cimv2")
Set colVersions = objWMI.ExecQuery("Select * from Win32_OperatingSystem")
For Each objVer in colVersions
ver = objVer.Version
Next
Is is possible to get the first record or do I have to loop o...
I have seen in many programs such as FreeOTFE that they can emulate a storage card in WinMo. It will be shown in Windows Mobile just as a storage card is inserted and i can interact with it just like a SD Card.
How do i implement that? Any tips/tricks/guides/samples?
I am using WinMo 6 Professional with Dot Net Framework :)
I know i ...
Hi,
How can I programatically retrieve the "Location" as displayed in the Regional and Language Settings?
...
Hi, so i tried asking this question before but i seemed to word it wrongly
I am trying to install a module called Swish-E 0.5 and for some reason im getting an error when running the command
python setup.py install
i keep getting this error no matter what module i try to install. Ive tried installing other modules to see if the prob...
I've got a simple js script that scrolls image horizontaly.
the strange thing is, it loads CPU up to 100% on windows, while on linux the CPU load rarely reaches 20% on the same computer.
I've tested this in firefox, chrome and opera on both platforms — results are practically the same.
Can someone explain what's going on?
<script>
v...
I am trying to play multiple videos one after the other in windows sidebar. I'm using javascript setInterval method to change the video. But windows sidebar doesn't parse javascript. Can anyone help me, please.
...
Is there any way of launching Windows Explorer from ant without stopping the build?
Here is what I have so far:
<project default="default">
<target name="default">
<fail unless="customerName">
You need to set the customerName.
-DcustomerName=Value
</fail>
<fail unless="htmlCode">
You need to set the htmlCode.
-Dcusto...
Hi,
When I select a language from the language toolbar, windows automatically changes the input font to one with characters from that language. Is there are a way to change the default font to something else?
Thank you for your help
...
Hi,
I want to use this function "EnumWindows(EnumWindowsProc, NULL);".
The EnumWindowsProc is a Callback function:
BOOL CALLBACK EnumWindowsProc(HWND hwnd, LPARAM lParam);
For this callback I want to use a member function of a class.
e.g:
Class MyClass
{
BOOL CALLBACK My_EnumWindowsProc(HWND hwnd, LPARAM lParam);
void ...
Is there a standard set of return code for Window shell scripts (*.bat files)? I'm looking for something analogous to Linux exit codes, where 0==success and non-zero==failure.
I need a way to programmatically check if my shell script failed during execution.
...
I have a very complex web app project I want to re-structure. Naturally, it consists of a considerable number of folders and sub-folders. I have a huge piece of paper ready to sketch a new structure on.
Now, I need paper printouts of the projects. Some directories I need in full detail including their files - the /library directory for ...
How can I do something like
if sys.argv[0] != '%windir%\\blabla.exe'
I'm having no success at all
...