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

Software Development Network >> Jeff Sholl's Q&A profile

Jeff Sholl

Member List

SteveWE
ming_68
ca_localhero
LordFord
Alan Cobb
James Howey
Dave Anson
KlaasR
Stane Bozic
hatem elshenawy
Morten Andersen
Chris Mann
bruce_heath
Fre_d79
AlexSok
eguo
Steve Peacock
cleomc
David Botzenhart
Dermot French
Only Title

Jeff Sholl's Q&A profile

  • Visual Basic Microsoft VB.NET --> Refresh i.e. close All Applications

    Hello; I would like to find out, if Visual Basic .NET Express allows you close all the application currently open using a single button. What I am trying to do is, for the user to click on the button using my application and it would close all the applications currently open, including MSN Messenger. Is that possible, if yes how I will look forward hearing from you Thank you. Regards 1 There's no guarantee that all would close without confirmation dialogues, etc. but you could call Process.GetProcesses to get an array of Process objects, then loop through it calling CloseMainWindow ...Show All

  • Visual Basic ContextMenuStrip shows in taskbar

    Here's my problem: I want to use four ContextMenuStrips to make a kind of a multiple menu. I need to set de AutoClose property to FALSE. When I do that, every ContextMenuStrip appears in the taskbar (my app has 5 items in the taskbar!) Is there any way to disbale AutoClose without having the menus shown in the taskbar I would appreciate any help! ...Show All

  • SQL Server Inserting Null Value

    Is there a way, I can insert NULL value to "DT_Date" type Row Column using Script Component Transformation of Data flow Ie. I have a column named Ordered Date which is type DT_Date. Based on some condition within a script component task, I want to set the value to NULL, however, since the type is date it will not allow nulls. N.S. I just had a similar issue trying to enforce Null insertion into database in numeric column type. Assigning Row.FieldName_ISNULL() to True works great for this case! Thanks. ...Show All

  • SQL Server Exec SQL Task: Capture return code of stored proc not working

    I am just trying to capture the return code from a stored proc as follows and if I get a 1 I want the SQL Task to follow a failure(red) constrainst workflow and send a SMTP mail task warning the customer. How do I achieve the Exec SQL Task portion of this, i get a strange error message [Execute SQL Task] Error: There is an invalid number of result bindings returned for the ResultSetType: "ResultSetType_SingleRow". Using OLEDB connection, I utilize SQL: EXEC = dbo.CheckCatLog EXEC SQL Task Editer settings: RESULTSET: Single Row PARAMETER MAPPING: User::giBatchID DIRECTION: OUTPUT DATATYPE: LONG PARAMETER NAME: 0 PS-Not ...Show All

  • Visual Studio Properties on Relationship

    I would like to add custom properties to a relationship that an end user of the domain model designer can configure using the properties explorer window. Is there anyway that I can do this Yes, see http://forums.microsoft.com/msdn/ShowPost.aspx PostID=17201 ...Show All

  • Visual C# foreach loop stays in infinite loop when an exception occurs.

    My code reads a list of files from one directory and moves them to another directory. The problem here is that if an exception occurs, then the code get's stuck in an infinite loop. Meaning the value stored in fileName stays the same, and is not updated(incremented) with the next string value in the fileList. The exception will be caused if someone has the file open, or locked by another application. What I need to do is to gracefully skip over the fileName that is locked up, or in use by another application. I suppose this can be done by somehow forcing fileName to point to the next value in the fileList Array. Does anyone know ...Show All

  • Visual Studio Team System Visual studio locking up when doing TFS stuff.

    Hi, I am wondering if anyones else is having a similar problem as me. It seems at certain times when I do various actions (getting latest code, checking in something) the action completes and then Visual Studio locks up to the point where I have to kill the devenv.exe from the task list. It has happened to me quite a few times now. I am running the VPC image for the server and have installed the TFC from the en_vs_2005_tfs_trial.iso file. I really like the product and have convinced my manager we should move to it but I can't really do that in good faith if the team is going to lock up frequently. Cheers, Clint It is true t ...Show All

  • Visual Basic Visual Basic.Net 2003 Standard ???

    This is right off the box. Connect to a wide range of data sources using the new Managed Data Providers, ADO.Net, and the Microsoft.Net Framework. Within the program there is Oracle, SQL....... When I try to connect to a SQLExpress Database I connect successful but then it errors out with the error that it can only connect to an Access database or MSDE a desk top engine with the standard edition. So my question is, Is the wide range just the two databases and the Oracle and SQL classes just for looks I feel like I have been had, If this is true I would of bought pro. Or is this just threw server explorer I don't want to wr ...Show All

  • Visual C++ wcsstr with a const return type in rc1 header

    Hi 40th Floor! > _CRTIMP __checkReturn _CONST_RETURN wchar_t * __cdecl wcsstr(__in_z > const wchar_t * _Str, __in_z const wchar_t * _SubStr); > > What's the deal with the "const" on the return in > > ...\Microsoft Visual Studio 8\VC\include\string.h > > when the docs I see show > > *wchar_t *wcsstr( const wchar_t* */_string_/, *const* *wchar_t* > */_strCharSet_/ *);* It seems that the docs (or the standard) are wrong :-) If the parameter is const then the return value must also be const. If the return valus would not be const, this could lead to GPFs... -- Greetings Jochen My blog about Win32 and .NET ...Show All

  • Windows Forms User Control Event Handling

    This may be a basic question, but I am hoping someone can assist me. I have a winform (2.0) which I add two user controls to during runtime. One user control contains a DataGridView control. The other user control contains a tab control containing various controls. I would like to handle the CellContentClick event of the DataGridView to alter the data in the tab control. This would be a master-detail type situation, but I am unsure how to handle using two user controls on one winform. BTW - I am coding in C#. Thanks If you'd like to expose the entire DataGridView control, I would simply make a property i ...Show All

  • Windows Search Technologies Cannot uninstall WDS v2.6.5 (5378) under XP SP2

    Howdy, I am using XP SP2 on a IBM T40 laptop, accessing through two accounts; one with admin privilege and the other under Power User. For daily usuage, I used the latter. The problem is I can't uninstall WDS v02.06.5000.5378. It is because: a) WDS isn't listed in Add/Remove Programs b) the Uninstaller package is not listed in %systemroot%\$NtUninstallkb911993-V2$\spuninst and lastly c) The "Windows Install Clean Up" does not have WDS listed BUT I found instructions to remove the product manually at http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=257994&SiteID=1 , but upon doing so, I found: a) while ...Show All

  • Visual Studio Express Editions Microsoft SQL Server 2005 Express Setup - Installation / Incompatible Components

    Hi, I'm having trouble installing SQL Server 2005 Express.  It keeps giving this message:  "SQL Server 2005 Setup has detected incompatible components from Beta versions of Visual Studio, .NET Framework, or SQL Server 2005.  Use Add or Remove Programs to remove these components, and then run SQL Server 2005 Setup again.  . . ."  I installed a Beta version of Visual Studio over a year ago, and this may be causing the problem, however, I have tried uninstalling everything (Add/Remove Programs), and I still get this message.  I have also tried manually deleting in Windows Explorer the "Microsoft SQL Server" fold ...Show All

  • Visual Basic DatagridTextBoxColumn WORDWRAP

    Hi everyone. I have a datagrid working just fine. I added a tablestyle to it and now I want to make my textboxcolumns to use wordwrap. I added the next lines to my columns mytablestyle.gridcolumnstyles(i).wordwrap=True but Its not working at all! Ive read some articles and seen some codes extending the datagridtextboxcolumn but non seem to work. Anyone got a working code How can I make it work You need to make your column style for that. There is an example of a multiline column on the vb-tips website . ...Show All

  • Visual Studio 2008 (Pre-release) Modal "something" in browser app

    (I know this is a bit off topic…) I want to make my own modal dialog using a CustomControl or Popup with buttons. But how can I stop program execution and wait for a button to be pressed I mean something like this: public class MyOwnDialog: CustomControl { public static DialogResult OpenDialog(string question) { //Add control to window, and hook op buttons. //But how do I wait for button clicks } } Usage: private void OnDeleteCustomer(object sender, ExecutedRoutedEventArgs e) { if (MyOwnDialog.OpenDialog(“Delete customer ”) == DialogResult.Ok) { … } } Hope someone can come with an example or point me to a helpful webpage ...Show All

  • Visual C# C# - Namespaces - accessing of sub-namespaces

    Consider the following code snippet, in a file: namespace NamespaceA.NamespaceB.NamespaceC { public class ClassC { public static string StringC { get { return "string c" ; } } } } Now, I want to be able to access the property from within another file. The following works - using NamespaceA.NamespaceB; namespace Tester { public class TesterClass { public string StringC() { string myValue; myValue = NamespaceA.NamespaceB .NamespaceC. ClassC .StringC; return myValue; } } } However, I don't want to have to explicitly use NamespaceA ...Show All

©2008 Software Development Network