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

Software Development Network >> Brian Lawson's Q&A profile

Brian Lawson

Member List

Visual Basic Expert
miker55
AlwaysTrying
Mike737Aviator
Ptaveras
md4111
davidwii
Quilnux
WilliamStacey
NoEgo
kingmissel
Whoisit
Naveeeen
Santosh_DotNet
Steve Olson
John Lockhart
gafferuk
mrbelk
Can-Ann
mf915
Only Title

Brian Lawson's Q&A profile

  • Visual Studio Visual Studio 2005 problem with debugging threads

    I have two major problems debugging threads in Videual studio 2005 2.0. I want to go step by step inside a thread. i wrote this simple code : inMsgsThread = new Thread ( new ThreadStart (inMsgsLoop)); inMsgsThread.Start(); void inMsgsLoop() { string Str=""; int i=0; i=6; // Breakpoint i=7; i=-8; } 1. When the program activates the thread and gets to the breakpoint, the whole studio gets stuck for 8 seconds 2. After the studio recovers from the 8 second stuck. When i push F10 ,to go step by step inside the thread, the compiler jumps out of the thread and continue the running of the program. I think that the thread is totaly terminated because i pushed F10. because when i put a wh ...Show All

  • SQL Server Login failed for user 'username'. The user is not associated with a trusted SQL Server connection

    Hi All, I understand this has probably asked a gazillion times... BUT I have issue with the solution... ( I DO NOT WANT TO ENABLE SQL Server Authentication) I have developers that need to manage MANY SQL Servers.. some in domains some not.. some develpers boxes are in domains.. some not. I DO NOT want to have sa or any other password for that matter flying around the net in the clear (i.e. SQL Server Authentication). I would like for the developers to be able to connect to servers using Enterprise Manager (SQL 2000 sp4) by entering their windows userid and password for that particular server. For the life of me I cannot figure out how to get Enterprise Manager to prompt (i.e. Domain\usernam) for the windows ID and password. ...Show All

  • SQL Server Join tables from two databases

    Say I have two database files, database1.sdf and database2.sdf, how can I make a select that joins tables from both I'm using C#. Thanks! There is no implicit support for querying across multiple databases with the SQL Server CE engine itself. However you could achieve a similar result by loading data from the two databases into an in-memory dataset from which you could then query the data. ...Show All

  • Visual C# Inconsistent line endings

    Occasionally, when I open a project in VS2005, I get a message that a file (using a WinForms class with the appropriate support files) has inconsistent line endings and the IDE prompts me if I want to "fix" it. I always say yes and that resolves the problem. What I can't figure out is why/how the line endings are getting into an "inconsistent" state. I don't do any editing outside of VS2005. The source files are stored on my local hard drive, so I know they're not being changed by someone other than myself. I do have my source code stored in a local VSS database - could that be the casuing the error It's not *that* big of a problem. Just an annoyance, as it seems to happen a couple of times each week. Hi ...Show All

  • SharePoint Products and Technologies MOSS 2007 domain account install requirements

    I would like someone to explain the initial domain accounts needed to setup MOSS2007 with out getting concurency errors, permission denied errors or, "Only the site admin is allowed to querry from the profiles db." This is my 9th MOSS installation in 3 days and there was no combination of domain accounts that have worked. My first installation. 1. Installed Windows 2003 r2, SQL standard x86, .net 3.0 then installed Sharepoint 2007. 2. I used a domain acount FESGWIRE as the service account for all SQL services and all accounts in MOSS2007. The account was also a local administrator. First the installation complains about some random web application at port 15097 and suggest that it must be registered as a Kerberos se ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. xbox 360 controller

    Hello all. I have just puchased a Xbox 360 controller and try to figure out all the differerne possibilities. Right now i wonder about the button in the middle that looks like the xbox logo and with something that look like 4 lights around it. How can I program that one What do you call it And can I controll the lights Thanks Endre Thanks for the reply. I have never tried a real xbox 360 so i didnt know about the lights. Would have been fun to be able to use them in games. When it comes to the button I guess I have more than enught buttons to use. Endre ...Show All

  • SQL Server Adding Hyperlink Using Report builder

    Hi I want to add Hyperlink to report, using report builder. or to add it to report model does any body has a clue ruvy Sorry, there's no way to do this in RS 2005 Report Builder or Model Designer. You might be able to knock up the RDL that comes out of Report Builder, in Report Designer (or any text editor), to add your Hyperlink action, but then you won't be able to reload the RDL in Report Builder. ...Show All

  • Windows Forms Custom View from DataSet

    VS2003 I have a dataset(has only one table) that contains all the columns of a table, is it possible to create a custom view for only specific columns and arranged accordingly which retains the dataadapter support It will be nice if the custom view can also be the DefaultView of the dataset.   2 Reasons 1. I want to use the view for controls other than a datagrid which might not support hiding columns. This is just the normal use. 2. I want to create a business object that has a dataadapter support based on the available dataset in data layer. Basically, I'm trying to avoid a separate fill of another dataset when an already filled dataset  ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Xbox deployment does not appear in 'My XNA games'

    After I deploy my game to Xbox it works, but doesn't appear in the 'My XNA games' list. Games that I deployed previously have appeared OK. Any idea why this might happen There isn't any reason as the 360 uses the information in the programs assemblyinfo.cs file to determine what it displays in the xna launcher. If you don't have an assemblyinfo file, then in theory this would mean that no information was displayed in the launcr, just a selectable space that you could use to launch your program. Not sure why you would delete the assemblyinfo file though. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. How do I load a 3d mesh (.x file)?

    How do I load a .x mesh into my scene The space game seems to use its own format (which it names .swm), and there's nothing in the help. I've been scanning through through the classes in the Framework namespace, but I can't see anything obvious! Is .x the recommended format for objects like this (If not, I change my question to be about the recommended format :D) If anyone knows anywhere that has some nice .x meshes I can play with, that'd be cool too. The only one I have lying around is a chair, and that's going to look a bit funny running around my game :D The Content Manager is part of the framework so it exsists in the Beta. However all the stuff you need to get you data in the Model format is n ...Show All

  • SQL Server SQL LTRIM()

    hello everybody I have a table with one colum in which i need to get rid of the leading 0's. It would have been easier to just change the datatype to int. However i can not since some columns have some characters in them. LTRIM() only seems to get rid of leading blanks..Anybody know a function on how to get rid of Leading zeros. i.e 00089 gets changed to 89. Thanks You may also be interested in this query. Declare @Temp Table( Data VarChar(20)) Insert into @Temp Values('0000089') Insert into @Temp Values('24') Insert into @Temp Values('Eight') Insert into @Temp Values('00000A') Select 'Before', Data From @Temp Update @Temp Set Data = Case When IsNumeric(Data + 'e0') = 1 Then Convert(VarCh ...Show All

  • Visual Basic move, swop, sort

    hello i have written a piece of code, and have obvioulsy done soemthing wrong as it's not working right. it is supposed to sort a list of names and scores into order, but it just repeats the last line, and i don't know why. i'd be greatful for any words of wisdom form anyone out there my code is: Dim Players() As String Dim total, score, handicap, i,HoleNo As Integer Private Sub Form1_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load Listdisplay.Items.Add( "NAME" & Chr(9) & "HANDICAP" & " " & "TOTAL" & " " & "SCORE" ) Players(0) = "Andy" h ...Show All

  • SQL Server Distributed Transactions between servers on different VLANs

    Hi there, I have two SQL servers, SERVERA and SERVERB. They are on two different VLAN's within our corporate network. They are physically only about 5 feet apart. SERVERA is SQL2005 while SERVERB is SQL2000. I am running a distruted transaction as a result of an insert on SERVERA which then causes a Stored procedure stored on SERVERA to insert a record on a table on SERVERB. I know my syntax is correct, 'cause I can get the Process to work between two servers (one SQL2000 and the other SQL2005) on the same VLAN. But when I run it in the problem environment, I get the following error message: SQL Execution Error Executed SQL Statement: INSERT INTO Tablea(recordid, recordtext) values(3, 'Testagain') Error source: .Net SQLClient D ...Show All

  • .NET Development Where do I get svcutil.exe?

    I am working through a rmoting lab that uses svcutil.exe, but I don't have it on my computer. I installed the latest Platform SDK and it isn't included. Does anyone know where this tool can be found Thanks! ...Show All

  • Visual C# Microsoft Chart control 6.0-Row Data

    Can the Microsoft chart control take row values as double If so how (Any code example). And i want to plot the row values against the coloumn values.(as the coloumns contain a pointer on the chart for the specified coloumn value). ...Show All

©2008 Software Development Network