Shadow Chaser's Q&A profile
SQL Server Subscription To Address
Is there a way to have when a user creates a subscription, using NT Authentication, to allow the user to edit the To field or have it default to a certain @<domain> We have a test environment, but it is not the same as production, so when they subscribe they only see their NT account and when the report is attempted to be delivered it fails. I can go in as an Admin and change the subscription, but would rather not to have to do that. Seems like a simple configuration change somewhere, I just have not been able to find it. The only danger in allowing a user to enter their own address is if they get mad at someone and put them in and use RS as a spamming tool. ...Show All
Software Development for Windows Vista ICredentialProvider
Did anybody make a successful user logon using the new ICredentialProvider interface My credentials are displayed, but I can't make them to logon. And what worse - after 20 or 30 seconds, the winlogon crashes completely with no recovery possible excepting hardware reset. I thought I basically did something wrong and decided to wait for more detailed documentation or some sample code. But MS doesn't seem to put too much effort on improving their SDK documentation and I also found that at least one other programmer has the same problem: http://msdn.microsoft.com/newsgroups/default.aspx query=vista&dg=microsoft.public.platformsdk.security&cat=en-us-msdn-windev-winsdk&lang=en&cr=US&pt=&catli ...Show All
Visual C++ convertind vc++6 to vs
Hi there I have a little problem while bulding project imported from visual 6 errors occured one of them which I can't handle is d:\adrian\hh\hh manager idt con\hh managerdlg.cpp(150) : error C2440: 'static_cast' : cannot convert from 'int (__thiscall CHHManagerDlg::* )(WPARAM,LPARAM)' to 'LRESULT (__thiscall CWnd::* )(WPARAM,LPARAM)' None of the functions with this name in scope match the target type I would appreciate if you can help me thanks in advance adrian proszczuk, poland What the problem is with the function signature. it's expected a function LRESULT (__thiscall CWnd::* )(WPARAM,LPARAM ) but your function defined as return type int instead int (__thiscall CHHManagerDlg::* )(WPARAM,LPARAM) Change ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Implementation Inheritance Regrets
This is kind of OT, but I'd like to see what the other developers here have to say. I used implementation inheritance in Buttermilk's GUI design. I am regretting it quite a bit. I used implementation inheritance because I reasoned that everyone else's GUI system (including my past two) do so. But the more I learn about design and anti-patterns, the more subtle flaws I see arising because of the decision to use impl inheritance. Why do people use impl inheritance, even when they know better I presume because it's just so darn easy and quick. There is no way a modern language could get away with getting rid of implementation inheritance completely. People wouldn't accept it. In my opinion, a new language without implementation inherita ...Show All
Visual Studio Recommended Labeling Practice in VSS?
I have scoured the internet, groups, & blogosphere and have been unable to find any real-world advice on the following. I'm hoping some of you can give me some well-informed opinions. We have a small development group (3 Developers) that have been using VSS for years. It has been fantastic for them however as SOA/Code-Reuse is becoming more and more desirable, we are having difficulty figuring out how to keep track of our versions of a Solution/Project so that we can role back if need be or even trace compiled files back to the source files. Here is the scenario. We are using Visual Basic .NET Solution/projects in this example. $/Solution#1 -/Project#1 -/Project#2 -/Project#3 (This project is something that can be sha ...Show All
Windows Forms Events question
hello there again people. i have been confused in c# events programming. i have this code and i have a form with 1 button named button1. Hi, the issue you are having is that the event keyword is really a bit of syntactic sugar. When you class is compiled each event is really replaced by a class field of the type of delegate associated with the event and two new methods are added that allow you to add delegates and remove delegates from the underlying multicast delegate, initially this delegate field is null. So when you raise an event it is really invoking all of the delegates in the underlying multicast delegates invocation list, if you have not assigned any listeners then the delegate is still null and you will get an error. ...Show All
Visual Basic How do I get my IP address into a string?
I'm not talking about local IP. I want it to be the same IP that I get by going to whatismyip.com. Also, what is that kind of IP address called Thanks qwv wrote: "which sort are you trying it in " Sorry, I dont know what you are asking. You had said: qwv wrote: I dont know what to do with the <WebMethod()> _ and context says it is not declared What kind of application did you paste the code I gave above into A Windows Forms app Console App ASP.NET Web Application Web Service ...Show All
Visual Studio 2008 (Pre-release) DataTemplate doesn't work but ControlTemplate does - why?
Hi, I have this control template which is used to style a sortable grid view column header: <Style TargetType="{x:Type support:SortableGridViewColumnHeader}"> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Type support:SortableGridViewColumnHeader}"> <StackPanel Orientation="Horizontal"> <Label Content="{TemplateBinding Content}" /> <Image x:Name="_sortOrderImage" Width="9" Height="5"/> <Thumb/> </StackPanel> <ControlTemplate.Triggers> &nbs ...Show All
Smart Device Development How to read the contacts?
Peace be upon you this is such a nice forum (Thanks Microsoft), anyways I have a little question , How can I read the contacts I found that there is somthing to read it CeOpenDatabase and as I saw there is parameter that contains " Contacts Database " , so all i am asking how can I read the contacts, I mean how can I read all of it, and does it sorted or not , thanks for your time :) Thanks a lot for your reply please if you have any article about that please pass it, I really need to so much thanks alot for your reply :) ...Show All
Smart Device Development Incoming call handling in a Smartphone application
Will I always receive LINECALLORIGIN_INBOUND for an incoming call on a mobile phone If I have Call Waiting feature, will I get a new HCALL during LINE_APPNEWCALL How can I distinguish that Just wondering whether it makes any difference if I do it in C++ instead of .NET I have tried Smartfilter and the phone never rings. ...Show All
.NET Development BinaryWriter errors if debug not running
The problem is BinaryWriter works fine when I am debugging Once I click on the progrm to test it without c# ide it gives me a null reference for binarywriter during send. Im running 2005 c# express edition and trying to connect to another computer which is myself and the server app gets the request and stays connected so its not the other program. How can it always work in debug and not in the exe file that it made on my computer here is the code using System ; using System . Collections . Generic ; using System . Text ; using System . Net ; using System . Net . Sockets ; using System . Threading ; using System . IO ; namespace AKClientForm { ...Show All
Visual Studio Team System Solutions and team builds spanning TFS servers?
If you had two team foundation servers, could a solution contain projects from other TFS servers. Such that Get latest at the solution level would work and things of that nature Second question could you get team build to work that way There might be a custom solution you could make. Visual Studio 2005 SDK rocks, i'm not saying this is the best way to go or that you should have to write your own interface/plugins. I've just gotten so excited lately at how much you can do with it. If you wanted you could use the API of TeamFoundation server, and do all sorts of things that extend your user experience. But, I know with TFS they are going to be adding more and more user functionality and hopefu ...Show All
Software Development for Windows Vista SetTimeZoneInformation and Vista
Having a problem where I'm getting a error return code of 1314 (A required privilege is not held by the client) after calling SetTimeZoneInformation API in C++. This is after I adjusted the token privilege for the SeSystemtimePrivelege, which is just baffling me. This code works in XP, but alas, not in Vista Beta 2. The user thread is the administrator and like I mentioned earlier, he now has the seSystemtimePriveilege set in his token. Is there another privileg I need or is this a bug I am facing this exact problem (last error 1314) on Vista RC1. - Application is running with elevated admin mode. - Admin user has been granted SeSystemTimePrivilege privilege. Application verifier (LuaPriv) is reporting err ...Show All
Visual C# debugger steps through commentlines
Hi, I'm trying to debug my application, so I put a breakpoint in the area I suspect to be buggy and I run my application. When I hit the breakpoint I step through the code. To my surprise I see myself stepping through lines of comment (and skipping several lines of code as if they were comment). I tried deleting the build files, rebuilding, etc, but nothing seems to work. Any suggestions It is just looks like it goes through commented lines. The problem is that your app use diferent dll assembly that the current code is, so in that lines previously when you build that assembly that your application is using, there were some execution lines. To solve this problem you need to remove your reference and instead of adding assembly as ...Show All
Smart Device Development Installation problem
Hi, I'm trying run my setup program (for install my program to mobile device) on Windows Vista and this not work because not possible find Application Manager (ceappmgr.exe). I check SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\CEAPPMGR.EXE key, but this not exist. Exist any solution This comes with WMDC (Windows Mobile Device Center), Vista version of Active Sync. Not sure it's available yet, so I would suggest testing on XP/Active Sync 4.x for now. ...Show All
