Netmon's Q&A profile
Visual Studio How to get a path to a freshly built assembly?
I'm trying to guess it based on active configuration, but that won't work in all cases. Are there any better ways for doing it I've looped over all project properties but found nothing there :( // build it... string config = vs.Solution.SolutionBuild.ActiveConfiguration.Name; vs.Solution.SolutionBuild.BuildProject(config, prj.UniqueName, true ); string path = prj.Properties.Item( "FullPath" ).Value.ToString() + "bi ...Show All
Software Development for Windows Vista When will vindows vista final be released ?
Can anyone tell me when the final windows vista will be released The announcement forum is meant for site updates, scheduled maintenance, and site usage guidelines. Although I thought that the Vista forums were for development only, I see that a lot of non-related Vista posts are answered in the Windows Vista Development general forum. I'll move your post there. You may find the answer to your question in this post . ...Show All
SQL Server SQL Management Studio Express
FYI, after installing SQL Books Online, SQL Management Studio Express would not boot, and after deleting BOL, SQL Management Studio Express displayed as expected. There is obviously an unresolved conflict betwenn BOL and Management Studio Express. I am using XP with all of the service packs current. So if you are having a display problem delete BOL. BB3 It looks like we fixed the bug and reposted the installation package on the download sit ...Show All
Visual C# Path in ASP.NET
Hey guys, I need some help on this. I am creating an asp.net app. In this app I have some classes not derived from anything. Just 'public class name'. On of these classes attempts to load some images from a directory, but it throws an exception because it can't find the current directory (which shows up in debug as some directory on my computer). Is there any way to get the current directory on the server from this class NOTE: Passing a S ...Show All
Windows Forms Virtual ListView (.NET 2.0)
Greetings, I'm having performance problems with ListView control from .NET Framework 2.0 working in virtual mode. I wrote simple test program (see bellow), and I see that framework many times repeatedly calls OnRetrieveVirtualItem method for each item (In my case sometimes it can call OnRetrieveVirtualItem ten times for each item). Is this normal Why even so simple program run too slow How can I speedup everything ...Show All
Visual Studio Tools for Office How to do this in C#
I am trying to create PivotTable in Excel using c# The full code for the funtion is as follows; public void stgPivot() { Xl.Application xlApp; xlApp = (Xl.Application)System.Runtime.InteropServices.Marshal.GetActiveObject("Excel.Application"); Xl.Workbook wb = xlApp.ActiveWorkbook as Xl.Workbook ; Xl.Worksheet ws = xlApp.ActiveWorkbook.Worksheets["Sheet2"] as Xl.Worksheet; Xl.PivotCache ...Show All
Software Development for Windows Vista CAZE / State machine authorization
Would WWF be a candidate for a CAZE-style state machine authorization engine How would that type of thing be implemented in WWF DNeigler, I'm not too familiar with CAZE-style authorization engines, but it seems like you could use the state machine workflow in a similar way to model the authorization rules of a business application. Arjun ...Show All
.NET Development StreamReader-> Search And Modify inside textfile
Hi there, I need some help pertaining to a text file. No use explaining, I'll do it as I go along. Here is an example of my text file: Sasko Sam Seedloaf 800gr [6.86] #3## Elite Gouda Cheese 500gr [32.90] #5## Wholegrain [5.00] #6## Wholewheat [6.00] #7## Coke [7.00] #0## If i break it down, using the first line as an example, each line contains: A product: "Sasko Sam Seedloaf 800gr" A price: "6.86" A qua ...Show All
.NET Development User Configured Database connection (!=MSdasc)
G'day, The 64 million dollar question in Dot net windows database application. Why isn't there an easy control in .net to allow an windows form user to connect to a database and change a database connection string (often stored in a *.config connection string property) I know you could automate the COM component MSDASC.DataLinks (*.udl) but this seems so old school. http://www.codeproject.com/cs/database/DataLinks.asp Where is the managed ...Show All
Visual Studio Adding a submenu
Hi all Thanks Craig for your reply to my last post This time I am trying to add a menu and a submenu. E.g. in the code window of the VS2005 IDE You have Breakpoint > then Insert Breakpoint I can't seem to find any code that lets me add a top level pop-up (context) menu item, then menu items underneath Sorry, bit of a newbie question I guess, but I have searched around to find code on this Cheers Chris ...Show All
SQL Server Previous Row Calculations (sql server 2000)
if anyone know a way that you can look up a value from the previous row in a View to do a calculation on (in sql server 2000) for example: expr1=PreviousRow.Expr1/30 + expr2 - expr3 =100 so the next row is expr1=100/30 + expr2 - expr3 =300 so the third row is expr1=300/30 + expr2 - expr3 =100 or tell me if it not possible please and special thanks to Umachandar Jayachandran - MS for help. Hi, Im ...Show All
Visual C++ 2005 Resource Editor trashes non-English languages when you edit any dialog
I have an application that has resources in 11 languages, including Chinese (CHS), Hungarian and Polish. These three are especially challenging because they use a non-English code page - Chinese uses 936 and Hungarian and Polish use 1250 (English and western-European languages use 1252). I am not using Unicode but rather just single byte characters sets for all languages except Chinese which requires MBCS (two byte characters). MFC an ...Show All
SQL Server Blocking updates of a table
Hi, I've been trying to design a way for me to issue a transaction that: Block all inserts on a table when row X has a certain value (call it A) Add a row to the table with row X containing A Add rows to another table Unblock inserts Commit transaction Is this possible Can anyone give me some pointers as to what to do Thanks in advance! I assume you only want to block Inserts but not Updates, Deletes ...Show All
Visual C++ how to save html file in VC++
hi, i want to save a html file from my browser. i have created my own browser and want to save the html file.. i have used ACTIVE X controls to make my own web browser(same as IE).. it should be like that of SAVE AS option of IE.. plzzhelp.. Just Google. I C++ i don't know. You need to code yourself and learn how it is working. Sometimes it is hard work :-) Bye Martin ...Show All
Visual Basic Config file on Class Library ??
Got a solution with 3 projects, a Web Service, a WinForms (MyUI), and a Class Library (Foo). MyUI calls methods in the DLL that access the web service. The DLL has project config settings that store the URL of the web service. I compile the solution and it compiles all 3 projects. In the DLL's bin dir it puts the foo.dll and foo.dll.config files. However, in the WinForms bin dir it puts the MyUI.exe, MyUI.exe.config, and foo.dll; it doesn't i ...Show All
