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

Software Development Network >> Gregory English's Q&A profile

Gregory English

Member List

qrli
~rabin
Mark Shvarts
LogoTron8000
Farhan H Soomro
Mykhaylo Blishch
Sweeps78
goh6613
Evan Mulawski
netweavernet
rod 001
mstasi
Rodrigo B. de Oliveira
Polina159216
toni70000
Matty1stop
bass_player
schlrobe
DavidC#2005
Buddy
Only Title

Gregory English's Q&A profile

  • Windows Forms Progress Bar

    HI I am a beginner at C# and found the following code on this website but when i buld it the progress bar does not fill up could someone please help using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace WindowsApplication2 { public partial class Form1 : Form { static int count=5; //time count public Form1() { InitializeComponent(); this .timer1.Interval = 1000; // set timer to tick each 1000ms this .label1.Text = "LOADING ..." ; //"Loading ..." text } private void timer1_Tick( object sender, Even ...Show All

  • .NET Development Switching SettingsProviders at runtime

    Hi, It seems that to specify a SettingsProvider for an ApplicationSettingsBase wrapper, you decorate the wrapper or one of its properties with a SettingProviderAttribute. That seems to bind a particular provider at compile time. I'd like to know how to specify the provider at runtime so that I can switch the SettingsProvider that my ApplicationSettingsBase wrapper uses on the fly. The application would be this: If a smart client application is offline, it would use the default LocalFileSettingsProvider. When it's online, it would use a custom provider that uses say, a webservice of some kind to get/set the app settings. The only thing that looks vaguely promising might be one of ApplicationSettingsBase's constructor overloads which t ...Show All

  • .NET Development getting info from database

    Heya al- im doin a asp.net project whereby im connecting asp/html with a database. now ive set up a connection using odbc connector- but was wondering if any1 knew of any free tutorials or free code on odbc methods/ functions- as im expericing a few problems with tryig to load information from the database. ALso free projects using simple asp.net, html with a odbc connection would be really helpful. thanks http://msdn.microsoft.com/vbasic/downloads/code/101samples/ http://msdn.microsoft.com/vbasic/learning/default.aspx Additional Learning Topics New to Development Introduction to Data Access Introduction to Windows Forms Introduction to ClickOnce Deployment Introd ...Show All

  • Software Development for Windows Vista Parameters property of the HandleExternalEvents activity - what's the point?

    I've been going through some of the Hands On labs for Workflow. Several times, I've had to put a HandleExternalEvents activity in my workflow, and then set the InterfaceType and EventName properties. After I do this, there's a section of Parameters properties that correspond to the arguments of the function I have handling the event, and I've been instructed to bind these to new members in a workflow, and then in the event handler, reference the new members instead of the arguments to the handler function. Since I don't really know what I'm doing, I follow directions, but when I step through the code while debugging, I notice that the member that I bound the parameter to has a different value than the argument to the event handler, which I ...Show All

  • Visual Studio Tools for Office Deploying VSTO Word Project: could not find or load customization assembly

    Hello! I developed a custom task pane with VSTO for a Word2003 report and now I would like to enable access for my clients to this document. I copied the document to a server folder in my intranet and tried opening it, but I got the following error:: "The customization assembly could not be found or could not be loaded" "The customization does not have the required permissions to execute." Therefore, I need to grant access to a server folder where the document and the assembly will be located. I checked http://msdn2.microsoft.com/library/k64zb6we(en-us,vs.80).aspx and followed the "How to: Grant Permissions to Folders and Assemblies" procedure step by step. However I still keep getting the same error! I noticed this note "You must be ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Deploying to the 360 question

    In the "Looking at XNA Part Two" video on Channel 9, Frank mentioned that deploying an XNA application to the 360 is only supported via a wired connection(No wireless). Does anyone know if it's possible to have the 360 connect to the internet with the wireless adapter and connect to my local lan on the ethernet at the same time I started a new post and emailed the xbox 360 customer service. Will wait to see what else is going on. Tokunbo Wpg ...Show All

  • SharePoint Products and Technologies How do you close tasks that are created inside a replicator?

    Hi, I create an unkown number of tasks within a replicator. Now at a later state I wish to complete all tasks that were created in the replicator. But when I try to set the CorrelationToken on the CompleteTask activity outside the replicator I cannot see the tokens assigned to the tasks created in the replicator shape. And ideas on how to do this Thanks Hi. I have another way to do that. You just need to set UntilCondition property of the replicator activity. See that: http://www.topxml.com/rbnews/Orchestration---Workflow/re-56863_Replicator-Tips-and-Tricks.aspx ...Show All

  • Visual Studio 2008 (Pre-release) Changing ListViewItem to ListViewItemEx in a ListView

    Hi, I have done an extension on the ListViewItem that I called ListViewItemEx and now I want any listview to use ListViewItemEx instead of ListViewItem. When I set the ItemsSource in a ListView, I no longer want to have ListViewItem but ListViewItemEx. Is it complicated I should I proceed /// <summary> /// List View Item extension /// </summary> public class ListViewItemEx : ListViewItem { ... } Thanks in advance. Hi Freedon, You would need to do one of two things: Create a ListViewEx control that extends from ListView that only allows the Items property to contain ListViewItemEx objects Go through your application and cast your Lis ...Show All

  • Windows Forms user profiles in gridview

    Hello! I have a question about displaying users and there profiles in gridview. Do you have to create a dataset from table profile with a query or something else, any suggestions I find a good article about that and i use the method MembershipUserCollection muc = Membership .GetAllUsers(); and put users and profiles in gridview, the article is in location: http://msdn.microsoft.com/asp.net/default.aspx pull=/library/en-us/dnaspp/html/GridViewEx06.asp Have a nice day! ...Show All

  • SQL Server SQL Everywhere ConnectionString problems

    <VS2005, SQL Everywhere CTP> When I create typed datasets (for SQL Everywhere db) using the VS designer, I get a connectionString like Data Source =".\App_Data\Db1.sdf" added to the settings file by the designer. This works fine in the designer but not at runtime. If I replace the settings value to Data Source ="|DataDirectory|App_Data\Db1.sdf" then it works fine at runtime but breaks the designer. I looked at the typed dataset designer generated code & it creates a SqlCeConnection object which supports |DataDirectory| macro. So, how can I get the designer & runtime to agree on a connectionString. I guess I can create a partial class for the table adapters & force a connectionString at runtime via a co ...Show All

  • SQL Server Script Task Variables

    script task: there should be another way to select variables than the comma seperated list One has to type in a whole list of variables, hoping not to make any mistakes IntelliSense for example But hey, I'm not complaining... greets   There is! You can do it in code. Writing to a variable from a script task ( http://blogs.conchango.com/jamiethomson/archive/2005/02/09/964.aspx ) Still no intellisense though!! I highly recommend you use the code option because this minimises the risk of variable locking. I plan to blog about this soon and have written about it in an upcoming article in SQL Server Standard. -Jamie ...Show All

  • Visual Studio Team System limit control type links control to specific work - items

    hi, is it possible to restrict the allowed links of a controltype linkscontrol to specific work-items. for example i have the following work items. a, b, c, d, i want in the work-item a that i just can add links to work-items b and c. thanks for your reply. i try now to add work-items to a drop-down. this would be the solution for my problem. and maybe it is easier to fullfil than an add-in. ...Show All

  • Visual Studio Tools for Office Hooking into form when adding new contact

    I am trying to figure out how to hook an event into the new contact form. The scenario is a user clicks create new contact. They enter the name in the name field and tab or click away. I want my event to be called so I can check the name against our CRM system. Is this possible I've figured out a way to get signaled in VBA (on the contact form itself), but all the code that communicates to my CRM is in .NET (through VSTO). Is this possible Thanks!  I actually figured out something right after I posted it.   I did the same exact thing.  The only problem is since you have a application variable as objContact that is set on the NewInspector event, a user could open a se ...Show All

  • SQL Server Microsoft SQL Server 2005 DTS Designer Components

    Hi, I learned this from one of SSIS book-Migrating from Data Transformation Services to Integration Services in SQL. For the design time components, Microsoft has created a special distribution called the Microsoft SQL Server 2005 DTS Designer Components. The Designer Components distribution replaces the components that get uninstalled when you upgrade your last instance of SQL Server 2000. If you want to upgrade all your SQL Server 2000 instances, this is the best and only option for recovering the DTS designer. Is anybody heard of this 2005 DTS Designer component Where to download How it works Any experience to will be appreciated. Thanks, Charley Some info here- DTS2000 ( http://wiki.sql ...Show All

  • SQL Server Use Variable as Table Name

    I am trying to write a stored procedure that accepts a table name as an argument and then displays all of the columns of the table. My code does not work and I don't know why any ideas set ANSI_NULLS ON set QUOTED_IDENTIFIER ON GO ALTER PROCEDURE [dbo] . [selectTable] @tableName varchar ( 50 ) AS select * from @tableName ; I get this error: Msg 1087, Level 15, State 2, Procedure selectTable, Line 5 Must declare the table variable "@tableName". Please help. OK that worked. Now I'm trying to compose a statement that uses other variables but I'm getting an error. set ANSI_NULLS ON set QUOTED_IDENTIFIER ON GO ...Show All

©2008 Software Development Network