Software Development Network Logo
  • Architecture
  • Visual C#
  • .NET Development
  • Smart Device
  • SQL Server
  • Windows Forms
  • Visual FoxPro
  • Visual C++
  • Visual Studio
  • Microsoft ISV
  • Windows Live
  • Game Technologies
  • VS Team System
  • Windows Vista
  • Visual Basic

Software Development Network >> John Fran's Q&A profile

John Fran

Member List

jmsp
Jonalyn
Sces
Nuno Ruivo
One Marobela
DonDenUyl
Brian Johnson MS
BINNY_MATHEW_41ac92
sholliday
Erpman
ivanL
Donald Wm. Johnson
Andreas Fabri
wwillie2
Paola80
Anna Elise
RBS - DavidR
dsac
J im Diamond
esamsalah
Only Title

John Fran's Q&A profile

  • Windows Forms RequiredFieldValidator in WinForms

    Hi all, I am an ASP.NET app developer so don't mind this silly Q ;)  I have many TextBox controls on my WinForm that is required (cannot be empty) and I want to validate this when the user clicks the OK button. In WebForms apps I can use the RequiredFieldValidator control that will do this for me using JavaScript on the client side. How  ...Show All

  • Windows Forms Get current Window handle count for current process

    Is there a way to get the current window handle count the current process is using   Thanks, Jim Do you mean just of the current window within the process and nothing else If not... Have you tried the HandleCount property of a Process instance ...Show All

  • Windows Forms DateTimePicker in WinForm

    Hi Is it possible to set dafault value is null for DateTimePicker Thanks Thyagu I also would love to see your version of the DateTimePicker control ...Show All

  • Windows Forms Engineering model didn't port from VB4 to VB5. Need help.

    I use Visual Basic to write engineering calculations for complex problems.  I don't do any database I/O or Internet interfacing - just math calcs.  The models began yeas ago on TI59 programmable caclulator and have been steadily upgraded since.  I recently upgraded from VB4 to VB5 and the routines seemed to come across ok at first.  At about  ...Show All

  • Visual Studio Visual Studio .Net 2005 Beta 2 - can't access MSDN

    Just installed VS 2005 Beta 2, it's great.  Like the new features. Unfortunately, I can't seem to access any help system.  The only help I get is "help on help".  Nothing on MSDN or VC#.  Tried reinstalling MSDN and that didn't help. Has anyone else experienced the same problem   Or is it just me   For what it's worth, here's another manifestation of the same problem. In my case I can neither access the help from the IDE nor from the Start menu; I get an apparently empty help collection in the IDE and a failed load ("Microsoft Document Explorer can't access help collection...") ...Show All

  • Visual Studio Max number of sourcesafe database?

    Dear experts, For easy management, our company want to set the visual sourcesafe to each project own a database. So, is there a max number of database can be created in visual sourcesafe and visual sourcesafe should support simultaneously running multiple database, am I right Finally, would numerous databases (say over 40) deteriorate the performance much Thanks all. Yes, VSS supports multiple databases. There is no max number of databases you can create. The databases are just files/folders stored on Windows file shares, and VSS only track the database location through strings stored in registry so the performance do ...Show All

  • Visual C# how do I do this? (sorting)

    Hi. I feel terrible asking this but i cannot figure it out. I think my mind is all over the place.   OK, I will be reading elements from an XML file. File has "Start Time" which has h:m:s and "End time" which has h:m:s What I want to do is sort the start time in order. Sure, I could put them in an arraylist then call the sort method, but I want to match the start time with the end time sorting in the start time order. any ideas/thoughts Well, what you did is also a good solution. You could also create a SorteList (it's an IDictionary) and add StartTime as key and your object as value. So the list is automatically ...Show All

  • Visual Basic Datagridview bound to empty table, esc edit fails on first row?

    Trying to understand how the Datagridview control works, I have bounded it to an empty table. If I begin edit of any field in the top row and "esc" the edit on this fisrt row I get an unhandled exception message "Current cell cannot be set to an invisible cell". My guess is, the control is trying to move to the row above the top row which, obviously, it should not. This occurs even if I do not have any code wathsoever in the events of that grid. Where do I handle this error Is this something that is happening on my box only or can this error be reproduced easily by others Of course, in many occasions, the tab ...Show All

  • Windows Forms Do I hear C# anytime soon???

    I was wondering if there will be a C# sample of TaskVision anytime soon I agree with mongo ks. A simple yes or no.  If you do not want to use vb there is not reason to waste time doing a conversion. ...Show All

  • Visual Studio Crystal Report n SQL server2000(Error : date-time required here)

    I am using Crystal Report 10 in VS 2003 with SQL Server2000, using the following code... reportDocument1.RecordSelectionFormula = " {DeliveryTable.PartyName} = '"+DeliveryReportForm.partyName+"' AND {DeliveryTable.QualitySize} = '"+DeliveryReportForm.qualitySize+"' AND {DeliveryTable.PO} = '"+DeliveryReportForm.POO+"' AND {DeliveryTable.Dt} = '"+DateTime.Now+"' "; the error comes in the highlighted line which says "a date-time required here" Can anyone guide me.. Thanx in advance ...Show All

  • Visual Studio 2008 (Pre-release) What causes CommandBinding.CanExecute delegate to be invoked ?

    I have a button that executes a command when it's clicked. I have a CommandBinding instance associated to that command, and also methods to: * Allow/disallow execution * Preview execution * Handle execution All 3 are being called. It's obvious when the last 2 will be called but not the first one. Depending on a specific application state, my CanExecute method will return true or false. When the application starts it returns false which makes the button is disabled, as I expected. As the application runs, its state is changed, but the button is still disabled because it didn't call CanExecute to get the new value. What's strange is that when ...Show All

  • Visual Studio Team System Incredibly (astronimically) slow performance on new RC of TFS

    We upgraded from beta3 to RC on TFS. Also ran the 2.0 hotfix. I uninstalled the client (had no instances of vs2k5 running) and installed the new RC team explorer client. I also installed the 2.0 hotfix on my local computer. Now the SQL server runs on 100% load.. 'TfsVersionControl.dbo.prc_QueryItemsExtendedLocal;1' is running It loads the solution fine to a certain point, but then freezes. Getting latest from team explorer goes fine. Branching is successful, opening the branch, however, was not successful. It resulted in the same kind of freeze / cosmic slowness. On 1 out of 10 times, I managed to load the solution. From there it was fa ...Show All

  • SQL Server Connection Pooling

    I am using SQL 2000 and am trying to use sp_setapprole to set up user access. I am also using VB.NET with the MS Patterns and Practices Data Application Library for the database connection. I have discovered that connection pooling has to be set OFF for this SP to work. My question is this: If I have set connection pooling to OFF to run sp_setapprole, can I then set it back to ON and still run in the same session To explain a little more: Application starts Windows Authentication is used to grant access to a User table Connection Pooling set to OFF Application sets the users role with sp_setapprole Connection Pooling set to ON Data access i ...Show All

  • Visual C# VS 2005 My things that I don’t like list…

    VS 2005 My things that I don’t like list… November 5, 2005 Updated by November 6, 2005   In my opinion VS 2005 is the best IDE ever; still I like to make some comments.   Like to share the following with everyone with the hope that I be clarified or corrected on the presented “My I don’t like list”… I will keep updating the list by adding, modifying or removing issues along the way.   Top things that I don’t like…   ·          The “ GenerateMember ” property is a bad thing.   I don’t quite see why this property is neces ...Show All

  • .NET Development unique nodes from Nodelist msxml dom

    hi I am trying to access unique nodes from NodeList  (MSXML2.IXMLDOMNodeList) This is a part of my xml file in which i have multiple < FamilyCharat > with different ChrCod    value i have loaded it into Nodelist when i am counting No of  < FamilyCharats > it is showing me 3 ,where as ChrCod of 2 element has same ChrCod  and i need only unique ChrCod and its and there value < FamilyCharats > < < FamilyCharats ChrCod ="CapBase"> < ChrValue > E26 </ ChrValue > </ FamilyCharat >  < FamilyCharat ChrCod ="CapBase"> ...Show All

©2008 Software Development Network