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

Software Development Network >> stephenl's Q&A profile

stephenl

Member List

bob v
johnvarney
Phil026
Alois
MMMalik
Dennis Clark
Craigton
vishnu_gawali
varunsagii
LTD
MarkWHarrison
Mark from NH
Pete_M
Gomez2006
noobiepersonC#
Sumesh Babu
asowerby
Richard Wilson
Neil East
Phil Robert
Only Title

stephenl's Q&A profile

  • Windows Live Developer Forums I want to set zoomlevel for microsoft virtual earth map,can i set zoomlevel to 4.45, a double value?

    I want to set zoomlevel for microsoft virtual earth map,can i set zoomlevel to 4.45, a double value map.SetZoomLevel(4.45); It seems that the statement will have stack out problem Thanks Certainly in 2D mode this won't work simply becouse VE has only tiles for integer values. May need to test how it goes for 3D mode but i suspect you would be better off use the altitiude method instead. John. ...Show All

  • Visual Studio VSS2005 Check-In Performance

    We recently upgraded form VSS 6 to VSS2005. Performance when checking-in files (from VSS 2005 Explorer) has degraded dramatically -- perhaps 10x as slow. For example, a 20MB binary that took 5-10 seconds to check in in VSS6 now takes as long as 5 minutes. Check-outs also seem slower, but check-ins are where we see the biggest problem. We have made no other hardware or configuration changes, other than installing the VSS update to the server and to the client machines. We are running over a LAN and are using the VSS2005 Explorer (not Visual Studio IDE). Any suggestions Thanks, -Geoff There have been many threads about performance problems on the forum; you might try searching. The most common c ...Show All

  • Visual C# serialport break state

    Hi, Does anyone know how to get out of the SerialPort Break state When we try: SerialPort port = new SerialPort(); port.BreakState = false; it throws an exception. From MSDN (for System.IO.Ports.SerialPort BreakState Property): ignore links.. Exception type Condition IOException The port is in an invalid state. - or - An attempt to set the state of the underlying port failed. For example, the parameters passed from this SerialPort object were invalid. InvalidOperationException The stream is closed. This can occur because the Open method has not been called or the Close method has been called. ...Show All

  • Smart Device Development Access to the internet to deploy data

    Hi, I'm actualy developing an application to windows mobile 5.0. This application is designed in windows forms (C#), i'm using pull's (send data to pda) and push's (send data throught pda to a central database) via windows mobile 5.0 emulator. So my problem is that i don't know how this will work in a real PDA when i'm for example in a store and i want to send some data from my PDA to a central database or the vice versa. Any ideias, examples.. Thanks in advance..... ...Show All

  • SQL Server dts configuration files missing

    I seem to have a strange happening I had a dts project built in VS 2005 with 4 packages and each package had it own Congif file; I had a deployment manifest that I used to deploy the packages and config files. Then I changed the protection level property for one the packages to "EncryptWithUserKey" and since then I have not seen the .dtsConfig files for any of my packges. Even if I add a new config file and re-compile the .ds.config files are simply not there - Weired! I tired to close the Soltution and start over new but still I cannot get the .dtsConfig files to appear in the deployment folder. Any ideas why this is happening!! -jawahar ...Show All

  • SharePoint Products and Technologies Launch Custom Application from SharePoint

    All users of our SharePoint Portal have the same custom application installed on their local machine. How can I add a link in SharePoint to allow users launch the Application I assume this is an application that is executable on the local machine This is complex due to the fact that the location of the exe would have to be int he same location on every machine, etc... creating a link to the local path of the executable should work to launch the app. If this is an app you developed, Have you looked at Click Once Deployment You can place a link with an http address that will install the application if they have not already installed it and would run the application if they have. If this is a custom application, I would use t ...Show All

  • Visual C# How to put the address of a function as a parameter of another function???

    Hi. I am using a DLL in order to take value from a controller card. One of the function (very impotant) in the DLL needs the address of a function ( that I can customize in my application) in its parameter: [ DllImport ( "C:\\PCI-Dask.dll" )] private static extern AI_EventCallBack( int CardNumber, int mode, int EvewntType, int callbackAddr) When the controlle card is ready to give value, this funtion should call a function in my application, by giving its address (callbackAddr). Is it possible in C# to give the address of a function And how do I have to do it Thank you for your answer, Eric Hi, try to look into MSDN at delegates. Delegates are a way to provide reference to a method to be us ...Show All

  • Visual Studio Express Editions How to add Help Balloons to the application

    Hi, I have set the Help Button Property on a form to true. This adds a question button to the form. If I then run the project and click the qustion mark button the move the mouse the question mark follows the mouse pointer to allow me to click on a control to then display help on the control. My question is how do I code this so when I click on a control it displays help either in the form of a balloon or dialog. Can not seem to find any help on this subject. Ron not quite nobugz CTP is a customer technology preview - a sneak preview at a new product upcoming to see if customers like it, any feedback and so on and what can be improved in the existing CTP. This is aimed mainly at business ...Show All

  • Smart Device Development CreateToolhelp32Snapshot Windows Mobile 5

    have struggled with getting the Sample app 'pviewce' to work under Windows Mobile 5, on an Imate Jamin (QTEK S200). For some reason CreateToolhelp32Snapshot(); Returns an INVALID_HANDLE_VALUE Now it gets even more weird, GetLastError() r== 8 Which means : "Not enough storage is available to process this command. " I still have 19MB of free RAM, and other applications that use CreateToolhelp32Snapshot (exe files) seem to work. Security is switched off. I am using "Windows Mobile 2005 SDK" for the PocketPC Any clues Thanks ... I have exactly the same problem on Windows Mobile 5.0 (Pocket PC) calling CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0) from a DLL It returns an ...Show All

  • Visual Basic ListView and an ArrayList

    I have a ListView control and an ArrayList ----------------------------------------------------------------------------------  Public filename As New ArrayList() Public pathx As New ArrayList() Public phpath As New ArrayList() Dim fx As String = Path.GetFileName(OpenFileDialog1.FileName) Dim pcx As String = ComboBox1.Text filename.Add(fx) pathx.Add(pcx) phpath.Add(OpenFileDialog1.FileName) Dim item As New ListViewItem(fx) item.SubItems.Add(pcx) ListView1.Items.Add(item) ----------------------------------------------------------------------------------  For deleting an Item I have the following code: For Each x As ListViewItem In Li ...Show All

  • Visual Studio Team System Can a Work Item Type be disabled?

    I have a situation where work items were migrated from ClearQuest as a "Defect" work item type. I need to prevent new "defects" from being created since we are using the default work items (task, bug, etc) going forward, but I still need to see the old defects for historical purposes. Is there a way to remove the ability to create work items of a specifict type So when I right-click on "work items", and select "Add Work Item", it doesn't show up on the list No. In the current version we cannot rename/disable/delete work item types. However, you can try updating the workitem type with no fields in form section and hence user cannot save any new work items. The r ...Show All

  • SQL Server Unpivot Transformation and Expressions

    I am using the unpivot transformation, but I can't figure out how to use an expression in the Pivot Key Value. The denormalized table I want to unpivot has columns like Sunday_Qty, Monday_Qty, Tuesday_Qty, etc. Just before the unpivot component, I inserted a derived column component that adds fields like DateSun, DateMon, DateTue, etc. that resolves to values like 01/07/2007, 01/08/2007, etc. So for the various rows in the Unpivot Transformation Editor, I entered DateSun, DateMon, DateTue, etc. for the Pivot Key Value, and "EntryDate" for the pivot key value column name. The data pipeline gets unpivoted correctly, but the rows have the literal values "DateSun", "DateMon", etc. in the EntryDate column. ...Show All

  • Visual Studio Team System Team Build Unit Tests of ASP.NET Web Service

    I have developed a web service for use on an intranet. I created unit tests by right-clicking on the methods in the class in the app_code folder. The unit tests run correctly on my local machine using the asp.net development server. When I create a Team Build that runs the tests I get the following error: System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it. The test methods do not include any attributes other than <TestMethod()>. I have looked at using the AspNetDevelopmentServer attribute but I don't know where to set the path parameter for use with the Team Build. ...Show All

  • SQL Server Time zone issue

    I need to take dates from a database and convert them based to the end user's time zone. So, the timestamp in the database will be stored in UTC. Today, a timestamp of 2006/8/25 16:32:00 central time is entered, which would be 2006-01-01 9:32:00 AM pacific time, 2006-01-01 12:32:00 PM eastern time. Currently, if an end user in California pulls up this report at 10 AM on 8/25/2006, the report will show that the date entered occured at 8/25/2005 @ 11:32:00 AM. However, it should show the California user that the date entered occurred 8/25/2005 @ 9:32:00 AM. If an end user in Massachusetts pulled up the report, it would show that the date entered occurred on 8/25/2006 @ 12:32:00 PM. How can this time zone issue be handled in report ...Show All

  • Smart Device Development Programmatically acquiring screenshots from a Pocket PC device

    Hi Guys, Anyone knows how to programmatically acquire a screenshot for a specific window from a Pocket PC device and save it locally on the device as a bitmap for example Are there any APIs to perform this task Thanks a lot. Hi, You can get the bitmap for the given window using Device context object associated with it. The code shall be some thing like this: //Assuming pWnd is the pointer to the window being captured. CWindowDC winDC(pWnd); pWnd->GetWindowRect(rect); int nBPP; nBPP= winDC.GetDeviceCaps(BITSPIXEL)*winDC.GetDeviceCaps(PLANES); //need on device; otherwise you may have trouble rendering it. if (nBPP < 24) {nBPP = 24;} //image is CImage& bStat = image.Create(rect.Width(), rect.Heig ...Show All

©2008 Software Development Network