C# Windows applications
I am developing a project in C# Windows applications(win form) in that I need to create a function to change the back color for all the buttons that are in the single Win Form using button mouse over event ...
I am developing a project in C# Windows applications(win form) in that I need to create a function to change the back color for all the buttons that are in the single Win Form using button mouse over event ...
Hello, In windows os, how can i get count of execute any application? ...
I tried: process.MainModule.FileName.Contains("x86") But it threw an exception for a x64 process: Win32Exception: Only a part of the ReadProcessMemory ou WriteProcessMemory request finished ...
Hi, Please let me know how do I run the app under current logged in user from the service. To give you background, I have a VB.NET Windows service whose sole functionality is to run a Winform App at a specified time. Apart from that it also sets a system wakeup timer so that the system can be woken up at the specified time, if it goes ...
I have a folder with a large amount of files inside of it. I want to be able to render each of my files as a button. And when I click on the button something will happen. private void Form1_Load(object sender, EventArgs e) { int x = 10; int y = 10; /// Process the list of files found in the directory. ...
Hi I'm trying to test my JAVA app on Solaris Sparc and I'm getting some weird behavior. I'm not looking for flame wars. I just curious to know what is is happening or what is wrong... I'm running the same JAR on Intel and on the T1000 and while on the Windows machine I'm able to get 100% (Performance monitor) cpu utilisation on the Sola...
A host which part of Active directory domain does authentication from the logon server (domain controller). LOGONSERVER env var has its value. C:>echo %LOGONSERVER% \PUN5OPSDIRPIN01 Is there any API using which I can retrieve this value? ...
Using EasyHook I have successfully hooked both exported functions and known vtable functions for various C++ classes. In all these cases target programs have used DLLs. Provided I know the address of a function's entry point, is it possible to do the same when a library has been linked into the target program as opposed to being a separ...
Simple code: ATOM atom = GlobalAddAtom(L"TestCpp1"); It returns 0 and GetLastError returns 0x5 (Access Denied). Nothing on MSDN about it. This is on Win7. Admin rights make no difference. Same code works on XP. AddAtom (local) works on Win7. What's causing this? ...
When you click the right mouse button on your clean desktop it opens a context menu. Each item there is a call to a method. To programmatically call those methods, first I need to know which one I want. IIRC there is a tool that helps with that, but I can't remember its name. ...
Hello there, I am trying to install symfony php framework. I am working with windows. My apache & php stuff is under C:\wamp The framework is under C:\dev\ I am trying to do something like this in ms-dos: c:\> php lib\vendor\symfony\data\bin\symfony -V The php command isnt recognized. I suppose this is a pretty simple issue, but ...
I'm using Python 2.6 on Windows 7 I borrowed some code from here: http://stackoverflow.com/questions/5419/python-unicode-and-the-windows-console My goal is to be able to display uft-8 strings in the windows console. Apparantly in python 2.6, the sys.setdefaultencoding() is no longer supported However, I wrote reload(sys) ...
For hi5 there is a way to validate email addresses by importing your contacts from a hotmail account. I want to try and automate this task but am running into trouble. Steps to get to form page. Create hotmail email account. Using hotmail email, make a new hi5 account. After creating an account do not add photo, but navigate to home ...
hi, I have this page http://www.mareez.com.sa/Camera1.htm. It asks for the windows username & password. I want to hide this username & password, and I want to pass it to the camera server in my code (i.e. not visible to the website visitor). ...
Hi, I'm learning PyGTK and I have a parent window and a child window. Inside of a parent window's method, i create the child window and then I refresh a treeview... something like that: def add_user(self, widget, data = None): save_user.SaveUser(self.window) self.load_tree_view() But, when it's running, the child window appear...
Can someone please point me to some documentation on the virtual memory maps used for Linux and Windows. By that I mean what virtual addresses, code, writable static data, the stack and the heap (along with other kernel bits) will normally be placed in, in a typical process? ...
Like many other people we're having line ending issues with CVS. However, unlike most our problem is the opposite. Is there a way to force CVS to not convert lines from /n to CR/LF. I would like the line endings to remain in the Unix format even if I checkout to a Windows machine. Is that even possible? The problem: the conversion of t...
I have a Java application running on Windows that needs to authenticate to a webapp using Kerberos/SPNEGO. I'm aware of how to configure JAAS to achieve this, but I find the Java (JDK6 and JDK7beta) Kerberos implementation to be lacking a couple important features I need. For example, support for referrals or using the DNS to figure ou...
I have created a Windows Search string custom property that shows up fine as a column in Windows Explorer. In C# I issue the following SQL query: SELECT System.ItemPathDisplay, System.ItemName, My.Custom.Property FROM SystemIndex WHERE CONTAINS(My.CustomProperty, 'blah') The resulting OleDbDataReader correctly returns a list of the fi...
I know for dll files you can read an Assembly version, but I was wondering if there's some way to mark or read versions from ANY filetype (jpg for example). I'm making an update program that only updates what's necessary and it'd be better if all files were versioned instead of keeping track of versions in a separate file. Oh and this i...