Software Development Network Logo
  • Audio and Video
  • Visual C++
  • Visual C#
  • SQL Server
  • Visual Studio
  • Windows Vista
  • Windows Forms
  • Visual FoxPro
  • Visual Basic
  • Microsoft ISV
  • .NET Development
  • Smart Devicet
  • SharePoint Products
  • IE Development
  • Game Technologies

Software Development Network >> john82's Q&A profile

john82

Member List

Mohammad hOque
cheekster
Saeideh
pfongkye
tomdart
Anand Raman - MSFT
Hussain Saffar
Byonksd
Machie
error1408
Harald Binkle
Ashish Sh
No-spam Sam
Redgum
Donald E. King
Constantine-
rrobs
Mike Chapman
Simonth
milicica
Only Title

john82's Q&A profile

  • Visual Studio Team System Database Project Question

    I've got a team of 10 developers and we'll be migrating to VSTS DBPro as soon as it's released. In the mean time, I've created a database project containing our database schema and have it under source control. At the moment, I am the only one of the 10 that has the project loaded on his/her laptop. My question is this. When other developers first retrieve the project from source control and load it on their own laptops, is there is anything else they will need to do to begin working on the project Will they be able to simply retrieve from source control and go Thanks - Amos. Should work. But don't place the proj.user file under source control. This file is individual for each box / user. Alle ...Show All

  • Visual C# Using a progressbar via another class

    I have written a program that splits a XML file with it's own class called SplitXML with a SplitFile(). This method has a nested do/while loop that starts at 0 and iterates until the end-of-file. My desire is to access the progress of this loop in another form which will have the progress bar. I could move the SplitFile() into this form with the progress bar, but that would invalidate the class, as I feel I am no longer performing "OOP". I access this class also in a windows service I have created, this SplitXML class appears as "Complete" Object as it is re-usable. I have had a look via Google on Delegates and possibly Multi-Threading but it seems to me that there MUST be an easy way to access the progress of this loop ...Show All

  • Visual Basic Contending with New Versions of VS/Windows

    I am concerned about the constant parade of new releases of major programming tools such as Visual Studio and indeed even Windows itself. It seems to me that there is a constant parade of new versions of stuff ... VB 3, VB 4 ... VB 6 ... VS 2003 ... VS 2005 ... and now I hear about VS 2007 and Office 2007! Now, I am the first person to want to see improvements made in products and I understand that updates are important but trying to keep up with all of this is driving me batty. Now, here comes Windows Vista and from what I have read VS 2003 and VS 2005 won't run under Vista. I guess this means that I have to stop doing new stuff and go back and rework my old projects/programs to run under VS 2007. This is a BIG pain. There really ought to ...Show All

  • Visual Studio Express Editions Timer won't fire

    I have a timer on form1 with the timer_tick set up like this:     Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick         teaTime = False         MessageBox.Show("End timer")     End Sub In a module I have:     Public Sub Transition1()         Form1.Timer1.Enabled = True         teaTime = True         Dim st As Integer = 0         Do While teaTime             ...Show All

  • Gadgets Controlling a browser from a gadget

    This may be a more related to Vista/IE7, but I'm looking for an in-gadget solution so here goes. I need to collect a token by allowing a user to login through a website. The normal way is to open a browser via ActiveX and monitor it until the process is complete. The opening code looks like this: var ie = new ActiveXObject('InternetExplorer.Application'); ie.visible = true; ie.navigate2("https://loginpage.com"); At this point I can monitor the ie.Document.body.outerText until I reach the page and collect the token. But... The sidebar runs in protected mode, which gives me a protected mode IE, which returns a wrapper object instead of the IE handle after the call to navigate2. Any ideas how to accomplish this Can I write a simple ...Show All

  • .NET Development How can I detect when PictureBox is showing ErrorImage?

    A simple problem but I can't see an obvious answer. I want to detect when a user's image hasn't loaded for any reason. The obvious way seems to check if the image is ErrorImage but I can't work out how. Any assistance gratefully received. Thank you Lucian for your assistance - the right way to do it is: If e.Error Is Nothing Then PictureBox1.Visible = True 'Good picture Else PictureBox1.Visible = False 'Bad picture End If ...Show All

  • Visual Studio Express Editions which form event should i use?

    Hi, I am going to create some fading effect while exit the form, which form event should i put in the code to start the timer (the effect code is put in the timer) I tried "Form1_formclosing" event but does not work.... Any one can help Thanks. Hi, using timer is not good idea, because before first timer tick form will be already closed. Here You have a good code : Private Sub MainWindow_FormClosing( ByVal sender As Object , ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles Me .FormClosing Dim egg As Byte = 0 For egg = 0 To 9 Me .Opacity = 1 - egg * 0.1 Me .Refresh() System.Threading.Thread.Sleep(50) Next End Sub ...Show All

  • Visual Basic Next Monday.

    Hello, How can I define the date of the next coming Monday (calculated from today onwards) Hi, In your output you may want to use.>> Dim myDateString As String myDateString = myDate.ToLongDateString 'or myDateString = myDate.ToShortDateString if you prefer one of those formats.  I believe it won't work on the end of the lines in this code as myDate is the full System.DateTime.       Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click         Dim myDate As System.DateTime         myDate = Now       ...Show All

  • Visual Studio Team System Any sign of CTP6?

    Hi all, Can you tell us when CTP6 will be appearing I have a decision to make early on this week on my current project and the answer to this question will affect my decision. I don't expect you to answer but I thought I'd ask anyway. Thanks -Jamie ...Show All

  • Visual Studio Setting up a website

    Hi, I recently switched from Dreamweaver to Visual Studio 2005... How do I setup my programming environment to automatically FTP any changes to my web host's server when I save my ASP pages, but at the same time create a local copy of that file as well I would like to have a local backup on my PC, as well as being able to quicky search and globally find/replace content throughout my website. (Dreamweaver used to automatically create a local copy of any files that I saved on my web host's server via FTP...) I would appreciate any pointers. Thanks. In order to accomplish a similar task manually, use the Copy Web Site feature to sync remote content with local so that you can do your development ...Show All

  • Software Development for Windows Vista Nvidia 7900GTX

    Problem with windows Vista RC-1 Buuild 5536 & Nvidia 7900 GTX. is there any driver for that thanks ! ...Show All

  • SQL Server What is the Flight Recorder?

    Hi, Can anyone tell me more about the Flight Recorder I think I can probably make an educated guess but I'd like something concrete. What is it What does it do How is it different from the query log Is it something used to do an AS trace What are flight recorder snapshots The only thing I can find is here: http://msdn2.microsoft.com/en-us/library/ms174827.aspx -Jamie Thank you very much Edward. Can you give a "What if" scenario to describe where flight recorder info would be useful. Is the difference simply that Flight Recorder is always running -Jamie ...Show All

  • Smart Device Development How to read an SMS ...... WM5

    Hi, I need to have an application in c# using VS2005 and Windows Mobile 5.0, this application will have the same behaviour of a windows service that will check from 5 on 5 seconds if any SMS arrive and then if it's content macth with something, the application will perform a task. Does anyone knows how can i do this Any sample code Thanks Ok, thanks I solved my problem with this: http://www.businessgeek.com/technical/2006/06/sms-messageinterception.html ...Show All

  • Commerce Server Banners offline after 11pm

    Our CS2007 website stops serving all banners after 11pm and restarts it's normal behaviour after midnight. There are no time restrictions on the properties for the banners, only date restrictions. Is this a known issue/bug Thanks guys. -- Jorge Medeira Hello, On the Ad Properties for each banner I have the "All day" checkbox checked. But on the Preview Details I can see: Daily Start Hour - 0 Daily End Hour - 23 Where can I change this ...Show All

  • Visual C++ Interop Problem - Managed C++ Wrapper Not Working Properly

    I like most people have a couple C++ .lib files that I need to be able to call from C#. Therefore I am writing a managed C++ Wrapper class that has methods to call the functions I need. In the libraries I have several functions (not class functions) that I need to be able to call. When I call one of these functions I get a "Unhandled Exception: System.NullReferenceException: Object Reference not set to an instance of an object at get_customer(CustomerResult*, Int32)" This get_customer method has a prototype of: CustomerResult get_customer(long customer_id) where CustomerResult is just a struct. Can anyone advise on where I am going wrong Thanks for the help. Here is an interesting de ...Show All

©2008 Software Development Network