Answer Questions
RHunter1 Upgrade app over the net - versioning
Please can someone point me to some samples of auto-updating one's C# app over the net by checking current version no off the website. Thanks for any help. Well the way I have done it is to create a webservice which your application calls, sending it information about itself, then the webservice would detect on the server if there is a newer version and if so, it will take the bytes[] of the new version and send it across to the client (your "old" application) I dont think there is a way of doing it "over the net" like Windows Update for example. in order to create a webservice, I am unsure if the WebDeveloper Express edition of VS2005 has this option, but it is available in the full v ...Show All
Mohan1 MS Project file in Sharepoint marked as read-only
Hi, We are experiencing the same problem as this person (http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=8011&SiteID=1). Even though no one has the project file open, MS Project says that the file is in use and is locked for editing (but no specific person is named, like when someone really has the file open). This happens even when I am the only one editing a MS Project file. After X number of minutes, the file can be opened in read-write mode again. This bug makes it practically impossible for us to use Sharepoint as it makes us re-saving documents in other filenames to be able to save the files, which means we could as well use a file system to save our documents in. Now, my colleague has dug up a KB article (http://support.mi ...Show All
Sputnik_Johan Sending Page Down to WebBrowser control
I have a VB.NET program that loads a web age into a WebBrowser window and I want to programmatically page down to a section of the page. I can get the page to load fine, it is the Page Down command that I am having trouble with. I tried to activate the webbrowser then send the {PGDN} with SendKeys method. It works intermittantly. The problem seems to be in getting the webbrowser to be actived before I send the {PGDN}. I have tried things like: WebBrowser1.Focus() Me .ActiveControl = WebBrowser1 active = Me .ActiveControl but I see other controls on my form get highlighted from time to time. If i manually click in the WebBrowser then send the {PGDN} it works fine. I even tried programmatically moving the ...Show All
Beast Forever Deploying Across Domains
A common scenario is to keep qa/production boxes out of the development domain. I set up my TeamBuild service to run under a local user account and set up the same local username/password account on the boxes I need to touch as part of the deployment (TFS, QA and Prod box). My build process copies the compiled files over and creates the virtual directory appropriately using the Web Deployment Project's dll -- specifically the CreateVirtualDirectory task. However, my CreateVirtualDirectory task (not my copy operation) is failing in the situation where I'm using this local user account strategy between two boxes not in the same domain. Is it something the CreateVirtualDirectory task is not doing; I'm not doing;& ...Show All
sarashare Click event
Hi I need some help with my program....I'm having an issue getting the check box grand total to display a grand total....any help would be appreciated here's the program: Public Class VBLab2 Private Sub Button2_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnClear.Click ' Clear Boxes txtPackageA.Clear() txtPackageB.Clear() txtPackageC.Clear() ChkGrandTotal.Checked = False txtPackageA.Focus() End Sub Private Sub btnCalculate_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCalculate.Click 'Package A retail $99 'Package B retail $199 'Package C retail $299 'Quantity Discount '10 to 19 20 ...Show All
danni123 Can't browse work items
hi we are having a strange problem and i think its related to our environment as i didnt found anything similar to it on the net. The problem is few(particular) of our team users can't browse the work items at all i.e. none of the query returns any workitems, wat we have to do is to remove them from the project and add again then they can view the work items. It started happening quite frequently now like 4-5 times in a day. Any hint, clue why its happening regards faraz Hi Faraz, Regarding your first point, no, the following scenario is expected behavior and I believe it or similar could explain the problem you are having: 1) user 'mydomain\Bob' has TFS 'Allow' permission to team project [Myproje ...Show All
arashikage copy my program
I build an very little program, but if I copy the program to another computer, USB-stick, or diskette, it don't work ! How do I solve this Greetings, Thomas no, I mean if a system is running WinXP can make a bootable msdos diskette, can he boot my .exe from that disk then You should also make sure that all the libraries that your program requires are installed on the other machine: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=398802&SiteID=1 Check your projects dependencies, it may be that it requires a .dll that the other machine does not have. Also some optimizations will work on one machine, but not on another, so for example d ...Show All
Ritesh Tijoriwala How do you get the contents of sertain folders to show in a ListBox?
Hello. Can any one tell me how to get the contents of the History folder to show in a LiskBox when ya click a button, and the same with the Temoprary Internet Files folder Aslo, how do you get the ListBox to clear and only show the contents of the folder selected when ya click the Button, and the contents of all the folders showing in the LiskBox. Am an absolute beginner, only started learning 2 weeks agao, any help will be very much apreciated. Thank you. Thanx Spotty, Al give it a go. Thank you. im pretty sure I answered this question before http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=984031&SiteID=1 ...Show All
barkingdog Not Working out calculation database
HI i have a access database which i input vaules from vb express the code is Private Sub Table1BindingNavigatorSaveItem_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Table1BindingNavigatorSaveItem.Click Dim Cost As Double = CDbl (CostTextBox.Text) ' CostTextBox.Text = (Format("C")) Dim qtr As Integer = CInt (QtrTextBox.Text) Dim del As Double = CDbl (Del_ChargeTextBox.Text) Dim Vat As Double = (Cost * qtr + del) * 0.175 Dim total As Double = (Cost * qtr + del) * 1.175 TotalTextBox.Text = total Me .Validate() Me .Table1BindingSource.EndEdit() Me .Table1TableAdapter.Update( Me .OrderingDataSet.Table1) on scree ...Show All
Michael Mossman Load multiple comboboxes from database
I have a problem loading items from database into three comboboxes I have in my form. I loaded the first combobox from a table in Access file. Now according to the selection in this combobox, I need to display only matching items from another Table in Access to the second combobox, and accordingly in the third combobox. I have a three tables - wholeseller, shopkeeper, and retailer. In the first combobox, I loaded the lists of all the wholesellers. If the user selects wholesellerA, I need to display only the shopkeepers who trade with wholesellerA in the second combobox. My problem is in filtering out the necessary shopkeepers according to the selected wholesellers. In my code, I can't do SELECT * from Wholeseller, Shopkeeper WHERE Wholese ...Show All
Viren Kapadia Form scroll bar visible
Hey, When I have my form on the screen I want that only the form vertical scroll bar to be visible when the form contents are larger than its visible area. I have tried settings as: Me .AutoScroll = False Me .VScroll = True Me .HScroll = False Me .VerticalScroll.Visible = True Me .HorizontalScroll.Visible = False …in several scenario, but they seem to have no effect. Both scroll bar shows up. How do I get around this one Best Regards Cathrine spotty, Thank you for your patience. I have it now. Cath OK create a form with controls on it. Resize the form t ...Show All
Remmie TF53010 TFS Services
I have installed TFS and everything went fine (after several attempts). I cannot connect to the TFS Server using Team Explorer and in the following error in is in the event log on the server. Please help. TF53010: An unexpected condition has occurred in a Team Foundation component. The information contained here should be made available to your site administrative staff. Technical Information (for the administrative staff): Date (UTC): 4/21/2006 5:44:52 PM Machine: SV1568 Application Domain: /LM/W3SVC/2/Root/services-1-127901150758593750 Assembly: Microsoft.TeamFoundation.Server, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v2.0.50727 Process Details: Process Name: w3wp Process Id: 336 ...Show All
Bernie44601 Microsoft.WebApplication.targets project wasn't installed out the box
I just had my first build finally running (hurray, hurray). But among the other reasons it failed because it couldn't find imported project. The error was: "The imported project "C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\WebApplications\Microsoft.WebApplication.targets" was not found" I checked that folder and it has TeamBuild, ReportingServices and CodeAnalysis folders with relevant targets but no WebAplications folder and targets. What's the problem My build includes Web Application Projects (which was upgraded from Web Site). I know that Web Application project is rather recent patch for Visual Studio so I guess there might be pathces for the TFS Build as well... Just ...Show All
sugrhigh form design error
Hello, I 've got a problem, when I try to open in design a form, an old or a new, I've got this error : One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding your project, while others may require code changes. No data is available. Hide at Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode, String str) at Microsoft.Win32.RegistryKey.GetValueNames() at Microsoft.VisualStudio.Shell.Design.WindowPaneProviderService.AppendWindowPanes(RegistryKey parentKey, ArrayList windowPanes) at Microsoft.VisualStudio.Shell.Design.WindowPaneProviderService.GetRegisteredPanes(String extension) at Microsoft.VisualStudio.Shell.Design.Win ...Show All
Thibaut Barrère making sounds in vb express
making custom sounds I'd like to make simple custom sounds and generate them within the program -- similar to the old "play /frequency/duration" in dos basic. All of the references that I find talk about playing various external sounds -- I'm afraid that these would be too slow and uncontrolled. Thanks! Try Console . Beep ( frequency , duration ) where frequency and duration are integers. ...Show All
