popey's Q&A profile
SQL Server Communicating between 3 Service Broker instances
I have a problem. I am trying to set up Service Broker communication between 3 machines, all running the September CTP release. I have included the scrip (edited) that I used to setup the 3 machines. This scrip refers mainly to what was done to server1, with comments to indicate which parts were done on the other servers (commented out the connectionstring property to indicate a change of server) I also added comments to indicate the copying/deleting of certificates; this script is intended to recreate the three setups if necessary so there is script that checks for the existence of objects before trying to create said objects. Certificates ...Show All
.NET Development Norton SystemWorks Basic One Touch Button Program Integrity Scan Microsoft.NET Framework v2.0
Dear Friends I recently installed Microsoft.NET Framework v2.0 on my computer so that I could check the viability of my computer for the new operating system "Vista" that Microsoft are launching next year. The download worked fine and allowed me to assess my computer appropriately. But the next time I used One Button Check Up in Norton SystemWorks Basic I found the following 10 errors appeared in the Program Integrity Section: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\AppLaunch.exe cannot access a necessary file, "msvcr80.dll" C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe can ...Show All
Visual Studio Team System Is it looping the number of record counts times for the table as a DataSource for unit test?.
While I’m studying “Unit Test” by using VSTS2005, I got some questions below. 1. This indicates two parameters using DataSource like AddTest Method in Code below. When I test this method, I expect this to run only once but it is looping the number of record counts times for the table. I need to know the reason why this could happen. 2. In “Unit Test,” can I use “Add Data Source” Wizard like Web Test 3. If I use DataSource in TestMethod, when this DataSouce can be closed <TestMethod()> _ <Dat ...Show All
SQL Server Problem Displaying Japanese Characters
Results you are seeing might be due to the fact that you are inserting characters as regular chars and not as Unicode chars, and their translation (effectively truncation) is affected by Query Analyzer. Instead of INSERT INTO tblJap (Jap, Eng) VALUES ('...(Japanese chars)...','Oda Nobunaga') try INSERT INTO tblJap (Jap, Eng) VALUES ( N '...(Japanese chars)...','Oda Nobunaga') and see if that fixes your problem. Regards, Boris. ...Show All
.NET Development .NET Framework
My Norton Systemworks Win Doctor indicates that I am missing file .msvr80.dl in >NET Framework 2.0. It sugests that it be reinstalled..which I did.. but when Norton Win Doctor is run again, the error persists. Norton states it cannot correct the error. Please..I need help..urgent!! I tried repairing it, and does not correct the problem. Thanks Joe There is an MSVCR80.DLL - this should be under your c:\Windows\WinSxS directory. If that doesn't help, you can try asking your question in the Visual Studio Setup forum. Hop ...Show All
SQL Server Switch / choose / IIf in expression
Can someone give some examples for Switch and choose Statements to use in Expression like IIf. thanks. also i need to know how to check for the null value. IsNothing and IS System.DBNull.Value doesn't seem to work. =IIf( Fields!mmActDate.Value IS System.DBNull.Value, MonthName( Fields!mmPlanDate.Value ),MonthName( Fields!mmActDate.Value )) I get a warning message for this, The value expression for the textbox ‘mmActDate’ contains an error: Argument 'Month' is not a valid value. thanks. Try isnull function instead =IIF(isnull(Fields!mmactdate.value,'01/01/1900')='01/01/1900',.... or something to that effect (not sure about date f ...Show All
Software Development for Windows Vista Visual studio 2002 with Windows SDK 2006
My current code base is using Visual studio 6.0. I am trying to port it to visual studio 2002 using latest sdk which has support for native wifi. Are these compatible enviroments ...Show All
Windows Forms How do you add save as button?
I need to add a "Save As Word Document" button to my .net windows form. I would need it to save all the data on that tab to a word doc. This includes some text labels, a list box and some form images if possible. I've looked for this code but can't find it. Is there a way to save as pdf also Thanks so much, Todd ...Show All
Windows Forms DataGridView and LinkLabel
Hello, I am trying to represent a table (I am using SQL Server 2005) as a gridview. There are 3 columns which represents the hotel code, the type of the room and the number of that room, and the rest of the columns are the days of the year,set as bool, indicating if that room is occupied in those days or not. My question is if is there a way to represent this table as a gridview and to fill those occupied cells with a different color, to see for each hotel,for each type of room and for each room number which one is free. My second question is about a linklabel. I put the code here, but it doesn't open that specific link ,it just openes ...Show All
Visual Basic Help me with Word application (MDI)
Hi I am making a program like word. I have two forms, form1 proberty IsContainer so form1 is a parent. I have a richtext box on form2 and i have a main menu on form1, on the main menu i made a menu item named mnuNew and another one named mnuColor 1st : i want when i click on mnuNew form2 opens into form1 (like word) 2nd : i want when i click on mnuColor a colordialog opens and when i select a color then then selected color in the rich text box in form2 get changed so please help me Thanx Hi Show the form2 if the user clicks the mnNew (that contains the RichTextBox) form2.show and you can used the commo ...Show All
Visual Studio Express Editions PageSize difficulties
Hi, My application has two different size documents to print. First there is the standard 8.5" x 11" letter size sheet and the second is a 5" x 8" index card. The letter size sheet it to print in portrait and the index card is to print in landscape. I seem to be able to change the page orientation, but not the size. Her is my attempt to code this: Private Sub PgSettings() With printDoc.DefaultPageSettings Select Case o_PgType Case PageType.ScoreChits .PaperSize = New Printing.PaperSize( "Chit" , 500, 800) .Landscape = True Case Else .Pape ...Show All
Visual FoxPro VFP9 Web Services WSE 2.0
Hi. WSE 2.0 introduced a method of attaching files when calling web services. Are WSE 2.0 extensions usable in VFP Web Services REgards Dave ...Show All
Visual Studio Unit Tests for Custom Tasks
I'm developing some custom tasks and would like to write some Unit Test cases to make it easier to test them during development. The only problem I've run into thus far is logging. Because I'm not setting the BuildEngine property on my task before calling Execute(), all of the Log statements throw exceptions. I haven't been able to locate any information on how to go about setting this property. Any help would be appreciated. Thanks. Derek Derek We frequently encounter the same situation when developing tasks, and our solution to it is to use a stubbed out class that imple ...Show All
Visual C++ How to keep the window
I used win32 console to make some small program. After compiling and linking I execute the program. Everthing is ok, I want to see the output. But the window always vanished in a second. How can I keep the window and examine the result Thank you indeed! Add a "cin" to force the console to pause for you. See the following previous post that deals with the same issue: http://forums.microsoft.com/msdn/ShowPost.aspx PostID=84883 Thanks, Ayman Shoukry VC++ Team ...Show All
.NET Development How to do a programmatic update of table
Assume a table called Test with three columns and n rows: ID integer identity primary key UpperLimit integer V1 integer Test is part of a SQL Server 2000 database on a server. I want to read and update the table using the following algorithm for i = 0 to n-2 test(i).V1 = (test(i).UpperLimit + test(i+1).UpperLimit) / 2 next test(n-1).V1 = (test(0).UpperLimit + test(n-1).UpperLimit) / 2 How would I do this in a .NET 2 web site or VB application. It would be OK, but not necessary to use a datagrid to display the results. The main thing is just to read the table, modify each row ...Show All
