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

Software Development Network >> Jahir Saleem's Q&A profile

Jahir Saleem

Member List

Langdon White
Jesus Ruiz
Anni
Anonymous Date
sulmau
spudstrawb
sharpej
Kishore79
Tico
Saravana
lancerx
Jaffi
DRaiko
jaspax
cPrince
ColinJLoretz
Watson How
dba
CSCNavy
TimMulholland
Only Title

Jahir Saleem's Q&A profile

  • Visual Studio Tools for Office Problem deleting excel sheets

    I have noticed a behavior that I hope is not intentional.   If a user of my Excel VSTO project deletes one of the sheets that is referred to by one of the managed sheet classes (ie Class Sheet1), the next time the application is started this class picks a new sheet to bind itself to.   I hope I am explaining this clearly.     Here are the steps to reproduce.   Create a new Excel VSTO project. Run the Excel app. *Delete one of the ‘managed sheets’ (I will use Sheet1) from the workbook. *Add a new sheet to the workbook. Save and close the Excel app. Restart the Excel app – Setting a bre ...Show All

  • Windows Forms Suprising performance increase

    Hello, I recently stumbled across a huge performance difference involving writing out a large hash table to a file.  The hashtable is holding a very simple object called Token, that holds a string value called token and a couple counters.  ToString() is overriden for the object to return: tokenstring [space] counter1 [space] counter2 If I iterate through the va ...Show All

  • SQL Server Is there any way to relocate the data and log folders?

    Is there anyway to move the data and log folders to another drive without having to reinstall SQL 2005. I have limited space available on the drive where the program files are installed and need to move these folders to another drive with adequate space for growth. Thanks So, it would be nice if you could track it with "solved" in the group system. Cheers, jens. ...Show All

  • Visual Studio Recommended Uninstall/Reinstall procedure?

    I have a system that had Beta1 on it, and I'm trying to install the FebCTP. But I'm getting odd errors. The FebCTP installed just fine into a virtual machine, so it must be conflicting with the old beta1. Does anyone have a recommended clean-up procedure for uninstalling/installing newer or older betas Anything I should pay attention to Here's what I've tried: Deleting any files in "Documents and Settings/XXXX/Application Data/Microsoft/Visual Studio/8.0" Delete Registry keys below HKCU and HKLM/Software/Microsoft/VisualStuidio/8.0 FYI, I've had the MSDN Beta1, the MSDN Beta1 Refresh, then February CTP, then back to MSDN Beta1, now I'm tryin ...Show All

  • Visual Studio PROBLEM WITH INTERPRETATION HTML Cristal XI

    Crystal Reports XI - ASP.NET. It is possible to show a HTML code similar to this <table><tr><td>text</td></tr></table> in a crystal report, The HTML is inside a field of a DataBase THE INTERPRETATION HTML FORMAT OPTION IT SEEMS TO WORK ONLY WITH BASIC STYLE TAGS SIMILAR TO <STRONG>This </STRONG><U><FONT color="#ff3333">is </FONT></U><EM>HTML </EM><FONT color="#3366cc" size="6"> Text!!!! </FONT> But not with <Table> Any sugestion thanks Juan Carlos ...Show All

  • Visual C# How do i iconify apps in c#?

    how do i iconify apps in c#...iconify means to minimise the app into the windows taskbar like an icon near the sound manager then bring them up later. You meybe want to store the state before minimazation of the form: private FormWindowState _lastNonMinimizedState; private void Form1_Resize( object sender, System.EventArgs e) {   if (WindowState == FormWindowState.Minimized)  {   ShowInTaskbar = false ;   notifyIcon1.Visible = true ;  }   else  {   ShowInTaskbar = true ;   notifyIcon1.Visible = false ;   // Store the non-minimi ...Show All

  • SQL Server Using Parameters in a filter

    How do use parameters in a filter when your datasource is a report model I tried the @param, but that gave me an error. I have a simple IF where if 'All' is selected, all records would be returned, if a parameter value was selected, only that record would be reported. Filter Expression ie: NCMR = (IF @NCMRParam = 'ALL', NCMR, @NCMRParam) formula error: The following is character is not valid: @ ...Show All

  • Windows Forms I use the print class of FotoVision to make a image print program, why doesn't it work?

    The following code is from FotoVision, I make a image print program using the class, but it doesn't work. Only after I have installed the FotoVision (The name of setup program is " FotoVision Desktop.msi ") my program just work. I think that FotoVision have packaged some other components such as dll or registered photowiz.dll in its setup program, but I'm not sure. If so, how can I register photowiz.dll with C# Could you help me, thanks!     //  Uses the XP Photo Printing Wizard to print one or more photos. //  The implementation of the photo wizard is in photowiz.dll but the //  interface is not exposed. Instead ...Show All

  • Visual Studio devenv /setup takes a lot of time...

    Just wondering why devenv /setup from Beta2 takes so much time in compare with VS .NET 2002/2003... Hi there. Not sure if I have the right forum but... I have a setup project. It installs a package successfully into VS2002 and VS2003. The last thing in the list of actions is a (Devenv) /setup custom action. However this last step fails for VS2005 Beta 2. If I remove the /setup and instead (after install of the MSI is completed) type in 'devenv /setup' via the command prompt all is OK. Any ideas on this one Thanks ...Show All

  • SQL Server Pull only numeric values

    I have a varchar field that contains both numeric and text data.  I need to pull only numeric, non-null values . I am fairly new to SQL, so I applogise if this is a really basic question. Thanks. hi try: SELECT col1, col2 FROM table WHERE ( ISNUMERIC(col1) AND col1 IS NOT NULL ) where col1 is your varchar column ...Show All

  • .NET Development Deprecated API?

    I am migrating a body of C++ code from VS .NET 2003 to 2005. While still in the documentation, GCHandle::op_Explicit() seems to have vanished (the compiler and intellisense no longer know about it). Does anybody know if this was intentional or accidental Thanks Henry op_explicit (and other op_ ) methods are "pseudo" functions that are used by compilers in place of standard operators like addition and conversion. In the case of op_explicit it is defining an explicit conversion from one type to another. This permits you to do a typecast and the compiler not complain about it. As far as I kn ...Show All

  • Visual C++ problem concatating c++ strings in visual studio 2005

    #include <string> using namepsace std; string foo = "foo" + "baz"; // and the prize error C2110: '+' : cannot add two pointers! Why not // try again: string foo = __T("foo") + __T("baz"); // error C2110: '+' : cannot add two pointers ideas Thanks! string foo = string("foo") + "baz"; or, more explicitly, string foo = string("foo") + string("baz"); ...Show All

  • Software Development for Windows Vista Add Activities in transaction Scope

    using Version -beat2 how to throw an error In transaction Scope based on "code If Statement" . like if (!CommitTransaction) { xxxxxxx } I Added throw Activity dynamically in above if statement. is this approach correct and in Compensation i wanted to remove that throw Activity -but i am unable to do it. Hi Ravi, 1. If you want to throw an exception from transactionscope you can add Throw activity inside the scope or in any of its child activities. Alternatively you can throw exception using C# throw statement from a code handler of code activity inside a transaction scop ...Show All

  • Visual Basic Running an external application

    Hi All: I want to program a button's click event to run a Windows batch program.  Is this "legal"    If so, could you either provide me with an example or point me to where I can find some documentation on this.  If not, please tell me how this little feat can be accomplished elegantly. Thanks. Thanks for running the code for me, David.  It turned out I did have a problem in the definition of strTextFile.  Once I sorted that out, the code worked fine. Sorry to have bothered you with something so elementary. Regards, Roraima ...Show All

  • SQL Server Ctrl+Tab not working

    Having an issue with the navigation keys. When I first installed Studio I could Hold Ctrl and tab through the active windows, then on releasing the buttons I would move to that active window. Now when I press Ctrl+Tab the list will come up, but wont jump to the screen I end on. The quick link window will stay up and the only way I can transfer windows is hitting Enter or clicking on the desired window with my mouse. Any ideas on this "seemingly simple" issue. I went through all of the Tools -> Options window with no luck. ...Show All

©2008 Software Development Network