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

Software Development Network >> Thomas N. Sørensen's Q&A profile

Thomas N. Sørensen

Member List

Shane Fatzinger
nyforever
gfmajchrzak
Kirthik Raja
Salvatore Di Fazio
Bluehunter
Mapperkids
Alen32
USJOHN
Nuno_Salvado
Eduardo Coelho
arse
Part Time Australian
j3ns3n
Dias Monarch
TimFröglich
armasha
Malmer
Gerhard Brueckl
ReneeC
Only Title

Thomas N. Sørensen's Q&A profile

  • Visual C# URGENT PLZ: Extract data from a website

    Hi, First look at this link: http://www.batelco.com/IDDRates.asp did=1 It's listing the IDD rate for all countries for this telecom company. I want to extract the rates for all countries automatically instead of changing the combobox every time and then copy paste everything.. you will have to do a fair bit of string parsing - very unfriendly. I guess a better approach would be to use the WebBrowser control in .NET 2.0 which gives you then, the document page which you can access the body text - then read the data from that. It's not an easy task however to which will take some time to do. It is also not recommended as the page maybe moved or formatting could be changed. you can use a WebRequest/WebR ...Show All

  • Windows Forms DataGridView 2.0

    Hi all, I've got a DataGridView 2.0 control used in my application to display the contents of a dataset - this view is populated manually (using the dataset). At the point the contents of the data grid is drawn on screen it is possible to see the grid draw each row at a time. Also, whenever a control is placed over the top of the control and moved it is possible to see the area of the control that is invalidated redraw (again, row by row). Is there a way to prevent this behaivour As it appears to be performing poorly and this is something that I'd like to rectify - its annoying. I'd appreciate it if anyone would point my in the right direction towards finding a solution to this problem. Is there a property that I forgot to set ...Show All

  • Visual J# Getting a file MD5 checksum

    How do I get the MD5 checksum of a file using J# I know about the "import System.Security.Cryptography.*;" and how to create the MD5 object but I cant seem to get it to work. Thanks for any help. You can create MessageDigest object for MD5 using the following code. MessageDigest md5 = MessageDigest.getInstance("MD5");     ...Show All

  • Windows Forms more than one curve?

    this is really urgent, I need help about it.. I'm drawing a curve, and taking the coordinates of the points of the curve by clicking the mouse on the picturebox. I'm using a dynamic arraylist to get the best result about it and it works really good. but the problem is, whenever I click the mouse, it give an additional point to that curve. What I want is, to finish adding points to a curve (i.e. by right clicking the mouse) and when I start to left click again, it should start drawing a new curve, and it must continue this way for every other curve. I thought that it might be useful to make an object(which has its arraylist in it) array and to let the counter rise by1 when I right-click, so that it can start drawing a new curve ...Show All

  • Smart Device Development Sequence of Installing Visual Studio 2005

    Hello All, Please anyone help me in setting up the Visual Studio 2005, I installed Visual Studio 2005 before. But still it shows some Exceptions while running it in emulator. I think there is something missing in my installation. Plese share with me the sequence of installing ActiveSync,VS2005 & Windows Mobile 5.0 SDKS. Is there any need for installing the VS2003. Thanks & regards Rupesh Thanks Glenn, much appreciated. Well what errors are you getting You need to install the Windows Mobile SDK's in order to develop Smartphone applications: PPC: http://www.microsoft.com/downloads/details.aspx FamilyID=83a52af2-f524-4ec5-9155-717cbe5d25ed&DisplayLang=en Smartphone: http://ww ...Show All

  • SQL Server Union All Component

    I am using a Union All component in a Data Flow Task. I have 3 Input OLE DB Sources connecting to the 1 Union All component. And then the Union All component connects to OLE DB Destination component. Everything looks good, but for some reason, for every time the Data Flow Task runs, 3 rows are inserted into my table. Why is that Isnt Union All joining all fields, and then just inserting 1 final row to my table. What am I doing wrong or what should i do to just insert 1 row in my table. Thanks and I am really anxious to see responses on this post. Thanks again. MA2005 wrote: I am using a Union All component in a Data Flow Task. I have 3 Input OLE DB Sources connecting to the 1 Union All component. And then the Union All ...Show All

  • Windows Forms How to prevent ComboBox auto DropDown

    Hi, I'm writing a custom CheckedComboBox with a multiple item select future but when I select an item from the dropdown menu, the dropdown menu automatically closes. How can I keep it open to select more than one item thanks for any help. I think that you want something like this: protected override void WndProc(ref Message m) { if (m.Msg == (WM_REFLECT + WM_COMMAND)) { if (HIWORD((int)m.WParam) == CBN_DROPDOWN) { ShowDropDown(); return; } } base.WndProc(ref m); } public static int HIWORD(int n) { return (n >> 16) & 0xffff; } ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. A few XNA questions.

    Now with XNA will you be making the game right in XNA, or do you like make it with another program using different code and then just use XNA to make it playable on the 360 Thanks! Correct. You use XNA GSE to code (on your PC) and debug (remotely on your 360 or on your PC for a Windows version) your game. The assumption, I believe, is that you have a network in your house that both your 360 and PC are hooked up to. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Interfaces

    Could anyone point me in the right direction regarding programming c# with interfaces. I've googled up the subject and whilst there are some good tutorials on how to do it, non of them really explain in simple terms why we should or shouldn't. I just can't seem to get my head around how they work properly. Thank you Parlance, I didn't notice your second post before replying to Robins. That description hits it on the head for me . I think I almost have it. I'm going to work on a few examples to see them in action now I understand why. Thank you both. ...Show All

  • Visual C++ strange error :-S

    BITMAP HdcToBitmap(HDC hdcNeedle, int needleWidth, int needleHeight) { HDC memDC_Needle = CreateCompatibleDC(hdcNeedle); HBITMAP memBM_Needle = CreateCompatibleBitmap(hdcNeedle, needleWidth, needleHeight); SelectObject(memDC_Needle, memBM_Needle); BitBlt(memDC_Needle, 0, 0, needleWidth, needleHeight, hdcNeedle, 0, 0, SRCCOPY); BITMAP bmpNeedle; GetObject(memBM_Needle, sizeof(BITMAP), &bmpNeedle); return bmpNeedle; } There's one more step to stop all leaks : private Bitmap HdcToBitmap(IntPtr hdcJava, int width, int height) { IntPtr hdcBuffer = CreateCompatibleDC(hdcJava); IntPtr hBitmap = CreateCompatibleBitmap(hdcJava, width, height); IntPtr hOld = SelectObject(hdcBuffer, hBitmap); BitBlt(hdcBuff ...Show All

  • SQL Server SSIS package fails in a job - Currency Rates updater

    Ok so I created a SSIS package to get currency exchange rates from web service - http://www.webservicex.net/CurrencyConvertor.asmx . Everything works fine I can run it successfully - i uploaded to SSIS package store - runs successfully./ BUT when I put it in a job - it FREAKING fails every *dem time. In addition to run it the JOB as SSIS package from store - also straight from the File System = still same freagging error - and SQL 2005 has gotten more stupid than SQL 2000 & DTS - they provide no clue as to y you get an error Help please Phil Brammer wrote: Sounds like it's a proxy issue. Does your development machine go through a proxy to get to the Internet Perhaps the server (where the package store is) can't connect t ...Show All

  • Visual C# Compiling Java code from C#.net

    Hi, How can i compile java source code from C#.I should not use any .java file for compilation. Just i am writing java code in text area and whenever i click compile button, it need to compile from c# and if any errors it need show.Here i should not use VJ# compiler also. Please let me know the solution ASAP. Regards, Hanumanth Reddy.k Hey.. Thanks for your response. But my concept is diffirent in this case.Here i should not use VJ# compiler to compile the java code. I need to use javac to compile the java code.But this should be done in-memory compilation like C# and vb.net.Here i am not going to mention any .java file name. The java code i am writing in text area whi ...Show All

  • Visual Studio Team System TFS Workgroup - Possible Bug

    Hi, I upgrade the beta 3 Refresh version of TFS to the workgroup version (en_vs_2005_tfs_wgp.iso), but a bug that occurs in the beta 3, are always in the final version: When I try to realize a merge of 2 versions, a window appear, but with no text in the buttons or in the dialog boxe. Is it a bug that it will be solve in a new version or an error in my configuration AdriM, Is is the same issue seen here http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=441703&SiteID=1 ...Show All

  • Smart Device Development how to remove SIP button from menu panel

    hello all, Can I remove SIP button from the menu panel in pocket PC We want to use native soft keys (mainmenu) , but most of the screens of our application does not require any user input, can I simply hide the SIP. I dont want to resize my UI or restrict my UI to take full screen. as there is no need for SIP. can I simply hide that. regards, Rashmi thanks for the reply. but my requirement is to hide sip button and not sip keyboard. in managed code it is just a matter of setting sipCtrl.Enabled to true or false. but what if i dont want my users to use this show/hide facility. as my screen doen not require any input.so I simply want to remove sip icon from meny tray. regards, Rashmi ...Show All

  • Visual Studio Team System The internal state of the database project is inconsistent

    I got this error Error: The internal state of the database project is inconsistent Unload the project and then reload it to resolve the issue. i already Unload and reload the project but not solved any help Yes, it is unclear as to what is causing this to happen. We had a database project as part of our solution for about a week and then suddenly this started happening for all the developers on the project. At this point we have to unload the database project whenever we want to do a build. -- Bryant ...Show All

©2008 Software Development Network