AdeptBlue's Q&A profile
Visual Studio Express Editions how some help fix my code?
'Create a new MailMessage object and specify the"From" and "To" addresses Dim Email As New System.Net.Mail.MailMessage(" From@abc.com ", " To@abc.com ") Email.Subject = "test subject" Email.Body = "this is a test" Dim mailClient As New System.Net.Mail.SmtpClient() 'This object stores the authentication values Dim basicAuthenticationInfo As _ New System.Net.NetworkCredential("username", "password") 'Put your own, or your ISPs, mail server name onthis next line mailClient.Host = "Mail.RemoteMailServer.com" mailClient.UseDefaultCredentials = False mailClient.Credentials = basicAuthenticationInfo ...Show All
Microsoft ISV Community Center Forums How do I call for all installed printers....
Hey, How do I, with vba code, call for all installed printers in my computer and then display them in a ListBox Best Regards Cathrine This is a link PSHK gives me awhile back. It works like a charm. http://word.mvps.org/FAQs/MacrosVBA/AvailablePrinters.htm ...Show All
Windows Forms Publishing using Visual Studio from another machine
I have an application that got published from vs2005 to http://mycom.xxx.com/TestApp/ from my computer. I can keep deploying new updates to this url from my computer using vs2005. However when I tried and deploy new version of this testapp from a different PC running vs2005 i would be prompted for a username/password from mycom.xxx.com eventhough I am using the same testapp_TemporaryKey.pfx. Presumable IIS and VS2005 is using the certificate to establish the identity of the publisher else anyone would be able to orverwrite my publised software. If this is the case why is that copying testapp_TemporaryKey.pfx to another machine with VS2005 and trying to deploy from there would not work ...Show All
.NET Development Obtaining an XmlReader from an XPathNavigator
Has anyone been faced with a situation where you are given an XPathNavigator (containing an entire XML document) and must convert that to an XmlReader How can this be efficiently accomplished One idea I had is to get the InnerXml from the XPathNavigator then create a new StringReader with that string and an XmlReader from the StringReader. However I think the conversion to string would lose some formatting. Any other suggestions Thanks, Justin On .NET 2.0 you have the method ReadSubTree(). --VV [MS] vascov@microsoft.com ...Show All
Visual Studio Team System why I got different sizes of the *.msi file every time I compiling the setup project?
Hi,All I create a setup project in VS.net 2005. Every time I compile the project file xxx.sln. I got a xxx.msi file with different size with the previous one. Is there anyone know what's the problem Thanks. ...Show All
Visual Studio Express Editions How do I print a form???
-Visual Basic Express 2005- To print a form in the older version 6.0 the line of code was something like form.PrintForm to print that form. I need to know the simplest way to print a form with Express. I figured it would be simple but maybe I'm missing something because I really need help... Please :) ok, here is some code which is not perfect but should hopefully give you some...tips or something. drag and drop the "PrintDocument" control from the toolbox in the form designer, onto your form. Double click this, this will create a printPage event handler (this will fire when you are printing, the code for the layout on how to print etc... is here) you should be taken to code view and have something like this: ...Show All
Visual Basic input / output
i have recently purchased a velleman 8055 usb interface board. i have only done a little vb programming. I am trying to convert the digital inputs to boolean or something that i can use to control the outputs. eg if input 1 = true then setdigitaloutpt but i cant do it...please help... see below thanx heaps Public Class Form1 Inherits System.Windows.Forms.Form # Region " Windows Form Designer generated code " Public Sub New () MyBase .New() 'This call is required by the Windows Form Designer. InitializeComponent() 'Add any initialization after the InitializeComponent() call End Sub 'Form overrides dispose to clean up the component list. Protected Over ...Show All
Software Development for Windows Vista Scaling out Windows Workflow
Looking for a point in the right direction for scaling out an windows service hosted workflow to multiple application machines. In the MSDN article "Performance Characteristics of Windows Workflow Foundation" http://msdn2.microsoft.com/en-us/library/Aa973808.aspx they show workflows running on multiple machines. Are these machines sharing the durable queue thank you adam Adam, I'm not sure I understand what you mean. Given the default services included with WF, there's no possibility that a running workflow, with no persistence involved would migrate between servers. Now, even if persistence was involved and you had idle and persisted workflows, what would determie where they were loaded ...Show All
.NET Development How to call a aspx page from a exe file
Hi, Here is my problem.I have an application in which i enter data into database using one asp page.After the whole data is entered i want to start a exe file which executes some code and that data should be entered into the database and into a aspx page and i want that page to be displayed as soon as the exe file finishes executing the code. Can anyone help me out by telling how can we call a aspx page from a exe file. Thanks. You can call an aspx page using System.Net.HttpWebRequest class from .NET. Search for articles about screen scraping, this should get you pretty close for example: http://www.dotnetjohn.com/articles.aspx articleid=93 Might be easier to just create an asp.net web s ...Show All
SQL Server Integration of RS with Sharepoint
Good Day , May I know if there is any sites which explains the integration of RS with SPS Regards Alu By the way I have put up a new thread regarding a issue on my RS and sql server2005..not sure if I have put up the right post on the right track...:) It happens that I have installed RS on a windows server 2003 and the db on my client machine. From WS2003, I could see my db and can connect sucessfully (have add the browser service and sql server serivces on the Exception tabs under firewall) However when i try to gerenate reports from my own machine, I hit the error...Cannot connect to the <databasename>....Seems like the configuration settings are wrong...been trying to look for the right Web.Config and not sure where ...Show All
Visual C++ Build error converting C++ 2003 to 2005
I have an unmanaged C++ project in VS 2003. I converted it to VS 2005 without any problem. However, when I build it in 2005 I quickly get a message 'Build failed' in the bottom left hand corner. But the error list is empty! Can anyone help Thanks Thanks for replying. Not sure what you mean by custom steps. I simply build the project by selecting build project from the build menu. What custom steps could I have ...Show All
SQL Server "Launch Database Mirroring Monitor" is not an option
Good morning all... I would like use the "Database Mirroring Monitor" to track what's going on. All three of my servers have SQL Server 2005 x64 edition installed with SP1. Server A is mirroring to Server C Server B is mirroring to Server C Following the instructions at http://msdn2.microsoft.com/en-us/library/ms365786(d=ide).aspx : On Server A and C, "Launch Database Mirroring Monitor" appears. On Server B, "Launch Database Mirroring Monitor" does NOT appear. Is there something I have to do to get this tool installed on the machine, or it is an automatic thing Thanks! Forch I have no idea why you can't see the Database Mirroring Monitor on your ...Show All
Visual Studio Team System Wacky behavior of VersionControlServer.QueryHistory(...)
First, the server i code against is running with the RTM version of TFS and I use the client API to write a WinForms client app to display some files' change history and labels etc. This posting gave a simple example on how to use VersionControlServer.QueryHistory(): http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=435386&SiteID=1 However, i'm getting pretty wild results with the slotmode parameter. According to the MSDN documentation ( http://msdn2.microsoft.com/en-us/library/bb138960(VS.80).aspx ): slotMode is A flag that specifies how history entries are searched. If true , the returned history entries may reflect multiple different items that have at one point occupied the requested path in the database. If ...Show All
Visual C# C#
I am currently using C# 2003 in a metaframe that is constantly kicking me off. Where can I get a copy of this program to put onto my own machine Any help would be appreciated. Hi, try checking this link. http://www.microsoft.com/downloads/details.aspx familyid=69d2219f-ce82-46a5-8aec-072bd4bb955e&displaylang=en thank you, bhanu. ...Show All
.NET Development I want results of xslt.Transform() to be an XmlDocument or string, not written out to an intermediate disk file.
I would like to have the results of xslt.Transform() in an XmlDocument or string, rather than having to specify a file (xyz.xml, in the code below). static void Main( string [] args) { string strxml = @"< xml version=""1.0"" encoding=""utf-8"" ><myroot><Price>15</Price><Price>25</Price><Price>35</Price></myroot>" ; XmlDocument doc = new XmlDocument (); doc.LoadXml(strxml); // test XmlDocument... // Console.WriteLine(doc.OuterXml); //do xslt... XslCompiledTransform xslt = new XslCompiledTransform (); xslt.Load( "output.xslt" ); xslt.Transform(doc, XmlWriter .Creat ...Show All
