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

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

GlenO

Member List

Angus Leeming
Ragas
joeydj
Steffanp
TheBlackShadow
-Antilles-
cwchilders
csLearner
tfavier
winstonSmith
DMillerNCR
IceAngel89
Alien72
RICH525234
Malmer
xuanthuyit
Ultrawhack
Shobha69358
Daikoku
x-pert
Only Title

GlenO's Q&A profile

  • Windows Forms private static methods vs private non-static methods?

    Could someone please tell the difference between private static methods and private non-static methods. I know that a static method is created only once per class rather than in every object based on that class, and we can access a public static class member without creating an instance of the class. However, I am not quite sure when we should use private static methods. Thanks. You can use a static method when its outcome doesn't depend on the values of the class instance. To use the worn MSFT example, the Dinosaur class can represent various species of dinosaurs. The EatMammal() method could be static, the EatTreeLeaves() couldn't. The rulez change when you change the hierarchy. If your base class is ...Show All

  • Visual Basic Validating a date in a DataRow

    Hi there, I have a date in a datatable which has been populated from an excel worksheet. Then scan the Datatable and validate each of the rows/columns as the data will be imported into the database. This is all fine with the exception of the date checking my code is below:- 'I've already populated the datatable etc then---->>> Public DataError As String = "#Bad Value#" Dim dt As DataTable = ds.Tables(0) For Each row As DataRow In dt.Rows If IsDate(row(5).ToString) Then DOB = row(5).ToString Else DOB = DataError End If Next row I've also tried:- If IsDate("#" & row(5).ToString & "#") Then and still no luck.... Can anyone out the ...Show All

  • .NET Development Syntax to pass the value of a textbox from an edittemplate to a javascript function

    I have a grid with the columns section as follows: < Columns > < radG : GridBoundColumn DataField ="LevelID" HeaderText ="ID" UniqueName ="LevelID" Visible ="False"> </ radG : GridBoundColumn > < radG : GridTemplateColumn HeaderText ="Level Name" UniqueName ="TemplateColumn"> < ItemTemplate > < asp : Label ID ="txtLevelName" runat ="server" Text =' <%# DataBinder.Eval(Container, "DataItem.LevelName") %> '></ asp : Label > </ ItemTemplate > < EditItemTemplate > < asp : TextBox ID ="txtLevelName" runat ="server& ...Show All

  • Windows Forms DataBound DateTimePicker/ComboBox Events

    Events on Databound controls that have their Visible Property set to false at DesignTime do not fire events. I was told this was part of their design. I accept that fact. But controls that have Visible set to true at design time and then Visible gets set to false at runtime, will fire events even though Visible is false. Question 1: Why does having Visible = false at Runtime and Design time behave differently Question 2: What internal happenings occur that make the control start firing events and can I trigger this internal change (i.e Can I force a Control with Visible = false at Design fire its events or visa versa can I make a control with Visible = false at runtime not fire events) How to Repeat: I attached a simple ...Show All

  • Visual Basic Generating executables in visual basic 2005 express edition?!

    I and a friend have been working on a project in visual basic 2005 express edition now that its complete we have a problem... we cant find how to generate an executable file we DO NOT want to have an installer we want a simple download and use no installation and .application isnot acceptable. If you dont want to use an installer or anything - you have to ensure that all the requirements and the .NET framework are in place for an application to work. Using ClickOnce to build and deploy an application is really extremely simple and results in a professional installer which will make sure that the requirements are on the client machine for your application to work. A great webcast showing just how sim ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Tutorials Thread

    If it's not too much trouble, could this topic be stickied I am just wondering if we could have a main thread that carries links to all the tutorials. In other words, someone makes a thread with a new tutorial, and then, they post the link to it here with a description of the tutorial. That way, others don't have to search through a whole forum for just one topic. Just an idea to make it easier on everyone.   On a side note, I plan on linking this thread to another thread titled: First XNA Program Development Team (FXPDT). Take a look at it. Thanks for your time. Also, I've added some tutorials for you all for now.   P.S. Since the tutorials are publicly viewed and linked to, I don't think you need permission to ...Show All

  • Visual Studio Team System Save default constraints in a separate file

    Hi I have just installed the VS TS DB Pro and it seems really nice to me, however I would like to know if its possible (or will be in comming releases) to save the default constraints in a different file from the table deffinition. Currently each time we have a new release from our software for upgrading the databases of previous versions we drop all objects except from the tables (to save the user's data), and then we create all the objects again: constraints, indexes, stores procedures, etc. It will be very useful to us to have the constraints in a different file, so that when we upgrade a database we use all the scripts except for the table defintions. Thanks Hi Amos is ...Show All

  • .NET Development determine external ip address from a windows forms application

    I've searched the forums for the answer to this but can't find a satisfactory resolution. We need to determine the external ip address (the same as if you went to www.whatismyip.com ) from our vb.net windows forms application. Any ideas Thanks Bruce Hi this is a easy way string ip = new WebClient ().DownloadString( http://www.whatismyip.com/automation/n09230945.asp ); ...Show All

  • Visual Studio "Configuration system failed to initialize" - Search option

    Hi there, Every time I try to use Help --> Search I get the error below: "Configuration system failed to initialize" I have tried to repair the VS 2005 and MSDN installation but the same error occurs all the time and I am not able to do any search for code samples anymore. I tried to google it and found a couple of people who had the same problem but they never got any feedback. Anyone have any idea what this error is Thank you Joao Joao Delinger de Souza wrote: yes, it works if I call dexplore.exe but it does work if I call through VS. If call dexplore.exe process, everything works OK. Also after calling the dexplore.exe process once, the error won't happen anymore, that is, calling it fro ...Show All

  • Visual Studio Team System Showing project portal in internal web browser

    Does anyone know if there's a way to modify the "Show Project Portal..." function (from right-click menu in the Team Explorer side-bar), so that it displays the WSS site in the internal browser instead of opening IE Hi, Unfortunately this is hard-coded behavior and cannot be changed externally. I'm guessing that the reasoning behind this is that it would be easier to see the doc's side-by-side with VS and the work item form that way, but I don't know for sure. -Dennis ...Show All

  • Visual Studio 2008 (Pre-release) Any chance of expression composability in Orcas?

    i.e. Expression<Func<string, bool>> linq = s => s.Contains ("LINQ"); Expression<Func<string, bool>> oracs = s => s.Contains ("ORCAS"); Expression<Func<string, bool>> either = s => linq (s) || orcas (s); This has been mentioned before, but I'd like to reiterate it since it's not in the Jan CTP :) This feature is quite important. Without it, LINQ to SQL queries are only partly composable. Thanks Joe Hi Joe, I'm not sure if I posted this to any of the previous threads that you participated in. This can be (partially) solved using other existing C# 3.0 features, but I'd like to see direct support for this in future version of C# 3 as well. U ...Show All

  • SQL Server SSIS Transactions 101

    I want to truncate a table (remove all of its data) using an "Execute SQL task" and then populate that table using a Data Flow task. In case of failure, I want to "rollback" the table to its state prior to its truncation. Can this be done using SSIS Transaction support or is that support aimed exclusively at sql-based flows TIA, barkingdog >>> This method does NOT require MSDTC. Now, the message got through. (The ears were listening but the mind was not .) Thanks, Barkingdog ...Show All

  • SharePoint Products and Technologies Issues With Delay Activity

    Has anybody had any success using the Delay activity within Visual Studio authored workflows Whenever I include a Delay activity in my workflows the workflow goes to sleep and never wakes up. If I listen for a Delay activity along with other events inside a Listen activity, I find that the other events (for example, OnTaskChanged) cause the workflow to be rehydrated as expected but the Delay activity does not. It doesn't seem to make any difference what the TimeoutDuration is set to or whether it's set statically in the designer or dynamically inside an InitiializeTimeoutDuration method. Does anyone have some sample code with Delay activities working correctly This is a bug in workflow runtime. Microsof ...Show All

  • Smart Device Development how to Change background image of the Windows mobile 5.0 smartphone's home screen programmatically?

    how to Change background image of the Windows mobile 5.0 smartphone's home screen programmatically i could able to change it manually . but programmatically couldn't. please provide your valuable comments This forum is intended to deal with issues directly related to the .NET Compact Framework. It appears that this question can better be answered by someone on one of the newsgroups for Windows Mobile or Windows CE. In order to get a quicker and more accurate response, please consider reposting this question to one of the following newsgroups: Windows Mobile API : microsoft.public.pocketpc.developer microsoft.public.smartphone.developer Windows CE API : microsoft.public.windows ...Show All

  • Windows Forms DataGridView

    I am looking for a book in Datagridview or good tutorial that covers every thing about Datagridview. Can someone please help me. Thanks HGJ Check this out: http://forums.microsoft.com/msdn/showpost.aspx postid=152467&siteid=1 Probably you did already Blessings ...Show All

©2008 Software Development Network