Software Development Network Logo
  • Microsoft ISV
  • SQL Server
  • Game Technologies
  • Windows Forms
  • Windows Vista
  • Windows Live
  • VS Team System
  • Smart Device
  • VS Express Editions
  • Visual C#
  • .NET Development
  • Visual J#
  • Visual Basic
  • Visual C++
  • Visual Studio

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

Simon_Nunn

Member List

Sarah Cameron
amit_ankur
Ramon A. Paulino
Lluís
brokolyx
Pham Thanh Tuan
lost in the bitzone
Bob W
mangs_22
Omarat56
rookie31
sandra0000000000
Leon Han
Sandeep Singh Kushwah
Andy_Webber_
Richard Turner
soumi
Polican
PKH
Pablo_IN_NZ
Only Title

Simon_Nunn's Q&A profile

  • Visual Basic Using multiple ORs in an if statement

    Why doesn't using multiple ORs in an if statement work properly e.g whats wrong with this If results(1) = (cantbe(1) Or cantbe(2) Or cantbe(3) Or cantbe(4)) Then random1() End If It only checks cantbe(1) and cantbe(2) is there a way of getting around this I think you will find that evaluating a logical expression does indeed work otherwise Microsoft would have quite alot of bug r ...Show All

  • .NET Development Dictionary<K,V> not working where K : IEquatable<K>

    The following code throws a KeyNotFoundException and I can't see why. I have defined a class called MyContainer and realized IEquatable<MyContainer>.Equals, to compare equality based on a contained int(MyContainer.Content). I then create two different instances of MyContainer, with identical Content members. I Add one of them as a key into a Dictionary<MyContainer, string>. Then, when I try to get out the value using ...Show All

  • Visual Basic Copying data from one listbox to another

    Does anyone have idea the best way to copy the data that is in one listbox to another one Hi there, Well the .Items property of a list box is read-only so you can't do something like: ListBox2.Items = ListBox1.Items Whenever I have to do this a loop seems the easiest way: Dim iter As Integer For iter = 0 To (ListBox1.Items.Count - 1) ListBox2.Items.Add(ListBox1.Items.Item(iter)) Next I'm sure one of th ...Show All

  • .NET Development Timer function with millaseconds elapsed (in dos/command-line)

    I was working on a small simple program, emulating the old loading screens I used to see for old Dos games I played, where the top-left side of the screen had a rotating graphic: | / - \ | / - \ repeat from left to right, the characters were displayed one at a time, and it looked like a spinning line anyways, I need a timer function to time the characters to appear on screen, but I've searched everywhere, the MSDN library, other w ...Show All

  • Windows Forms ListView and ItemDrag

    I would like to use a listview's ItemDrag event where when I drag an item into a folder on the desktop or into an e-mail, it performs a function. Is this possible using just the ItemDrag function Sounds like some custom Windo ...Show All

  • SQL Server Installing SQL Server 2005 Developer Edition on same box as SQL Server 2000 Developer Edition

    I tried to install this on the same box and I'm not sure how to reply to setup questions since I want to keep my SQL Server 2000 intact. During the installation it asks me if I want to upgrade the "SQL Server Database Services 8.00.761" and if I don't select it to upgrade then it tells me that SQL Server Database Services will not be changed. I'm not quite sure how to install this so I don't damage my existing SQL Server 2000 Developers edition ...Show All

  • Visual Studio Express Editions Getting data from a datatable

    Hi all, Im trying to retrieve data from one of my datatables but i dont know how to reference the location of the data i want. Basically i have a table as follows: Joint Type Thickness M8 M10 M16 JD1 35 100 200 300 JD1 45 150 250 350 JD2 35 400 500 600 JD2 45 450 550 650 The actual table has a lot more da ...Show All

  • SQL Server Top Instruction in SQLMOBILE

    As I have tested the top instruccion doesn’t exist I sqlmobile isn’t it How I could load in my dataset for example the 20 next registers of the last register I have load in my dataset previusly Thank for your Help. you will probably have to clarify your question so we know exactly what you are trying to do. I will move this thread to the Sql Mobile forum. Thanks. ...Show All

  • SQL Server Validate Subscriptions, turn it off

    I added Validate Subscriptions to my publication using the procedure outlined in BOL. Procedure is listed below. I want to stop the validation for this publication. I do not want to validate any longer. How can I stop this process To validate transactional data using SQL Server Enterprise Manager At the Distributor, expand Replication Monitor , expand Publishers , and then expand a specific Publisher. Right-click a transactional pu ...Show All

  • Visual C# How to import a dll made in C++ Win 32

    Hello Everyone, I have a dll which is made in Win 32, as it is not an assembly neither COM can't be used as a refrence, so I have to Import it.... Can someone tell me how to do it...As when i do it asks for the entry point and secondly how to call the functions from that dll.....A brief example will be highly appreciATED... Thanks, Harsimrat Thats simple.. u have to use System.Runtime.Interopservices ...Show All

  • .NET Development WDSL Question

    I need to create a wsdl file for my web service.  My confustion arrises when I try to substitute an ip address for localhost   http://localhost:4482/Website4/Service.asmx   Now I would like to create a wsdl file with my ip address substituted for "localhost".  Can I see the format of a wsdl command string which will use an ip address. ip address 24.22.222.xx   Thanks, Fred Herring   &nb ...Show All

  • Visual C++ A simple CPP source file change caused entire solution to relink

    My group is new to VS05 and previously used VS 6.0. Several people in our group have had an ongoing battle with the compiler. It seems that when you make a simple change to a CPP source file that it will cause the entire solution to have to relink. We do have dependencies set between several projects within the solution, but if I am not changing a common header file or a method signature then I would not expect all of the project to need to be r ...Show All

  • Software Development for Windows Vista Using InvokeWorkFlow Activity

    Hello - We have a program hosted by the Console that consists of two workflows. The first waits in a while loop for text files to appear in a folder; when one does, this workflow uses InvokeWorkFlow to kick off the second workflow which will write the file name into another file. The problem is that when the second workflow is finished, the first workflow gets terminated. Why is that I've understood from the documentation that this should not h ...Show All

  • Windows Forms Automating login to website with IIS basic authentication

    Hello all, Can someone point me int the direction of writing a script to automate login to a web application that uses basic authentication instead of a normal post login from a form   Basically what I am trying to do is make the authentication ...Show All

  • Visual Studio Team System Unit testing a form...

    We're trying to unit test the main form of our application. Things like instantiating the form, checking for the default controls, invoking something that creates a new panel, checking for focus inside this new panel... all these things work great. For testing navigation we're using the SendKeys class to send a Tab key press to the form from the unit test. This works fine when you run this test method independently. However, when I run my ent ...Show All

©2008 Software Development Network

powered by phorum