MSDN Magazine December 2005
View Complete Post
Layered windows provide the unique ability to compose a window on the desktop using per-pixel alpha blending. We take a look at how you can implement this drawing technique in Direct2D.
MSDN Magazine December 2009
I have implemented a toolstrip and want to use this as my menu to change current page (just like a web application). I DON'T want extra forms popping up.
I ask this question as in the past I have always used TAB Control, but now that I'm using the toolstrip I don't require the Tab Buttons themselves. Can I hide these buttons, during runtime. Obviously I only need one tab displayed at a time.
I have looked at using a panel, but that means I can't flick between panels during design stage.
Any suggestions would be really appreciated.
We have a client application in which one windows service in one datacenter is calling windows service in another datacenter(both datacenters are on LAN over WAN) to fetch images.
The problem we are facing is that during the bandwidth crunch, sometimes timeout occurs while downloading the images.
Are there some techniques in remoting like chunking, buffer size, image slicing in remoting by which i can reduce/streamline the data over wire.Please suggest best practices.FYI, images size is of around 100kb-2 MB and users generally request for 2-3 images
in one request.
J have read many answers about
Login failed for user ''. The user is not associated with a trusted SQL server connection
error, but I don't want to mess up in my sql server so I want to be sure that what I do is OK.
In my company, we have our own application wchich we use to connect to database. All users use SQL Server Auth except me. I can log using Windows Auth from server and from my second computer.
Now everything works fine.
- My comp is in our domain 'OurDomian'.
- On server in AD is admin account 'SqlAdmin'.
- In MSSMS in Security->Logins there is account: OurDomian\SqlAdmin
- on my comp account OurDomian\SqlAdmin is added
I can log to sql server from my comp using 'Integrated Security' in application with no problem.
Problem starts when I change SqlAdmin password on server.
When I connect from my comp I get the above error. But when I connect from server there is no problem.
I searcher application code and I don't think that I have to change somthing in it. Probably I have to change something with account and permissions.
1. Will it bee enough to delete and add again 'OurDomian\SqlAdmi
Hi , i search in google , bing , cuil and all of searchs provider for the solution of this problem :
I get HTML content from HTTPWebRequest(because is much requests and if i use WebBrowser control directly i get a lag and video processing unnecessary)
And i need set System.Windows.Controls.WebBrowser.Document with this text.
"Solution" , use new methods call NavigateToString() or NavigateToStream()
Navigates ONLY read and process content INSIDE this tags , no external files (like 'something.js')
Solution i encountred after two weeks of search
Process the text and replace the files by the content of that.
But this i think that is no real solution. (i tested , work , but not perfectly) * I write my own code because that post dont have source code.
for why you need to do that?
because i need interact with users after search , and use html's input to re-search again and process this file with all extern files is too slow
Sorry for bad english, i'am brazilian.
Hello, I am programming in VS2010 wirting a simple windows forms program. I am using the System.data.SqlClient for a connection. My data Connection code:
'Used for reading data only
I have a big problem when I tried to list directory from FTP Server on linux but using the FtpWebRequest.
An error occurs at the GetResponse() method but the same code work fine on Windows Server (IIS).
The error is :
The remote server returned an error: (550) File unavailable (e.g., file not found, no access).
at System.Net.FtpWebRequest.SyncRequestCallback(Object obj)
at System.Net.FtpWebRequest.RequestCallback(Object obj)
at System.Net.CommandStream.InvokeRequestCallback(Object obj)
at System.Net.CommandStream.Abort(Exception e)
at System.Net.FtpWebRequest.FinishRequestStage(RequestStage stage)
at FilePostman.Program.GetListFtp(NodeItem item)
at FilePostman.Program.ReceiveFtp(NodeItem item)
at FilePostman.Program.Main(String args)
The information that I use when run time like this:
Host : ftp://10.10.30.19
path : fmd/inbox
uri : ftp://10.10.30.19/fmd/inbox
User : administrator
Password : *******
I have never been able to get our .NET remoting (3.5) application to work on Windows 7. Windows Server 2003 R2 is running a Windows .NET service running .NET 3.5. The client is a .NET 3.5 Winforms application trying to connect to the
The client always times out connecting to the server. The firewall is off (stopped the service in Windows 7)
There are no issues when using Windows XP to connect to the server.
We've tried everything - stopping firewall, adding exceptions in Win7, etc.
Does anyone know what could possibly be going on? Again, we've tried everything obvious.
Thanks for the help.
I've implemented Windows Authentication with kerberos protocol.
Each time user visit site they have to hit Sign in button and then they get logged in. IE doesn't recognized automatically user and signed in.
I've created a simple test DLL, written in C#, with a COM interface.
public interface IMyClass1
string GetAString(int aiNumber);
public class MyClass1 : IMyClass1