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

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

Jamie Thomson

Member List

Gary DeReese
jomunoz
mahima
Joel Martinez
Rachel S
aidimorini
Bill Schanks
DDisco22
Scoutn
StuartGM
swan_sg
Pedro Martins
uncle hammy
George1905
robinjam
Soonyu
Bach Ville
TimStspry
Ernesto OLLUSA
Brian Kramer
Only Title

Jamie Thomson's Q&A profile

  • Visual Studio Tools for Office Where is Microsoft.Office.Tools.Common2007.dll installed?

    After installing VSTO SE and Office 2007 I am not able to recompile existing plug-ins for Office 2007 as variable of the type CustomTaskPane earlier found in Microsoft.Office.Tools doesn't have correct type. Checking Word Add-in created with new VSTO SE I found that CustomTaskPane is type NOW defined in Microsoft.Office.Tools.Common2007.dll and reference to that dll is coming from C:\WINDOWS\assembly\GAC_MSIL\Microsoft.Office.Tools.Common2007\8.0.0.0__b03f5f7f11d50a3a\Microsoft.Office.Tools.Common2007.dll How can I add reference to this dll to my plug-in We have a bug in VSTO 2005 SE Beta, where this assembly is not installed in the VSTO assemblies references folder (%CommonProgramFile ...Show All

  • Visual C# How to request a specific range of a file using HttpWebRequest ??

    Hi, I'm making a program that will be used to download large files from the internet. Its needs to be able to resume downloads that were previously stopped when the program exited. To to this i keep a running total of bytes downloaded for each file as I'm reading it from the WebResponse stream, the total is saved when the downloader is closed and when the download resumes I just send the same request but with an http "range" header specifying the remainer of the file. The problem is, when I do request.Headers.Add( HttpRequestHeader .Range, "bytes=" + item.BytesDownloaded + "-" ); I get an exception saying: "This header must be modified using the appropriate property." However, there a ...Show All

  • Visual Studio 2008 (Pre-release) Advice on sdk, WPF, Tool Versions requested (The Battle of the WPF Versions)

    I'm having a hard time getting tools installed for WPF. In order to get the most recent version of Orcas installed, I had to back my installed WPF version off to the Sept. CTP version. I *think* that Expression runs (or is available for) either Setp. CTP or RC1. But now, I desperately need to get the RC2 SDK installed (for no other reason than that I need to see if the IIS 7.0 docs have been updated). I may have totally missed something. But, as far as I can make out, Orcas is still tied to the Sept. CTP. Here's the absolute minimum that I'm willing to live with: - Syntax-guided editing of XAML in XAML view in VS 2005 (auto-completion, and validation). (Orcas in visual mode rarely works for me because I'm using customized controls a ...Show All

  • Visual C# Searching DataSet for a specific Table

      private Boolean tableExists( string name) { Boolean success = false ; int rows = ReportDS.Tables[name].Rows.Count; if (rows > 1) success = true ; return success; }   I'm using this code to determine if the datatable exists. When it hits ReportDS.Tables[name].Rows.Count; it throws an exception for Object Reference not set to an Instance of an object. The ReportDS is declared as DataSet ReportDS = new DataSet();   above the tableExists declaration (global to the class)   Is there a better way accomplish what I'm trying to do I looked for a table.exists property, but have found nothing that seems to pertain to what I'm trying to do. Help would be appre ...Show All

  • .NET Development Email Reports

    How do I go about emailing Access reports, via Outlook Please stick to one topic for this discussion......(in the other thread you have replied to) yes, COM interop and different than directly invoking the default email client. As they say, there is always more than 1 solution to a problem in most cases ...Show All

  • Visual Basic ADO Intellisense Problems with Vista

    I just installed Visual Studio 2005 Pro with Vista. I mainly develop with ASP and it seems that the Intellisense for my ADODB objects isnt working anymore. Code snippet: dim rsTest set rsTest = server.CreateObject("ADODB.RECORDSET") set rsTest = conn.execute("sp_whatever") do while not rsTest...... On XP, when i would type the rsTest. the intellisense would come up. Doesn't with Vista which is very annoying I get have the same problem with my connection object as well (ADODB.CONNECTION). I was hoping that installing MDAC 2.8 on Vista would resolve the intellisense issues but that didnt work. I downloaded the setup file but it doesnt seem to run on Vista. Has anyone else had this problem I've already installed SP1 f ...Show All

  • Smart Device Development New menu item in Outlook Contacts Menu

    Hi! Like the example that goes with WM 5 SDK, just Medical History example, " C:\Program Files\Windows CE Tools\wce500\Windows Mobile 5.0 Pocket PC SDK\Samples\CPP\Win32\Medicalhistory\ MedicalHistory.sln ", i'm traying to make the same in Smartphone application, but i can't, and i don't know why this example don't works properly .. I'm developing a smartphone's app that's works with outlook contacts and i need to add menu option in the standard outlook contacts menu, just like a "plug-in" to add special information when future users add new contacts .. please!! Help me!! Hi! Like the example that goes with WM 5 SDK, just Medical History example, "C:\Program Files\Windows CE To ...Show All

  • Visual FoxPro MySQL and VFP

    Hi experts. I have a MySQL database. I operate with them using syntax like SQL(sqlhandle, "select * from...") I copy them into cursor and than operate with a cursor. Is there a simplier way how to work with them Thanks in an advice. >> I cannot accept this as an awnser. I don't want to download any MSSQL Server. I just want free SQL database which is fast. Don't know if the speed problem is due it is a MySQL database or casue it is free of charge. I don't believe the gives such as slow database for free. Noone will subscribe it and noone will buy their products.     The most likely explanation, since (whatever you may believe) a LOT of people do u ...Show All

  • Visual C++ How to avoid Busy Waiting?

    Hey everyone :) I wish to know how can I translate a "busy waiting loop" approach into an event driven approach Lets say I have a queue of tasks, whenever there are elements in the queue, a process has to treat these elements Now I do it like this: while(1){ if(MyQ.Size()>0){ My.Q.RemoveHead .... } } This approach causes the cpu to work on full load, even if there are no elements in the queue. Is there a way to avoid this loop and somehow to create an event driven approach. Something like OnQueueHasElements... Thanks in advance :) Bancila, Sorry I don't think that this is a good solution for the problem. I think usage of multiple threads can resolve issue. ...Show All

  • Visual C# How do you open a file from outside program?

    I've made a program that handles text files and I want to be able to right click on a text file, and go to "Open With > MyProgram.exe" and have my program open it up. Currently when I do this it just opens my program, can anyone get me started or tell me what I have to do to get my program to respond to "Open With > My Program.exe" you can do like this static void Main( string [] args) { 'args[0] : it will return the full file path you try to open . then you can do as needed to show the file. Application .EnableVisualStyles(); Application .SetCompatibleTextRenderingDefault( false ); Application .Run( new frmMain ()); }   ...Show All

  • Visual C++ Forward declarations problem

    I have VS 2003 c++ and when I want to create some forward declaration, designer shows me warning, that declaration of the Form class should be first. But how to achieve that When I am using some other class (MyClass) in Form class (MyForm), i have to declare it first to be able to use it.   namespace Test { //forward declaration public __gc class MyClass;   //form declaration public __gc class MyForm : public System::Windows::Forms::Form { public : MyForm( MyClass* pointer ); void InitializeComponent( void ) { ... } }   Why this is not supported in Visual Studio I think, that this is pretty standard way to write code. ...Show All

  • Windows Search Technologies Problems enabling WDS in the Enterprise

    Our network consists of Win2003 Servers and WinXP clients. We installed WDS on some clients, and faced the following serious problems: 1. When WDS was configured in some clients to also index the network drives, for some other clients, some remote files became "Read Only" during their work on these files. It seems that the indexing process gained some exclusive access to these files. 2. When we tried to disable the indexing of the network drives - WDS neglected this configuration and continued to index all drives. It seems to us that WDS is somewhat not matured enough for the enterprise. Can anyone help Thanks, Gadi Thanks for the response. We use WDS 2.6.6. I didn't kno ...Show All

  • .NET Development Problem updating record

    Hi, I've the following code used to update a record on my Access database: con.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;" & "Data Source=""C:\Programacao\Visual Basic\Inapal\ReportIt\ReportIt.mdb"";" con.Open() sSQL = "SELECT * FROM [Utilizadores] WHERE (User= '" & Utilizador & "')" da = New OleDb.OleDbDataAdapter(sSQL, con) ds.Clear() da.Fill(ds, "Utilizadores") ds.Tables(0).Rows(0).Item("Password") = NewPasswordTxtBx.Text da.Update(ds, "Utilizadores") con.Close() Me.Close() When I try to update the record I get the following error: "Update requires a valid UpdateCommand when passed DataRow collection w ...Show All

  • Windows Forms Where can I access the commandTimeout property in a DataAdapter

    It boggles me that I found this same question in the forums twice and noone from MS has commented on this BUG. I went into the Generated code and found this procedure and added the commandtimeout line. But this is not the way to do it because it gets written over anytime the dataset designer is updated. Private Sub InitCommandCollection() Me ._commandCollection = New System.Data.SqlClient.SqlCommand(0) {} Me ._commandCollection(0) = New System.Data.SqlClient.SqlCommand Me ._commandCollection(0).Connection = Me .Connection Me ._commandCollection(0).CommandText = "dbo.spRaChecks" Me ._commandCollection(0).CommandTimeout = 0 Me ._commandCollection(0).CommandType = System.Data.CommandType.StoredProcedure Me ._comm ...Show All

  • Visual Basic Importing Excel files into Visual Basic 2005 Express

    Hi, I'm a complete database newbie so please bear with me! I'm using Visual Basic 2005 Express to create an application which will just list an editable database of stuff, but I don't want to have to enter all the info manually. I have it all on an XLS / CSV spreadsheet: 10 columns and 9000 rows, I just want to import it. But how If your reading the data only you use ADO.NET to read the data as one approach, another may be to export the data to a CSV File and then use something like the TextFieldParser object to process the CSV file or you can access the Excel sheet directly ADO.NET to Retrieve and Modify Records in an Excel Workbook http://support.microsoft.com/kb/316934 READING A COMMA SE ...Show All

©2008 Software Development Network