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

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

Silaros

Member List

-M-
Keeep Out
eLado
Andrew Buyan
Stricken618
Casper Thomsen
R.Tutus
Matt24
KitWest
J.A.J.
Chris Bennet
Arthlan
Tomys
Kris M.
jchau
MarcoViY
toptamic
cplusplus1
mattdawg
Carl Bruneau
Only Title

Silaros's Q&A profile

  • Visual Studio 2008 (Pre-release) Faults, Exceptions, DataContracts - Oh My!

    Hi all, I'm just starting on WCF and have run into a number of interesting problems to do with the whole exception/fault concept. Basically, I've got a service which has the following operation defined: [System.ServiceModel.OperationContract] [System.ServiceModel.FaultContract(typeof(MyCustomException))] void throwsException(); MyCustomException is a custom exception class which is marked with the DataContract attribute (and has some custom fields with DataMember attributes). I then throw the exception as follows: throw new FaultException<MyCustomException>(new MyCustomException(...)); On the client side, I get a CommunicationException with the text "An error occured while receiving the HTTP respon ...Show All

  • Software Development for Windows Vista Taskbar Thumbnail API

    Our app currently does not display properly in the taskbar live thumbnail in build 5384.  It seems to not display any popup windows in the thumbnail.  Is there an API that allows us to construct our own thumbnail for this (or can we turn it off) Thanks. Is there any way to control the taskbar thumbnail I need my WPF app's thumbnail to be pretty much anything *but* the window content just before minimize. The live window content would be great. A static image of my choosing would also be OK. No thumbnail at all would even be acceptable. Alternatively -- and even preferably -- is there some event I could listen for to change my window content before the taskbar thumbnail "snapsho ...Show All

  • Software Development for Windows Vista VMR9 saving output?

    Is there any way to have the output of the Video Mixing renderer be saved to a file Don > Is there any way to have the output of the Video Mixing renderer be > saved to a file Certainly not easily. The question has been asked numerous times in microsoft.public.win32.programmer.directx.video. Check Google Groups. -TMH ...Show All

  • .NET Development COM interop to unmanaged OO COBOL component returns 0x8002003

    I am receiving 0x8002003 COM exception when I try to access a public property in an unmanaged COM component written in OO COBOL (Fujitsu NetCOBOL - not their DotNET product. NetCOBOL is a full OO implementation and creates COM components that function correctly. I have dropped them on ASP pages as well as used them on the Windows desktop) The component has a property defined as 8192 bytes (for compatibility with COM BString). I need to set this property, invoke a method called "FIB" (Fill in the blanks), then access the property to see what happened. I'm using C# Express so I don't have the SDK tools like TLBIMP.exe. Fortunately, I don't seem to need them as the IDE has generated an interop Assembly for me and when I loo ...Show All

  • Visual Studio Express Editions Line Numbers

    Hi there, I'm trying to create a nice basic text editor for learning/educational purposes. Basically been working on the basics and want to add more and more advanced functions as I go and learn. So I've come to a point where I want to add line numbers down the left hand side of a text box which indicates what line the user is typing on. Just like in the VB interface and other software such as Dreamweaver and Notepad++. I have no clue how to do this. I'm fairly new to this whole thing. I'm using Visual Basic 2005 EE. The last time I used VB was years ago and was verion 6.0. Any help as how to do this would be much appreciated. I'm guessing that I wont be able to use the current text box control Thanks for your time :) ...Show All

  • SQL Server 2005 Express - SPs read-only

    I am attempting to use a select SP with params to return data to MS Access. I am using SQL Server Management Express to manage SQL Server 2005. I can create tables, views and SPs just fine. Tables and views return data that is r/w but ALL SELECT SPs return data that is Read Only. Is this normal I am under the impression that SPs can be used to return data to Access forms which is updateable, but I cannot even edit the data for an SP directly out in SMSE, never mind in Access. TIA for any assistance on this, John W. Colby If I understand your question properly, you are using a stored procedure to return a data set to a Microsoft Access form. If that is the case, then the result set is not updateable. In other words, you can't run a s ...Show All

  • Visual J# permission question

    I have a J# class BeanResult which inherits from Object (ie no declared parent class) and it does not have a ToString method so that inherits from Object. PermCalc gives the following listing which shows a permission request from ToString which means that every class will then require UnmanagedCode as every class eventually inherits from Object. What is going on here <Type Name="BeanResult"> <Method Sig="instance void .ctor(string )" /> <Method Sig="instance void setColor(class Color )" /> <Method Sig="instance object MemberwiseClone()" /> <Method Sig="instance string ToString()"> <Demand> <PermissionSet ve ...Show All

  • SQL Server How To Update and Concatentate A string In MSSQL

    Hi all,I have a problem here where I am trying to use SQL Parameters to update a column in the database, but the problem is that I need to concatenate the same column to some Text from an Application This is the Code I Have, But it throws an exception UPDATE rdm_comments SET commentinfo = commentinfo + 'additional info' where commentid=2356 I get an Error stating that i cannot use the addition operator for a string. Help I think this will not update as expected because the Convert() function may truncate the TEXT field data if the value is larger than 8000 len. ...Show All

  • SQL Server EncryptSensitiveWithPassword protection option cannot be used with DTexec execution of SSIS packages

    Our SSIS packages use the Web Service Task to call services to send email and write package failure data to a department wide database. These Web Service Calls are failing with HTTP 401 errors. It was caused by the passwords for the HTTP connections not being saved when the SSIS pkgs were saved to .dtsx files. I have tried saving the package with a password and the EncryptSensitiveWithPassword protection option. This password can be supplied when the package is called from another package or a package is executed in Visual Studio but cannot be supplied to DTexec to execute the package in a job. DTexec does have a /Password parameter but it is rejected if the package is loaded from a .dtsx file. This appears to be a bug in DTexec. It ...Show All

  • Visual Studio Team System Error in Schema Compare - CTP5

    In my database I have several CLR functions in one assembly. I use most of the functions in table to calulate something. A typical table would look like: ID bigint IDENTITY PRIMARY KEY Name varchar(50) Result dbo.CalcSomething(ID) where CalcSomething is a CLR function. When I change the assembly (e.g. add a function etc.), the columns in the table are not dropped, but the CLR functions are re-recreated. Since these functions are in use (no dropping) the script will fail ever time. Would be nice to fix this in RTM EDV Gradl - Has your issue been resolved with CTP6 If it has not been resolved, then please provide the additional information requested by BrianKu and we will see if we can diagnose the pr ...Show All

  • Connected Services Framework The participant 'HelloWorldParticipant' does not support action

    Hello As per the readme I am executing the helloworld example and am getting this error <FaultMessage>Failed to create session. The participant 'HelloWorldParticipant' does not support action 'http://tempuri.org/HelloWorld'.</FaultMessage> I searched the forum also and realised only I am getting this error :(. Can anyone please point out what I am missing here Regards Paul Hi Paul, There are three reasons your Hello World Sample doesn’t run. First: You have to go and check if you are in Session Admin Group of your active directory. if not there add yourself. This is to be done only, if your are using Server Edition not the Dev lite edition. Second: Change the followin ...Show All

  • Windows Forms Formatting text in rich text control

    Is it possible to format the text (such as bold, italics etc) at the time of entering the strings into a text control, not thru code but via the text field on the control's property page You can probably just get away with using rtf_cvText.SelectionFont.Bold = true ; do the trick for bold. As you will have all got the user to hightlight the text in the richtext box . The above code does a search through to highlight a word in a rich text box. Goodluck off for a beer now ;-) Have a good weekend. James ...Show All

  • Smart Device Development ActiveSync Development

    Hi - I have developed a little application for my brother who is a Sales Rep. The application is used to track sales from ordering through to delivery and is relatively simple. I have developed it for his WM5 PPC device and also for his desktop. The next step to make this truly useful is to develop an ActiveSync module so that he can synchorinse his PPC with his Desktop. I have never done this before and whilst I would be OK with the coding the record conlflict/handling logic, i am a bit stuck on the high level method for building and deploying ActiveSync modules. Would anyone have a book reference/web reference/MSDN reference akin to "ActiveSync Development (in VB/C#) for Dummies" Checkout this ...Show All

  • Windows Forms Changing Color of a listview

    How would you make like these different sections gray and other colors look on this picture, the parts circled are what im talking about. http://www.winmxunlimited.net/lview.png Also the color that that is shown when u click on an item. the highlight color. Right click on your desktop. Click on properties. Then on Appearance. Then click on advanced. In there you can change all the colours. (Assuming you are running Windows XP) ...Show All

  • Visual Studio 2008 (Pre-release) Problem with DatePicker (Kevin's Bag-O-Tricks - January 2007)

    Hi all, I'm having a problem with the DatePicker contained in Bag-O-Tricks. The situation is as follows: 1. I have a DatePicker in my XAML-file. 2. The Value of the DatePicker is bound to the StartDate (DateTime) of my class: Value="{Binding StartDate}" 3. Now, when I run my app, open the DatePicker and click on a date: nothing happens! I put an event handler on 'ValueChanged', and that event only gets called one, when the DatePicker is created and the value is set to the StartDate. It seems that the control doesn't like it when it's Value is set explicitly, because it won't budge from that value. Any ideas on how I can work around this I'm now working with the MonthCalendar, which does not have this problem, but I would like ...Show All

©2008 Software Development Network