Software Development Network Logo
  • Windows Forms
  • Windows Vista
  • Visual C++
  • Game Technologies
  • Visual C#
  • VS Express Editions
  • Smart Device
  • Windows Live
  • Visual Basic
  • .NET Development
  • Architecture
  • VS Team System
  • Visual Studio
  • Visual FoxPro
  • Visual J#

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

Puil

Member List

jyoti22apr
Gyea
gnpaolo
TommyBB
Computerma
roastSpud
Ran Rose
easan
amdMcBook
BLanders
Nabeel Shahid
NianHawk
Ankit2008
Jake Montgomery
R E Whitley
Smitha Saligrama MSFT
aidanh
kwarnke
Kramnation
Niels Flensted-Jensen
Only Title

Puil's Q&A profile

  • .NET Development Help with general questions...

    I want to access a namespace and class using a string somehow.  ie instead of using:   ged.item.value = 5; using instead somehow: "ged.item.value" = 5; I will have at run time the string representation of the location of value.  I will need to use the string to access the value. Also, if I have a method that uses an Object to allow access to various classes like: public void Method(Object obj) {   obj.toString(); } How do I g ...Show All

  • Visual Basic How do I solve TargetInvocationException problem with WebClient in Visual Basic 2005?

    Hello, I've created a small programme which downloads file over web using the WebClient interface. I've added 2 handlers to the to the webclient, one for the download progress and the other for the download completed. Sample code: Private Sub DownloadAsync( ByVal URL As String ) Dim wc As New WebClient() Dim dpc As DownloadProgressChangedEventHandler AddHandler wc.DownloadProgressChanged, dpc Dim ac As ...Show All

  • Visual C# Random give the same value

    hi, i'm building a small game like puzzle so i need to swap an array items in different order each time i run my program,  every time i use random it works and make the array order diferent but the problem is every time it give the same result as if i used fixed number here its example of my code in class Program { static int [] Numbers = { 0, 1, 2, 3, 4, 5, 6, 7, 8 }; static void Main( string [] args) { ...Show All

  • Visual Studio Express Editions Click Event Procedures

    This is what I have so far for this progam. The application calculates a members monthly dues. I need to code each checkbox's click event procedure so that it adds the charge or subtracts the charge from the total when the check box is selected/deselected. Please help!! Private golf As Integer Private racquetball As Integer Private tennis As Integer Private Sub uiGolfCheckBox_Click( ByVal sender As ...Show All

  • SQL Server Questions about sp_addlinkedsrvlogin

    1. Is there any command in SQL Server that can tell me which remote login on the linked server have I mapped my local login 2. If I use below command to map a local user: Locallogin to the domain administrator sp_addlinkedsrvlogin 'mainsql', 'false', 'Locallogin', 'Administrator', 'pwd' What will happen if the domain administrator's password may change in the future Should I execute sp_addlinkedsrvlogin with new rmtpassword again ...Show All

  • Visual Studio Team System TFS time info

    How do I get the TFS time from a client I tried using the TFS object but all I could get was the time zone info of the server and not the actual server time. But, our requirement is not to block checkin completely but restrict it based on some rules as similar to other policies. The user should still have the option of overriding the policy! ...Show All

  • SQL Server SUBREPORT ACCEPTS ONLY FIRST VALUE FROM MULTIVALUE PARAMETER

    Hi everyone, I have a problem passing a multivalue parameter to a subreport. I have a main report that has a chart and a table. I set one of the datafields (a chart's column) on the chart to be clickable to jump to a subreport. I pass two parameters. One of them is a multivalue parameter. It is called 'Name.' I right-clicked the datafield -> properties -> action -> jump to report. I selected my report, then clicked parameters, chose my ...Show All

  • .NET Development Update SQL don't work

    Hi everybody, I want to update a field in a SQL table but i am unable to do this. Environment : Visual Studio & Visual Basic 2005 SQL Server 2000 Here is part of my code : Imports System Imports System.Data Imports System.Data.SqlClient Public Class Form1 Inherits System.Windows.Forms.Form Public conn As SqlConnection Public CmdS As SqlCommand Public da As SqlDataAdapter Public ds As New DataS ...Show All

  • Microsoft ISV Community Center Forums Is an Excel bug that set PivotItem.Visible to true will generate 1004 Macro Error?

    In a Excel PivotTable, I want to programically hide or show some PivotItems of a PivotField.  To hide, it works fine (just set mPivotField.PivotItems("xxx").visible = False).  However, to show, it does not work: mPivotField.PivotItems("xxx").visible = True.  Program breaks with an error 1004, macro error. When try to record a macro for setting a non-visible PivotItem to visible, macros recorded is to use ...PivotItem("xxx").visi ...Show All

  • Visual Studio Tools for Office Measure the width of a string contained in a label control in VSTO

    I was trying to add a label control to a word document at runtime. The label control contained a text. I would like set the width of the Label according to the width of the text. First, I added a dummy label to the Word so I can use the graphic context of the label to measure the width of a text using g.MeasureString(...). Then I removed the label control and add another label control populated with the text, setting its width measured previous ...Show All

  • Windows Forms Installing 3rd party prerequisite with bootstrapper and multiple MSIs support using ClickOnce

    I have the following scenario. I am trying to install a 3rd party prerequisite that has multiple MSIs and one bootstrapper. I am using VS 2005 Beta 2 with ClickOnce to install this component. Since there are multiple files included in the 3 rd party tool installation, ClickOnce can't just download the 3 party bootstrapper but also needs to download all the 3rd party MSIs that bootstrapper is using. One solution might be combining MSIs and ...Show All

  • Visual Studio Team System Does TFS still need Win2003 Active Directory Domain?

    Could it just depend on database Thanks! No. See: http://blogs.msdn.com/buckh/archive/2005/09/22/472770.aspx ...Show All

  • Visual Studio Trouble with Report Printing VS 2005

    I am using VS 2005 and trying to show a crystal report (built in VS 2005) on a web page. While the report shows up, it is missing all toolbar images as well as charts. Also the print features don't work. Anyone having the same difficulty or know what might be causing this So yes. This fixes the problem. But isn't this a defect I should be able to simply create the Crystal Viewers virtual directo ...Show All

  • Windows Forms MouseUp Event onToolStripButton

    It seems to be unable to trigger the MouseUp event on ToolStripButton, unless the MouseDown was happened on that ToolStripButton too, but I noticed this isnt same as others controls, which they trigger the MouseUp event even the MouseDown wasnt happened on them. I am doing manual Drag & Drop, so anyone can give me some advice The background here is the concept of capture. ToolStripItem does not support cap ...Show All

  • Software Development for Windows Vista XAMLPad Problem

    I uninstall WinFX Runtime older version use the uninstall tool that Microsoft make. Also uninstall the windows SDK 5270 and orcas older version correctly(visual 2005 was installed of course). I installed de WinFx Runtime 3.0.3906.22 version first, then install the windows SDK 6.0.5383.1.1 version successfull, but I can't run the XAMLPad which very important for me. Last installed the orcas that applied 5/23/2006, and make new project about WinFX ...Show All

©2008 Software Development Network

powered by phorum