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

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

TheQuietShadow

Member List

a.d.m
Piyarit
EwenTweedie
DotNetFireball
Nate Garvey
squeezy99
QWERTYtech
rsd_za
Faraz_Ahmed
FastCoder28
Sugan_Dave
Furby
Nash Bridges
BobH
mrLarry1975
A.Russell
avfarci
mas-es
blixt174963
beechum1
Only Title

TheQuietShadow's Q&A profile

  • .NET Development Using Process.WaitForExit() when the process is a GUI application

    Within an application I am writing, I need to do the following: Execute an external GUI application (for the purposes of this example lets assume its MS Word). Block the current thread until the external GUI application has been closed. My first attempt at doing this was to make use of the System.Diagnostics.Process object. // Initialize the process object Process myProcess = new Process(); myProcess.StartInfo.FileName = "C:\\Program Files\\Microsoft Office\\OFFICE11\\Winword.exe"; myProcess.StartInfo.WorkingDirectory = "C:\\Program Files\\Microsoft Office\\OFFICE11"; // Start the process and wait for it to be closed myProcess.Start(); myProcess.WaitForExit(); // A ...Show All

  • Visual C++ In the debug folder of my vc project, there are some files with the extension name(.sbr, .obj), can you tell me the funciton of

    In the debug folder of my vc project, there are some files with the extension name(.sbr, .obj), can you tell me the funciton of this .sbr file http://msdn2.microsoft.com/en-us/library/d5a52hhk.aspx ...Show All

  • Visual Studio Team System Suspicious behaviour when anonymous method presents

    It seems that FxCop BaseControlFlow rule incorrectly handle case when generic anomymous method is created and invoked in method. For example, there is application with one method Main static void Main( string [] args) { Console .WriteLine( "{0} - {1}" , 1, 2); Console .WriteLine( "{0} - {1}" , 1); } If we try to use rule ProvideCorrectArgumentsToFormattingMethods, result is expected Resolution : "A call to Console.WriteLine(String, Object):Void in Program.Main(String[]):Void does not appear to provide an argument for the format specifier {1}. The complete format string provided is '{0} - {1}'. " But if we add declaration of generic delegate like pub ...Show All

  • SQL Server Help in Installation

    Anyone tell me which edition i use SQL server for winxp as server.can anyone send me that file. You can install all editions except Enterprise on XP SP2. These would include SQL Server Express, Express Advanced, Standard, Workgroup, & Developer. Thanks, Sam Lester (MSFT) ...Show All

  • Visual C# Toolbox Icons screwed up

    Hey everyone Recently when I opened Visual Studio 2005 I noticed that all of my icons in the tool box are screwed up. Now this isn't the end of the world, but I have noticed that alot of times I am fuzzy on the name of the control over what that dumb little icon looked like. Has anyone see this before Any ideas on how to fix it Thanks Kenzie found a solution that doesn't reset your toolbox ... 1. ensure you have the toolbox displayed before proceeding 2. goto 'tools' > 'import & export settings' 3. select 'import selected environment settings' then click 'next' 4. select 'no just import my new settings overwriting my current settings' then click 'next' 5. select 'my settings' > 'curre ...Show All

  • Visual Studio Team System Pending changes are stuck within the TFS VC

    Hi, One of my programmers change his PC host name while he forgot to check in all of his work. SO, currently we have files which are checked out under his user which his mark with the old computer name and workspace. Is there a way to force check in from specific location or to do undo pending changes (by admin) We are stuck with these files and can't work on those project . Any idea 10X Nir An administrator can delete his workspace or undo the change. See here: http://blogs.vertigosoftware.com/teamsystem/archive/2006/07/24/3125.aspx However, you probably don't want to do that. Just run tf workspace /updateComputerName. http://blogs.msdn.com/buckh/archive/2006/03/03/update-workspace.aspx ...Show All

  • .NET Development dataset slow

    I have an application that is concatenating to a string (of course I'm using the stringbuilder class and appending) that is REALLY slow. The query to the oracle database is very large so I go to the database to get some of the records - that I append and write to the file. Now, I go back to the database and get some more of the records, append and write to the file, too. So, each time through the loop I have maybe 50000 rows in my dataset. I append the rows from the dataset together and write it to a file. Well, the query is quick and so is writing it to the hard drive. The machine slows down during the concatenation. I checked for thrashing and I've upped my swap files - but the server does not have a hardware problem, really. ...Show All

  • Software Development for Windows Vista ignore state machine events

    Is there a way to take no action when an event occurs I want events to get ignored instead of throwing an exception when they are not allowed in a specific state. I have many states and many events that can occur. If I want to simulate this behavior in the workflow I have to attach each event to each state, and set some state in the event handlers when I want to do something, and set the same state again when I want to ignore it. Is there any better approach (I would like to have the logic in the workflow and do not restrict the host in which kind of events it can send) Thanks in advance for any suggestion! I realized that events can be added at the machine state level, so you can add each pro ...Show All

  • .NET Development Server side script to hide specific row after postback?

    When you use the old asp and were presenting a detail view you might choose to not show a table row by setting the style display attribute to none which takes it out of the html. You might do this where a form was being filled in. For example you ask whether a person is under 17 or over 17. If under 17 you might choose to not display the table row that asks for their driver’s license number. In asp you would use Javascript and do a getElementbyID for the row in question and set the style attribute display to none. I am trying to find the srver side asp.net2 equivalent to set a specific table row style display to none using server side VB after doing a postback. i.e. not using Javascript. ...Show All

  • .NET Development PL/SQL: numeric or value error when reading more than 1333 characters

    When running the folowing sample on .NET 1.0 sp3 I got no errors, but on .NET 1.1 and .NET 2.0 I got ORA-06502: PL/SQL: numeric or value error ORA-06512: at "TEST.TESTIT", line 1 ORA-06512: at line 1 For all my test I used the same database and the same machine. I used the provider suplied by Microsoft for .NET 1.0 and the provider from the framework in 1.1 and 2.0. This is the sample code: using System; //using System.Collections.Generic; using System.Text; using System.Data; using System.Data.OracleClient; namespace TestOracleParam { class Program { static void Main(string[] args) { //please specify a valid username,password and data source OracleConnection oracleConnection = new OracleConnection("Data source = dbname;user = ...Show All

  • Visual Studio 2008 (Pre-release) TextBlock versus Label

    What is the difference When to use one versus the other Unlike Label, a TextBlock element can do ... Thank you in advance for your help. Pradeep Thank you all for your help. In summary: 1. Use Label if you need accelerator keys. 2. For all other purposes, use TextBlock as it is more efficient. Regards, Pradeep ...Show All

  • Visual Studio Express Editions Carriage Return on a Msgbox

    Can anyone help me with the syntax for this I tried (CHR(10)) and that did not work. Thanks in advance. Eric In MsgBox("hello" & Chr(13) & "there!") it works for me ...Show All

  • Visual C# Vb.Net in C# application

    hi all Is it possible that we can use vb.net Form in a c# application , i have a Vb form and i want to integrate in my c# desktop application i am using visual studio 2003 with Framewrok .1.1 Thanks Zubair Sure you can do it, Compile that VB code into dll (Class Library Project), add a reference to that created library in C#. And you can use that! Any further help needed Best Regards, Rizwan ...Show All

  • Microsoft ISV Community Center Forums ShellExecute Function

    Is it possible to use the ShellExecute Function to open the Bloomberg program Hello! I know that the Shell can open programs belonging to the Windows family. However I was referring to Bloomberg (not part of the Windows family). Does anyone know if it is possible to open a program not belonging to the Windows family I would have tried it but I am vacation (that I dont have time to enjoy) and I do not have access to Bloomberg from here. I would very much appreciate an answer! Thank you very much! ...Show All

  • Visual C# Text extraction -- This one will make you dizzy

    Hello, Let's say I have the following variables: string var1 = "5567 87865 4432 54535 6678 4435"; string var2 = "667 332 32 555677 4465 44444444"; string part_of_var1 = "4432 54535"; string xxx = String.Empty; I want to have in xxx: 32 555677! Notice that part_of_var1 contains the third and fourth parts of var1. I want to have 32 555677 in xxx var because it is the third and fourth parts of var2. I hope it's clear! Please help. Hi, I am not following what you mean by "same input". Did you modify the code from the example given, I can run the code sample without any compiler errors. The error you are getting suggests you put a return st ...Show All

©2008 Software Development Network