CalBob's Q&A profile
Visual Studio Team System December CTP install failure
Steps taken Install VPC on standard disk size (yes, it is too small, but this was a test run) Install Windows Server 2003 R2 Updated all patches Install Domain Controller (with DNS) role Add domain accounts Install Application Server Role Install .NET Framework 2.0 (probably out of order, next run will be before App Server role) Register ASP.NET 2.0 (aspnet_regiis /i) Install ADAM (assume this is still needed) Install Certificate Server and add SSL Certification - not necessary for install, but an intregral part of our needs Install SQL Server 2005 Enterprise - RTM Install WSS 2.0 - Add/Remove Windows ...Show All
Visual Studio Welcome to the Report Controls Forum!
Khi dung visual foxpro lap trinh va in ra man hinh bang report cua foxpro thi noi chung cung tot roi, tuy nhien trong 1 text box lam sao minh canh deu 2 ben nhu trong word de duoc dep mat. ...Show All
Visual Basic Start Up program
how do i make my program a startup program Actually your path is correct I transposed my last 2 directories.... You can create a shortcut to put in the startup directory or put the path of your program in the registry key ...../run as suggested ...Show All
Windows Forms Why is this (setpixel) so slow? How can I speed up image creation.
Here is a simple sample of code that I use to create a bitmap from a data array I'm holding in memory. void Form1::ImageUpD(Double image[,]) //Image UpDate function { ImageBmp = new Bitmap(image->GetLength(0),image->GetLength(1),PixelFormat::Format24bppRgb); //ImageBmp is global...I always keep it around for display and updating double val; for (int i = 0; i < image->GetLength(0); i++) for (int j = 0; j < image->GetLength(1); j++) {//ImCLim below is just for contrast clipping...is a 2 element array val = image[i,j]; if (val<ImCLim[0]) val = ImCLim[0]; if (val>ImCLim[1]) val = ImCLim[1]; ...Show All
Windows Forms Inherited Extender Property Defaults
I've created a new extender component which extends a "Participates" property to other controls on a form. If I drop that on a form (form A) along with a toolbar I'm able to set the toolbar's Participates property - no problem. Both the toolbar and the extender component are set to "Protected". When I derive a form B from form A&nb ...Show All
Visual C++ How to call a Dialog Box?
Hi! I'm new to VS and I need some help! I've made a main form and another (i'll use it as a dialog box). I have a Main Menu on the main form and I want to call dialog box (form 2) when I press menu item. I know where tu insert the call code but I dont know what code to use. Help!!! Another question: As for the cpp files included in the project....which one is the main one (is it the one with WinMain function ) Does this mean that I can't have main function in other cpps How does the linking work I want that main cpp does the printing on the main form and other cpps send data to main. How do I do that You might find these topi ...Show All
SQL Server Problem with nested INSERT EXEC
Hi All, I am having a problem with nested insert exec. Say for example I have three stored procedure procA, procB and procC. I am executing procedure procC in procB; I am storing the values returned by procC in a tempTable. The code is INSERT INTO #Temp EXEC procC And in procA, I am executing procB, and the values returned by procB are stored in another temp table. The code is INSERT INTO #TempOne EXEC procC When I execute the procA, I am getting error as An INSERT EXEC statement cannot be nested. My requirement is like this, please give me a solution. ...Show All
Visual Studio Team System What/ Where is Team Foundation Registration Service
I cant find the Team Foundation Registration Service anywhere. It is documented as something included in the Team Foundation Framework but I can’t find a concrete implementation of it in my system. What is it Where is it The TFS Registration Service is a Web Service hosted on the Team Foundation application tier machine. You should be able to find it using IIS Manager or by browsing to http://<servername>:8080/services/v1.0/registration.asmx . It is used to access platform configuration information for TFS. ...Show All
Windows Forms few questions combining msi with clickonce
Hi, I'm trying to install a clickonce app for all the users on a machine. I know you can't do it via clickonce, but you can via MSI. How could I install an application via MSI and have it look for updates via clickonce Is that possible Please, point me in the right direction. Thanks Hi, ClickOnce applications are per user applications. You cannot install a ClickOnce app for all users. Here is an article comparing ClickOnce and MSI that you might find useful. http://msdn.microsoft.com/smartclient/default.aspx pull=/library/en-us/dndotnet/html/clickoncevsinstaller.asp Thanks ...Show All
Visual Basic A question about Byte.Parse
I use: Try Byte.Parse(tbHyper.Text, Globalization.NumberStyles.Integer, Nothing) Catch ex As Exception If tbHyper.Text > 28 Then tbHyper.Text = 28 If tbHyper.Text < 0 Then tbHyper.Text = 0 End Try The above code is executed on textchanged. Everything is fine except for if the text box is blank then the exception is thrown as an Invalid Cast. Is there a way to use Byte.Parse and have it ignore when the box is empty Since I am asking, is there a better way to limit a textbox without using a mask Like my textbox is only allowed positive integers from 0 to 28. If there is a better way to do this than ...Show All
Visual Basic String function
Forgive me for this probably simple question, but is there a predefine function that will return part of a string. ex. If s is a string value of "basic" and I wanted to return just the first letter "b", is there a predefine function that will do that Substring would be the way to go ala: Dim firstChar as String = s.Substring(0,1) ...Show All
Visual C++ Use c++ DLL
Hi everyone. I want to use a DLL. I have been searching the best way, but I haven's been successful finding the best one. So, here I am to seek your help. I'll manage an example: - I have a DLL which contain this funcionallity: enum LP_enum { LP_SUCCESS = 0, LP_ERROR = 1, LP_UNAVAILABLE = 2 } ClassLP LP_enum getLP(LPCTSTR p_name) { ... } Now, from a *.cpp I should use the getLP function that is in the *.dll. What is the best way to do it I'm not compiling with .NET version, just with 6.0. Thanks in advance. ...Show All
Software Development for Windows Vista Workflow terminating with invoked event
I have a state machine workflow < StateMachineWorkflowActivity x:Class = " Msn.Ads.Cam.Workflow.CamWorkflow " InitialStateName = " State1 " x:Name = " Workflow1 " CompletedStateName = "Stat e2 " DynamicUpdateCondition = " {x:Null} " xmlns:x = " http://schemas.microsoft.com/winfx/2006/xaml " xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/workflow " > < StateActivity x:Name = " State1 " > < EventDrivenActivity x:Name = "e vent1 " > < HandleExternalEventActivity Invoked = " Invoked1 &quo ...Show All
SQL Server Problem With LookUp
Iam trying to make a look up of 'ColumnA' with 'columnB' of another table .But 'columnB' has some duplicate vlaues..so lookup transmition is giving an error. Is there any solution for this Thanks Niru Findout out the solution...using Sqlquery as OLEDB Source instead of Table.This solved the thing. Thanks Niru ...Show All
.NET Development PerformanceCounter specifications ?
I am looking for the standard PerformanceCounter specs. Through the performance monitor application that comes with WinXP, I can see that there are loads of performance counters out there (on a WinXP machine). Is there some reference guide on those counters (at least the OS and .Net counters) Thanks in advance, Joannes Hi, BUG: NextValue method of .NET PerformanceCounter object returns zero SYMPTOMS The NextValue method of the .NET PerformanceCounter object may return zero (0) for the following LogicalDisk or PhysicalDisk performance counters: ? % Disk Time ? % Disk ...Show All
