kengz's Q&A profile
Visual J# VS.NET B2 - Object Test Bench
Hey, I was using Object test bench on Beta1 and that is really amazin feature. I use Beta2 now and I cant use Object Test Bench. In some project it is working.. but others dont include object test bench. I didnt understand what is wrong Yes, we are considering that. We have plan of supporting OTB for active project (currently selected project) rather than startup project. ...Show All
Visual Studio Express Editions Simple Listview Question
Is there a way to make my listview's background color altenrate with 2 colors Like on some programs a list of something has white blue white blue for each item's background color. Is there a way to do that so i dont have to have a loop go trhough each item and set its background color There is no shortcut, but looping through the items is easy: Dim i As Integer Dim j As Integer = 0 Dim item As ListViewItem For Each item In ListView1.Items If j = 0 Then ListView1.Items(i).BackColor = Color.Blue & ...Show All
.NET Development Windows service or IIS??
Hi, I have developed a remote server to cache datasets. My web app deployed on multiple web servers(web farm), will hit the remote caching server (separate machine) to get or insert datasets. How do you think hosting the remote server inside a windows service scale as opposed to hosting it inside IIS The load could be heavy on the remote server. Right now I have hosted it inside a windows service (to take advantage of TCPChannel). But the nagging doubt.....persists. The proj is still in development stage. Waiting for your comments. You should consider using ASMX for this scenario. We typically recommend Remot ...Show All
Windows Forms help for form
I don't know how to use "srand( (unsigned)time( NULL ) );" with the button and label~~~ thanks for help Buttons and Labels of .NET framework Then use the .NET equivalent of srand. srand function's equivalent in .NET framework is System.Random class. For more information about System.Random class, see here: http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpref/html/frlrfsystemrandomclasstopic.asp Regards, -chris ...Show All
Visual Studio Team System How to modify Validation Level for a web test when it is called from another web test
When a web test (say web test A) (which sends a web service request and a validation rule applied) is called from another web test (say web test B); the Validation level for called web test A is set as Low. Because of which validation rule for web test A is not applied. How can validation level for called web test set as High. FYI Validation rule (which is a cutom validation rule) which is applied in web test A ' Validate that the value of ticket using ValidateTagValue If (Me.Context.ValidationLevel >= Microsoft.VisualStudio.TestTools.WebTesting.ValidationLevel.High) Then Dim rule1 As ...Show All
SQL Server Executing trigger
If I have a trigger "instead of insert" on tableA When I insert a set of rows in tableA. How many times the trigger is called(executed) Once or for each row inserted Thanks Thanks Nielsb, It's really cool becaus I wasn't sure. good night ...Show All
Windows Forms DataGridView: Auto fill empty rows ???
How can I fill empty data rows in DataGridView if all records do not fill up the entire grid Many thanks. There'll be always one empty row at the bottom of the datagridview. You can use DefaultValuesNeeded to fill the blank rows. ...Show All
.NET Development identifying parent element
Hi i am working with DOM parser of MSXML , how can i identify if an element is a direct parent of another element for example i have MSXML4::IXMLDOMElementPtr parent, child how do i know if parent is a direct parent of child 10x in advance Avishay, You can do this by calling parentNode on child node and then compare the IUnknowns of the 'parent' node that you have and the returned parent of child node. H RESULT IsParentOfThisChild(IXMLDOMNode* pParent, IXMLDOMNode* pChild, BOOL* pfParent) { HRESULT hr = S_OK; IXMLDOMNode* pChildParent = NULL; IXMLDOMNode* pParentUnknown = NULL; IXM ...Show All
Visual Studio Team System How to hook build engine to get sources from another server?
Hello all, I want to interoperate the TFS with a server using VSS as repository. How can I go about it Environment: Presently clients are on VS .net 2003 IDE and server has VSS as repository. The project uses .NET 1.0 framework. What I want: I have introduced TFS server m/c which i want to get the project sources from the VSS server and build them. So, how can I hook build engine to get sources from VSS server Thanks in advance. Nike Hi Nike, This is not a supported scenario for Team Build since our integration with the VSTS source control system extends to a lot of tasks and some intrinsic Team Bu ...Show All
Visual Studio Express Editions starting another application with parameters
Hi there.. i want to start an application which name and path is stored in my.settings. so i use Process.Start(My.Settings.pfadname) when i execute my program and the filename in my.settings contains any command-line-parameters, vb tells me that the file doesnt exist.. so how can i make the programm start any other app using parameters Greetings Jan "JeriC" Eric "However, the question asked wasn't regarding your application, but rather on how to solve a particular problem (which you didn't answer correctly - even though you post was somehow marked as an answer )." That's also interesting Da ...Show All
Visual Studio 2008 (Pre-release) Animation: Width . I don’t know how to do this
Hi, I want to do something like this <DoubleAnimation Storyboard.TargetName="PART_Header" Storyboard.TargetProperty="(ContentPresenter.Width)" From="200" To="100" Duration="0:0:2" /> but I want to replace the final width = 100 by width = ContentPresenter.Width. My aim is to get that the element recovers its initial width, but I don’t know how to do it. I try things like this: <DoubleAnimation Storyboard.TargetName="PART_Header" Storyboard.TargetProperty="(ContentPresenter.Width)&quo ...Show All
Visual Studio Express Editions Linker Error: fatal error LNK1296: unable to load pgodb80.dll
Does anyone have a resoltution for this I want to compile a dll project. The Win SDK is installed, the property file is changed and the paths in "VC++ directories" are set. I don't know what to do to compile my code :-( It appeares you are trying to use the express SKU and the PGO optmization. PGO is not a supported scenario for such sku. To build you project, just take a look at the Build menu. Thanks, Ayman Shoukry VC++ Team ...Show All
.NET Development Please help
I HAVE BETA2 . I STARTED A PROJECT USING BETA 1 AND THEN CONTINUED THE PROJECT IN BETA2. I NOW WANT TO USE JUST BETA2 HOW CAN I DO THIS I DID SOME CHANGES . MAYBE THERE IS ANY EASY WAY OF CONVERTING IT THRU WIZARD PLEASE TELL ME HOW TO DO THIS. KINDLY RESPOND AS SOON AS POSSIBLE. Hi, The official location where they need to have put up this info is the Gotdotnet site which ca ...Show All
.NET Development x64 Conversion project with "Application error"
Hi all Working on converting a 32-bit server application to a x64 executable for performance comparision, but there is something wrong with the application or it's settings and I'm beginning to run out of ideas. The project runs great in 32-bit. It's a C++ application that has dll-files which I personally compile in 64-bit, shouldn't be any other except systme files. Checking dependencies and they should all be 64-bit according to Dependency Walker. It compiles without problems, gives a few warnings but that's no big deal since they are all related to 32-64 bit conversion and none should be of any relevance to this problem. But, when I try t ...Show All
.NET Development Network API functions
Hi all, Witch API functions can I use in .NET framework for getting information on a specific network. Can you give me links for examples. Regards... Hi Wasim , You mean directly use Win32 Api's if so try Allapi.com ; thats a good place ...Show All
