WXS123's Q&A profile
Software Development for Windows Vista what about legacy messenger service
hi there, I noticed there's no legacy messenger service anymore, and the NET SEND command is now unknown. I'd like to know whether applications which relies on it will continue to work or not, and, if not, which is the best way to migrate them. I'm testing beta 5384 and it's the first Vista for me, so I don't know about previous ones. thank you. matro Hi, Since you asked for a perticular API, I am facing problem with API NetMessageBufferSend on VISTA. Also there is no Messange Service. Do you know if Net Send is discontinued in VISTA Is there any alternative to sending Net Send in VISTA Your help on this will be hugely appreciated. Thanks. Amol ...Show All
Visual C# How can I stop the illumination of the form ? GDI+
Hi, wile I was trying to draw on the form every 100 ms , I had a problem that the form illuminates like the flash light every time I tried to draw on it, I know that I mustn't clear the form that much but I have to because I'm trying to let the form take a shape I've drawn in a PNG file . what can I do to stop this Illumination or if you know a better way to shape the form as I want please write it here . and I want to tell you something great : I have taken 98% in my high school final exam ( the one before the university ) which means I can choose to enter any faculty I want in Damascus University . you can use double buffering to reduce flickering double buffering is drawing in offscreen and when finish ...Show All
Visual C++ CreateThread vs _beginthreadex
Hello. There is a hot discussion on one Russian developers forum about correct threads creation. _beginthreadex is more correct way because it initializes CRT for the newly created thread. But there is one great "BUT"!!! For example we have any callback function which uses CRT (like an exported function from dll). This function could be invoked from any thread including threads, that was created via CreateThread (i.e. CRT was not initialized for this thread). So this call can cause an undefined behaviour! But there is not way to determine CRT initialization status and initialize CRT manually It looks like a potential source of great troubles. ASFAIK CRT functions are calling Win32 functions for getting work ...Show All
Visual FoxPro VFP9 applications running much slower than VFP6 and VFP8
I have same vfp application program. But I found that it run much slower than previous version when loading a form in vfp9 compiled application. Anybody have same problem At the first time loading form is slow and second time is fast. Close the form and loading the form again, it change slow again. I don't know why It never happen in VFP6 and VFP8 before. Same program and same computer. ...Show All
SQL Server Telco Cube
I am building a cube for a telco company. There is among others a subscriber dimension and a handset dimension. There is also a dimension to indicate a handset switch. In the source table, this is a flag set to 1 in the month where the switch occurs. I have added this as a measure to count the handset switches and also as a dimension. Other measures are a count of the subscribers and their revenue. I have added a calculated measure to know the average revenue per user. Now I would like to add a measure to know the average revenue before a handset switch and after a handset switch. Is there a way to calculate the average revenue for all months until the handset switch measure has a value and to calculate the average revenue for all month ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Tool for auto HLSL Generation?
Are there any tools out there to enable the graphical building of a shader network, such as in Autodesk Maya's Hypershade tool or Softimage XSI's RenderTree tool, which can enable you to use a GUI to set up an object's basic material properties and then automatically generate the appropriate HLSL shader fragments needed to reproduce the material effect in your game without having to manually write HLSL files Certainly, if you want to create complex shader effects, you would need to be able to edit the HLSL or manually create new custom HLSL files, but for creating HLSL files to render basic, standard material properties, there really should be a graphical tool to take some of the work and difficulty out of it. Such a tool should allo ...Show All
Visual Studio Support for Web Application Project
Does the Guidance Atomation Toolkit support the new project type "Web application Project" that should be an alternative to the WebSite project type Thanks for the answer. I see what you mean. Unfortunaltely I'm currently assigned to a 'critical' project, and won't be able to try it right away. I'll keep you posted as soon as I (or someone else) did. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. 2D application using D3D - zoom and navigate
i have a map application, that contains a background map as a texture, and it is possible to place objects on the map. right now i'm working on the following functions: 1)zoom. 2)navigating. the current implemention for these features is by changing the background texture coordinates (U,V), and changing the objects (that you can place on the map) coordinates on the screen (X,Y). At the moment, not all of the features work properly and i think that with a bit of tuning i can make them work almost as i want them to. Now- to my question. I've read a bit about Transformation and as i understood i can use it to help me navigate and zoom but i couldn't figure out how. can Transformation help me can you give an example or guidelines for usi ...Show All
SQL Server How to compose the connection String of a SSIS package that execute another package?
Dear All, I now have two SSIS package, "TESTING" and "LOADING". The "TESTING" package have an execute package task that call the "LOADING" package. When I want to execute the TESTING package, how can I setup the connection string so that I can edit the password of the database connected by the "LOADING" package Regards, Strike You can pass values into a package via the command-line using the /SET option of dtexec . If the package that you call is a parent package then you can pass the value through to the child using a parent package configuration. -Jamie ...Show All
Internet Explorer Development HowTo get rid of the menu item..
Good time of the day, I'm developing an IE explorer bar, which in turn ought to be shown by resident BHO COM object (ruled by some logic) that implements IOleCommandTarget interface (for simple user interaction handling through custom toolbar button). Everything is tip-top notch - button is shown within ie toolbar only and dispatches command to bho object which in turn bravily handles it and shows/hides my side bar. However, after IE (as well as windows explorer) recognises my explorer bar object, it adds menu entry, under View->Explorer Bar->{my ie bar}. Is there any way to avoid my ie bar to appear in a menu Thank you Hi, No, when your COM is registered it adds an Implemented category for an ExplorerBar to the CLSI ...Show All
Software Development for Windows Vista Problem with Workflow.xoml
I am building example that contains the following: -Workflow1.xoml <SequentialWorkflowActivity x:Class="SequentialMarkupWorkflow.Workflow1" x:Name="Workflow1" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/workflow"> <IfElseActivity x:Name="IsUnderLimitIfElseActivity"> <IfElseBranchActivity x:Name="YesIfElseActivity"> <IfElseBranchActivity.Condition> <CodeCondition Condition="IsUnderLimit" /> </IfElseBranchActivity.Condition> <CodeActivity x:Name="ApprovePO" ExecuteCode= ...Show All
SQL Server SSIS Validating Data
Hi there, I have a Problem with my SSIS and it is that when you open the package it says "Validating <Data Flow>" and it takes a loooooong time to finaly open ( by long I mean like 3 or 4 hours to just for open!!!). In 3 of the DF, I have conections to a Unisys server and in exactly in this DF is where it takes its time. This Unisys system its kind a slow but not that slow. I am running on a server that have 4 G and 8 processors, so it cant be the machine. my question is, How can I make it validate faster I have tried to work Offline but when I run the package I need to be online. Any Ideas Am I doing anything wrong here thanks! Thanks for providing such a quick response! I think j ...Show All
Visual Studio Express Editions how some help fix my code?
'Create a new MailMessage object and specify the"From" and "To" addresses Dim Email As New System.Net.Mail.MailMessage(" From@abc.com ", " To@abc.com ") Email.Subject = "test subject" Email.Body = "this is a test" Dim mailClient As New System.Net.Mail.SmtpClient() 'This object stores the authentication values Dim basicAuthenticationInfo As _ New System.Net.NetworkCredential("username", "password") 'Put your own, or your ISPs, mail server name onthis next line mailClient.Host = "Mail.RemoteMailServer.com" mailClient.UseDefaultCredentials = False mailClient.Credentials = basicAuthenticationInfo ...Show All
Visual Studio Report Footer
As far as I know there is no Report Footer feature in MS Reporting Services. I'm trying to mimic it with playing with visibility option. There is a problem if I use page footer hidden content still occupies space so I should not use page footer but I can not find a solution to print something bottom of the page inside the body itself. Is there anybody implemented report footer any suggestion thanks, Harun# Any objects you place at the bottom of the report body will appear at the end of the report. Is that what you mean by a report footer -Albert ...Show All
Visual Basic Raising events from .NET UserControl inside a VB6 MDI form(Interop Forms Toolkit)
I have used the Interop Forms Toolkit example: http://blogs.msdn.com/vbteam/archive/2006/11/02/interop-roadmap-usercontrols-mdi-and-data.aspx , and am using the example InteropUserControl. I want to raise an event from my .NET UserControl which is hosted inside a VB6 VBControlExtender type: Private WithEvents moDynamic As VBControlExtender Set moDynamic = Controls.Add("InteropUserControl.InteropUserControl", "DynamicControl") The control loads fine. How do I raise an event from the .NET UserControl so it is trapped by the VBControlExtender Hi, It's good to see that MS team is working on this, because I was realy missing this, while using System.Runtime.Interop. So thanks for y ...Show All
