MHenke's Q&A profile
SQL Server displaying % in value
Hi I am calculating percentage using expression. I want to display % at the end of the result. If I use P1 or P0 somehow it multiplies the result with 100 I guess. Here is what my calculated value is 15.384515 and I want to display 15.38% Using P1 or P0 I am getting 1,538.5% How can I get the desired result Any help would be appreciated. Regards Amit Hi niallhannon, I also have a similar problem in formatiing the data after rendering to excel. The Field value is a percentage. If there isn't any value zeros are getting displayed. So if i use a format expression #,# (not to display anything in the cell),the percentage field is getting disturbed and is not getting di ...Show All
SQL Server How to send Notifications to WinForm?
How to send Notifications to WinForm How to define the user devices and the custom delivery protocol and delivery channel Can you give me some examples Source Codes Thank you very much! It's not something I've done, so I can't cut and paste code for you. I imagine a good start would be: Developing a Custom Delivery Protocol and a good tutorial on remoting. If you have access to it, or are willing to buy it, Ingo Rammer's Advanced .NET Remoting is probably the book to get. -Francis ...Show All
Smart Device Development IContextMenu, InvokeCommand & a LPCMINVOKECOMMANDINFO
I am trying to extend the Appointments Application Context Menu in a WM 5.0 Device. The Menu Item gets added up and my IContextMenu::InvokeCommand implementation gets called and I receives a parameter of type LPCMINVOKECOMMANDINFO. I got stuck up at this point as I wonder how to find the particular appointment on which the user 'Pressed and Holded' the stylus. LPCMINVOKECOMMANDINFO doesn't seem to contain any information regarding it. I will be happy if I could retrieve the date and time info of the specific appointment on which the user 'Pressed and Holded' the stylus. Pls Help........... please post this topic at the news groups mentioned at the below announcement li ...Show All
Visual C# library not registered error
Hello, I hope someone will have an answer to this question... Using VS. Net + C# I have a a console project called implementer that communicates with another addin project. Both are supposed to send and receive a "struct" that holds a hashtable to store/change info. I got the addin to show up right and it starts listening to the events been triggered by excel. In one of the events, the addin class, via invocation, is supposed to instantiate an instance of the struct and pass it to the running instance of the implementer class which changes and modifies the info in the hashtable of that struct. when trying to send that struct (which is a dll file by itself but added to both projects as reference) I get the error message s ...Show All
SQL Server Restoring SQL2000 bkp file on SQL2005
Is it possible to restore SQL2000 backup to SQL2005 Or I have to restore the DB to SQL2000 and then upgrade it to SQL2005 Can someone provide me ways to upgrade SQL2000 DB to SQL2005 Thanks, Hiten Simply restore it on the SQL 2k5 server. Backups of 2k are compatible with SQL2k5 (but not vice versa). You have to be aware that the internal (meta) structure of the database is upgraded during the restore process and therefore can’t be backuped and restored on the SQL2k after the upgrade. HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
.NET Development asynchronous callback serialization problem
hello guys, im developing a windows application that uses asynchronous callback as network communication technique with xml serialization for sending complex objects over the network. the problem is that at receiving the buffer to be written to the file is never written fully and in correct format. its always cutted from the middle and so the serialization always fails. any clue thanks ...Show All
Visual Studio Team System Data Compare on selected tables does not generate update script
I'm trying to do a data compare of selected tables from two databases. I ran a schema compare first and verified that the table structure is identical. I am able to select the source and targe dbs and the tables on the next screen. When I click the finish button- nothing happens. No comparison happens. The data update script pane is greyed out and the the pane where I expect to see comparisons between the tables I selected - displays a link to "connect to databases". There are no warnings, errors, or messages. What am I missing Version: 2.0.50727.72 We are still waiting on information from you. If we don’t hear from you in the next seven days, we will delete the thread. We do this to keep the system full of useful inform ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Sample of animated character.
Some time is passed after "XNA Game Studio Express/Framework 1.0" become available, there are now some source code samples from Microsoft (or others) of animated character (loaded from X file, animation too) Thank you Toni Roger Klado wrote: It took 6 months of development to release XNA You sure about that 6 months I believe XNA was announced officially 2 years ago, but I seem to remember seeing some demo beofre that. ...Show All
Visual Studio Express Editions what day in week?
how do detrimen what day it is .. monday, tuehusday, etc.. or with an integer with 1 = monday 2 = tuehusday ... hehe just a way do deside the current day in the week . thanks :D hmm ... i think their is somekind of buge in VB .. i am not sure what the error was cursed by, i just commented out all the things with date involved. Now when i build it is workes okay .. but when i debuge it, it still not working, its showing me an old form.. ... also before i remove the error that i could only see when building and then launching the program was also not displayed in VB .. so i am pretty sure that is has a bug of some kind ... hmmm i am just going to try to send my project to my other pc.. just to check th ...Show All
Visual Basic How to make the ListView items load a database row?
Can anyone tell me how to make the ListView items, that have been entered programmatically, load a database row Populate a ListView reading with the datareader the SQLDatabase ...Show All
Smart Device Development Questions about Smartphone's programming
Hello, I am a novice at this and I have some basic questions (may be quite silly). Well: How many ways of building a new window/view are there in Windows Mobile 2005 I tried to do it creating a new Form and make Application .Run( new Form2 ()); where Form2 is the new created view. The trouble comes when, at the exit of Form2, the system shows an error: "An unhandled exception of type 'System.ArgumentException' occurred in System.Windows.Forms.dll Additional information: ArgumentException" Which are the tasks of Form2.cs and Form2.Designer.cs files I think that Form2.Designer.cs is the one who build the view, and the other one makes the main tasks. When VS 2005 deploys the appli ...Show All
Visual Studio Express Editions No template information found - Unable to use New Project Starter templates.
Searching through forum issues for this problem (because I have it with my new VB express download), I see many have had the issue, and the suggested fixes ( which I have tried) don't seem to work. Any suggestions I've posted a work-around solution for the specific problem that I encountered. Review the thread at: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=817627&SiteID=1 ...Show All
Visual Studio Team System Visual Studio hangs when I try to "Check Out" a file from TFS Source Control
Help! Starting 2 days ago I found that if I tried to right click on a file in TFS source control, VS would just hang. I could only close it by ending the task in task manager. I tried the repair option for Team Explorer and also tried the SP1 upgrade. It's still hanging anytime I try to manually check out a file via the source control explorer. NOTE: It seems as though I'm still able to check out files if I'm in a solution. But not directly from the Source Control explorer. And this issue is only affecting me. The rest of the team is fine. This is becoming more than annoying. Thanks for any help. Sincerely, Well it doesn't look like the IDE ever attempted the server call to PendEdit, so the hang is apparently occurring ...Show All
Windows Live Developer Forums Microsoft takes down Chinese blogger
To Microsoft, Because of your brutal censorship on the blog called MRANTI (http://spaces.msn.com/members/mranti/), I decide to stop using MSN Spaces and will do my best to persuade others not to use it until you stop behaving like a secret police of the Chinese detector. http://rconversation.blogs.com/rconversation/2006/01/microsoft_takes.html I think microsoft is already very good to those people "better that YAHOO" Yahoo Hong Kong Co. give the deep information to China goverment and the press now in jail for ten years, but as I know microsoft did't give the deep information to China. Only delete his blog... ...Show All
Software Development for Windows Vista Using an In-Memory XML Stream To Create A Workflow
IDesignerHost designerHost = workflowDesignSurface.GetService( typeof ( IDesignerHost )) as IDesignerHost ; Activity rootActivity = designerHost.RootComponent as Activity ; MemoryStream memoryStream = new MemoryStream (); XmlWriter xmlWriter = XmlWriter .Create(memoryStream); WorkflowMarkupSerializer xomlSerializer = new WorkflowMarkupSerializer (); xomlSerializer.Serialize(xmlWriter, rootActivity); XmlReader xmlReader = XmlReader .Create(memoryStream); workflowInstance = workflowRuntime.CreateWorkflow(xmlReader); workflowInstance.Start(); Does anyone out there know why the CreateWorkflow function would be failing. If I write out the xmlWriter content to a file and then use that f ...Show All
