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

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

Khass

Member List

Dragan Jankovic
magmo
BelalSalah
kawing0510
Mark Freeman
laboremus
JustinCReid
Mark Macumber
Michael Hansen
Bhatia Gaurav
Rgranada
wutwjd
primate23
IamHuM
Wahl04
gafferuk
JavaBoy
Melvin McClurkin
Lejing
CLR_cn
Only Title

Khass's Q&A profile

  • Windows Forms IExtenderProvider doesn't work for ToolStripMenuItem

    Hello All! I want to add some properties for ToolStripMenuItem (VS2005 - WinForms): [ProvideProperty ("TestID",typeof(Control)),ToolboxItemFilter("System.Windows.Forms")] [ProvideProperty("TestDesc", typeof(Control))] public class Test : System.ComponentModel.Component, IExtenderProvider { ...... public virtual bool CanExtend(object target) { return (target is Control); } ..... } it works almost for all controls but not for ToolStripMenuItem. I cannot make it work, although CanExted return true for it.I have tried to use Component, Control and ToolStripMenuItem in property "ProvideProperty" attribute and in CanExtend, but without the result. Can someone help me I cannot find solution ...Show All

  • SQL Server Sensitive data

    Hi all, How can we protect sensitive data (custom properties) in a custom connection manager or a custom data flow component The SSIS Books Online indicates in the " Security Considerations for Integration Services" page that "If you write custom tasks, connection managers, or data flow components, you can specify which properties should be treated as sensitive by Integration Services". But how to do it programmatically Are there any attributes that can be applied on custom properties Thanks. Pascal To get more control about saving properties, you need to implement IDTSComponentPersist. You then override the two methods, LoadFromXml and SaveToXml. You are now in charge of ...Show All

  • Visual Basic Combobox

    Hello. A question please. At the design time, how can I assign a value to each elements of my combobox Thanks... Dim a(2, 1) As String a(0, 0) = "Red" : a(0, 1) = "R" a(1, 0) = "Green" : a(1, 1) = "G" a(2, 0) = "Blue" : a(2, 1) = "B" ...Show All

  • Software Development for Windows Vista ConditionedActivityGroup Designer

    Is it possible to make use of the ConditionedActivityGroup designer I am creating a custom composite activity that is going to act somewhat like the CAG. I assume the designer is an internal sealed class. Is this the case You are right. The class is named ConditionedActivityGroupDesigner and is is internal to System.Workflow.Activities.dll. However, taking a look at it using Reflector , it is a class with very little code and inherits from the public ActivityPreviewDesigner type. Maurice ...Show All

  • SQL Server Cannot create a task with the name .....

    I don't know if anyone is interested, but I was just struggling over an issue with a custom SSIS Control Flow Task and found that all referenced objects also have to be in the GAC to be able to create the custom object in the ssis designer. I guess that makes sense, but I searched all over for any reference to this error, and couldn't find anything. Hopes this sense for someone else! Thanks for the reply, and the inclusion of the article that I've had bookmarked and permanently burned into my desktop for the last week :-). Good point as well, and only to further clarify, I'm not talking about the assembly that IS the custom object, but one that is Consumed by the Custom Object. Yeah you don't get very far ...Show All

  • SQL Server date parameter issue

    hi all We are a multi site / multi language company so do not want to hardcode the date format - these reports will be on intranet Using MS Sql - Reporting Services 2005 Using no formatting on fields = yyyy-mm-dd - is how it is displayed. I added a @startdate and an @enddate parameter I read up and saw this information: Report properties set 'Language' setting to '=User!Language' to detect user culture automatically My regional settings are set to English (New Zealand) but whatever I do I receive no data - (data is definately there eg when run without parameters) so it is obviously the dates incorrect. Can someone give me some advice on what else to check. hi there this is ...Show All

  • SQL Server Error Starting Script Editor in SSIS

    I am having a problem in the Business Intelligence Development Studio. When I add and try to edit a Script Task or a Script Component, I click on the Design Script button and get one of two errors. For the Script task I get an error that states: Cannot show the editor for this task. (Microsoft Visual Studio) For the Script component I get: Cannot show Visual Studio for Applications editor. (Microsoft Visual Studio) For some reason or another it just will not start Visual Studio for Applications. I have uninstalled an re-installed several times. I have also researched and discovered that there is a bug when C# tasks are include in the project. However, this is not the case. Please help! reedcbr wrote: I am having ...Show All

  • Software Development for Windows Vista "Error binding to target method." in Activity.Clone ??

    We have a workflow with a while loop which is failing in the attempt to clone the contained SequenceActivity. It appears to be failing to FixUp the references to CodeActivity event handlers and CodeCondition event handlers. I can also reproduce the failure by Activity.Save() to memory stream followed by Activity.Load(). The only difference I see between the development environment where it works, and the server where it fails, is that .NET 1.1 and .NET 1.1 Hotfix were never installed on the server. John West Starz/Encore I am getting the same error. Do you start your workflow using reflection e.g Dictionary < string , object > args = new Dictionary < string , object > ...Show All

  • Visual Studio Problem with Help VisualStudio2003

    Hello, i have a problem with the help system. i start a new vb.net project and i want to go to help. for example i select a button and then i press F1. no help is show. i see help on the register: i can type in a phrase to search but the message is "fur die aktuelle Auswahl ist keine Verknupfung vorhanden" (= for the actual choice there is no linking). it already worked. then the problem occured again, i installed the msdn help again but now there is no help. can you help me i tried all settings in the extra / option window. but no one worked! Thank you Michael Ok, wiping out VS2003 completely under administrator, a couple of reboots. nuking a couple of KB entries (the ...Show All

  • Visual FoxPro convert text files to certain format

    Hi there, I would like to convert the text file to a text file but with "" and ; to separate the data. How could I do that Pls advice whether foxpro itself can do that or need to convert it to dbf in order to get the format. Need urgent help. Thanks. If it is in a DBF you can copy to text like this: COPY TO myfile.txt DELIMITED WITH ["] WITH CHARACTER [;] If it is in text format already, you can use STRTRAN () but it would depend on its current format. You can also use low level functions ( FOPEN (), etc.) For example, you could convert a standard comma-delimited file (CSV) to semicolon separatos like this: e.g.: "1234","abc","xyz" strtofile(strtran(filetostr("c:\ ...Show All

  • Visual Studio Team System Cannot add work items in TFS for Developers

    Hi I have just installed TFS for Developers, and cannot add any Work Items. I am the administrator of the project and when I right click to add work items I get a menu with 1 item which is disabled. The text of the menu item is "Error loading menu: Index was outside the bounds of the array". I have installed VS Tools for Office Runtime and have even tried repairing my VS Installation. I am running XP SP2 and have the latest windows updates installed. We have other teams who have installed the software and it works. Thanks Andre This is most likely because of registry key issues with our UI components. We thought we fixed it but looks like it still happens in some circumstances. To fix it, delete ...Show All

  • Visual C# help with user control disapperaing from designer

    I'm new to C# and having problem with a user control. From what I've read, I believe this is an inherited control from the TextBox class. The way I add the BarcodeTextBox to my project now is by first adding a regular TextBox in the designer. I then go into the code view and change private System.Windows.Forms.TextBox esSearchLabNum; to p rivate Barcode.BarcodeControls.BarcodeTextBox esSearchLabNum; This is alright and will work. However, the problem is that when if I make changes and build or rebuild the project, the control sometimes disappears. The only thing I've been able to 'resolve' the issue is by restoring my file from my subversion repository, making my changes in the code again, and hoping that the BarcodeTextBox ...Show All

  • Visual Basic Two-pronged Question

    Hi, I'm fairly new to VB and learned on VB 2003. I just upgraded to VBE 2005. I'm trying to make a multiple document reader and modifier. My questions are: 1) To be able to view the most documents, is it better to use a Rich Text Box or something else. 2) Is there any information floating around out there on making document readers I'm trying to be able to read MS Word documents, Works documents, Text files, Rich Text files, and an AutoCAD lisp file(its basically a text file). If anyone can point me in the right direction it would be appreciated. Thanks in advance for the replies. I would like to be able to open say a MS Word document and read it without all of the squiggly lines under the words from the spell ...Show All

  • SQL Server Reporting Services custom authentication and web reportviewer - familiar question

    This is a subject that has been brought up before but I have not seen a definitive answer/solution. We have implemented a custom authentication extension (forms authentication) for reporting services and it has been working just fine under "normal" conditions; "normal" being users logging in, viewing reports, and then moving on. Recently some reports were created by our report group and they contain Dundas gauge controls for "dashboard" style reports. These reports are meant to be up all day and they post back every few seconds because the data they present is mission critical. This of course exposed the inability of the reportviewer control to stay in the context of Report Manager when it comes to the cookie ...Show All

  • Visual C# Literal string Length optimization

    Hello I've written the following (.NET 2.0) because I wanted to make sure I did not write the wrong constant (I wanted the compiler to compute it for me): RemoveSuffixOfLength("ied".Length - "ie".Length); I've looked over the disassembly and it seems that the compiler does not optimize this. I thought the compiler would do this for me (strings are immutable and it would be safe to do). Is there a reason for this, or is it just a not-so-common-case not implemented optimization I did a small test: static void Main( string [] args) { String concat = "testString1" + "testString2" ; int length = "testString3" .Length; ...Show All

©2008 Software Development Network