BarrySumpter's Q&A profile
Visual Studio 2008 (Pre-release) Windows.FlowDocument Class
Can I insert custom tags in the FlowDcument which are not interpreted by the Avalon RichTextBox control when the FlowDocument is assigned to its Document property. Something like <FlowDocument> <Paragraph> <Mycustomattribute> The text will be displayed but the Mycustomattribute will be ignored! </Mycustomattribute> </Paragraph> </FlowDocument> Thanks in advance You can mark xml namespaces as ignorable so that the parser will skip them <FlowDocument xmlns=" http://schemas.micrsoft.com/winfx/2006/presentation " xmlns:mc=" http://schemas.micrsoft.com/winfx/2006/markup-compatibility " xmlns:MyCustomNS=" MyU ...Show All
Visual Basic database report
hello, i'm using ADODB on my vb8-access. before on vb6 i use data report designer to prepare a print, but here on vb8, how can i do that, without using crystal reports i would like to design my report just like report designer, is it possible or are there any turn around for this thanks hello, i follow your suggestion about creating new connection, when i select Microsoft Access Database File, i got this error Format of the initialization string does not conform to specification starting at index 0. i cant go through from here, i cannot go to selection of Access File. any reason for this ...Show All
Visual Studio 2008 (Pre-release) winfx Browser App - State management.
Hello, I have done a bunch of things in WPF with a rich client (window). Now I'm trying to play with the WPF browser application. It looks like state management is completly different. I mean, in a windows application I can keep state in the client app. But in the browser app (like all other web models) the state management happens on the server. Even the state of the thread (thread.CurrentPrinciple) behaves differently. Am I right about this Thanks Houman If you're trying to save state on the client so it can be accessed across page views, you may want to look at the application-scope Property bag (i.e. Application.Current.Properties). If you'd like to have state information acces ...Show All
Visual Studio Express Editions Receiving WMI configuration error. SQL Server System Configuration cannot be executed due to that
Hello PPl, I am getting this error again and again. The SQL Server System Configuration Checker cannot be executed due to WMI configuration on the machine mymachine Error:2147749896 (0x80041008). I uninstall all version of Visual Studio 2005 just kept Microsoft .NET Framework 2.0. Still I am getting this error when I am running SQLEXPR.exe to install the SQL Server 2005 Express. PLEASE HELP! Thank you. I have tried this script several times, with no effect. I have administrator privileges and although I get the same error mentioned by I Mrus, the the LocalSystem account is affected. Beyond having admin authority and having the script (I ru ...Show All
.NET Development App.config HELP!!
Why the return from file App.config is null see my code in the class: string s_conexao = ConfigurationSettings .AppSettings.Get( "ConnectionString" ); see my code in the App.config: < xml version = " 1.0 " encoding = " utf-8 " > < configuration > < AppSettings > < add key = " ConnectionString " value = " Provider=OraOLEDB.Oracle.1;Password=uniway; Persist Security Info=False;User ID=vdp_teste;Data Source=devzh " /> </ AppSettings > </ configuration > When try to get value from config, return null for the class, why this happend Hi, 1. It works fine with me 2. Its obsolete ap ...Show All
SQL Server Unable to load client print control
When you display a SQL Reporting Services report to the screen in the header there is a Printer Icon displayed. When we click this icon we get an error message "Unable to load client print control ". Does anyone know what we need to load or what we need to do to resolve this so that we can print the report directly to teh printer, rather than having ot prinnt the web page, which also prints all the Web headre information To manually install the .CAB file: 1. Download the .cab file and save it on your desktop. 2. After the file is saved on your desktop, right-click the Iuctl.cab file, and then click Open 3. Select all the files that are listed. To do this, point to the file list, and then p ...Show All
Visual Basic Dealing with null values
I remember when I was using VB6 that I always used If IsNull() End If statements to check for null records before performing any kinda of calculations, does this still hold true or what is the best way to deal with nulls Davids Learned Alot Today! Something funny with this post spotty and its not you I havent marked this as an answer yet, but it shows up as if I had and I havent Any ideals ...Show All
SQL Server problem with DEFAULT (getdate())
Hi all I create table and set default value detdate(). But after insert record date display ‘1900-01-01 00:00:00’. Example this, CREATE TABLE [tblTemp1] ( ItemUserDate [smalldatetime] NOT NULL CONSTRAINT [DF_tblTemp1_ItemUserDate] DEFAULT (getdate()) ) GO INSERT INTO dbo.tblTemp1 values(0) select ItemUserDate from dbo.tblTemp1 =‘1900-01-01 00:00:00’ select getdate() =’2006-07-20 15:53:27.820’ I need this answer thankx Stefan Haeck ...Show All
Visual Studio Team System Is it possible to associate code coverage data and test results?
I followed the guide at http://blogs.msdn.com/ms_joc/articles/406608.aspx to perform code coverage on a program. I then wrote a generic test that calls that program. After the run, I have a .trx file and a .coverage file, but the two are not associated with each other. Is it possible to associate an existing test result file and code coverage result file programatically I don't want the test to do the instrumentation at run time, as I have already created an instrumented build. Hi Michael, Unfortunately we don't support the scenario that you're looking for. If you want code coverage, you need to select binaries to instrument; also, we do not support any API's to associate your result and co ...Show All
Microsoft ISV Community Center Forums Can't open regedit
Hai.... Why if I want open regedit (run>regedit), and then show message error like that The application failed to initialize properly (0xc0000005) Please anybody help me... Jebat Thanks I canot open regedit,cmd. But when i typed in the run regedit.exe not just "regedit" it works and cmd too. ...Show All
Visual Studio Express Editions Minimize
Hi there, I want to know how to minimize my form but I've hit a few problems. The current code I've tried... Me.Hide - Doesn't show the application in the taskbar after I do it FormWindowState.Minimized - Comes up with an error Me.Visible = False - Doesn't show the application in the taskbar after I do it Any help is appreciated greatly Thanks, AliQ Me .WindowState = FormWindowState.Minimized should work if you are coding within the form. Or something like Form1.WindowState = FormWindowState.Minimized from another form. What error do you get. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. is there no tuts in text not video lol?
is there no tuts in text not video lol I can't stand video tuts not to be mean to people who make movies there great but im a learner by reading guides. I can't find any n00bie starter guide.. Any advice would help man years ago look for adobe movie tuts never found any now all i can find xna movies no text guides.4 http://www.riemers.net/eng/Tutorials/XNA/Csharp/Series1/Starting_a_project.php Follow it from start to finish. ...Show All
SQL Server Error in mining accuracy chart
I ran a decision tree, clustering and neural network mining model across a dataset of about 200,000 records. I am trying to evaluate the accuracy of each of my models but I can't view the results. I get the following error: Failed to execute the query due to the following error: XML for Analysis parser: The XML for Analysis request timed out before it was completed. Execution of the managed stored procedure GenerateLiftTableUsingDatasource failed with the following error: Exception has been thrown by the target of an invocation.Microsoft::AnalysisServices::AdomdServer::AdomdException. Please change the timeout for the execution of the stored procedure. In BI Developer Studio, under the Tools menu, select Options, Business In ...Show All
Visual C# I am a newbie. Where to find References?
Hello My problem is, I have to the EnvDTE80-assembly for function I want to use. I have already add it over "add references" and i can use its functions. My Question is now: Where to find, which References are already "Add" to my project I use: VS2005 and C# Hi, You have 2 possibilities: open the solution explorer in visual studio and check the folder named "References" Via the properties page of a project. Greetz, Geert Geert Verhoeven Consultant @ Ausy Belgium My Personal Blog ...Show All
SQL Server Ordering date ?
SELECT LEFT(CONVERT(CHAR(11),convert(datetime,task_date),109),3) + ' ' + RIGHT(CONVERT(CHAR(11),convert(datetime,task_date),109),4) as Date, SUM(CASE a.status_id WHEN 1000 THEN b.act_point ELSE 0 END) as Programming, SUM(CASE a.status_id WHEN 1016 THEN b.act_point ELSE 0 END) as Design, SUM(CASE a.status_id WHEN 1752 THEN b.act_point ELSE 0 END) as Upload, SUM(CASE a.status_id WHEN 1032 THEN b.act_point ELSE 0 END) as Testing, SUM(CASE a.status_id WHEN 1128 THEN b.act_point ELSE 0 END) as Meeting, SUM(CASE a.status_id WHEN 1172 THEN b.act_point ELSE 0 END) as Others From task_table a,act_table b where a.status_id=b.act_id and a.user_id=(select user_id from user_table where user_name='Raghu') and a.task_date like '%/%/2006' GROUP BY LEFT(CO ...Show All
