WineNCheese's Q&A profile
Visual C++ How to retrieve the state of an HtmlButton in HtmlDialogApplication?
Hi, I have build a CHtmlDialog application. I want to retrieve the state of the button which is disabled. I get OnClick event even if button is disabled. I have tried retrieving the "disabled" attribute from IHtmlElement but it is returning me null. Is "disabled" a attribute Thanks And Regards Debugger I would suggest converting your IHTMLElement object to IHTMLInputElement or IHTMLInputButtonElement (e.g. using QueryInterface function), and then check the disabled member (or use get_disabled member function). I hope this helps. ...Show All
Visual Studio Instal problem from VS2005 Trial 180days
Hi, I am trying to install a DVD with VS2005 Trial. This Version was already succesfully installed on other PC. Now while VS2005 setup runs, loading bar goes to 3/4 and systems reboot or hangs, without any further error syntax. Here are the last lines of the install log: MSI (s) (24:A0) [23:52:45:218]: Note: 1: 2262 2: Extension 3: -2147287038 MSI (s) (24:A0) [23:52:45:234]: Note: 1: 2262 2: Extension 3: -2147287038 MSI (s) (24:A0) [23:52:45:281]: PROPERTY CHANGE: Modifying CostingComplete property. Its current value is '0'. Its new value: '1'. MSI (s) (24:A0) [23:52:45:281]: Note: 1: 2262 2: PublishComponent 3: -2147287038 MSI (s) (24:A0) [23:52:45:281]: Note: 1: 2262 2: SelfReg 3: -2147287038 MSI (s) (24:A0) [23:52:45:281]: ...Show All
Visual Studio Team System Is a separate server required for MSF Agile and Project Management tools?
Hi, I have been struggling with this problem for weeks and cannot seem to find an answer to it: I would like to use all the MSF for Agile tools in Visual Studio Team Suite but I don't need a separate server. (I am working alone and want to design iterations, etc. I have only one machine) I installed Team Explorer but it only tries to look for a TFS. I try to open a team project, but it only tries to connect to a TFS. Is there a single-system solution Is this possible Thanks, Mark <Mark Kestenbaum@discussions.microsoft.com > wrote in message news:cfa24acc-8a2a-45d2-8519-b6b46226926f@discussions.microsoft.com ... Hi, I have been struggling with ...Show All
SQL Server Connecting to SQL Server Express from an ASP Application
I have an ASP application which is currently using a SQL 2000 Database, attaching via SQLOLEDB. I am getting ready to migrate my ASP application to .NET using SQL Server 2005 Express. The only problem, is that I am unable to connect successfully from my ASP applcation to my DB under SQL Express. I have taken all of the steps that I have read, including the blog by Ming Lu. I still cannot be through. I have included both the messages that are thrown and comments about the drivers and connection strings. I have enabled TCP/IP and Named Pipes for SQL 2005 EE. I have also included the executable, port 1433, port 135, etc. in the firewall exceptions. I have defined the DB in ODBC using both the Native Sql driver and the SQL Driver. ...Show All
Visual Studio Express Editions Adding numbers in a textbox
I'm very new to visual basic and i just want to know some simple code so when a button (or picturebox in my case) is pressed it adds a certain number to the number that is already in the textbox. for example when my textbox has the number 10 in it, when i click the picturebox it adds 10 to it to make the textbox read 20. Any help will be glady appreciated. there really is no need to make a static variable. To add from values from a textbox dim theNumber as integer = Convert.ToInt32(Me.theTextBox.Text) theNumber = theNumber + x Me.theTextBox.Text = theNumber remember to replace "x" with the value you want to add. Thanks! ...Show All
Game Technologies: DirectX, XNA, XACT, etc. What's difference between Express and Professional?
I've installed the Express edition beta 1, but I have interesting to the Professional edition. I thought the Professional edition should have more classes than Express edition, but I've never seen any documentation to compare the class library of each edition. Could you tell me the differences of them, particularly about class library Or I'd be happy if I could find the reference manual of XNA Game Studio Professional on the net. Thanks, Hayashida Fine. Play a wav file in your game using XNA without creating an XACT project for it... It can't be done. You CAN do this in DirectX... ...Show All
Microsoft ISV Community Center Forums vlookup
Hello can anyone help me with how to write the excel vlookup function in vba the function in excel looks like this VLOOKUP(O2,'[Consolidated list of supplier.xls]Sheet3'!$A$5:$F$218,6,FALSE) how can i get something similar working in a macro. thanks namrata If the file is open then you do not need the full path as the name only the filename and extension. MyPath = "C:\Documents and Settings\np22331\Desktop\Consolidated list of supplier.xls" MyFile = "Consolidated list of supplier.xls" Set LookupValue = Sheet3.Range("O2") Set TableArray = Workbooks(MyFile).Worksheets("Sheet3").Range("$A$5:$F$281") ...Show All
Visual C# How to use string.replace to replace "\\" with "\" in a string?
say, string = "abc//123" I want to replace "//" with "/" so that it becomes "abc/123". Thanks. yeah, its so tricky, in the debugger, its still "\\". But in the text visualizer, its become "\". Thanks, Mark. I was pulling my hair out and still couldn't figure it out for one hour..gees ...Show All
Software Development for Windows Vista after persistence workflow is not starting
hi all, i have workflow with dalay activity 5 sec in persistenceservice setting , unloadonidle =true instanceOnershipduration = Timespan.maxvalue loadinginterval 20 sec on unload on i dled i am putting code ThreadPool.QueueUserWorkItem( New WaitCallback( AddressOf UnloadInstance), e.WorkflowInstance) Sub UnloadInstance( ByVal workflowInstance As Object ) CType (workflowInstance, WorkflowInstance).TryUnload() End Sub it goes in waiting mode after delay activity and calling workflowLoaded event again and again can anybody help me Are you using the ManualWorkflowSchedulerService If you are, make sure you have UseActivityTimers set to true. Why are you unloading the work ...Show All
Visual Studio 2008 (Pre-release) Support for Group By, Having etc
How sophisticated are the query capabilities for LINQ. Can a SELECT includes Group Bys, Aggregate Functions, Having Clauses. I have a sophisticated query which runs within the MS Access query designer, but running the same query using .NET OleDb provider results in an error. The query uses joins to selects which have group by and aggregate functions in them. The error message says there is an error in the Syntax after the From clause. So I'm thinking to return result sets back to VB.NET and use LINQ to further process the data into the final result set. The other alternative is use a lot more code to massage the data into the final result set which is going to be nasty. Sorry but I don't think ...Show All
Microsoft ISV Community Center Forums I need Help creating a specific VBA Macro for my Excel Spreadsheet
Hello: EXCEL. I am trying to find the best way to create either a formula or a macro/button for the following issue: I have a spreadsheet, which has a specific daily total on cell G19 (Ex G19 = 2,000,000) cells G21 (Ex. -300,000)and G23(Ex. +300,000) are use to enter specific amouts that will either add or subtract from G19. The answer to this addition/ subtration is recorder automatically to cell G25. EX. 2,000,000 -300,000 = 1,700,000 The result on cell G25 (1,700,000) will be the beginning balance for the following day. My problem is, that when I open the spreadsheet on a daily basis, I have to Manually change the amount on G19 to the new Begining balance (Ex. G19=2,000,000 change to G19=1,700,000) and ...Show All
SharePoint Products and Technologies Creating users without adding them in the AD
Hello: Maybe this coul be a silly question but is it possible to create users accounts without using the Active Directory Regards. Yes, SharePoint supports the .NET 2.0 Membership Provider Model. You can store the user accounts in SQL Server, Active Directory, ADAM or any other LDAP store by configuring one of the providers supplied with SharePoint (It uses Active Directory by Default but others can be configured) It is extensible as well. If one of the MS supplied providers doesn' tmeet your needs, you can extend or replace it by writing your own provider. Hope that helps ...Show All
Visual Studio Express Editions Name of user control
Why does this return an empty string when used in the same user control class Private CaptionString As String = Me.Name Later in the same class, CaptionString returns an empty string. In VB6 I used the Extender object to retrieve the name of the control, but the code above doesn't work. It will only return an empty string when I really want e.g. Button1, Button2 etc. I am not an expert on this but it seems that when the using program adds a 'newbutton' in it's designer, the code looks something like this: Me .Newbutton1 = New buttonForum.newbutton My limited knowledge says there is no way in a 'newbutton's constructor to know who ,(Newbutton1), is asking for it to be created. It seems it has to ...Show All
Visual Studio Team System WorkItem in Web
Hi, I want to know if the Product Team of Visual Studio Team System are planning to include the creation of WorkItems across the Web Hello Roberto, Yes we are considering a web client for Team Foundation Server. If needed for immediate use you can take a look at http://www.devbiz.com/teamplain/ Regards, ...Show All
SQL Server What Permissions are Needed to Drop All Connections on a Database?
I'm looking for the correct permissions to grant a user the ability to be able to drop all connections on a database. The following code throws an exception: Dim srv As New Server(SqlServerName) If srv.Databases.Contains(siDBName) Then srv.KillAllProcesses(siDBName) '== the srv.KillDatabase will not work here, we must kill the processes first Dim db As Database = srv.Databases(siDBName) db.Drop() End If Throws the Exception: Microsoft.SqlServer.Management.Smo. FailedOperationException : Drop all active database connections failed for Server 'xxxx'. The user does not have permission to perform this action. This code DOES NOT throw an exception when run as an Administrator. Any Ideas ...Show All
