Curt Zarger's Q&A profile
Visual Studio Express Editions about count?
hi there how do we use or execute a command in label which you can count the number of output.... for example "Select count(*) from user" (number in query in a datagrid) and the output must be seen in textbox or label... thx in advance aw pinoy k pala wakokoko....ok i'll try this one... by the way... r u a veteran on this software can i get ur cp number, if i've a got a problem i'm gonna txt u right away ...Show All
Visual C++ C++ output to excel
Please, someone sample code on how to send C++ output to excel Thank you I hope this helps. http://msdn2.microsoft.com/en-us/library/s5e903k3(vs.80).aspx ...Show All
Windows Forms order of radio buttons
I have 3 radio buttons, when I press the arrow keys the order is 1, 3 then 2 can I changed that Hello All. GrahamY: Change the TabIndex properties of the radiobuttons so that they are sequential, in the order that you want them to be. You can do this either in the Properties window for each radiobutton, or by selecting View -> Tab Order in the Designer menu, and clicking on each of the radiobuttons in the order that you want them to be selected. Be advised that this approach resets the tab order of all of the controls on the form, so if you have a lot of other controls on the form, you will have to cycle through them as well. HTH. ...Show All
Smart Device Development About Bluetooth Chatting
While Developing the application whether is it Necessary to have two mobile phones for Chatting using Bluetooth Technology or we can develop by having the Emulator itself ...Show All
Software Development for Windows Vista Guidelines for deriving custom activities from custom base activities?
Context - Creation of a library of a dozen or domain specific custom acitivites - Natural inclincation to create 1-2 custom base activities that the other custom activities are dervied from Questions 1. What to are guidelines, concerns, issues and best practises for deriving custom activities from (custom) base activities 2. Should activity derivation be discouraged ..encouraged Thanks, Michael. Hi Angel Thanks for the advice. It makes sense, I can see how that would work. However what I would really like to do is hide the addition of my activities so that the user would only see an empty sequence. I was going to do this by altering the designer. Using the ToolboxItem approach it seems I could not acheive that. A ...Show All
Visual Studio 2008 (Pre-release) Cross Thread UI Control Access
Is there a way with WPF to update an Image control in a Window from a different thread from whence it was created I am trying to start a separate thread to constantly pull images from the Internet and update an Image control in my Window. I need to do this in a separate thread to keep the UI controls responsive. In a Forms application, I could use Invoke() with some delegates and accomplish this. WPF Forms does not have Invoke(). I have looked at BackgroundWorker class, but that only lets me report progress. As soon I try to update any control directly, I get an error stating that the control was created in another thread. Any ideas which direction I should follow WPF does have an Invoke method on ...Show All
Windows Live Developer Forums WSuS Deployment - SQL Error
Hi, This is in connection with WSUS installation. Server OS - win2k3 Ent + sp1 Sql - sqol 2000 + sp 4 Once the installation is over , the update is happening the event viewer throws the following error : " Content file download failed. Reason: The server does not support the necessary HTTP protocol. Background Intelligent Transfer Service (BITS) requires that the server support the Range protocol header. Source File: /msdownload/update/v3-19990518/cabpool/windows2000-kb922582-x86-enu_b184762ae6115013bd0e769309ea0b48d64de4df.exe Destination File: c:\WSUS\WsusContent\DF\B184762AE6115013BD0E769309EA0B48D64DE4DF.EXE. For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp . " I am ...Show All
.NET Development Imagelist (error when loading the imagestream during the InitializeComponent)
I've got a weird problem that I'm experiencing with VS2003 installed with VS2005. (The error does not occur in a machine that has VS2003 only) I have an imagelist on a form and I I can't run the program because it'll throw an exception while loading the imagestream during the InitializeComponent call. this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream"))); The line that sets the ImageStream is the one that throws the exception: "An unhandled exception of type 'System.Reflection.TargetInvocationException' occurred in mscorlib.dll Additional information: Exception has been thrown by the target of an invocation." I looked at the .resx file for ...Show All
SQL Server xmlDocument - openxml
Hello, I am trying to use OPENXML to read the data inside the xml file. Initially I parse the xml using the xmlDocument.OuterXml to retrieve the xml as string. This string is then passed to the sql query which uses openxml. The error I am getting is: Server: Msg 6603, Level 16, State 1, Procedure sp_xml_preparedocument, Line 14 XML parsing error: A string literal was expected, but no opening quote character was found. After investigations and some tests on OPENXML query, I now know the error is to do with the xml string itself. For example if I copy and paste the xmlstring into a text file and save it as .xml, I get the same error if I double click on the file to open it in Internet Explorer. So how else can I get the correct version ...Show All
Internet Explorer Development Form Submit event handling
hi, I am able to capture OnSubmit event when it is submitted using Submit button( <INPUT type=submit> ). But i receive no submit event when form is submitted using javascript code. e.g. funciton:submitfor() { form.submit(); } How are you catching the OnSubmit event Is this in a BHO or extension Please provide some more details and we can try and help. -Reza ...Show All
Visual Studio Team System How to pass value of a context parameter to a web/load test via VS command prompt
Hi, I've a web test that has a context parameter (say pageurl). I am able to set a value in the VS and run from both VS and cmd prmt. How ever if I want to run the same webtest for a different value, is it possible for me to set the value @ cmd prmt and run the webtest (I'll not set the value of CP in the VS). This way, I can make my webtest more generic. if this particular webtest is passed as a value for a load test, will it be able to actually hit the page URL I've set via cmd prmt Thanks in advance. Thanks Josh, I'm able to set the context variable "URL" from command prompt. Need clarification about load test. The same web test, if passed to a load test, will the page actually hit in the load test ...Show All
SQL Server print version
I have created a report which contains grouping. Yesterday I learnt how to add a boolean paramter to expandAll. Now in my ASP.Net front end I am using ReportViewer to retrieve the report... Now I want to introduce a "Print Version" and "Normal Version" (print version being all rows showing (expanding all grouping) and normal being groups showing.... Will this work Use javascript to create to div... 1 showing ReportViewer1 where expandAll parameter is true and div 2 containing ReportViewer2 where parameter is false...a radiobutton conrolled by javascript code will hide 1 div and show the other ! For some reason it doesnt load the report in ReportViewer2 ! Please help! Thanks!!! ...Show All
Visual Studio Express Editions How can I get the current Browser URL?
I have the need to automatically get the current page's URL for the user, how can I do that in VC++ 2005 express please orcmid a fuller answer is coming and you are right it was in the alert but can you tell me where on this thread you actually posted that or was it deleted before I could " Please visit your post and let us know if the reply answers your question. " or respond Dennis ...Show All
Visual C++ GetProcAddress doesnt find the function in my dll
Hi all! I've just started dealing with dll-s for two days, but I got stucked and dont see how to move on..so to make my first steps, with some searching I created a Test.dll with a function fnTest() in it. Exactly it's prototype in the header file looks like the following: __declspec(dllexport) int fnTest(void); If I'm using implicit linking it's ok. The trouble is on when I try to link it explicitly. HINSTANCE Testdll; Testdll = LoadLibrary("Test.dll"); They are still good, it finds the Test.dll, but the GetProcAddress returns with NULL, although it should work..(The dll is correct, it worked while linking implicitly): fnTestptr importaltfnTest; importaltfnTest = (fnTestptr)GetProcAddress(Testdll,"fnTes ...Show All
Visual C# Dynamic Casting in C# at runtime
How Can I dynamically cast at runtime.That is I am passing a child class object in the parent class object in a function.In t hat function i have to cast to passed child class object at runtime. How Can I Cast It. protected void Page_Load( object sender, EventArgs e) { Circle circleObj = new Circle (); circleObj.Radius = 5; Response.Write(chkRefrence(circleObj)+ "<br \\>After " ); } private string chkRefrence( Shape shapeObject) { //Type t = shapeObject.GetType(); ((t) shapeObject).Radius = 15; //It is here I want's to cast to Circle shapeObject.Id = "TestObj " ; return shapeObject.ToString(); } The problem is that you really don't ...Show All
