Qdshi's Q&A profile
SQL Server Grouping by Age
I have a table Age and need to create Report by Grouping Salesfigures according to Age. I put the following expression into Grouping and Sorting Properties/General/Filter /Sorting Expression... as well as in Textbox Properties/ values.. =IIF(Fields!Age.Value < 16, "<16",IIF(Fields!Age.Value <21,"16-20") Errormessage: Value expression for textbox "Age" error: Argument not specified for parameter 'FalsePart' of 'Public function IIF(Expression as Boolean, TruePart as Object, Falsepart As Object) As Object'. Question 2 . How to return Month as January, February... In correct order "DATENAME(mm, Sales.time) AS Month" (Ascending ) returns starting with April, August... DATEPART(mm, Sales.time) AS ...Show All
Visual C# The first time that a ActiveX is loaded in IExplorer causes a long delay
Hello, I have implemented a complete application using the ActiveX technology and works correctly. But when the ActiveX is loaded in IExplorer the first time causes delay, of approximately 10 to 22 seconds and when the ActiveX is loaded for the second time then do not exist any delay. In order to assure that this problem is not own of my application, I have implemented a simple Activex and when is loaded the first time in IExplorer also causes delay, of approximately 10 to 15 seconds. This delay is generated only the first time that IExplorer loads the ActiveX and in the following cases: 1. When the client machine, where Activex was installed, is restarted 2. When the new version of ActiveX is installed How I can avoid this ...Show All
Windows Forms Waiting to asynchronous calls end ...
Hi ! I'm writing a program that works wiht messages, this messages are registered in a MS Access .mdb file. I'm implementing asynchronous calls to register this messages, and have locked the .mdb resource for only one thread at same time can work with the file. But, sometimes a lot of messages arrive to my program and a then a lot of threads are queue waiting for register the data in the .mdb file. I'm afraid that when i close the app, some messages don't be registered because are queue and i close the app. I'm trying to implement a contingency mechanism for wait to complete all mdb transactions before close the app. -- My asynchorous task list: ArrayList TareasAsincronas = new ArrayList (); -- Way to save a message ...Show All
Visual C# Image transfer
I am new to C#. I have to develop a simple client server application that takes screenshot (print sceen) of the client's desktop and just sends it to the server continuously every 3 seconds. Can anybody develop a sample appln and help me out. Thnx in advance for any help I m able to capture the screen, but the problem is in continuously sending and receiving the images. In particular, i m getting a MemoryStream error. It works once in a blue moon and gives a typical invalid parameter error while trying to receive the image. MemoryStream ms = new MemoryStream (buf); Image img = Image .FromStream(ms);//THIS IS WHERE THE ERROR OCCURS ...Show All
Connected Services Framework Message Routing doesn't work
Hi, all. I defined a very simple ASP.NET Web service as follows (namespace omitted): [WebService(Namespace = " http://tempuri.org/ ")] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] public class Service : WebService { [WebMethod] public void Log(string log) { using (StreamWriter writer = File.CreateText(@"C:\log.txt")) { write.WriteLine(log); } } } The session manifest is as follows: <Session timestamp="0001-01-01T00:00:00.0000000-08:00" timeout="30" serialize="None" routeAnyAction="true" ackOnRouteMsgToParticipants="false" xmlns:xsd=" http://www.w3.org/2001/XMLSchema " xmlns:xsi=" http://www.w3.org/2001 ...Show All
Windows Forms GUI for multimedia application
Hi I need to implement an application that shows recorded A/V streams and corresponding notes similar to Macromedia Flash Professional. There will be a timeline for video and notes - each note has a certain time code. Will I be able to implement such an application using Windows Forms Where can I find samples or tutorials for multimedia GUI designs Thanks! hi, plez tell me abt the play method used for DVD play purpose in windowsmediaplayer. JRQ wrote: VS2003 - To add it to the toolbox. Add/Items... then click on the COM tab. The WMP activex should already be listed. You just set the axWindowMediaPlayer.URL to the file you want to play to use it. ...Show All
Visual Studio Team System Has this been resolved?
I am seeing the same behavior for some of my webtests when opening a loadtest. The last thread was back in November. Has anyone found a fix for this Thanks ! Sorry for the confusion, I tried to add a thread to an open issue regarding an error from VS Team testers edition and obviously failed. The problem was that I could not use a UNC path for webtests not stored on my local box. After a little more research I tracked down the fix to .NET Framework security and resolved it via mscorcfg.msc. Thanks for the followup. John ...Show All
Visual Studio Visual Studio 2003 setup issue !
I havent found a forum for VS 2003 install issue, so i am posting here. Pls let me know if there is one for 2003. I am trying to install VS 2003 Ent Architect 2003 , and i am getting error with while Visual J# 1.1 prereq. The error is as follows : [09/07/06,10:15:54] Microsoft Visual J# .NET Redistributable Package 1.1: \\rossam01\devtools\microsoft\visual studio .net 2003 windows prerequisites\jsharpredistcore\vjredist.exe exited with return value -2147024893 [09/07/06,10:15:54] Microsoft Visual J# .NET Redistributable Package 1.1: ***ERRORLOG EVENT*** : Error code -2147024893 for this component means "The system cannot find the path specified. " [09/07/06,10:15:54] Microsoft Visual J# .NET Redistributable Package 1.1 ...Show All
Microsoft ISV Community Center Forums Ideas for storing results from multiselect listbox
I need to store the results from listbox where the user may make multiple selections, any suggestions Hi Did not realise that you longer term storage, I was thing of short terms storage for VBA use. If possible us Access to store your data. Access can be used from any office app in VBA. You can also use an Excel sheet and use AODB to access it as a table; I am sure Derek Smyth replied to a post with an example of doing this in this forum. ...Show All
Visual Studio Tools for Office Several Questions regarding vsto SE and Office 2007 (ServerDocument.AddCustomization)
Hi all, in Office 2003 and VSTO it was possible to create an AddIn as a DLL and then use ServerDocument.AddCustomization to apply the AddIn (custom task pane) to the document. in Office 2007, I fail doing that - get the message " Could not create a persistence object for the specified file.", t rying to open an existing DOCX file. any ideas why or how I should implement this I should probably mention this method works if I open a 2003 document (DOC). Thanks, Picho As Office 2007 is a much newer product than VSTo 2005, VSTO has no awareness of the new file format and hence is incapable of working with it. Orcas will have the support you're looking for though, and you ...Show All
Visual Studio no drill down option on my crystal reports gallery
I'm using asp.net 2.0 , visual web developer 2005, and the crystal report xi When I create a new crystal report (eg: crystalreport.rpt), it will popup Crystal Reports Gallery with 3 choices in Choose an Expert: -Standard -Cross-Tab -Mail Label others like drill Down, Form, Form Letter.. MISSING I saw the online tutorials that Drill Down has a lot of charting functions, but mine don't have Drill Down option in Choose an Expert. Help... I have no idea at all, why it doesn't appear... birdanddog wrote: I'm using asp.net 2.0 , visual web developer 2005, and the crystal report xi When I create a new crystal report (eg: crystalreport.rpt), it will popup Crystal Reports Gallery with 3 choices in Choose an Expert: -Standard -Cross-Tab ...Show All
SQL Server Editing data in MSDE data file from outside editor
Hi All, Is it possible for someone to open a msde data file in an editor (text or hex) and modify the data, then save the file back to the filesystem I would think this would not be allowed but I want to confirm or see if anyone has had any experiences of someone doing something like this Thanks. Chris Hi, as said if editing done in file header information it will definately going to be corrupted, but why do you need to edit datafile outside editor if you wants to edit / fix corrupted datafiles refer a product from http://www.officerecovery.com/mssql/index.htm and refer LOG RESCUE from red-gate for analyzing T-Log files. Hemantgiri S. Goswami ...Show All
Visual C++ 4 Gurus: Virtual Window ?
Hello, My app: 1 - Fin a window with FindWindow API ( This window can be Word, Excel, Photoshop, any... ) 2 .-Get its device context GetDC( ) 3.- Draw its client area to my window 4.- Release its device context ReleaseDC( ) Problem: If the 'Orginal window' don't draw, because some else window overlap it, minimized, .. and so on, my app can't draw properly its content. Can I draw a window in a virutal site, non visible, where its conent always it draw entirely other idea Kind regards. Please see eineros' sticky note at the top of the forum for the right place to ask UI questions. This forum should be used for C++ language and compilation issues only. ...Show All
Visual Studio Set Printer Name
Hi, Is there a reasonable way to set the printer name that is selected in the print dialog that pops up when a user clicks the print button on a reportviewer control in an application Thanks, George I think I didn't explain well. The system's default printer is the printer that would be selected when the reportviewer's print dialog pops up. I want to make a different printer be selected when the reportviewer's print dialog pops up. With a regular printDialog, you'd just do printDialog.PrinterName = "whatever" (if "whatever" was the name of one of your attached printers), but the ReportViewer's printDialog doesn't seem to be accessible. ...Show All
Internet Explorer Development IE7 Script Error
Hi, This problem has always been bugging me. When I sign into my user account and open up User Accounts in control panel I don't have any problems but when I go to any other user account and do this, no matter if they are computer admins or not, they encounter an IE script error with no description and this popup does not go away whether you click yes or no. It's not just the User Accounts menu in the control panel, it's other applications too. Is there a fix for this problem or any ideas I have already disabled script debugging in IE. I also disable the alerts for script errors in IE too. I'm having the exact same problem. The day I started having it, I installed Media Player 11. I also ran a registry cleaner program that day. Now I ...Show All
