DaGlow's Q&A profile
Windows Live Developer Forums VEMap Constructor Problems
throw new VEException("VEMap:cstr","err_invalidelement",L_invalidelement_text); I keep getting an error which appears to reference the above statement in one of the map control files and would appreciate some help. A JavaScript file is being referenced from an ASPX page as follows: < script language ="javascript" type ="text/javascript" src ="http://dev.virtualearth.net/mapcontrol/v3/mapcontrol.js"></ script > < script language ="javascript" type = "text/javascript" src ="VE2f.js"></ script > A JavaScript method is then being called from the ASPX page. I can debug up to this statement, which seems straig ...Show All
Visual C# How to stop a process without reporting an error?
Hi, Sometimes I need to stop the current process without reporting any messages or errors. For instance, I may need to show a message and end an execution (the code in current class and descendant) when a validation failed. I can't just throw an exception because I have my own message dialog style. Now, what I do is design a AbortException class and handle (do nothing, actually) this exception in Application.ThreadException event. So whenever I need to stop a process I throw this AbortException, and it works like a silent exception just like Abort method in Delphi. Does anyone have better ideas Thanks. Stanley ...Show All
SQL Server Sql server report service samples not installed ?
Hi,I have installed the Sql server 2005 standerd edition to my computer but i cant find this folder to view report service authentication samples C:\Program Files\Microsoft SQL Server\90\Samples but i can see C:\Program Files\Microsoft SQL Server\90 folder ! any idea sujithf Hi i have found the solution for this link bellow is the answer for this http://www.microsoft.com/downloads/details.aspx FamilyId=E719ECF7-9F46-4312-AF89-6AD8702E4E6E&displaylang=en thanks everybody regards sujith ...Show All
Visual Basic Closing a form
How can I tell whether a form is being closed because the user clicked the X in the form control box vs. code that performs me.close(). The two methods give me different results and I'd like to know if the X was clicked so that I can handle that specifically. Thanks, /jerry I'm sorry ahmed, but i strongly disagree, because of the users original question and the previous answers supplied......the true method of finding out wether or not the menubar was used is in the solution provide. ...Show All
Windows Live Developer Forums Windows Live Search API (Needs to be Simplified)
Windows Live Search API (Needs to be Simplified) I was pretty disappointed with the amount of code it takes to return search results from the Windows Live MSN Search API. Why should I have to maintain three separate classes and 60+ lines of code to return a simple list of related search items. My recommendation would be something like. '--------Return a simple list of results-------------------- Dim objMSNSearch as New com.msnSearch.www Dim strXML as string objMSNSearch.Results = 3 objMSNSearch.KeywordSearchText = txtKeyword.text objMSNSearch.AppID = "ABCDEFG" objMSNSearch.DisplayCache = True strXML = objMSNSea ...Show All
Smart Device Development Email sent event in windows mobile 5.0
How can I catch the email sent event in windows mobile 5.0. I have to do some DB insertion on the particular contact email address. Thanks Peter. What I am doing is runing a C# service in smart device[smartphone as well as pocketpc] I have registered some events like mail recieved event,phone call event. I used Microsoft.WindowsMobile.Status; SystemState _phoneCallContactState; SystemState _messagingTotalEmailUnread; _phoneCallContactState = new SystemState(SystemProperty.PhoneTalkingCallerContact); _messagingTotalEmailUnread = new SystemState(SystemProperty.MessagingTotalEmailUnread); _phoneCallContactState.Changed += new ChangeEventHandler(_phoneCallContactState_Changed); _messagingTotalEmailUnread.Changed += ...Show All
Visual C# FileStream - encoding
Hi I receive files as byte array from a Web service along with the enconding for the same. I want to write the byte array into a file in the local system and I would like to write the file in the same encoding that I recieived from the service. I tried FileStream to write into the local file system, but I don't find any options to specify the encoding. Please let me know how to acheive this. I'm using .NET 1.1 Thanks in advance, Karthick. hi, you can use streamreader and streamwriter to read from a stream, you can set the default incoding or you can set a bool value to detict the default incoding FileStream fs = new FileStream ( "" ); StreamReader sr= new St ...Show All
Software Development for Windows Vista Composing "Meta" Workflows using both standalone WF and SharePoint 2007
I am interested in leveraging the WF capability of SharePoint but the requirements of the project I am working on are such that the notion of a workflow spans beyond a particular item or list. I have read through this post, http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=719102&SiteID=1 , which touches on this subject, but have not seen anything definitive. What is the recommended approach for building an overarching workflow that, say, tracks some product manufacture, and, at various activity stages, leverages workflows, custom or otherwise, associated with SharePoint lists The two main things I think I need to know right now are: Can the overarching "meta" workflow be hosted in SharePoint rather than ou ...Show All
Visual Studio looking 4 code flow chart generator addin/software
Hi there, Since I've started to work on some new f%*$!#cg code in Vissual Studio ( c/c++ with 2003 .NET Pro & 2005 Pro), i'm losing my brain cells trying to figure out what's happening in there. So, in order to help me vizualising all conditions mixed together I'd like to find a tool to create flowcharts from source code than can be used as an addin tool in VS or even a standalone software. Anyone has something to recommand me Thanx in advance, Thierry ROBIN ...Show All
Visual Studio Nested Designer Surfaces
Is it possible to nest one design surface within another I want to design a language that enables hierarchical modeling where one design surface has high-level shapes that represent other models which have their own language and design surfaces. Ideally, I'd like the user to be able to double-click on a high-level shape and open the nested design surface, etc. How would I approach this using the DSL tools A design limitation, but one taken deliberately. The DSL style we propose is to model a software system as a composition of small, single aspect DSLs instead of the UML approach of a single comprehensive multi-aspect system model. We could put effort into making DSL Tools more accomodating of large multi-level models but instead w ...Show All
Gadgets Webcam Gadget
I was just wondering would it be possible to create a gadget to view a video stream from a webcam on the local machine (im not asking for one, just asking if its possible). Could Windows Image Aquisition (WIA) be used or is this no longer supported in Vista Or is there even the ability to use .NET in gadgets Uptil now i've only used javascript in gadgets so that's obviously not suitable for this task. I'm interested in making a gadget similar to what they have on macbooks, for vista laptops, so people can use their webcam like a mirror. Thanks, Law Some webcams generate MMS streams, which are compatible with Windows Media Player (thus my suggestion to embed the WMP player ). As an alternative, this migh ...Show All
Visual Basic Open File Dialog
Ok, I'm new to VB and only know how to do simple things(show new forms/dialogs, change text in textboxes, etc). I have used many other languages so I'm not new to programming if you need to know. I saw that theres an open file dialog I can use, and its exactly what I want, but I have no idea how to get what the user selected in the dialog. Also, what would I use to display a list of strings on top of each other and the user can select them. When the user clicks one, I would like to be able to know which string the user has selected. I have Visual Basic 2005 Express if it matters. Thanks for any help. Open file dialog question first: ‘ From one of my programs Private Sub OpenFileToolS ...Show All
Visual Basic A Few Questions (VB, Studio 05)
I have a couple of questions, I've used the "service control" tool to control spoolsv and a few other non-essential system processes(starting and stopping) I'm using the following code; in this case I'm using the spoolsv code. StartSpool.ServiceName = "Spooler" StartSpool.Start() Is there a way of adding an If/Else to error handle As when one of the processes is already stopped and I click the "stop spool" button it crashes the application and (for me) causes an extreme slow down on my pc for a few minutes. I would like to know if its possible to add a message box, if the process is not running. Further to this, is it possible to use checkboxes to select items, then through 1 command b ...Show All
Visual Studio Team System How to restore specific project to a different Team Foundetion server
Hello all Is ther a way to restore only one specific project from one team server to another, in the same domain Thank you Unfortunately, there's no easy way to do this in v1. You could "effectively" do this by using the backup/restore documentation to 'fork' the server, and then delete all team projects except the one you're moving. I realize that's a lot of work to accomplish what you're after. We plan to address team-project-level migration scenarios in a future release. ...Show All
Visual Studio Express Editions Can I make My Own Internet Look-alike?
I want to know if I can make an address bar a back and a foward button all of the internet essentials because then I could make it start on my favorite website. Now I know that this can all be done by with a regular internet program but can you name it (okay you can do that too) ,but can you make your own image for it(okay ,you probably can do that too) now that I think about it there really is no reason but I need something to do and since I am a beginner at doing .... anything but every journey starts with a step(wow that sure does sound lame) and like my name suggests I won't understand big words so could you please put it in lamens terms (that is how you spell it isn't) oh well. You can use the WebBrow ...Show All
