MgManoj's Q&A profile
Visual Studio 2008 (Pre-release) LINQ and Visual Studio 2005 french
I have on my PC a Visual Studio 2005 Pro in french. When I try to install LINQ (May 2006 preview) I have a dialogBox (cannot find a valid product to Install LINQ with) It is possible to try LINQ with my french version of VS 2005 Thanks, The May 2006 preview of LINQ has only been tested with English versions of VS 2005 and is not known to work with non-English versions. See http://www.microsoft.com/downloads/details.aspx familyid=1e902c21-340c-4d13-9f04-70eb5e3dceea&displaylang=en . -Lance ...Show All
Visual Studio 2008 (Pre-release) What template for unusual TreeView layout?
As already mentioned in another thread I have a list of items with each item having their own list of always 2 sub items. I have them displayed as a ListBox with another Listbox for each item. This has some problems: 1) when I click on an main item it doesn't remove the focus of the selected sub items in one of the other sub list boxes and I end with 2 separate selections on different items (example: main item 1 is shown selected at the same time as sub item 3.1 is also shown selected). The reverse problem is there as well, when I select a sub item inside of one of the not selected main items, this main item is not selected, only the sub item. 2) I cannot easily data bind to the currently selected sub item from other contr ...Show All
Gadgets XMLHTTP help, please!
I have utilized xmlhttp on many occasions to power ajax enabled projects and have never had a problem with it until now. The following javascript code is debugged and runs flawlessly in IE7, but does not work when installed as a gadget. Is there something in here that gadgets do not support but IE7 does function GetXmlHttpObject(handler) { var objXmlHttp=null; var strName="Microsoft.XMLHTTP"; try { objXmlHttp=new ActiveXObject(strName); objXmlHttp.onreadystatechange=handler; return objXmlHttp; } catch(e) { alert("Error. Scripting for ActiveX might be disabled"); return; } } function showDisplay() { var url=" http://www.ourwebsite.com/phpscript.php variable=one"; xmlHttp=GetXmlH ...Show All
Software Development for Windows Vista Showstopping Bug in WF Persistence?
We have been struggling through an error for some time and as yet have found no resolution. We would like to persist a workflow that contains activities that have subactivities (like subtasks). The problem is that we get a SerializationException when the app tries to load the persisted workflow (on SqlWorkflowPersistenceService.LoadWorkflowsWithExpiredTimers). The specific message is "The object with ID XXX implements the IObjectReference interface for which all dependencies cannot be resolved. The likely cause is two instances of IObjectReference that have a mutual dependency on each other." If we take out the "subtask" concept, or take out persistence, our code works perfectly. Here is the code with the issue. //The Custom Acti ...Show All
SQL Server Declare cursor based on dynamic query
Hi, I am declaring the cursor based on a query which is generated dynamically. but it is not working Declare @tempSQL varchar(1000) --- This query will be generated based on my other conditon and will be stored in a variable set @tempsql = 'select * from orders' declare cursor test for @tempsql open test This code is not working. please suggest Nitin You can use dynamic SQL to create a global cursor as shown in another reply in this thread. But what are you trying to do Why do you need to use a cursor And why do you need to use dynamic SQL Both have performance implications. And dynamic SQL has serious security implications that can compromise your database system ...Show All
Visual Studio Express Editions Openfiledialog blues.
I have looked on this forum for this and found some stuff but i am a noob and dont understand how it would be done. I am making a web browser and have it set up so i can save the web page. When I save the web page it will show up in the folder i saved it to just fine but i can't get the openfiledialog to work. I have been testing this using a .htm file. I can't even begin to get this to work, i can't even get the dialog to open. my dialog is openfiledialog1, and my browser window is webbrowser1. if anyone may be able to help guide me along that would be great. yes this was exactly what i was looking for, now if i would add tabs to my browser how would i get it to work then, each tab has its own name. this was a feature i wanted to ad ...Show All
Visual Studio Express Editions DHTML controls
how do i get the copy, cut and paste controls to work with the DHTML box Information on addition commands may be found here: http://msdn.microsoft.com/library/default.asp url=/workshop/author/dhtml/reference/methods/execcommand.asp Re-do and undo are reported to be unsupported which brings up and untinteresting question..... Does this mean it's there and just not supported ...Show All
Visual C++ WinAPI
Hi all, first time poster here, and am in need of some help with the API function i cant seem to get working. dellthinker wrote: HWND out; This is the first bug I found... you are not initializing the out variable. and sending message in another function by using uninitialized HWND dellthinker wrote: char strm[300]; BOOL CALLBACK SearchProc(HWND hWnd, LPARAM lParam) { int nLen = GetWindowTextLength(hWnd); LPSTR ie = new CHAR[nLen + 1]; GetWindowText(hWnd, ie, nLen+1); char addy[300]="Internet Explorer"; if(strstr(ie,"http:")!=NULL) cout << "HTTP Found"; else cout << "HTTP Not Found"; return TRUE; } 1. The above function always returns true in both case ...Show All
Visual Studio Project References
I am having a problem that is quite annoying. I have a web project setup that is under source control via source safe. I have a code library that contains all business/data logic. Now, everytime I add a reference to the new code library DLL's, it removes the bindings from source safe, so when I perform a Check In, the new DLL's never check in. The way I get around this is deleting the DLL's from the web project's bin, and manually dragging and dropping the DLL's into the web projects bin folder. It then Adds them to source safe. Any way around this Like Alin said, you are unlikely to get the behavior you want from the web project system. My recommendation would be to add the assemblies as direct members of the solution used by ...Show All
Visual Basic Tones
How do I generate tones in visual basic 2005. Not the beep,but a tone that I can varry. Also How to read the presents of a tone at the input on a sound card Thanks for any help you can give me. (Dennis) Bart371, According to your question, I suggest you to read this article titled Advanced Basic: The Sound of Music in MSDN Magazine. Please take a look at the following link show this article: http://msdn.microsoft.com//msdnmag/issues/06/01/AdvancedBasics/default.aspx ...Show All
Visual Basic Requery Not Updating Control
I am using Access 2003. I have a subform on a form (form1). The record source for the subform is a complex query that has calculated fields in the query. The subform just displays the query values (it does not calculate fields in the subform). When a process on another form (form2) executes, it updates data in a table that the subform (on form1) record source query is using for one of its calculated fields. When the form2 process adds a new row to the underlying tables of the subform query, a Subform.Requery will successfully show any new rows in the subform with all the values calculated correctly. But when the form2 process just updates a single field of a table that is referenced in a calculated field in the query of the subform r ...Show All
SQL Server Another new problem with ProClarity KPI design in ProClarity Dashboard Server
Hi, all here, Thank you very much for your kind attention. Still think it is better to put my posts here for help :) Thanks.. I got another new problem with ProClarity Dashboard KPI design : the dashboard server always falied to load the values from the ProClarity Analytics Server pages for the KPI I defined on the ProClarity Dashboard Server though. But I can actually connect to the ProClarity Analytics Server without any problem since I have no problem with viewing all the Analytics Server pages there. Really need help for that. Would please any experts here give me any guidance and advices for that. Thanks a lot in advance for that. With best regards, Yours sincerely, ...Show All
Visual Studio 2008 (Pre-release) Could i generate web pages using XAML
Hi all, I am new to winfx stuff, i have a question about wpf and XAML... which is If i have a xaml file, could i using the information in this file generates many web pages according to the information stored in the file Thanks a lot Michael So, all those new tools from Microsoft such as Expression interactive designer is more a design tool than a solution to all problems where code could be share among diferent platforms such as web and windows I mean this because I have designed a little application then I can deploy it as a web or application. And it does work for both. That's why I mean when saying a way to not coding for both ways. ...Show All
Windows Search Technologies WDS 3.0 Final: Exception occured while trying to run "shell32.dll,Control_RunDLL "srchadmin.dll""
Hi again, I got this, too! I've seen a few threads here relating to this issue, although the thread starters often used the Beta versions. I get this problem when I click on the File Types tab in the "Advanced Options" I tried: REGSVR32 SHELL32.DLL and sfc /scannow No dice. I uninstalled the program, and reinstalled it. Same problem. And even worse, all my SIX taskbars disappeared! Argh, I have four rows of icons on my taskbar, and now I have to set up everything again. This will set me back an hour. (yeah, I know it's a big taskbar... But I am running four monitors, the main one at 2048x1536!) Any news will be welcome! Thanks! Looks like no one is taki ...Show All
Visual Studio Express Editions How do I declare an angle?
I'm a newy and I'm writing a programme that does mathematical calculations - and I'm working on the trigonometry part of things at present. My question: Do I have to declare/Dim an angle I've tried various methods of getting an angle to be recognised but with no luck. Following on from that - how do I enter an angle into a textbox Do I enter it as an ordinary number then convert it to an angle I have studied the math class and I can't see what to do. Any help and advice is much appreciated!!!! Regards, Steve I haven't posted since last year, so I hope everyone had a good Christmas and Happy New Year to you all!!!!! Thanks Dave299, I appreciate your help. I've been trying for 3 days to work it out without success and ...Show All
