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

Software Development Network >> Tony Hild's Q&A profile

Tony Hild

Member List

Vadish
OmegaMan
Duncan McC
JYB
cgraus
qkhader
dreyx2000
ytse
Umesh_DB2
mindstorms
darkwarrior0404
Cheryl Hu
pinoyz
Nancy_Issa
Punpromk
Bennu Phoenix
stiflersmom100
Rory Clark
Mapa3matuk
jimcjr
Only Title

Tony Hild's Q&A profile

  • 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

  • .NET Development TryCast wont accept my System.Type argument

    Any idea how to get this to work I want to be able to tell the TryCast what type to check via a parameter to the function, but it's not letting me. Inside TryCast, it says that TypeSought is not defined, but outside TryCast, I can use TypeSought. Is there any way I can supply the 2nd argument to TryCast at runtime, instead of hardcoding a type into it at compile Public Class ValueChecker Public Shared Function IsValid ( ByVal Item As Object , ByVal TypeSought As System . Type ) As Boolean If Item .GetType. IsClass Then If TryCast ( Item , TypeSought ) = Nothing Then End If End If End Function End Class Hi, are you looking for a type chec ...Show All

  • Visual Studio Express Editions Change all Textboxes on Form to Labels with button click

    I have 24 textboxes on my form, what I would like to do is have the figures that have been entered into these boxes change to labels when I click the "Update Target" button. I know how to do this for one button per text box, but is there a way to change all of the text boxes with the click of the one button Are you wanting to change them to labesl so they cant be edited or for some other reason. If its just to make then un-editable then use the readonly property. and for this something like For Each c As Control In Me.Controls If TypeOf (c) Is TextBox Then CType(c, TextBox).ReadOnly = True End If Next Alternatively you can iterate through the textbox ...Show All

  • SQL Server Data Mining on SQL 2005 database

    Is it possible to enable data mining tools on SQL SERVER 2005 database. i need some tutorials on this Please help ou Ronald How do i capture the query sent by the user Can't I use reportviewer to render repoerts with cahrts Please I kindly ask you to elaborate more on the last point of using Adomd.NET Client or even OLEDB. Thanx in advance Ronnie ...Show All

  • Visual FoxPro Aplication VFP9 can comunicate via computer's port?

    I need to send from VPF9 aplication a signal (grpup of chatacter) to a external device, via COM2 port, and receive also other signal from that device. I dont know what is VFP9 code that I must write in program to do this comunication. Is it posible  without use any auxiliary executable file Thank you.   Yes you can, using MSComm32.OCX See: http://fox.wikis.com/wc.dll Wiki~MsComm32 http://www.universalthread.com/wconnect/wc.dll 2,54,33,9336 http://www.universalthread.com/wconnect/wc.dll 2,84,14,7943 ...Show All

  • SQL Server Subscription to more than one report

    Is it possible to create on subscription to three seperate reports and have the reports sent in one email I have three reports I would like to send at a certain time each Monday. I would like all three of them to come in one email. Anyone I need to send multiple verisions of the same report via email and the user only wants to see one email that contains all of the reports attached as Excel files. ...Show All

  • SQL Server PDF Rendering bug

    We are trying to publish a group of financial reports using SQL Server Reporting Services. We have hit a snag when we try to render the reports in PDF format. The leading spaces of each line are stripped in the output file. For example: Department 10.7240 - ICU Expenses SubDepartment -------- ------------- 1,200 100 454 150 Becomes: Department 10.7240 - ICU Expenses SubDepartment -------- ------------- 1,200 100 454 150 Does anyone know a solution for this problem By the way, we did upgrade to SP2. That did not correct the problem. Hi Russell, The data in one of our tables is written out indented in some cases and our users want to see ...Show All

  • Visual Studio 2008 (Pre-release) Deploying / Host a WCF Service in the real world

    Hello, I'm finally getting around to learning about WCF... Can anyone point me to an article which describes deploying and hosting a WCF service exposed to the outside world I'm not talking about the plethora of localhost examples; something more along the lines of the real world. For example, I know you can host a .svc in IIS as usual. But how would you exposed your service to the outside world if you have it hosted by a Windows Service or console app Do you still need IIS Also, if you support several different bindings do you have to expose them in different ways (other than the config file stuff) I'm running Windows Server 2003 x64 and IIS6 for the server. It also hosts other ASMX web services. I may eventually upgrade (or add a new ...Show All

  • SQL Server How to provide drillthrough

    How can I provide drillthrough on UI given that I use MS SQL SERVER 2005 , frontpage , pivot table & web component New version of Excel 2007 should give you ability to show Drillthrough actions. Try installing beta version of Office 2007 and see if it provides you with functionality you looking for. Edward. -- This posting is provided "AS IS" with no warranties, and confers no rights. ...Show All

  • SQL Server How can I get Actual Operation Cost from Actual Execution Plan?

    I have a view in SQLServer 2005. It took 30 sec. to finish. Then I deleted 4500 records from one table that is used in view. It took 90 sec. to finish now. I did a comparison on Actual Execution Plan between before I deleted data and after I deleted data, they are almost same, only different is Actual Number Rows become less after deleted data. So, I wonder why data become less but time become more. When I look closely on the Actual Execution Plan, the ridiculous thing is, there are only Estimated Operation Cost on each step, no Actual Operation Cost. I guess there are something wrong with optimizer because reuse same Execution Plan, but how can I tell which step wrong without Actual Operation Cost. Thanks! Henry ...Show All

  • .NET Development which is the better data storage, XML or Excel

    Hi, I am developing a windows application that requires constant connection to data store. The data will then be used for calculation. I don't wanna use SQL database as i thought the retrival process could slow down the performance. Hence, I am thinking of using either XML or Excel as data store for retrival and calculation. Is there anyone know where I can find more information about how to choose the approperiate data store. any help is appreciated. Thanks!! Carol You do NOT need to install Excel to be able to work with Excel files from the application. You could read and write Excel files using Jet OLEDB provider or some other tools and you do not need Excel application for it. Excel will work faster, since XML adds extr ...Show All

  • Audio and Video Development Output video is black when using my MFT.

    I have a DMO for a self-defined codec. To support Vista, I have to develop a MFT for it. I use the MFT_Grayscale sample project as reference to build my MFT. Currently, the WMP can find my MFT and use it for decoding the video samples. But the video displayed on the screen are always black. I also did some attempts to find out the reason. The results are listed below: 1. I dumped the output video sample and found that the output data is right. 2. I tried to set some differnet video content into the output sample, but the screen keeps black 3. I tried to set different timestamp and time duration, but the screen keeps black. According to logging from my decoding MFT everything is ok under WMP playback. But vide ...Show All

  • Visual Studio Tools for Office Ribbon callbacks signatures and icons

    Hi, Does anybody know where to find the signatures of the Ribbon callback methods I think that documentation still lacks a huge amount of things. Specifically, I'm now looking for the onAction and getPressed methods of the checkBox object. (I can imagine that onAction needs a Office.IRibbonControl parameter but it also need something else.) The document at http://msdn2.microsoft.com/en-us/library/aa338202.aspx lists all the methods, but it is impossible to implement them without the correct signatures! Also, not related to this, where can I find a list of the possible imageMso attributes for the button object in the ribbon customUI xml I mean, besides the "HappyFace" and few othes mentioned in the few available documents ...Show All

  • .NET Development problem in DataTable's select method

    I am trying a prototype in which I am using ADO.net 1.1 (VS2003) for data access. I have following table TestGUID: CREATE TABLE testGUID (userid int primary key NOT NULL , rollno uniqueidentifier NULL,  [name] nvarchar(50) NULL) I am trying the followng code:for inserting/update the row in the datatable(idea is to update first if the row is already there and if it is not there then insert a new row)   private void InsertGUIDs()   {    SetAdapterCommands();    for (int i = 0; i<10; i++)    {     try     {      int itemid =  i;      string rollno1 = "00000000 ...Show All

  • Software Development for Windows Vista How to NOT persist a workflow instance when it is completed?

    I've found when a workflow instance is completed, it will be persisted automatically. Is that true If yes, how to get rid of it I have already let UnloadOnIdle be false ---- because I do not want to persist my workflow each time it becomes idle. Strangely, it is still persisted when it is about to complete. I do not want this because it overwrites the previous persistence (I am using a custom file persistence service). Thus, I want the workflow to be persisted only when I tell it to be. ...Show All

©2008 Software Development Network