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

Software Development Network >> Jamie Thomson's Q&A profile

Jamie Thomson

Member List

Michael Hansen
LastBoyScout
CalinMac
Trish
Michael Rodrigues
Thilakavathy
ved_30
Dvlnblk
RussP
Rob Grunkemeyer
pshaw
netpicker9
chooinggam
manyowanong
Matt Deane
Ir_Vin
Taylor Meek
John Kinghorn
ahmedmalam
Chris4578
Only Title

Jamie Thomson's Q&A profile

  • Visual Studio How to add a winforms textbox value dynamically to a rdlc?

    I would like to know if anyone knows how or if it is possible to add a textbox to a windows form and have the value typed into the textbox displayed on a rdlc upon rendering the report (reportviewer.localreport). I am trying to allow a user to add header titles and dates to the report without having to add the values to the database and call them through the dataset. this is a vb windows application (VS 2005). Thank you, Allen Simmons You can use report parameters to do this. See examples on http://www.gotreportviewer.com ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XNA Game Studio Express + DirectInput + Debug = A mess (LoaderLock)

    For anyone looking to play with DirectInput (and possibly the rest of legacy DirectX - v1.1) to obtain access to features XNA doesn't support, be ready to receive a "LoaderLockException" from the Debugger when you start your app in Debug mode. The solution is covered here: http://www.thezbuffer.com/articles/304.aspx Along with links to pages and pages about why it happens and how it might someday be fixed, or was fixed and keeps coming back. In any case you want Solution #3: Disable the Exception in the Debugger. It's a Debugger-caused and Debugger-only Exception, so disabling it isn't hiding a bug from your users - it's hiding a Microsoft bug from you. ...Show All

  • Visual Studio Error

    Hi, I just installed Visual Studio 2005 on Windows x64 and when I open it up it keeps coming up with the error: Class not Registered. Looking for object with CLSID: {00BB2763-6A77-11D0-A535-00C04FD7D062} I've tried doing some searching and it seems thats the AutoComplete class but I'm not sure and I dont know what to do so I'm posting here. Thanks for any help. I am having the exact same problem. I am running Win XP x64. I'm not going to reinstall windows. I would really love to find a fix for this. I find it odd that I have no problem with Visual Basic 2005 Express at all. ...Show All

  • .NET Development Do I need a .open() or is it superfluous?

    Private Function createConnection() As OleDbConnection Dim connString As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=database.mdb" Dim myConnection As OleDbConnection = New OleDbConnection() myConnection.ConnectionString = connString Return myConnection End Function I've heard that you always have to close a connection, but where do I place the myConnection.open() It seems that I can access the database without opening the connection: private function filldataset(byval strSql as string) as dataset Dim da As OleDbDataAdapter = New OleDbDataAdapter(strSql, createConnection) da.Fill(ds) return ds and the program runs fine and fills the dataset. Is there a difference between the methods OLEDB, ODBC and ADO (ADO.n ...Show All

  • Smart Device Development can you help me to access the outlook via mobile

    Asalam 3alykoum: hello, all how are you i wish you r fine. i need help to do the following features of the application : 1- Syncronize the outlook via mobile so that i can (get alarms for schedualed meeting,new mails,...)to my mobile. i want to make sure if i thought well or not: i think the applicationdivided into 3 sides: 1- PC side (get the new posts from the outlook) send the data through the bluetooth to the mobile. 2- blutooth connection. 3- the interface on mobile to recieve the following alarms. i have a question: what tools and languages can be used to implement this application i want to make this application on Nokia S60 mobile not pocket PC. thanks alot thanks for replay. it means it is imposible to ...Show All

  • Visual C# networkstream eventhandler

    can anyone help me or advice me I am making an application whereby actions are done according to what is read from networkstream. considering that my application is quite big, i wanna reduce threads and one that i see can be reduced is the thread for scanning of data available in the networkstream. what i am thinking of is somekind of eventhandler whereby if there's a networkstream.dataAvailable then it will execute. here's what i did, private void OtherCode() {          thread = new Thread(new ThreadStart(wait_for_commands)); thread.Start();                 thread.Priority = ThreadPriority.Normal; }   &nb ...Show All

  • Visual C# How can I know whether the app is running in development mode?

    Some of the features included in the application I'm currently developing are supposed to be used in 'administrator' mode, but, in fact, the only administrator is the developer and it's likely that none of these will be used by final users. Therefore, instead of defining a particular user to be the administrator, why not letting the application to know wheter it is running whithin the development environement or as a standalone, compiled application I remember a property like this was exposed in VB6, and I assume it is also included in the .net environement, but after some time of messing with the object browser and the internet, I give up and ask for HELP! Where can I find this property ...Show All

  • Visual Studio EnsureConnectionPoints on PortShape doesn't work

    How can i force the connection points of a portshape (in the middle of its sides) The classic way with EnsureConnectionPoints and HasConnectionPoints doesn't work. Thanks for your answers, My problem was on the port not on its parent's nodeshape. You can reproduce this whith the 'example.Components' sample by changing the AssociationLink's routing style value from Rectilinear to Straight. (I saw this later) Now i change my model and i use another graphic representation without port. Thanks again. ...Show All

  • Visual Studio I need VSIP 7.0 installable.

    Hello All, I need VSIP 7.0 installable to work with Visual Studio .Net 2002 Extensibility. Please help me with the location from where I can get it. I have VSIP 7.1 and .Net 2005 SDK with me but I need VSIP 7.0 only. Any help would be appreciated. Thanks in advance. You can download the VSIP SDK for Visual Studio 2003 from http://www.vsipmembers.com . It should work for VS 2002. thanks, James Lau Program Manager, VS Ecosystem ...Show All

  • SQL Server SQLCLR INSERT using XML as input

    Apologies in advance for such a basic question. Given this XML: < xml version="1.0" encoding="utf-8" > <NumberSets> <NumberSet> <First>990999999989</First> <Second>9899999990</NonToken> </NumberSet> <NumberSet> <First>991999999989</First> <Second>9899999991</Second> </NumberSet> </NumberSets> How do I do the equivalent of this in SQLCLR to INSERT [Microsoft.SqlServer.Server.SqlProcedure(Name = "InsertNumbers")] public static void AddSets (SqlXml numberSetsDoc) { // setup stuff byte[] first; byte[] second; while (xr.Read()) { while (xr.Name == "NumberSet") { insertCommand.Param ...Show All

  • Windows Forms Setting DataSourceUpdateMode OnPropertyChanged on all controls programmatically

    I have VS2005 and I know that you can set the DataSourceUpdateMode.OnPropertyChanged in the (Databinding )(Advanced) tab on the control's properties. Now I have a number of controls that I want to apply the OnPropertyChanged values to but I do not want to do this a design time inthe IDE as it is too time consuming as I may want to switch this feature on and off. Now the *.designer.cs file generates the following code:- this .TextBox.DataBindings.Add ( new System.Windows.Forms. Binding ( "Text" , this .myParametersBindingSource, "X" , true , System.Windows.Forms. DataSourceUpdateMode .OnPropertyChanged)); I do not want to edit this file because it is an automatically generated file. Is there a way to ...Show All

  • Visual Studio 2008 (Pre-release) DLinq query performance

    Hi! I tried to do following : created database with table Order and insert 3000 rows in it. Then, i used sqlmetal to generate stuff. Then, i queried all orders with DLlinq and same thing with sqldataadapter. I used Sql server profiler to measure the execution time. And you know what - dlinq query took about 20 times longer than usual sql query (I didnt use stored procedures!). Is this normal and this is how thing are, or am I missing something here Thank You! This is how I query with SqlDataAdapter : DataSet ds = new DataSet(); SqlDataAdapter da = new SqlDataAdapter(); SqlConnection connection = new SqlConnection("server=localhost\\SQL2005;database=dt_rakendus; integrated security=sspi; Connectio ...Show All

  • SQL Server Server Broker Contract talking to Multiple Computers

    Hello, I solved the previous issue I had and now need to find out how to make it so I have Service Broker running on one machine and the services running on another machine. I mean you can set a connection string to post a message to the service broker but then it will need to respond and the connection string in the method called does not allow you to put a server in the connection string. The other issue is because the stored procedure calls the method in your code based on a namespace and then a method but does not specify a server. I am sure a way exists but am not familiar with it. This is the last piece of the architecture I need to work out before I finish designing the system. Thanks, Scott Allison... Hello Remus, I ...Show All

  • SQL Server Search a date with using like

    Hi guys. First of all im new to t-sql . Im getting confused on how to retrive a set of dates from a table. The script bellow shows what im trying to do. DECLARE @dd nvarchar(7) SET @dd = '%2004' SELECT * FROM tb_Dates WHERE (dt_datetime LIKE @dd) N.B dt_datetime is of type Date/time What im a doing wrong as im not getting any results when runing this scripts. Thanks and sorry for wasting ur time Matt That's true any function on the left side of the operator will create a scan so instead of where left(Col,1) ='A' you should do where col1 like 'A%' Also don’t use arithmetic operators on a column in the where clause for example don ...Show All

  • Visual C++ Visual Studio features - gone in later versions

    I'm trying to figure how to do certain things in a later version of Studio that I could do in VS6 but don't work anymore. Such as (a) dismiss the compilation output window just by hitting ESC, and (b) identifying the exact path to a given source file. I switched from 6 to .NET a couple of years ago, and have regretted not knowing how to make .NET behave like 6 in these particular areas. Aha. I got it. The build output window got "pinned". Unpinned, life is good again. Boy is that stupid of me. Anyway, I'm good now. Thanks - ...Show All

©2008 Software Development Network