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

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

Beetle54

Member List

white2grey
sagittarian
Hassan Ayoub
Prudhvidhar
Leon Mayne
Ecrofirt
absolutx13
Peter Barnet
AaronJ
PublicError
haryindsfjdbf
Alexei_shk
jackline
tcarff
dzimmy
Vijay_s
Dman82
Jonathon Stevens
NewbieDude
MattyBoy4444
Only Title

Beetle54's Q&A profile

  • Smart Device Development Exception raised when trying to retrieve OwnerName

    I am trying to get the owner name in VB but I am getting and exception when running the following: Imports Microsoft.WindowsMobile.Status Dim TheOwnerName As String TheOwnerName = SystemState.OwnerName When I run this in the windows mobile 5 emulators, I get an exception in Visual Studio at the call to SystemState.Owner that says: A first chance exception of type 'Microsoft.WindowsMobile.Utilities.Registry.RegistryException' occurred in Microsoft.WindowsMobile.Utilities.dll (It shows twice) The code runs fine when you run it after you set Owner information in the emulator. Even if you just open the screen and tap OK, without creating a Owner Name, the exception still goes away. The debugger doesn't offer much help. It just says RegistryEx ...Show All

  • Smart Device Development GPRS Disconnection

    I have a small app that switches between 2 gprs connections. The call to ConnMgrReleaseConnection does not stop the current connection as stated in the docs, does anyone know a fix for this. thanks Thanks for the help Anthony, I have tried to use the Ras stuff but get a consistant error message 632 which says the structure is an invalid size, and i cannot find a fix for it. The Structure is and code are as follows [ StructLayout ( LayoutKind .Sequential, CharSet = CharSet .Auto)] public struct RASCONN { public Int32 dwSize; public IntPtr hRasConn; [ MarshalAs ( UnmanagedType .ByValTStr, SizeConst = 255)] public string szEntryName; } // create ...Show All

  • Audio and Video Development Media Foundation Protected Pipeline EXE stopped working

    I just installed Vista Home Premium, with IE7 and WMP11. I tried to play an MP3 file and got this error - "Media Foundation Protected Pipeline EXE has stopped working." WMP11 closes. Any ideas what's wrong Any help is appreciated. Thanks. Some questions for you: 1) Are you running the 32-bit or 64-bit version of Windows Vista operating system 2) Do you have any plugins installed for Windows Media Player If so, can you disable them and see if you continue to see the same error You can access/control the plugins by right clicking on the "Now Playing" button, then selecting "Plug-ins" -> "Options". 3) Is your virus scanner software up to date, and hav ...Show All

  • SQL Server IE7 and SSRS Document Map

    The contents of document maps do not appear since I upgraded to IE7. They still appear for users on IE6. Reporting Services version is SQL2000. Have looked all over - this problem has been reported in a number of places but there seems to be no response / fix / work-around from MS. Can anyone help or at least comment I have raised in a number of places...but no response. The document map works when running against SQL 2005 - but that doesn't help my customers. I have also tried to use the "user string agent utility" and set IE to think it is version 6 - but that didn't make any difference. When is SQL 2000 - officially unsupported , as I suspect that will be answer.. they will ...Show All

  • Visual Studio Team System How do I 'hide' a deleted item so it doesnt get counted in TFS metrics such as code churn

    I have a Team Project that contains several solutions. One of the solutions did not migrate properly and had to be deleted. The delete was performed using the client source control tools in visual studio. The solution has been removed but it appears that the code churn calculations are still taking into account the deleted project. For example, I currently show that I have -980,000 lines of code since I deleted the solution from source control. My question is, how can I permanently remove a solution from inside of a Team Project container without deleting the whole container I know the entire container can be removed via the tfsdeleteproject tool but I dont think that applies here. Thanks, Kevin ...Show All

  • SQL Server Error when I try to add Output Column in in Data Conversion

    Here is what I get. Is this an install problem or is this how this software works =================================== Error at Data Flow Task [Data Conversion [720]]: An output cannot be added to the outputs collection. (Microsoft Visual Studio) =================================== Exception from HRESULT: 0xC020800F (Microsoft.SqlServer.DTSPipelineWrap) ------------------------------ Program Location: at Microsoft.SqlServer.Dts.Pipeline.Wrapper.CManagedComponentWrapperClass.InsertOutput(DTSInsertPlacement eInsertPlacement, Int32 lOutputID) at Microsoft.DataTransformationServices.Design.Controls.ComponentMetaDataTreeView.AddOutput() PeterFreeb wrote: I have a unicode field in SQL and am trying to go non unicode or VARCHAR2 ...Show All

  • Visual C++ System::String^

    I am developing an application in visual c++ using VS 2005. I am reading data in via the serialPort dataRecieved class. This returns a system string, and I am assuming that the string is an array of unsigned characters. The trouble is I am unsure how to access individual data bits within the string. I can perform an if statement to check the contents against a set value. if(myString->Text == "hello world") But......I want to perform something like a switch statement so I can test the 3rd character against a set value, say... "x" or something similar. Can I do this When I have attempted it, I receive errors stating that a switch cannot be performed on a system string - IT IS ILLEGAL - apparent ...Show All

  • SQL Server Scheduling the SSIS Package

    Hi, I want to schedule an SSIS package to run always. So I tried scheduling the SSIS Package as a Job in the SQL Server Agent and I have set the Schedule Type as " Start automatically when SQL Server Agent Starts ". I have used an WMI Event Watcher task to raise an event when the file dropped in a folder. And I have provided the configuration file also properly in the job. But still my package is not running properly. The application is running, but it is not raising any events even when the files are dropped in that folder. Pls anyone of you provide some solution for this. Thanks & Regards, Prakash Srinivasan You need to ensure that the proxy under which you run ...Show All

  • Visual Studio 2008 (Pre-release) arbitrary column ordering when invoking Sproc

    hi, i'm using SqlMetal and binding a gridview to the return value of one of the sproc generated methods. it works fine, showing a bunch of records. However the column ordering in the gridview appears to be arbitrary, and is very different to how i have them defined in the sproc. i know i could run a linq query on top of the results selecting them into a new dynamically created class, but that isn't really an option because i'm reflecting the name of the sproc method and wouldn't be able to figure out the correct ordering. am i doing something wrong or is this behaviour normal for completeness sake, i'll include all the relevant bits of code: here is the code to bind the gridview (using autogenerate columns): this.GridView1.DataSource = ...Show All

  • Visual Studio Express Editions From *.vb to *.exe, how?

    I have tried to search google and the forums here on how to make your program an exe but to no avail. I have the 2005 Express version and would like to make my test program into a .exe that I can install. Any assistance on this or how to do it I would apreciate :) Thank you kindly for the help. I was under the impression that a 3rd party program was needed. Very appreciated :) ...Show All

  • .NET Development How to user Response.IsClientConnected?

    Hi Al,     I would like to know that how to use  Response.IsClientConnected.     Generally we can use it to find out the particular client browser closed or not.     But how can we use that because this is server side.  Example please. regards Gokul   You can get some useful performance counters from ASP.NET and IIS. For example the number of active sessions. Of course, a session dies when the client signs out if you implement smth like this, or when it times out, not when the user closes the browser. This is important because the server resources are used during that time. ...Show All

  • SQL Server sharedenyread didn't work in ADO

    hi .. i made an application using vb6 that access the table in a sqlserver database and in the load event i write cn.mode=adsharedenyread and i make two copies of the application and run them both of them read the data and no deny happen !!! although both of the applications have adsharedenyread how can i make privilage for some users to read or write by the way is that can be done in ado.net 2.0 thanks in advance. Hi, You should make sure that you are setting the mode when the connection has not been established yet, that is the only situation where the mode would apply. Also try reading the cn.Mode property to see if the value you specified was successfully set or not. Thanks Waseem ...Show All

  • Smart Device Development PocketPC2003 connectivity via ActiveSync

    I have a HTTP client app running on WM5 that posts HTTP requests to a HTTP server on a desktop PC. When I connect the WM5 device via USB & ActiveSync 4.2 it all works fine. The WM5 device talks nicely to the host PC. However, when I replace the WM5 device with a PPC2003 device connected to the desktop PC via IRDA & ActiveSync 4.2 nothing works. As far as I could ascertain, the medium of connectivity (IrDA/GPRS/WLAN) should be immaterial. I suspect a setup issue on the PPC 2003 as I cannot access the internet via the host PC either. Is there any place I can be pointed to to resolve the PPC setup issues I have I cannot find any resources about PPC 2003 anywhere Thanks for any help or pointers ...Show All

  • Visual Studio Tools for Office Mail Merge Visual Studio 2005 Office 2003

    Can someone direct me to the correct forum/thread/site to help me with Mail Merge with VSTO I can do a mail merge just fine with Word 2003, but I don't know where to start in VSTO. I want to be able to program in VS2005 and manipulate the data after each merge Private Sub ThisDocument_MailMergeAfterMerge( ByVal sender As Object , ByVal e As Microsoft.Office.Tools.Word.MailMergeAfterMergeEventArgs) Handles Me .MailMergeAfterMerge End Sub I tried looking under the tools menu and mail merge wasn't there. Can someone please help Your help would be truly appreciated. thanks. I slapped your code in for Startup and I am getting errors. I tried to clean up the errors but it still didn't work. &nb ...Show All

  • Visual Studio Tools for Office Customization doesn't run in VSTO Word Doc returned from server

    I'm trying to configure an ASP.Net 2 web site to return a Word document that contains a VSTO customization that displays an action pane when the document opens. I've manually added the Caspol security settings on the machine to point to the site. I've tried it for all zones and for both IIS access to the site as well as using the built in VS web site but I'm still getting blocked and the document opens with this error: --------------------------- The current .NET security policy does not permit the customization to run ... Could not load file or assembly 'VSTOWordTest, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. Failed to grant permission to execute. (Exception from HRESULT: 0x80131418) -- ...Show All

©2008 Software Development Network