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

Software Development Network >> Matt Tompkins's Q&A profile

Matt Tompkins

Member List

Rajat Goel - MSFT
Calvin Che
gatsby0121
bablo
AhmadOOka
Chandra.Sekhar
Tony Lee
ronaldst
VidarL
paukp06
Ma?o
lmsa
MeesterBlue
Matt Evans
rkn123
Mark Groves
Marcus Andersson
Jean-Jacques Borie
dshow
Benyin
Only Title

Matt Tompkins's Q&A profile

  • .NET Development Collection Items Disappearing

    So I have run into a serious problem that did not exist when I left work last week. I have items that are dissappearing from a collection as I iterate through it. I have a class called host which has a List<String> in it which has a list of Urls. There is only one way to get and remove urls, a property called NextUrl. public string NextUrl { get { string url; lock (_urls) { url = _urls[0]; _urls.RemoveAt(0); _lastTouched = DateTime.Now; } return url; } The loop is as follows foreach (Host h in currentList) { if (h.Count > 0) { DownloadUrlAsync(h.NextUrl); } } currentList is a contains a List of hosts. If I st ...Show All

  • Visual Studio Team System TF80071 connecting MPP to Team project

    I have an MPP in my Team project. I have checked out the MPP file and opened it. When I click the Choose Team Project button and select my project, I get an error "TF8001: Team Foundation encountered an error while accessing the work item database.  Please contact the Team Foundation Server administrator." Any clues TIA, Doug Doug, please check the application tier for a corresponding event log entry.  It sounds like there should be one, and that would help to diagnose the problem. Buck ...Show All

  • Visual C# OpenFileDialogbox

      How to set enable as false  to  openfiledialog box's  open button  untill we select an image or file   private void Form1_Load(object sender, EventArgs e) { button2.Enabled = false; } string fileName; private void button1_Click(object sender, EventArgs e) { if (openFileDialog1.ShowDialog() != DialogResult.Cancel) { fileName = openFileDialog1.FileName; button2.Enabled = true; } else { fileName = null; button2.Enabled = false; } } private void button2_Click(object sender, EventArgs e) { MessageBox.Show(string.Format("File: {0} was selected.",fileName.ToString())); ...Show All

  • Visual C# SQL fails to be recognized by Visual C# Express 2005

    I recently installed Beta 2 of VCSE and also the SQL Server Express Edition, and after being unable to complete some tasks I required that SQL Express couldn't handle, I decided to uninstall it, and install my copy of SQL Server 2000 Dev on the machine instead. Now, VCSE fails to recognize the SQL Server that I installed, and when using the "Add New Connection" Wizard, I am unable to connect to the correct server. If I click on Advanced, the DataSource field is set to .\SQLExpress, and I am unable to change it. Is there some way to correct this issue Any help would be greatly appreciated. Thanks ^_^ Hi all, ...Show All

  • Visual Studio Team System Report server error

    Hi, I was trying to generate a model on the report server site under TfsOlapReportDS data source, but I got following exception. An error occurred while generating model. (rsModelGenerationError) Get Online Help An error occurred during the generation of semantic model : [Create mapping between cube dimensions and database dimensions] Unexpected error occurred : Schema indicates that cube dimension '[Build].[Build]' is based on dimension 'Build', however, the entity representing 'Build' cannot be found.. [Create mapping between cube dimensions and database dimensions]Unexpec ...Show All

  • SQL Server SSIS Custom Component DerivedColumn programmatically problems

    dear experts, i'm trying to build a package programmatically from client c# application. I'm working to create three dataflow components: - OleDB Source - Derived Column Transformations - OleDb Destination. My package works good, but i have several problems when insert an expression as Value of an IDTSCustomPropriety90 object, like this one: [LEN](#firsname.lineageID) &gt 5 <<if true>> : <<if false>> Simple expressions like concatenate strings, for example "#firstname.lineageID" + "#lastname.lineageID" seem to work good. Thanks a lot in advanced. Paganelli Francesco ...Show All

  • Windows Forms Unicode Form Text

    When I set the Text property of a form in VB.NET with an Arabic or Russian text string I just get a row of boxes wheras everywhere else I have tried - menus, edits, labels, combo boxes etc they are displayed correctly.   If it is relevant the strings originate in an Access 2000 database accessed via ADO.NET. Can I do anything about this  ...Show All

  • Visual Studio Express Editions VB app memory usage

    I noticed that my VBE apps were consuming a lot of memory so I wrote a test app that consists of nothing more than a form with a single button. When I run the compiled .exe file, Windows Task Manager reports the the process is using over 8 meg of memory. If I minimize the app, memory usage drops to 372K. If I un-minimize the app, memory usage then jumps to approximately 2 meg & stays there with each successive minimize/un-minimize. Can somebody explain to me what is going on here Why does it initially have such a high memory usage for such a small app And why does it settle at 2 meg after minimizing once Thanks... ...Show All

  • Visual Studio 2008 (Pre-release) Peer Channel performance

    Hi all! I am building a p2p application using WCF and the peer channel and one of the requisites of this application is to be able to send the higher number of updates per second. While doing some profiling, I noticed that server was sending (at least the sending method executed and returned) at the rate I had specified but clients were receiving at a variable rate. For instance, I specified an update rate of 170 miliseconds on the server and logs said it was sending more or less at that rate. But the logs on the client side were different: they showed a quite variable receiving rate (i.e. 171, 12, 189, 12, 231, 11, 171, 12, 232, ...Show All

  • Visual Basic Load Gif on Key Press up

    How do I load a gif I want to load from specific gif on my computer... I have an empty picture box and I want a transperant Gif to load (and play) when i press key up. I also want to know how to move a picture with key up, my background picture down 1 pixel. when i press and hold key up. Easy stuff but i don't have the knowledge Alright this is the code I wrote...it works fine all alone but when its with my RPG code i get 2 errors TextBox1.KeyDown and Charcter.Image Private Sub TextBox1_KeyDown( ByVal sender As Object , ByVal e As System.Windows.Forms.KeyEventArgs) Handles TextBox1.KeyDown Select C ...Show All

  • SQL Server SQL JOIN? BETWEEN? ON?

    i have two tables carModels and plates carModels = modelID(int,primary key), makeID(int), modelName(varchar), startYear(int), endYear(int) plates = plateID(int), plateName(varchar) When i insert a variable eg @modelID into the query. I want to return from the query the platedID and plateNames from the plates tables. Between the startYear and the endYear of the carModel table for the specific modelID record of the @modelID but i don't know which JOIN statement or Between or ON syntax to use ps im using this as a table adapter in Vis Web Dev 05 Express (if that makes a difference) please can anyone help thanks Gaz ...Show All

  • Smart Device Development Passport authentication in Windows Form SmartPhone application

    I wish to add .NET Passport authentication when the user logs in through a Windows form in SmartPhone device. Please advise me on the steps to be followed. Is it possible to consume a Passport Authentication provider from my SmartPhone application .NET Compact Framework does not provide a way to do this out of the box. There may be third-party libraries that enable this scenario. You might also find more information in one of the Windows Mobile newsgroups: Windows Mobile API : microsoft.public.pocketpc.developer microsoft.public.smartphone.developer Windows CE API : m ...Show All

  • SQL Server Problem in deployment on SSAS 64 bit with Oracle 10g 32 bit client (as datasource)

    Hi, I installed SQL Server 2005 64 bit and have Oracle 10g 32 bit client, I am creating a cube based on Oracle datasource by connecting Oracle 10g 32bit client. when I build and process cube it Done successfully but when I deploye it to server then it gives following error. Error 1 Errors in the high-level relational engine. The following exception occurred while the managed IDbConnection interface was being used: Attempt to load Oracle client libraries threw BadImageFormatException. This problem will occur when running in 64 bit mode with the 32 bit Oracle client components installed.. 0 0 Error 2 Errors in the high-level relatio ...Show All

  • Windows Forms 'PostMessage' in c#

    Is there an equivalent to the win32's PostMessge() func in windows forms How do I create a user-defined message What I want to do is use my Form's message pump (I'm assuming there is one underneath), to synchronize events posted by seperate threads. As far as I could tell the event-delegate mechanism works like a SendMessage type of thing so it's no good for me directly. Thanks, OK, I spent a little more time googling, and... http://www.codeproject.com/csharp/begininvoke.asp If you're familiar with win32's (or MFC's) UI intricacies, mainly the difference between PostMessage and SendMessage, you can skip right ahead t ...Show All

  • Visual C++ Strange error with _fileno

    We're in the process of converting from visual studio 98 to 2005 (yes, we were a bit behind the times). Most of the changes are now dealt with, but there's one weird one that we can't figure out - it looks like a bug in the compiler. Here's the error we get: v:\frame\utils\.\preftext.c(104) : warning C4996: '_fileno' was declared deprecated C:\MSDev05\VC\include\stdio.h(219) : see declaration of '_fileno' Message: 'The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _fileno. See online help for details.' v:\frame\utils\.\preftext.c(469) : warning C4996: '_fileno' was declared deprecated C:\MSDev ...Show All

©2008 Software Development Network