|
Search
Tutorials and Code
Syndication
My Account
Community Forums
Webmaster Tools
Tech Jobs
|
Capturing Mouse Events Outside Of My WindowI am trying to capture a mouse click anywhere on the system while I have a modal dialog box up. I am using the code in http://support.microsoft.com/kb/318804 - and it doesn't work. 1) I only get...
MailMessage HTML Text PreambleHi; To create an HTML version of a mail message I do: StreamReader htmlStream = new StreamReader(html.GetReport(), Encoding.UTF8); MailMessage mail = new MailMessage(); mail.AlternateViews...
Is There Any Wizard In Visual Studio Or Online Example For Creating AIs there any wizard in visual studio or online example for creating a custom Data Provider service C# which can be connected to with ADO.NET?
How To Create A Vertical Tool Bar For IE With C#?How to create a vertical tool bar for IE with C#?
How To Programmatically Resize The Height Of A Custom IE ToolbarHow to programmatically resize the height of a custom IE toolbar written in C#? When I resize it, it shrinks but the real-estate it is in stays the same size.
SmtpClient/MailMessage - How To Embed ImagesHi; When email we send is forwarded all the images are removed from the email and instead become attachments. Is there a link somewhere that spells out the correct way to put images in a message...
Have 2 Projects That Need To Reference Each OtherHi; Here's the basic problem, I have a boatload of code that is J# and a small amount that is C#. In a perfect world VS 2005 would let me put both in the same project. But VS 2005 does not support...
.net Sdk 2.0 With Vs2008Hi all, My development environment was initially set up with vs2005, and the ..net 2.0 sdk. I upgraded to vs2008 sp1 with .net 3.5. I also used the microsoft .net configuration tool to install...
Should We Forget Trying For A Trust LevelHi; According to http://msdn.microsoft.com/en-us/library/ms998326.aspx medium trust only allows DB access of Sql Server. Our library allows the caller to pass us an DBConnection so it could be...
Setting Registry Permissions To Create Event LogHi; We need to create an event log named AutoTag if one does not exist. This requires write permission to HKLM\System\CurrentControlSet\Services\Eventlog. What is the best way to set this up...
Turning Off Authenticode CheckingHi; When all of our DLLs were signed our load speed was about 45 seconds. So we dropped back to only signing 2 of our DLLs (they are all still strongly named). This sped things up a lot. However...
Named Pipes On VistaHi; I am using named pipes to communicate between 2 of my windows apps on the same computer. On XP it works fine. On Vista running each as an admin it works fine. But running on Vista as a regular...
Internet Explorer 7 Cannot Download Wav FileHi Guys, Created a site using ASP.NET. When trying to download a wav file cannot download the file but it works for Fire Fox. Why is that? Thank you for help
Elevate Security In An App To Write To The RegistryHi; We have an Office AddIn written in C# and in one case we need to write to the HKLM registry (when they give it the license to enable it). If they are running as a user that does not have those...
WMF/EMF -> PNGHi; Is there a .NET call, or if not, a SDK call where I can pass in a WMF/EMF and the resolution to render at, and get back a PNG? These would be file images in memory, not physical files. thanks...
Named Pipes In .NETHi all; Ok, for simple IPC between 2 .NET apps I wrote a simple named pipes set of classes. If anyone needs them - http://www.davidthielen.info/programming/2008/12/named-pipes-in-net.html thanks...
Localized Resources - Do We Have To Install ThemI just noticed that we now have a bin\release\de and in that dir we have Lib1.resources.dll and Lib2.resources.dll. Do we need to install these files with our program, and do we do so in a de directory...
Exe Can't Find Dll In The Same DirectoryHi; When I install our program and we go to run it, it gives the Windows program hit an error message. When we click Debug it says it can't find a dll it needs. The dll is strongly named (and...
Security Issue Writing To The Event LogsWhen I call EventLog.SourceExists("Report Scheduler") I get: Exception: System.Security.SecurityException Message: The source was not found, but some or all event logs could not be searched. Inaccessible...
Need Help On Regular ExpressionHi there, Can any Regular Expression expert explain the meaning of the following for me: (\p{L}{2}[0-9]{7}) Thanks very much! Mike
DNS ResolutionI need to lookup TXT records in my application but it appears that the System.Net.DNS class is not capable of doing so. GetHostEntry() seems to be the closest match, but the IPHostEntry that it returns...
Ildasm.exe - Error 0xc0150004Hi; When running dorfuscator it calls ildasm. When it does the following message box pops up. ildasm.exe - Application Error The application failed to initialize properly (0xc015004). Click on...
What NG For VirtualServer Questions?Hi; What's the nest news group for programming questions in Virtual Server? thanks - dave david@at-at-at@windward.dot.dot.net Windward Reports -- http://www.WindwardReports.com me -- http://...
How Can I Set The Class Of A Form Window?I need to do FindWindow() to find the main window of an app of mine (to pos a message from another app). I can't use the title because it is localized and can have status info in it. So I need to...
What Is The Best Way To Handle Localization?Hi; Ok, we now need to localize our Form app. We have the text in all the controls as well as text we set inside our code. What's the best approach? I just need big picture of which of the various...
Only 1 Instance Of An App RunningHi; If a user tries to start an app of mine, and that app is already running, I want to make the already running app normalized (it's usually in the tray) and give it the focus - and then exit the...
Auto-entering Password In Sn.exeI want to use sn.exe in a batch file to sign multiple assemblies (resources that have been translated into a foreign language). Is there a way to avoid having to manually type in the password for...
Is This The Best Way To Do An App That Is In The Tray?Hi; Hitting google the best I found was to have a windo in the tray area is to call Hide() when it is minimized. This strikes me as a hack - is there a better way to do this - such as assign the...
How To Manage Multi Monitor IDs And Change Them ProgramaticallyIam Developing a Multi monitor Application in C++ MFC VC 6.0 in which i need to manage the diffrent monitor IDs for eg if 6 monitors are connected windows will assign IDs as 1,2,3......6 to the monitors...
Play A Midi File From C#What's the easiest way to do this? I treid the following but it didn't work: midiFile = Path.GetFullPath(midiFile); midiFile = GetShortPathName(midiFile); // gets the 8.3 filename mciSendString...
Creating My Own Log In The Event ViewerHi; Is there a url that explains how in C# to create my own log in the event viewer and then write to it? I am writing to Application fine but would like to have my own. thanks - dave david...
Force .NET NT Service To Run In WOW64I have written a .NET NT service which was compiled with the ANY CPU option. I am now trying to deploy service to an x64 platform, but wish to force the service to run as 32-bit under WOW64. I thought...
How To Read .PDB (Program Debug Database) Files Using VB.NetHi All, I want to create an application as 'Object Browser' in Visual Studio.Net. In which I just want to give it a Dll or PDB file, then it will show the information about references used by this...
Wait Up To N Seconds Trying To Open A File If LockedHi; What is the best way to open a FileStream where the file might be locked and I am willing to wait 2 seconds for the lock to be released? thanks - dave david@at-at-at@windward.dot.dot.net...
Get User Email And Mail ServerHi; I'm trying to have a good default from email address & name as well as a mail server for a user when our app sends email for them. Is there some way to query the system to get that info - at...
I Need 2 .NET Apps To Talk To Each OtherWhat's the best mechanism to use for 2 apps to pass data between them. Both apps will always be on the same machine, both apps are .NET apps, one is an Office AddIn and the other is a Windows Forms...
ImageList_LoadImage Equivalent In .NetI want to create an image list (in c#) from the specified bitmap with a specified size as with native function Image_LoadImage. http://msdn.microsoft.com/en-us/library/bb761557(VS.85).aspx Thanks...
Invoke In A Word AddInHi; I have a Word AddIn and in a Timer event I need to do the equivilent of Control.Invoke(). The problem is, I have no Control to do it on - my code is a Word AddIn and so when the timer fires,...
Var And Auto-properties QuestionHi; I've got 2 questions about features in the new C#. The first is where I can do "var x = new MyObject()" instead of "MyObject x = new MyObject()". This strikes me as a step back to Basic as...
Error When Install DllI create a new dll using following using System; using System.ComponentModel; using System.Security.Permissions; using Microsoft.ManagementConsole; in csharp and copy it to same path where...
Error To Install MMC3.0 DllI create a new MMC 3.0 dll in csharp and copy it to same path where InstallUtil.exe exists. When i try to install this using InstallUtil.exe it given folowing error An exception occurred during...
Hang In SetEndOfFileHi all, My application hangs many times in a strange call stack as reported by DebugDiag output, seems like in writing-to-console. This is the call stack reported by DebugDiag.exe: ntdll!KiFastSystemCallRet...
How To Develop Software That Supports Multi-culture?Hello everyone. I have a question. How to develop a software that support multi-culture? I want develop a software with console and dlls. Customers can use dlls for develop. There's solutions for...
Latest MgmtClassGen.exe VersionWhat is the latest version of MgmtClassGen.exe? Version 1.0 had problems with generating classes from namespaces other than Root\Cimv2. Version 2.0 is better, but still has some issues. Is there a...
How Do I Tell If A DLL Is X86, X64, Or AnyCpu?thanks - dave david@at-at-at@windward.dot.dot.net Windward Reports -- http://www.WindwardReports.com me -- http://dave.thielen.com Cubicle Wars - http://www.windwardreports.com/film.htm
XmlUrlResolver - File In A Zip FileHi; For XmlReader.Create(string filename) is it possible to pass a URI like how java allows: jar:file:c:/data.zip!order.xml and it will then use the file order.xml in the data.zip file as the...
WM 6.1 SDK And DocumentationHi all, Could anyone help me out in getting the WM 6.1 SDK and the documentation? -- Thanks & Regards.
How To Adjust Zone Security Without The .NET Framework 2.0 ConfiguI need to change the Intranet Zone for .Net 2.0 programs to fully trusted. I can use the .NET Framework 2.0 configuration tool on my PC but most PCs don;t have this isntalled. Can I use Caspol...
When Using System.IO.FileStream, I Write 8 Bytes, Then Seek To The Start Of The File, Does The 8 Bytes Get Flushed On Seek And The Buffer Become A Readbuffer At That Point Instead Of Being A Write Buffer?When using System.IO.FileStream, I write 8 bytes, then seek to the start of the file, does the 8 bytes get flushed on seek and the buffer become a readbuffer at that point instead of being a write...
Problems With NtOpenSymbolicLinkObject...I am trying to get the directory that a "directory" symbolic link "points to" in Vista. (I actually need this in my application!) To do this I have to call the "NtQuerySymbolicLinkObject" Windows...
|
Latest Tech Bargains
Advertisement
Free Magazine Subscriptions
Today's Pictures
Today's Video
Other Resources
Latest Download
Latest Icons
|