629 byte By
tmp0 at 2007-11-19 11:57:37
Hello all,Im trying to develop a simple/personal firewall using C#. I used Jesus Os ( http://www.thecodeproject.com/managedcpp/packetfilteringnet.asp) class for setting the rules and it is working smoothly. However, Im trying to search for a way to make the application ask the user if a certain prog...
Hai..<br/> I want to find the path of the file which is currently opened in notepad. Is there any way to find. Please let me know.<br/>Thanks,<br/>EVR
Can someone give me a code to implement TRACERT DOS function in windows GUI?<br/>Or at least guide me through?
I am using the Windows SetWindowText() function, to set the text in an edit control.The problem is that the string, which I want to set is 255 characters long, and the visible area of the window is 40 char long.so the window is HScroll.The problem is when I use SetWindowText() , & after that UpdateW...
I'm very new to all this, and could use 3 nice bits of information:1. Where can i download a nice (free) compiler?2. what should i use to program in windows?3. Can someone show me a sample of a script that tells the computer to run a program? like run notepad.exe or something?what i want to do...
hi<br/>I am not a regular C or windows programmer. However, I need c code to read data from webcam that can run on any operating system. Can anyone please help me?<br/>Thanks<br/>Rajesh
226 byte By
funkywon at 2007-11-19 13:22:33
hello! which hook procedure do i have to use in order to get the program name or any information, the user is about to open? i am not sure about this..thnx very much..<br/>maybe you can give me any link to this topic...? thanx
Hello everyone,Is it possible to get the popupmenu handle of window eg., notepad. The problem is i am intercepting the windows app. thru subclassing using windows procedure and i have tried to block the messages WM_CONTEXTMENU,WM_INITMENUPOPUP,WM_RMBUTTONDOWN but no message is actually giving the p...
1177 byte By
ronwagner at 2007-11-19 13:49:11
I have an OCX written in VB6 that uses the MS COMM control to communicate with an external device. One version of this device is a bluetooth device which uses a bluetooth serial service. The bluetooth serial service is configured to use a COM port, which the OCX uses to communicate with the device.T...
206 byte By
Ducati at 2007-11-19 13:49:38
I would like to know how to do this in dos by creating a batch file:<br/>Moving files from a directory to another directory and deleting the old direcotry and not echoing any commands.<br/>Thanks.
153 byte By
DasBruce at 2007-11-19 13:49:49
I was wondering how I'd go about greying out a button I've created with CreateWindow(), and, predictably, how to ungrey it out?<br/>Thanks
550 byte By
jet9153 at 2007-11-19 13:54:05
I have several systems that i ghost in DOS. Some of the existing ghost images have file names longer than 8 characters. My current boot disk can only show 8 characters of a file. If it is anymore then i get xxxxxx~1.gho, where each x is some character. I can not rename them nor can i recreate th...
733 byte By
ldor at 2007-11-19 14:06:18
Hi everybody,I want to call Windows Media Player from my own program to play multimedia files. That's of course very easy, it's enough to call CreateProcess() function. But then I want to control Media Player from my program: sending comands to start, pause and stop playing. I guess, it sh...
My X-Setup trial software ran out. I did nothing to the registry functions or accessibility yet now I cannot run regedt32.exe. I try running it but it will not open. Anyone got any clues why and how to fix it?
1341 byte By
gjbilik at 2007-11-19 14:41:11
Hi there!I am writing a program to interface with a third party web form that has to be filled out multiple times per session. The form is basicly a 4 col by 12 row matrix of information with a radio button with 2 choices and 2 submit button options at the bottom. As of now I can write to the form...
Hi,I've programmed a class to get the Typelib information for a registered Class. Now I can find all the information fine but 1 issue still remains. I don't know how Windows determines the Version in the 'Typelib' section.It goes as follows:All searches are in the HKEY_CLASSES_RO...
I want to get contact email from outlook in my program.<br/>Who can help me?<br/>Thanks!
1805 byte By
AFool at 2007-11-19 15:19:52
Okay, say you have a standard window open to your desktop... then, in Word or something, you save a file to the desktop. -->the window will update and display your new file.That's what I want to do. I want to make a program that will ask windows "Hey, what's changed in the last two ho...
HiHo to all!Im a mmog-(massively multiplayer online game) player.A very important part of this games is exact timing when sending an army or anything like this. Now my question:Is it possible to write a program which either makes the windowsclock show exactly the same time like the server (where the...
357 byte By
Tom G22 at 2007-11-19 15:34:35
Hi allIm familiar with the IPC method of sharing memory with CreateFileMapping, but how do you share memorythat was already allocated?for example a driver allocated it,passed the ptr to one processand another needs to access that buffer.What if one of these processes is 32bit and the other is 64bit?...
499 byte By
cpprules at 2007-11-19 15:52:34
I'm doing double buffering with Windows. And everything works fine, i copy one DC to another. Everything is rendered except child windows.I declare the Child Window before the main loop wirh CreateWindowEx(); But when i run & compile my child window flickers and dissapears. I think it's ca...
Hi,I am developing an application which establishes a connection between a mobile device(running on Symbian OS) and a PC via OBEX over USB. The Obex server resides on the mobile device and the client on the PC side. I want to use Win32 programming on the PC side, but i am not able to find any API...
Hi!!am trying to figure out answers to following qns in a windows environment:-how many threads are allowed per process , any known limitations?-what is the process space/address space/stack size allocated per process?-whats the max. memory that could be available for allocation per process/thread?I...
284 byte By
beakman at 2007-11-19 18:08:20
hi i have a problem on accessing our network since our administrator change the way we access on computers thru ipaddress and not using computer name. <br/>example:<br/>\\192.168.0.62<br/>instead of <br/>\\computername<br/>How do I configure this? <br/>thanks
hi alliam working on WMI . iam trying to write an application for Event notification. Iam usimg Win32_Process class, and ExecNotificationQuery for WQl query.Iam trying to display a message when a new process is created.my WQL query ishres = pSvc->ExecNotificationQuery( bstr_t("WQL"), bstr_t("SEL...
947 byte By
yaDad at 2007-11-19 18:45:38
OK here goes...if this doesnt belong here please move it and whack me up side the head.I use an all in one a/v codec...K-Lite...and have installed it. It uses the old media player classic as the viewer. the file association with all media types are made during the K-Lite install process and i havent...
168 byte By
E - Dub at 2007-11-19 18:47:07
When i right click on an animated gif i can only save bmp. it will not let me save gif? it will not let me save any other way but bmp? i need help can i do something???
1143 byte By
J Navin at 2007-11-19 18:47:43
Hi All,can somebody help me, please...I tried following steps.makecert.exe /sv "myCer.pvk" /n "CN=Company name" myCer.cerandcert2spc.exe myCer.cer myCer.spcI then associated this certificate to activex using signcode.exeNow, if I try to download this control in win XP OS, browser(IE) shows me error...
IF ELSE STATEMENTSince there is no else statement in Batch script. How do I by pass that?I want this script will ask for a name if the name doesn't match the input.The name will be hardcode, so the person who run it doesn't enter his/her name everything. It just goes directly to check stat...
I wrote a batch script to mount the network automatic at startup. It doesn't allow to map as drive.I used:mount.batNET USE \\SERVERWill output..The command completed successfully.Now I have a problem with that,When I checked NET USE:Disconnected \\SERVER\IPC$ Microsoft Windows Networ...
796 byte By
jayadeep at 2007-11-19 19:20:35
hii have a problem with writing a dos batch fileheres the problemi want to take the input from the user and store store it in a variable i had done that the variable which contains the information is%INPUT%now i have a file where i have placeholder for this varible eg:filename="%dir%\xuz.dat"i wan...
507 byte By
kokchuan at 2007-11-19 19:29:57
Hi,I need help on using GetGlyphIndicesW() and GetGlyphOutlineW().I would like to know how to retrieve glyph indices (and their correspoding bitmaps) of unicode supplimentary characters (> U+FFFF). I have no problem with codepoints <= 0xFFFF.I have selected a font with supplimentary characters...
I am using an application that is able to execute scripts from the command line. Basically, I write a batch file that works when I run it from the command line, but when I run by calling it from the program, it usually fails with some access-related error, like "network drive not reachable" or soem...
934 byte By
KennyO at 2007-11-19 19:36:33
HELP!!!My head is spinning! For the past week I have been searching on how to implement a DNA within my intranet. I would like to use the above application and services, however, I have a few questions.Before I ask my questions, I will give a short description of my setup.I have multiple clients o...
253 byte By
temoty at 2007-11-19 19:36:36
I need to write a WMI script to deploy an application to mulitple computers.<br/>I have the names of the computers on a text file and i have the .exe to deploy.<br/>Can someone get me started? Any directionwould be helpful...<br/>thanks,
274 byte By
Karv at 2007-11-19 20:53:37
Hi,<br/> I am trying to open a HTML file in a text so that I just get the contents without the tags. The html file just has text. I know it has something to do with the encoding but I am not able to figure out what exactly it is! Couls someone help me on this?<br/>Cheers,
Hi everyone, I have a very general question to ask if i burn a CD on windows 2000 using nero burning software will i be able to read that same data on a linux box(i can't really test this because i do not currentlt have access to a linux box). If it can...
114 byte By
john_vn at 2007-11-19 21:04:06
I need some free components (button, list...) to program Window Interface, where should i go to get them?<br/>John
I need a batch file to ask user to log on before using my windowsmedia<br/>Some computers in a room, each user must have a pass before s/he can use any soft from server. How and what shold i do ? thanks
492 byte By
kpavel at 2007-11-19 23:11:03
Hello all.Have some strange problem with win2k registry.Have to change value of some field in registry with a script.There i use:rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 "c:\myFile.inf"And it doesnt work. I get the "installation failed" pop up window.When i`m trying to install myF...
Hi,I have a batch file that syncs 2 folders .. The problem is that part sits in a *.bat file and then the rest gets typed into command prompt.Code:sync.batXCOPY "%1" "%2" /D /I %3XCOPY "%2" "%1" /D /I %3Then type into command prompt:sync C:\test D:\test /SI have been trying to put all the code into...
Hi All,I wrote a server program using tcp sockets.my server listens on a particular IP address and port number when it comes up.I made this program as a windows service ,which starts automatically when ever windows bootsup.During start up my program gets all the IP addresses on that machine and open...
I am having a problem where I am passing in a parameter to a batch file:Parameter being passed: "/XD FolderIgnore /XD "Ignore Folder" "That is the exact parameter with spaces, but when I echo the parameter I get this:"/XD FolderIgnore /XD "IgnoreIf I remove the space : "/XD FolderIgnore /XD "IgnoreF...
322 byte By
codex at 2007-11-19 23:50:08
i recently found out about these .scf files 'the windows explorer command files' .saw the quick desktop file...with the coding(in text mode)i was very curious about this file...but could not find details,command list etc about such files....plz share any information u hav about these files...
321 byte By
codex at 2007-11-19 23:50:09
i found a few folders which remained hidden even if i switched 'show hidden files or folders' on...i found out that the hidden option was 'greyed' or disabled in its properties section...how can i do this...i mean how can i disable the attributes of a file or a folder?plz helpthn...
757 byte By
Dam1an at 2007-11-20 0:34:02
I am trying to write a batch file that will move a file to a folder named after the file. For example: File is data03.ext I want to move this file to a folder named data03 This folder will have to be created by the batch file. Each time this batch file will be run it will be a different filena...
176 byte By
ad_Impro at 2007-11-20 0:54:52
hello freinds,<br/>can anybody tell how can i get WMF sdk i.e. for DRM..<br/>Is it a freeware?<br/>Any other alternate that is a freeware/open source?<br/>thanks
241 byte By
ytkok at 2007-11-20 1:16:06
As we know that there are 7 IO port registers for IDE interface. And we could send ATA command through ATA_PASS_THROUGH or SCSI_PASS_THROUGH with DeviceIoControl().<br/>If I need to access one of these register directly, how to do that?
1104 byte By
Liuzq at 2007-11-20 1:47:52
I installed windows xp and windows server 2003 in "c:"(first install windows xp and then windows server 2003) .I think, when I installed windows xp,some files belonging go windows xp might have been rewritten which leads to some problem:I find that I can run asp project on windows server 2003(just...
131 byte By
amirw at 2007-11-20 1:51:52
Hi all,<br/>Is there a way to check, via a batch script, whether a specific Windows Service is up??<br/>Thanks,<br/>Amir.