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

Software Development Network >> ancient sord's Q&A profile

ancient sord

Member List

magwo001
VSSiva
Sourabh Khatri
SachaVDK
Jeff-B
cisfreak2
spydude777
Erasure
Dan Waters [MSFT]
mrMarkH
resande_jope
ksunnithan
AgWells
adwins04
cb3431
ShivaanKeldon
SoulSolutions
mobigital
Rajesh_N
KentZhou
Only Title

ancient sord's Q&A profile

  • Visual Studio Font color in TextBox on rdlc

    Hi everybody, is there any way to select dynamicly font color in TextBox on rdlc report The color has to depend on data in TextBox. I use local WinForm report. When in TextBox is CompanyName1 I would like to set red color in TexBox but if there is CompanyName2 to set blue color font. help please! Hi Robert, I did a similar thing with the background colour in one of my reports.  In the properties for the textbox select expression as the font colour and use a simple IIf statement something like. =IIf(fields!textbox.value = "CompanyName1", "Red" , "Blue" ) If you have more possible values than CompanyName1 and CompanyName2 you can use nested IIf statements so that just CompanyNa ...Show All

  • Software Development for Windows Vista X-FI mic problems

    Hello all, i have posted on the creative forums aswell asking for help . I cannot get my mic working on vista ultimate and wondering if any one has managed to get there mic working with an x-fi sound card and if so post some help below . SILENTBOB This doesn't look like the correct forum to deal with this but as an FYI: I just installed Ultimate last night and downloaded the drivers from Creative and have the same problem. The Microphone shows as unavailable in Vista. Not sure why... ...Show All

  • Smart Device Development Application loses focus when closing a Form - but only on one Form it happens...

    Hi all, I have this strange problem/issue that I have had bothering me for a while now. I have an application where the users browses through Forms to perform various bits of functionality, and then closes the form to return back to the previous form (the Form from which it was openned), and the Focus is right back with the Form that openned the closed Form (if you know what I mean :)). Now this all works fine in my application apart from in one place, where when the called Form is closed, the calling form (or my Application even) doesn't get focus back until the 2nd tap on the application with the pen. The Windows start button and Input control on the MainMenu are focused and can be activated from the first click on them, but not my appli ...Show All

  • Visual Studio Tools for Office which xls file is being used

    Hi -- another question. When I'm working on a project, Excel, I find 3 xls files. There's one in the parent directory. In the bin directory there's one in debug and another in release. The problem is this: If I run, in debug, and make a change to the worksheet, and save it, the change disappears when I go back into debug. If I make a change to the worksheet while in design mode, it does stick. If, while debugging, I leave Visual Studio and execute the xls that's in release, make a change a save it, it sticks, at least if I re-execute that particular xls. I've tried various combinations of running the various xls's and making changes. Somehow, during at least one interation, the change somehow stuck in debug, and showed up when ...Show All

  • Visual Studio 2008 (Pre-release) DataContract issues - output doesnt match schema

    My idea was to create a Web service operation that returned an instance of a published XML type. I figured this would be a good demonstration of the benefits of a DataContract. So I got hold of an opml schema and simplified it (see OPML.xml for sample of desired output) Ideally, I thought there should be a way to convert the schema into a .NET class, and I believe this can be done via svcutil, but it's not obviously available from the VS GUI. So I wrote the class by hand (see DataContract.cs). I then added ServiceContract.cs and Service.cs. It seems there's no way to test the service without a client in WCF (this seems a step backwards to me, as a built-in test page is provided with all other Web service environments) so I built a ...Show All

  • Software Development for Windows Vista Automated Digital Signature

    Hello, It seems that it would be a good idea to have application's exe file digitally signed. Currently, digital signature was something I was doing only for my setup. It was part of the QA in fact, once a setup has been tested and validated I sign it. As I have to produce a lot of setup for my company, I automated their generation, and as part of the QA, the signing was done manually by testors. But, if the application's exe have to be signed, I must put this in the automated process. And here is my issue. Due to password prompt, the sign isn't done during my automate process. I've try some software that "type in" my password, but they seems to not been working as soon as the process is launched as a scheduled task ( ...Show All

  • SQL Server "Package Configurations" Problem

    Hi all, I have just set up my first deployment utility for the Integration services package i've been building. I seem to be getting problems with the package Configurations. I added an XML config file so that i could change the values of my SQL connection manager at deployment time. This was so that i could deploy it on both a test environment and the live environment. Any other variables can be changed in code by the calling application. As soon as i added the options for the sql connection manager and enabled package configuration i got errors when running the application: [Execute SQL Task] Error: Failed to acquire connection "InternalProductionData Connection Manager". Connection may not be configured correctly or you may no ...Show All

  • Windows Forms Get text in combo box

    hi, I have a combo box........as it is a combination of edit box and list box..............i hav to read data which is entered by user into edit control of combo box..........how can i do it......... Thnx in advance, Sudhakar. Prasant Swain wrote: Text property of combo box return the text . Yes, the Text property can do the job. ...Show All

  • Visual C# Why cant use += operator on int reference

    Hi, i cant imaging why the 2nd line of the following code would produce an error: object obj = (int)3; //save an int as an object ((int)obj) += 1; //an here is the error (l-value) obj = (int)obj + 1; //this works fine any help would be appreciated Also, this: ((int)obj) += 1; would be equivalent to: ((int)obj) = ((int)obj) + 1; not: obj = ((int)obj) + 1; Since, ((int)obj) is not an l-value, the first two statements don't work. ...Show All

  • Visual Studio 2008 (Pre-release) Find child in grid by it name

    Hello, may be you can help me with this. I've a Grid in the application resource like this: < Grid x:Key = "gridTest " x:Name = " gridTest " Margin = " 75,88,100,5 " > < Grid.RowDefinitions > < RowDefinition Height = " 1* " /> < RowDefinition Height = " 20px " /> </ Grid.RowDefinitions > < TextBlock Margin = " 8,4.02,8,0 " x:Name = " textBlockOne " Text = "" TextWrapping = " Wrap " IsHitTestVisible = " False " Grid.Row = "0 " FontSize = " 10px " TextAlignment = " Right " VerticalAlignment = " Top " Height = " 10 " ...Show All

  • Visual Studio Express Editions Printing

    Hi, I would like to make a program where a user has a given number of prints they can have. Each time a PAGE is printed it takes 1 away from that list and when there are none left it denies printing. ...Show All

  • .NET Development HASHTABLE to store 2 different types in HASHTABLE collections

    I want to store each datarow in to each HashTable, how can I do that basically.>> datReader = sqlCmd.ExecuteReader(); int i = 0; System.Collections. Hashtable [] myHT = null ; while (datReader.Read()) { myHT = new System.Collections. Hashtable (); myHT .Add( "PKid" , datReader[ "SomeDataFromAColumn" ]); i+=1; } Also. Can I be able to store two diffent types (classes) into this Hashtable without GetHashCode(). like, Class1 object1 = new Class1(); Class2 object2 = new Class2(); myHT .Add( 1,object1); myHT .Add(2 ,object2); Use the generic Dictionary object for your hash table work. For example say one has a string as the key, but a li ...Show All

  • Visual Basic Timer needs to count down and be displayed

    I need a timer to count down from 10 seconds and I need the countdown to be displayed. How do I go about doing this There is a label called Label1 on form Form1. I think it's a bit too much just to countdown, but try this: Public Class Form1 Dim WithEvents Timer1 As New System.Windows.Forms.Timer 'Make a new timer Dim TimerCounter As Integer = 10 'Starting Value Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) _ Handles Me.Load Label1.Text = CStr(TimerCounter) Timer1.Interval = 1000 'Set the interval (milliseconds) Timer1.Start() 'Start the timer End Sub Private Sub Timer1_Tick(ByVal sender As Object, ByVal e As System.EventArgs) _ Handles Timer ...Show All

  • SQL Server Windows and Forms Authentication issues

    I have a user who is trying to access the SQL 2005 server with 2 seperate accounts(using Windows Authentication).  With one account he can connect just fine, but with the seccond he recieves a logon fail error.  The only difference that we can tell is that the first account uses a password for our kerberos domain, and the second (that fails) uses a longer pass phrase (which does use spaces as characters).  My intuition tells me that shouldn't matter, but I've been wrong before.  Can anyone confirm this, or correct me if I'm wrong   This is using ASP.NET 2005 for the front end.  The exact Exception details are: "System.Data.SqlClient.SqlException: Login failed for user 'domain\user "  The stack tra ...Show All

  • Visual Studio Sandcastle - F1 context help

    Hi, I've generated an Hxs file with Sandcastle and then created an installer in VS2005 with the Help Integration Wizard. The help is correctly installed from the MSI but when I press F1 on an item it cannot resolve the help location. I've also used HelpStudio Lite to create a file and noticed that if I add a new key index with the full name of an item for each HTML page that was created it will be correctly resolved. The problem seems to be that Sandcastle prefixes the namespace of the key index with different values which I presume identify the type of entry it is e.g. @m:MyMethod, @overload:MyMethod. Has anyone experienced this or am I missing something obvious to get the context help functioning corrrectly Any help would be ...Show All

©2008 Software Development Network