rolandpish's Q&A profile
.NET Development Inserting error
Visual Studio 2005 If I "Open" a table and try to insert a new record, I get an error: The data in row 100 was not comitted. Error Source: .Net SqlClient Data Provider. Error Message: [Microsoft][SQL Native CLient][Sql Server] Invalid object name 'msdb..mswebtasks'. SQL web Assistant: Could not execute the SQL statement. press ESC.... Any ideas thanks John ...Show All
Visual J# Can I deploy a simple J# app to Linux or the Mac?
Since the concept of java is to "write once, run everywhere", is there a way to run my simple app on the mac or say the fadora 2 core for linux I don't see any packages for these systems. J# souce code is compatible with Java. It is useful to keep a compatibility with Java. For instance, C language is not binary compatible among platforms, but many people use C in oder to keep a portability. ...Show All
Visual Studio Question about how to get the description of Namespace
I want to get the description of Namespace,like MSDN,but i don't know which tags can function it,or how can do... Thanks, But if i need build my solution many times and every time i need to generate the document,use this method i must to modify my command xml file every time by hand,it's to hard,and if it exist an easy method ,or if the next version supply an auto-method,not hand by hand like this best regards ...Show All
Visual Studio Ambiguous Collection names prevent removal of duplicates
I am trying to reduce the large amount of duplicate help files in my " Visual Studio 2005 Combined Help Collection Manager " but am having trouble due to ambiguous collection titles generated by various Microsoft products. Here's my list of currently available collections: .NET Development Microsoft SQL Server 2005 Mobile Edition Windows SDK Collection Micosoft Windows SDK MicrosoftR .NET Framework 3.0; SDK Workflow Foundation Help See what I mean How am I supposed to figure out which collection represents the latest version of the Windows SDK documentation This is really maddening. Why can't you put some sort of version # next to the collection Thanks Kevin - this is absolutely helpful feedback. The pri ...Show All
Software Development for Windows Vista "Creating a custom activity that inherits from another custom activity is not supported."
I have just noticed the following statement at http://windowssdk.msdn.microsoft.com/en-us/library/ms733604.aspx: "Creating a custom activity that inherits from another custom activity is not supported." This is a major limitation in WF if it is true. Can someone confirm that this is the case, and if so explain why an inheritance hierarchy of custom activities is a problem Encapsulating common behaviour in a base custom activity class seems to be a very common approach. Thx Hiya Spigot I have a custom base activity that inherits from Activity and then have two other custom activities that inherit from that base one. All of the activities that I have inherit from one of the two that inherit fr ...Show All
Visual Studio 2008 (Pre-release) .Net 3.0 / Linq doubts
Hi, I have lots of doubts regarding .Net 3.0. I have installed .Net 3.0 final version runtime and vs 2005 extensions nov 2006 ctp. I am developing XBAP applications. After knowing about LINQ I installed linq May 2006 CTP. is this the latest version Any final version released In the new project window why i am seeing linq preview and in the right pane I see linq console / linq window app e.t.c is that not possible to use in WPF / XBAP applications I have mentioned my environment above now when i try to open the samples available in linq May 2006 CTP it says "This is unsupported version of Microsoft Visual C# 3.0 / Microsoft Visual Basic 9.0" Please guide me on all the above. Also is it advisable to develop a project in .Ne ...Show All
.NET Development method accessed through secure channel
Hi If I had a web service with several methods but access to one of those methods (login method for example that accepts a password) had to be through a secure channel using https rather than http, how would I do that How would I call that method securely whilst all the others are called as normal Cheers You cant configure this at a webservice level, but you can configure this on the Virtual Directory level in IIS. Configure the webservice virtual directory to use IIS and in Directory Security setup SSL with the 'do not require SSL' option. With this option set you will be able to call into the service with or without SSL. Unfortunately this means that your Login function can also be called outside o ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XNA Framework Docs?
Is there any XNA documentation that is publically available at this point I have seen FAQs, etc., but the framework itself seems to be a bit of a mystery (in terms of implementation). Am I missing something Man, it's gonna be two very long weeks. I feel like a kid again, waiting for Santa to deliver the toys. ...Show All
Smart Device Development OTP NET Compact Frammeworks
I am recieving a message on my windows CE device that "Tis proram requires a newer version of Microsoft .NET Framework, can anyone guide me How to do that ... I am using windows mobile 5.0 Likely it is looking for the 2.0 Compact Framework which you can get here ... however checking the requirements of the application in question would be the better first step. For future notice, these forums are dedicated to Windows and Windows based device programming and not general troubleshooting. Any future questions like this would be better handled on one of the more relevant Microsoft Newsgroups or a Windows CE based devices enthusiast forum. ...Show All
Windows Forms Clear both bound and unbound data in a datagridview
hi, How to clear both bound and unbound data in a datagridview I try to set the datasource as null, all data is cleared off, but the unbound data's columns are not being cleared. I want the datagridview to be totally empty/blank. Thank you in advance for the help. thanks for the answer, i managed to clear off the bound, but the unbound can't be cleared off. the datagridview contains both bound and unbound...the datagridview codes as follow: Dim mySelectQuery As String = "SELECT * FROM dbo.test" Dim myCommand As New SqlCommand(mySelectQuery, myConnection) Dim da As New SqlDataAdapter(myCommand) Dim ds As New DataSet(mySelectQuery) da.Fill(ds) Me.DataGridView2.DataSource ...Show All
.NET Development Any CPU and Managed C++
I have a C# smart client built using “Any CPU”, the application references a managed C++ assembly that I’ve compiled into both x86 and x64 dlls. Is there any way to redirect the assembly loader to load the correct dll given the client’s platform (apart from manually) Is there any way to configure ClickOnce to deploy the correct dll thanks, rich richmtl wrote: I have a C# smart client built using “Any CPU”, the application references a managed C++ assembly that I’ve compiled into both x86 and x64 dlls. Is there any way to redirect the assembly loader to load the correct dll given the client’s platform (apart from manually) Is there any way to configure ClickOnce to deploy the correct dll ...Show All
SQL Server count function in a query
Hello SQL Experts, I have a Query which is giving me correct result. but i was interested in getting just the count of the Issues it returns. ----------------------------- select distinct T1.dbid,T1.id,T1.title,T3.name,T1.implemented_status,T69.name,T1.submit_dat-e,T1.abc_rank from ( ( ( ( ( issue T1 INNER JOIN statedef T3 ON T1.state = T3.id ) INNER JOIN project T2 ON T1.project = T2.dbid ) LEFT OUTER JOIN parent_child_links T48mm ON T1.dbid = T48mm.parent_dbid and 16780481 = T48mm.parent_fielddef_id ) LEFT OUTER JOIN testrecord T48 ON T48mm.child_dbid = T48.dbid ) LEFT OUTER JOIN sw_label T69 ON T48.available_in_version = T69.dbid ) where T1.dbid <> 0 and ((T1.issue_type = 'Defect' and T2.na ...Show All
Windows Forms Run application after installation.
Hi all. How I can run my application after press Exit button in installation wizard I`ve made Install class with overriding OnCommited method, custom action in setup project with CustomActionData = "/path="[TARGETDIR]\" /runAdmin=[RUNADMIN]" (in custom action -> commit folder), additional wizard's dialog with one checkbox (CheckBox1Property = "RUNADMIN") If checkbox is checked my application starts fine BUT (!) before pressing Exit button in installation wizard (after last dialog window appears). What I should do to run my app after wizard's closing/exiting Sorry for my english... I run my application as separate process. ( Process.Start(so ...Show All
Visual Studio Multiple pages are not showing in the report
Hi All, i am facing this problem when i deploy the RDL in Report Server, the Muliple Pages and records are showing in the report properly. But when i integrate this report to Application, multiple pages are not showing in the report. i am working in VS2005, SQL 2005 i have given the below page setting: Page height -- 8.5 inch Page width - 11 inch the code which i had used in my aspx.cs file for calling the report in report server: lnkBtnName.Attributes.Add( "OnClick" , "window.open('" + reportURL + "', 'my_new_window','toolbar=no, menubar=no, titlebar = yes, scrollbars=yes, resizable=no, width=950px, height=650px')" ); any ideas to resolve this problem. Thanks Vinod ...Show All
Visual Studio Express Editions getting labeltext in another label but after it has got it info it doesnt change with the other label, how do i do this?
well i have Label1 and Label2 i want Label2 to be Label1's text but after it has got what the label1.text is lets say "25" i want label2 to not change it's text after that even if label1's text changes to "37" for example how do i do this thx in advance not sure I follow. can you clear it up more I understand you want label2 text to change to whatever label1 text is but not when a certain condition is true on the label1 text but what condition this would be done in a button click event for example and executing the code there. so you could keep changing text until it hits "25", then after it should keep its text as is even if its changed from 25 correct if this is ...Show All
