Federico Poggio's Q&A profile
Visual Basic Client certificate from within a services
Hi there, I have build a windows service wich will communicate to a web service. This web service requre a certificate for authorisation. When i run the services under "local system" it doesn't send the certificate to the web services. If i run the services under a user account it's perfectly, but this is not an option for us. How do make the services send the certificate to the web service when it is running under "local system" Thx for the reply. This example works when running in an (console) application, but when i turn the application in a services. It will add the certificate to the proxyobject but it doesn;t send it to the web-service. It looks like the windows se ...Show All
Software Development for Windows Vista Progress bar "blue" in explorer??
I've already taken advantage of the paused and stopped states of a progress bar that I'm using as meter, similar to the progress bar in Windows Explorer that measures how full a drive is. So, I've figured out that in a running state and it is less than 100%, the progress bar is green and pulsing, in running state and it is 100%, it's just green, in paused state it is yellow and not pulsing, and in stopped state it is red and not pulsing. So, my question is, how do I get a *blue* progress bar that's not pulsing, like Explorer does Or I'd even settle for a green and non-pulsing bar. I'd like to use the green/blue to indicate within normal, when over about 75% or so I'll use paused to indicate a warning, and at 100% (or above) I'll do red to ...Show All
Windows Forms need help with properties while creating usercontrol
Hi, I'm creating a usercontrol with some public properties to display in the propertywindow. I want to display the properties under category. like how we have form.size category has some properties. Please help me with this. venp Let me explain bit clearly. I'm creating a usrcontrol with some public properties like deletable,updatable,insertable.(boolean) then i'm placing this usercontrol in a form. after placing , In the userctrls property window i need to see the above properties under changeable. so i need to create a category called changeable which displays all the above 3 ppty. Please help me. venp-- ...Show All
Visual Studio 2008 (Pre-release) BUG logging
Hi, I am sure someone posted and asked already but I can't seem to find the post. Anyway, could someone please give me the link whereby I can post bugs for Winodws Presentation framework Thank you very much, Jaco ...Show All
.NET Development WSE 3.0 and Custom Token Manager
Hello, We have made an application in Visual Studio 2003 with WSE 2.0. Now we have try to convert it to Visual Studio 2005 with WSE 3.0. When we are running the application we get the following error: WSE032: There was an error loading the microsoft.web.services3 configuration section. ---> System.Configuration.ConfigurationErrorsException: WSE040: Type ZKHNet.Model.Services.CustomUsernameTokenManager, WebServices could not be loaded. Please check the configuration file. (C:\\ZKHNet\\WebServices\\web.config line 49) Our web.config file has the following section: < microsoft.web.services3 > < security > < securityTokenManager > < add localname = " UsernameToken " type = " ZKHNet.Model.Services.Cus ...Show All
Visual Studio 2008 (Pre-release) Controlling visibility inside a FlowDocument
Is there any way to control the visibility of elements inside a FlowDocument I have a Paragraph that I'd like to hide (or rather collapsed) under certain conditions, but I don't see any properties related to visibility. Any ideas - Imad ...Show All
SQL Server checking report expression syntax
Hello! I have a report that I am writing that was displaying perfectly, until I had to add in group totals and "sum" some of the expressions. When I did that for some reason it over rode the "format percent" part of the expresson and is no longer "formatting as a percent" Any tips of where I could go to get my syntax in order Any help would be appriciated!! It did work until I got towards the end of the document.....I need the Val because sporatically throughout my report there are NAN and Infinity's ...but sometimes the Zero's do show through .... ...Show All
.NET Development NetworkStream.Flush() disabled at NET 2?
Hi! My program sends more than one msg at a time, and I wanted to avoid the reciever to recieve it as one msg, eg: server.send("123"); server.send("abc"); the reciever would get "123abc". <<<<<---- not wanted ! I tried to use Flush() but it seem not to be working, plus, in the function description it's says something like "This method is reserver for future use."...... Any suggestions good people Indeed a good solution, how come I didn't think of it the moment I posted here I have no clue - thanks Rizwan (and the rest who tried to help) ...Show All
.NET Development Need help in a tcpclient
Ok,i have this code, Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Client = New TcpClient( "127.0.0.1" , 65535) Dim Writer As New StreamWriter(Client.GetStream()) Writer.Write(TextBox1.Text) Writer.Flush() End Sub and i have a textbox with a button,how can i makeit so when i click that button,it takes the textbox and if it says 122.122.122.122 it changes to Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Client = New TcpClient( " 122.122.122.122 " , 65535) Dim Writer As New StreamWriter(Client.GetStream()) Writer.Write(T ...Show All
Smart Device Development ComboBox droppeddown?
Hello, I tried to find how to know whether a ComboBox - sytle DropDown - has its list opened. For compact framework 2.0 I could not find an answer though there a several posibilities in .NET2.0 - but not for CF. Can someone tell me how to find out whether the list part of an DropDown-Combobox is open or not Thanks for all help. Jorg Hello, thank you. This might help. But I found an other way to solve my problem. I do not really have to know whether the combo box is dropped down. I ’ll keep yout code in mind for the next problem. Jorg ...Show All
SQL Server Where can I check Edition Information?
Dear all, Do you know which file or command I can use to check what is the Edition of Reporting service that we have installed We install it on a separate server from the Database. Thanks in advance. Regards, Terry Just a simple way to find the edition is to go to the following folder where reporting services is installed: usually it is C:\Program Files\Microsoft SQL Server\MSSQL.3\Reporting Services\LogFiles and open any of the log file in .txt extension and search for the word "edition". You may find the text "INFO: Catalog SQL Server Edition = Enterprise" if the edition is Enterprise. ...Show All
Software Development for Windows Vista MsiRMFilesInUse dialog using VS2005 Installation Project & Orca
I have a pretty simple installation project created using VS 2005 installation project, and am having several issues complying with some of the requirements. So far, my most frustrating problem is test case 25(v1.1.001 of Certified for Windows Vista Test Cases). There is no MriRMFilesInUse dialog available through visual studio, so my understanding is that I have to create my own manually using Orca. After digging and digging, I was able to find a very old, prerelease rss feed of what the tables needed to have in them for the dialog: http://blogs.msdn.com/windows_installer_team/archive/2005/11/03/488945.aspx Based on this, I added all those fields and values (with a couple minor variations such as the binary banner filename (i just u ...Show All
Visual Studio Express Editions How to display a .xls file data in my form or tab page?
Hi, how to display a .xls file data in my form or tab page Can the data be edited from the form or tab page An "untyped" dataset is an instance of the dataset class, and its called untyped because all columns are provided as a base object, which means you would have to convert to the appropriate type/format. Typed datasets are easier to work with overall. To connect to the xls file, you need a couple of things: OleDbConnection OleDbCommand OleDbDataAdapter DataSet Create the dataset, globally at the top of the class (just after public partial class signature/declaration) private DataSet theDataSet = new DataSet(); then....where you wish to load the data: OleDbConnection theExcelCo ...Show All
Visual Studio Express Editions Beginer Help
Hey, I just downloaded VB Express a couple weeks ago. I'm having trouble finding resources for beginers. I've found all of the video series on microsoft.com but I want a bit more resources. Where can I find them www.google.com www.amazon.com Seriously, if you'r ehaving trouble with the resources you've found, you probably need to buy a good VB *language* book ( NOT one that teaches you how to create forms and use the designer ) and work through it. I bought 'teach yourself C++ in 24 hours' 8 7 odd years ago, and worked through it, I got my first dev job 6 months later ( obviously by going on to more advanced books and learning more than that book taught me ). There's no harm in starting with a s ...Show All
Visual Studio Tools for Office VSTO SE installation problems
Hi, I've installing the VSTO SE latest beta on the XP machine with VS 2005, Office 2007 B2TR and VSTO v3 CTP. I uninstalled the VSTO v3 CTP before installing VSTO SE. The add-ins show in the available projects, but when the VS creates a new add-in from a template and I try to compile it I get an error: "The "GenerateAndPersistAppInfoTask" task failed unexpectedly. System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.Tools.Applications.Runtime, Version=8.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. File name: 'Microsoft.VisualStudio.Tools.Applications.Runtime, Version=8.1.0.0, Culture=neutral, PublicKey ...Show All
