OceanMASMJeff32's Q&A profile
.NET Development Start IE with results of WebRequest
Given certain WebResponse data returned from a WebRequest, we would like to start an IE instance using SHDocVw.InternetExplorer. It's understood how to make the request and start the IE instance. But what is not clear is what all do we need to set on an InternetExplorer instance in order to get establish it's state "as if" it had made the request via the Navigate method Just setting the InternetExplorer.Document.body content and/or innerHTML isn't sufficient because the InternetExplorer instance doesnt' seem to know the full path of the source resources in the response document. There is probably other state like cookies, etc... ...Show All
Visual C++ RegularExpressions namespace seems to have moved in VC 2005
I am trying to create a program that uses the Regex class in namespace System::Text::RegularExpressions, but the compiler says it does not exist Error 1 error C2039: 'RegularExpressions' : is not a member of 'System::Text' Did it move Thanks The Regex class is still located in System::Text::RegularExpressions. Does your project have a reference to System.dll (Project Properties -> Common Properties -> References -> Add New Reference -> .Net Tab -> double click the component called "System") ...Show All
.NET Development bug in Int32.Parse
In Visual Studio 2005, the following throws a FormatException and it definitely shouldn't. The same code works fine in Visual Studio 2003. This is the version that I am seeing the problem, running on XP: Microsoft Visual Studio 2005 Version 8.0.50727.42 (RTM.050727-4200) Microsoft .NET Framework Version 2.0.50727 Installed Edition: Professional int x = 0; x = Int32.Parse("0") // throws FormatException x = Int32.Parse("00") // works fine x = Int32.Parse("000") & ...Show All
Visual Basic SaveFileDialog won't save my file.
I have never used this before and can't get it to work right. I got this: Private Sub menuSave_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles menuSave.Click Dim save As New SaveFileDialog Try save.CheckPathExists = True save.FilterIndex = 0 save.OverwritePrompt = True save.RestoreDirectory = True save.ValidateNames = True If save.ShowDialog <> Windows.Forms.DialogResult.OK Then Exit Sub save.OpenFile.Write(b, 0, b.Length) MsgBox("File successfully saved.", MsgBoxStyle.OkOnly, "Success") Catch ex As Exception ...Show All
Windows Forms control.databindings
hello all, is there any way a control can be bound to a relation between two columns in a datasource ie Label lb = new Label(); DataTable dt = new DataTable(); lb.Databindings.Add("Text", dt, "DOB"-"DateRegistered") here "DOB" and "DateRegistered" are two columns in the datatable but i want the difference to be bound to the la ...Show All
Visual Studio Team System Web test failing RequestFailed: The value of the date string in the header is invalid.
All webtests I run from VS2005 RTM are failing with a response of: RequestFailed: The value of the date string in the header is invalid. The request looks like this: GET /Angel63/sidebar.asp HTTP/1.1 User-Agent : Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) Accept : */* Accept-Language : en-US Host : 600m01 Cookie : ASPSESSIONIDSATDSCQA=LMGPKPGDJNEPFDPPJKBKILEP Accept-Encoding : gzip I can successfully run the same test using the beta 2 release of VS2005. The only thing I can see that is different is that the request is slightly different. Request from VS2005 beta 2: GET /Angel63/sidebar.asp HTTP/1.1 User-Agent : Mozilla/4.0 (com ...Show All
Smart Device Development voice command usage
I am about to begin developing an application with the compact framework and want to use Voice Command 1.5 to speak a string of letters and numbers into a pda and have those letters and numbers appear on the form. Can this be done or is Voice Command 1.5 incompatible for this use Judging by the manual for VC it looks like there are a set of predefined functions but no mention of any development capabilities. If I can't use VC then are there any suggestions for a product that can be used in this way Thanks in advance! Sadly the license for Voice Command expressly forbids programmatic use of it's functionality. Microsoft licenses the spee ...Show All
Visual Studio Team System Changing your local path
Hi all, I've run into a problem on one of our developer machines where the developer accidentially chose the wrong source control path for a team project that he was adding. I've looked all over and I can't figure out how to change the local path in the source control window or in any of the options/settings that I can find. Can someone let me know how this is done Thanks in advance! -Mark In Source Control Explorer, choose "Workspaces..." from the dropdown. Alternatively, File -> Source Control -> Workspaces; or from a command prompt within your current local paths, tf workspa ...Show All
SQL Server Service Pack 1 Database Services Installation Failure
Hi - using SQL Server Standard Edition (64Bit). All of items of the service pack will install execpt for the Database Services. The Details are: "Unable to install Windows Installer MSP file" Log Details Below 05/04/2006 08:18:42.327 ================================================================================ 05/04/2006 08:18:42.327 Hotfix package launched 05/04/2006 08:18:43.827 Product discovery successfully completed during the install process for MSSQLSERVER 05/04/2006 08:18:43.827 SP Level check successfully completed during the install process for MSSQLSERVER 05/04/2006 08:18:43.827 Product language check ...Show All
.NET Development Framework 2.0 - Skins in Windows Forms
Hi all, I'm writing a windows forms c# app, and i need to apply skins to the forms. Searching google, i found several .net components (commercial ones:( ), that could do the job. Meanwhile i ran across an article about the new SkinID property in the 2.0 framework. How exactly does this property works, is it suitable for changing the skin of windows Forms and controls (similar to dotNetSkin but without the fancy interface ) best wishes Joao I don't think there's an easier way per se. It really depends on what you want to do. If you want each skin to make your form a different shape, the amount of work will be ...Show All
SQL Server SQL 2005, replicating Encrypted Data?
Hello, I've been searching for information on this for awhile unsuccessully. I am using SQL Server 2005 Enterprise Edititon and transactional replication with separate publisher, distributor and subscribers. I need to encrypt data on our publisher and then I need to replicate that data out (i.e., encrypted data, not encrypted transmission). Since the keys are server specific, I imaging there might be some difficulty in doing this, but I figure I can't be the only one with this problem. Does anyone have a resource or know what must be done to get this accomplished Thanks, Aaron Lowe Let ...Show All
SQL Server Cannot apply security on dimension level in An.Manager
Hi, I have developed various datamarts with the MS Analysis Services platform, to which I tried to restrict the access using Analysis Services dimension level security model. Unfortunately, it didn’t work, so I looked for a solution in Internet and I have found the following page, which describes exactly what happens to me. http://support.microsoft.com/default.aspx scid=kb;en-us;816480 The page explains that it is a bug of the software and it was first solved with SP4. However I have the SP4 installed both on SQL Server and Analysis Services and the problem still ocurres. Moreover it fails only with one dimension - I use the same type of ...Show All
Visual Studio Express Editions Registration is somewhat confusing
I think I registered successfully but I haven't received a key, only a thank-you email. Does anyone understand exactly what is supposed to happen when registering Thanks. i'm having the same problem and i need to sort the key out as using the package for my studies just received 5 thank you emails and no product keys at all can anyone from microsoft shed any light on this issue ...Show All
.NET Development obtain default values for stored proc parameter in ADO.NET?
Is is possible, directly, or by executing SQL code, to obtain the default value for an imput parameter declared in a stored procedure eg CREATE PROCEDURE [test] ( @test nvarchar(255) = "some default value" ) AS INSERT INTO test (test) VALUES (@test) GO I want to get the "some default value" value from my application. Hi, IMO, its not possible since the scope of the variable in your SP is local. Not unless that you would return the value in a parameter. Or converting it into a UDF(User Defined Function) and directly return it's value... cheers, Paul June A. Domag ...Show All
Visual Studio Team System Administration
Hi just managed to install the Foundation Server & client Beta 2. Was looking for information regarding administering it, like creating users, user groups, assigning them to projects etc. Can you point me in the right direction. Thks For Beta 2, a very early version of the Administrator's Guide is available on the installation media: \at\Program Files\Microsoft Visual Studio 2005 Enterprise Server\1033\dv_vsetAdmin.chm A more current version will appear in the July CTP as TFSAdmin.chm. ...Show All
