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

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

KathrynE

Member List

edwin220
Amit V
novicestudent
JohannHough
Deepspace
Nata Korshunova
madhan
T. J. Bussler
TimStspry
Balasubramaniam K
sachin210682
Mayomano
MollyBos MSFT
yithoong
MovieFun
CodingIsFun
Xiongxiong2007
Nguyen Ha Tuan
Martin.de
JaysonC
Only Title

KathrynE's Q&A profile

  • Visual Studio 2008 (Pre-release) SOAP Headers

    Hi, In classic web services I could define services like this: [ WebMethod ] [ SoapHeader ( "SessionHeader" , Direction = SoapHeaderDirection .Out)] public bool Logon( string user, string password) To achieve the same thing (including the SOAP header) with WCF, it would appear that I have to do this: [OperationContract] LogonResponse Logon(LogonRequest request); As such I have to define LogonResponse and LogonRequest myself, which is easy but a little tedious. It also imposes on the way the service is used at the client. Similarly, I used to be able to do this: [ WebMethod ] [ SoapHeader ( "SessionHea ...Show All

  • .NET Development reading from serialport in C#

    Has anyone managed to read data from a serial port I've tried checking the BytesToRead and it's always 0. I've tried the DataReceived event - it never occurs. I know the port and the device are working as I have another application which works fine, now I'm trying to re-write it in .Net v2.0 but without any success. I finally know that Why somebody use the code on those provided on web can't return back any output. Usually we suspect first did how our read method correct 1. try to change use the SerialDataReceivedEventHandler to checkout whether your's apps do return anything or not, mean did it ever fire ...Show All

  • SQL Server Restoring an AS2005 DB using Sept CTP

    When I attempt to restore from a backup in AS2005 (September CTP) after providing correct back up file location information, I receive the following error: =================================== The following system error occurred:  The system cannot find the file specified. . File system error: The following error occurred while opening the file ''.  (Microsoft.AnalysisServices) ------------------------------ Program Location:    at Microsoft.AnalysisServices.AnalysisServicesClient.SendExecuteAndReadResponse(ImpactDetailCollection impacts, Boolean expectEmptyResults, Boolean throwIfError)    at Microsoft.A ...Show All

  • .NET Development ThreadPooling in c#

    I have to upload 70 files using ThreadPooling and code i have used is as below.I have set the maxthread size as 10.But it is uploading only 8 files. Please tell me how to make it work.Also if u can please give a sample code.Help will be greatly appreciated. WaitCallback callBack = new WaitCallback ( UploadFileEx0 ); for ( int i = 0 ; i < 70 ; i ++) { if ( true == isThreadAvailable ( true )) { ThreadPool . QueueUserWorkItem ( callBack , GetFileName ( this . listView1 . Items [ i ]. ToString ())); } else { MessageBox . Show ( "Worker thread not available &qu ...Show All

  • SQL Server pop up requirement

    how do we click on anything within the reports, pass the parameters to another reports and also make the drill thru report open in a new page See this page for information on Report Interactivity, including jumping to other Reports or Urls, http://msdn2.microsoft.com/en-us/library/ms345258(sql.90).aspx If you need to have the report open in a new window, then you will need to use the Jump to Url method using javascript, like the following, =void(window.open('" & Globals!ReportServerUrl & " /ReportName&rs:Command=Render&rs:Format=Html4.0&Parameter1=" & Fields!Field1.Value & "','_b ...Show All

  • Visual Studio Express Editions Where is the EOF ... disappeared

    Hi, I create an file if it doesn't exist and I use later file.AppendAllText. It works great. But, when I close my program en reopen it, I use for reading this: Dim intNummer As Integer = FreeFile() Try FileOpen(intNummer, strPad, OpenMode.Input) Do Until EOF(intNummer) 'Read any line Loop Catch ex As Exception MessageBox.Show("Error" ) Finally FileClose(intNummer) End Try Do loop doesn't stop... This code works: Dim intNummer As Integer = FreeFile() Try FileOpen(intNummer, strPad, OpenMode.Input) Do Until EOF(intNummer) If LineInput(intNummer) <> "" 'Look for the next line Else Exit Do End I ...Show All

  • SQL Server SQL Server Studio Management Question

    Hello,   I am creating a DB using SQL Server 2005 ( Studio Management )  and I ran a few sql queries. I ran a query and got the following error message: Here they are with Code #s:   Msg 5074, Level 16, State 1, Line 906 The object 'CK__SavedSear__Remov__5614BF03' is dependent on column 'RemoveFromSyncTime'. Msg 4922, Level 16, State 9, Line 906 ALTER TABLE DROP COLUMN RemoveFromSyncTime failed because one or more objects access this column. Executing Release 2.0 Script - Part 4 Msg 245, Level 16, State 1, Line 37 Conversion failed when converting the varchar value 'Script cann ...Show All

  • Visual Studio problems with OleUndoEngine

    I'm building a custom (form) designer using September CTP and I'm trying to implement undo/redo functionalities using the OleUndoEngine together with CodeDOMComponentSerializationService  as described in VS SDK. My designer uses the DesignSurface for designing controls and I added the CodeDOMComponentSerializationService to the designer host which I acquired from the design surface. Then I created an OleUndoEngine instance and passed the host as its service provider. The problem is that when I try to undo any action on my designer inside the VS, the StackOverflow exception is thrown without any further details. I would be grateful ...Show All

  • Visual Studio Added project reference not reflected

    Hi. I'm just new with the automation features of .Net. I'm making a class library project that would generate a Solution with 3 class library project and a UI project (windows or web). I used the DTE2 and Solution2 objects to accomplish this. I am now in the process of adding the project references to each respective projects (Config Layer referenced to DAL, Config and Dal referenced in BL, Config and BL referenced to UI). The problem now is when I open the solution and browse each project reference folder the respective references were not reflected. I don't know if I just missed something. Below is the code I used to do it. Hope you could ...Show All

  • Visual Studio Printing without the ReportViewer

    In a Win Forms app, is it possible to print a report without using the ReportViewer control I want to provide a print button on a Form (like Outlook does) and then use an embedded Report to print the data so I don't really need the ReportViewer. I would want to display the PrinterDialog though and use the settings from here to control the printed Report. Is this possible too Regards Graham 3x for your reply. I don't know what the actual hardcopy print is. The problem I met with is similar to the one raised in the following URL : http://www.dotnet247.com/247reference/msgs/34/172114.aspx. My English ...Show All

  • SQL Server SSIS Runtime - free redistributable?

    Few questions regarding the SSIS runtime... 1. Is the SSIS runtime a free redistributable like in DTS 2000 2. Can it be used to run a package where SQL Server 2005 is not installed ... e.g. on clients 3. Can the SSIS object model be used in a custom .NET application to execute packages stored on the server Is the runtime required in any way in that scenario...hope not. Also does the usage of the Object Model require any sort of SQL Server licenses.   mat_net wrote: 1. Is the SSIS runtime a free redistributable like in DTS 2000 No. You need to install SSIS on any machine where you will be running packages. This requires ...Show All

  • Visual Basic My namespace not working in VS 2005 SqlServer projects

    I have a SqlServer project (VisualBasic -> Database -> SqlServer Project in the New Project window) to which I've added VB classes. When I try to use the My namespace, however, nothing happens (no intellisense pop-up). Can the My namespace be used in Sql Server projects Do I need to add an import declaration Thanks, -Craig See http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=189752&SiteID=1 Best regards, Johan Stenberg ...Show All

  • Visual Studio Setup project for VS.2003 AN CR XI

    I installed CR XI Developer Edition and created a Windows Project. The next step is creating Setup Project. The primary output from project was added and crystal_11_net_embeddedreporting.msm appeared in detected Dependencies. After building Setup project I have a error in the Task List: "Property 'keycode' is non-nullable".  The project file vbproj  has only one link for 'keycode' in a section: "8:Keycode". The error wasn't disappear when I had delete this line. What's this Hello, Here is a link to a whitepaper on deployment with Crystal Reports XI and Visual Studio .NET: http://support.businessobjects.com/communi ...Show All

  • Visual Studio 2008 (Pre-release) [BUG] GridSpliter does not respecting MinWidth / MinHeight

    I have a window with a grid, 3 panels, and 2 grid spliters.  The right/bottom panels have MinWidth/MinHeight set to prevent the spliter from making them hidden, but it is not respecting those values and will make the panels smaller than their respective Min settings. The issue you are seeing is not with Grid not respecting your minimum width setting.  The issue is with the GridSplitter control.  In order to get the behavior you are asking for with a GridSplitter you would need to derive a custom control from GridSplitter that would listen to the available size and stop layout on reaching the specified Min-width.  Wh ...Show All

  • Smart Device Development Make PocketPC emulator connect to MyComupter through ActiveSync

    Hello, i've got the following problem: I've devloped SOAP based Web service by means of ATL Server library. My developed application is the server itself and listens the incoming connections at port 1111, for instance. No IIS is required. I wish i could make connections from my MS Visual Studio 2005 Pocket PC emulator to my server. I found out that in order to let the emulator have internet access i need to have ActiveSync installed. As soon as i installed ActiveSync and Cradled the emulator i became able to use Pocket PC emulator Internet Explorer to browse the net. But, i cannot connect to my service. I can neigther request for disco servi ...Show All

©2008 Software Development Network