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

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

MrKWatkins

Member List

c_shah
dagfari
Pavel M.
Virgoss
Albertods
baobab
iandobrien
Mindy Riddick
Pranav Garg
Developer Dan
Kitty
Vinay Agarwal
Tan .NetCF
Byenary
Drore
battlex
Keith Hill
Brecht Yperman
Nonu_k
C.Melançon
Only Title

MrKWatkins's Q&A profile

  • Visual Studio 2008 (Pre-release) How do I set ReceiveTimeout for a callback channel?

    The title pretty much says it all. I've noticed that even though I can set the timeout on my duplex named pipe service (which prevents my session from ending), the callback channel doesn't use the same value and times out after the default of 2 minutes. Is this something I have to set on the client, and if so, how Thanks, Aaron Hey Haktan, I need to get in touch with you on this matter. Please call me... ...Show All

  • .NET Development how to open excel file (on server), write some value to it and save it in ASP.Net

    hi guys, Hello, I’m having a excel problem need your guys advice.   The feature is: (open-write value-save) 1)         ASP.Net to open the excel file on server directory 2)        ASP.Net will automatically insert values (username and current date time) into cell E1 3)        ASP.Net will automatically save the file  example: i have a yield.xls on server directory, i would like to open it and automatically insert some value like username in certain field (say E1) then save it. thank you.   hello, i already able to write and ...Show All

  • Windows Live Developer Forums closest match error

    hello, please give me some suggestions on the following if i do not enter the name of the location correct , i receive following error/warning message "the closest match for ... is .. iof the closest match is incorrect enter...". how may i catch that message can i get the text of the mesage if not , how can i check that i have received such a message Thank you ...Show All

  • SQL Server What/where are the SQL Server 2005 BulkLoader components?

    Hi, I am assisting with a package install and we are getting an error saying something like "Unable to find the bulkloader in the database home folder". SQL instance is 2005 Std edition. When installed we initially did not select some Client Components i.e. Software Development Kit and SQLXML Client Features. These have both been installed now. Business Intelligence Development Studio is not installed. It's also been suggested we need something called DotNetEtc. I have come up with a complete blank on this. I would really appreciate any help with this. Regards, Simon ...Show All

  • Visual Studio Express Editions Form.controls modifying

    Hy, I have a question that may be stupid, but I cannot find any online help.... I have a form, and I added a ListView Component! // Add the ListView to the control collection. this ->Controls->add(listView1); // listview is allready vreated, and set up somwher else i want to add some rows, how to I locate the control there should be something like: ListView *list= this->controls->find("Listview1"); I do not know how to get the control can anyone help! Christian Using Visual C++ .net , managed application You could simply store the ListView reference in a class member. Or you can give it a name (like "listView1") and find ...Show All

  • Visual Basic label.text.length object is read only but i need to shorten it at runtime, please help?

    hi im new to this forum, having used to spend many hours programming basic in my bedroom on a spectrum and now 15 years later im doing visual basic in my living room on a pc so not much has changed lol, anyway, ive coded and made forms for a calculator and it runs fine, i have used a label control on the form as the calculator screen, so that the label.text value changes accordingly and the user can enter no more than ten digits at a time, however, i cant make the label control to limit the answer of the sum to ten digits. i tried this (ScreenLabel is just my name for the label): If ScreenLabel.Text.Length >= 10 Then ScreenLabel.Text.Length = 10 but it tells me that the 'length' property is read-only. does anyone know a way around ...Show All

  • Visual C# API

    Hi, I want to know whether an API written in 'C' will work in C# Hi, Yes, it's called P/Invoke. Here are some tutorials and references: http://msdn.microsoft.com/library/default.asp url=/library/en-us/csref/html/vcwlkplatforminvoketutorial.asp http://www.codeproject.com/csharp/essentialpinvoke.asp Thanks ...Show All

  • Smart Device Development CF 2.0 installation on a Mobile 5 device - Persist clean cold boot

    Hi, I was wondering if a Windows Mobile 5.0 device would persist the installation of the Compact Framework version 2.0 after performing a clean cold boot I have read another post on this forum that, by default, version 1.0 of the compact framework is installed on a Windows Mobile 5.0 device, however, if I do perform a clean cold boot, then the installation of the CF 2.0 that I have done is persisted. I might be answering my own question but it would be nice to have some clarification. Thanks for your time. Paul Diston by default in ROM, you will have .NET CF 1.0 SP3. This will always be there even after you do a hard reset. .NET CF 2.0 is an additional package you need to install manua ...Show All

  • .NET Development Multi-assembly configuration

    I have a C# application which uses multiple assemblies, and I want them all to use "global settings" Using Application Properties I am able to define and use persistant data, however these properties are not available to satelite assemblies as the settings class is Internal Sealed. The System.Configuration.ApplicationSettingsBase namespace does provide PropertyChanged event. How should I propergate global setting changes to all assemblies Should I use the PropertyChanged event or is there a more straightforward option that I am missing   Thanks Nick.. I recommend that you move the Properties class from your application and place it in a class library accessible to anybody wh ...Show All

  • Visual Studio Team System Fxcop

    hi... I want to create a custom rule using fxcop just like if i take a .cs file in that the coding part ,and the commenting part will be superated using this rule can any one help me for this... i want example code.... Thanks in Advance > shd display the uncommented line discription in the message tane. I'm not sure what you mean. Uncommented line description of what Can you provide sample code of what you want to check ...Show All

  • SQL Server Reusability & SSIS - issues they do not write in books about

    I have a simple requirement: Each package needs to have Error Handling - which needs to Execute a SQL statement. It's the same Stored Proc - where each package passes in its ID. Ok - I get that part about creating a custom task and so on for reusabilty. But - lets say that after deploying this task in 20 packages - I need to change the name of the Stored Proc. What is going to happen in that case Correct me if I'm wrong - but after deploying the new version of the custom task - do I need to go to each package and update the reference to new version TheViewMaster wrote: Not quite - configuration cannot handle when the processing logic changes. Lets say for instance in addition to ID input of the Stored Proc - the Custom task / ...Show All

  • SQL Server db_datareaders can decrypt data?

    Hi... I want to encrypt data using a symmetric key + certificate, but it appears anyone with simply "db_datareader" can view the decrypted data Is this correct Recreation steps: 1. As a System Admin, log into a SQL 2005 Database Engine. 2. Create some login that you also have access to. Ensure it does not already exist, or inherit any permissions from some existing NT-group. (From here on out, I will refer to it as the "underpriveleged user".) 3. Create a new database of any name. 4. Run the following query against the database: CREATE TABLE [dbo].[MyTable]( [MyColumn] [varbinary](50) NULL ) ON [PRIMARY] GO CREATE USER [DOMAIN\UserName] FOR LOGIN [DOMAIN\UserName] WITH DEFAULT_SCHEMA=[dbo] sp_addrolemember 'db ...Show All

  • Visual C# How set printer to duplex when printing using ...InterOp.Word

    Hi, I have code that uses: Microsoft.Office.Interop.Word; and allows me to programmatically decide which printer tray to print page one and/or the rest of the document. However I am unable to set the whether the pages should be printed duplex (both the trays I am using allow this fnction). The pages always come out NON duplex This is my code: using WORD = Microsoft.Office.Interop.Word; ... public static void PrintDocTest() { object oMissing = ( object )System.Reflection. Missing .Value; object template = ( object ) @"[Path to template][Template].dot" ; object readOnly = ( object ) false ; object isVisible = ( object ) false ; object SaveChanges = ( object ) false ; o ...Show All

  • .NET Development Transactionscope

    i m using (Transactionscope) In one Computer it is working fine that is, when error occur it get rollback. Operating sys: XP Professinal, Backend: SQL 2000; Service packed 2. In another Computer the same piece of code not getting rollback when error occur. both the system have same configuration. What are the setting required.Regarding Operating system and sql 2000. Below i m sending the code. [Transaction(TransactionOption.Supported, Timeout = 1200)] public class MMCalender_Save : ServicedComponent { [Microsoft.SqlServer.Server.SqlMethod] public Boolean Save(DataSet dSet, ref EMSPLUSDBConnection EMSPLUSDataConnection, String sMode,Single UserCode) { SqlCommand sCom; SqlConnection sCon ...Show All

  • Visual Basic Reports auto print

    I have a local report using the reportviewer control. (rdcl 2005 fmt) It displays perfectly and when i click the print button it prints flawlessly. How do i print the document to the default printer automatically This seems like a basic function that i can't seem to find the answer to. Thanx Jerry Cicierega I found the answer. Its not as bad as it looks. Thois is a form called "slip.vb" I am printing to a slip printer. The form has a rpt viewer on it. The form nevers shows. It is just used as a containor for the report. I created the report as an RDL report. I coppied it into the program folder and re-named it to a RDCL extension. I then established the datasource. and it wor ...Show All

©2008 Software Development Network