Software Development Network Logo
  • Visual C#
  • Windows Forms
  • IE Development
  • Visual FoxPro
  • Windows Vista
  • VS Team System
  • Visual C++
  • Audio and Video
  • Visual Basic
  • .NET Development
  • SQL Server
  • Visual Studio
  • SharePoint Products
  • Game Technologies
  • Microsoft ISV

Software Development Network >> William Bartholomew's Q&A profile

William Bartholomew

Member List

bfarr23
PC2NETS
llebron
rpoy
vien11
Yachtsman
shyma
MaggieChan
BonnieB
Zoomy8
daniel009
Kiranvukkadala
wino
n8 g
dakota367
Priya RV
hanguker
no_penguins
Lee Jensen
Santhosh Pallikara
Only Title

William Bartholomew's Q&A profile

  • Visual C++ This is confusing......

    acording to this article http://msdn.microsoft.com/library/default.asp url=/library/en-us/dndotnet/html/manunmancode.asp if you compile a C++ code in .NET environment, you can access manged code in it directly. Now try this. create a C# Class Library and type in for example using System; using System.Collections.Generic; using System.Text; namespace TestCSharpLibrary { public class Class1 { public double Add( double a, double b) { return (a + b); } } Now make a C++ Console Application Add a referance to your C# library and write down following #include <iostream> using namespace std; #using "TestCSharpLibrary.dll" void main() ...Show All

  • Visual Studio 2008 (Pre-release) June CTP - Possible Bug in XmlSerializer formatting process?

    The XmlSerializer format may be producing incorrect soap body. The crux of the problem is that arguments in an operation contract are being serialized in incorrect namespace. If the service contract namespace is different from those of types used in the operation contract, the arguments are being serialized in the service contract namespace not in their type namespaces. This problem manifested itself when I implemented the IXmlSerializer interface on the types used in operation contract. The following examplec code only uses the XmlSerializer attributes (i.e. no implementation of IXmlSerializer interface) to reproduce this problem: 1) Create following service contract [ServiceContract(Namespace = "http://mycompany.services.customer& ...Show All

  • Visual Studio 2008 (Pre-release) DataType specific DataTemplates for XML data

    Hi everybody. I am trying to bind data from a XML file to a control using custom DataTemplates for various different XML elements (different tags). The problem is, that the DataTemplates are not applied to the the XML elements of the tag name specified in the DataType attribute. Below you will find some XAML code. Most of it is from the CompositeCollection SDK sample. I mimimalized and changed it to illustrate only the problem of interest. Desired behaviour: Jason , Hercules , Bellerophon (Hero tag) should be displayed in cyan Theseus , Odysseus , Perseus (Hero2 tag) should be displayed in blue However, it simply doesn't work. (I am using the latest September 2006 CTP.) You can reproduce the problem simply by star ...Show All

  • Visual Studio 2008 (Pre-release) Xbab applications not running from the internet

    Hi there, I am trying to run an xbap application from this URL http://www.valil.com/winfx/Valil.Chess.WinFX.xbap (other xbab apps from the internet are not running either e.g http://www.charlespetzold.com/wpf/JeuDeTacquin/JeuDeTacquin.xbap ) IE 6 gives me an error message and wont let me run the app even though I have added the site as a trusted site. It runs if I get the source and compile and run it locally. It looks like a security issue. Can some one kindly tell me what I need to do get the app running from the internet The detailed error info is as follows: Startup URI: http://www.valil.com/winfx/Valil.Chess.WinFX.xbap Application Identity: System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ ...Show All

  • SQL Server Change the total (sum generated function) in a matrix

    Hi, Can somebody help me I really need to create a matrix with totals but I don't need a to use a sum I need another function (AVG, Count). Can it be done How can I change the Total function to put another aggregate function Thanks Hi hammer I'd love 2 know where to alter it. Fine i click on the little green traingle, I can still only set the properties. No option for an expression. G ...Show All

  • Visual Studio Team System How to migrate a TeamProject for .NET 2.0 to .NET 3.0 ?

    Hello! I have a TeamProject that has been created with VS 2005 and .NET 2.0. If I install now the .NET 3.0 extensions for VS 2005, will it be possible to use the .NET 3.0 features like WCF And after installing .NET 3.0 extensions will the TeamProject automatically become a .NET 3.0 application Or do I have to install the .NET 3.0 extensions for VS 2005 ***BEFORE*** I create the TeamProject in order to use WCF Best regards CSharpNewbie22 The Team Project in TFS has does not really have much to do with the implementation technology. You can (for example) perfectly easily manage a .NET 1.1, .NET 2.0, .NET 3.0 or even a Java, Python, Ruby etc project inside a team project (or indeed all of them ins ...Show All

  • .NET Development System.Transactions issue

    I have been trying to run the following piece of code : using ( TransactionScope txRequest = new TransactionScope ( TransactionScopeOption .Required)) { using ( SqlConnection conn1 = new SqlConnection ( "Data Source=XXXX;Initial Catalog=ULTIPRO_USG;uid=dev;pwd=pass;" )) { conn1.Open(); } using ( SqlConnection conn2 = new SqlConnection ( "Data Source=XXXX;Initial Catalog=ULTIPRO_USG;uid=dev;pwd=pass;" )) { conn2.Open(); } } The SQL server 2005 is in a different machine. Due to the fact that there is a second connection inside the transactionscope DTC is necessary and is enabled for Network Access on both machines. Whenever we run this piece of code we are ab ...Show All

  • .NET Development problem in client/server application

    Hi every one, I developed a client/server application . client connect to server correctly if both are under the same router (in the same Lan) , but the problem arised when the client and the server arenot in the same Lan they cant connect together. I checked the router configration ,it was correctly setup. please if you have expirense in this problem help me. Thanks for reading my message------------ Indian Ocean wrote: Hi, You must have used "RounterIP" as ip as i have suggested, right ! Give this a try, i think this will work for sure, IPAddress ip = IPAddress.Parse("YourServerIP"); //Here its your local server IP (NOT ROUTER IP ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. A Simple 2D Map Editor

    I've built a simple XNA 2D map editor for fun that mixes xna and winforms. It supports 20 layers, multiframe and animating textures, and has grid snap. It's very basic and small, intended mainly as a learning experience. Grab here: http://webpages.charter.net/kharza/WorldWalker.zip Enjoy! Kenneth Thanks for the suggestions! Feel free to put it on your site if you wish. I didn't even think about the layer's scrolling differently. That seems like a no brainer. I was thinking in top down ultima mode. The flickering sprite shows which placed sprite is selected in the layer editor. With the layer editor you can change the values for the individual sprites placed down, or delete them. Multi ...Show All

  • Visual Studio 2008 (Pre-release) A TCP error (10049: The requested address is not valid in its context)

    Hello, When I try to listen and use my computer's external ip I get the error "A TCP error (10049: The requested address is not valid in its context) occurred while listening on IP Endpoint=218.166.32.38:808. Here is the code: ServiceHost sh = new ServiceHost ( typeof ( MathService )); sh.AddServiceEndpoint( typeof ( IMath ), //contract type new NetTcpBinding() , //one of the built-in bindings "net.tcp://218.166.32.38/MathService/Ep1" ); //the endpoint's address //create and open the service runtime sh.Open(); System. Console .ReadLine(); As I previously suggested, get a dyndns service like https://www.dyndns.com/ ... set your router up to register with it every tim ...Show All

  • SQL Server SQL Server Configuration Manager to change run as account

    Hi, For the past few days i have been stumped on this problem. Our environment is the following: Windows 2003 R2 64 bit  SQL 2005 SP1 64 bit active/active cluster with several instances. Right now all instances use the same domain account to log on. For security reasons i wanted to assign a domain account for each instance to use. Now the problems start when i am using SQL Server Configuration Manager. I am usually successful in changing an instances SQL server account but once i try and do it for the SQL Server Agent i start to get errors and i am unable to get both running at the same time. Sometimes i will get wmi errors and sometimes the mmc just stops responding. The WMI error i get often is: The server ...Show All

  • SQL Server sql server lockup after strange error in log, help please.

    Can anyone help me solve why my server is locking up. We're running sql server 2005 ent on a 2 cpu dual core server. With 3gig. Once each the last couple weeks, the machine has hung and the only thing I can find that's suspicious is on the sql server log.  It's below.  After the excerpt is about 50 more different memory errors.  As far as I know there's no ssl configured for log in, it mostly uses private lan cards for security between it and the web/application server. 05/31/2006 14:39:48,spid2s,Unknown,MEMORYCLERK_SQLQUERYEXEC (Total) <nl/> VM Reserved = 0 KB <nl/> VM Committed = 0 KB <nl/> AWE Allocated = 0 KB <nl/> SM Reserved = 0 KB <nl/> SM Committe ...Show All

  • Windows Forms displaymember lookup on other table

    Hi, I have a dataset with 2 tables Table 1: ID_TABLE1 field DESC field. Table 2: ID_TABLE2 field, ID_TABLE1, ... others fields My question: I have a listbox and I want to add data in Table 2. Value are all added correctly but I want to display the DESC of Table 1 (by the way of a relation between ID_TABLE1 ) How I can do that Thank very much... How about this Dim strConnection As String = "Provider=microsoft.jet.oledb.4.0;data source= **DB Path** " Dim conn As OleDb.OleDbConnection = New OleDb.OleDbConnection(strConnection) Dim strSelect As String = "select table1.ID_TABLE1 as table1_id, table1.DESC, table2.ID_TABLE2, table2.other" _ & " ...Show All

  • Visual Studio Team System Merge Conflicts for Identical Files ..

    When merging between two branches, TFVC displays merge conflicts ("The source and target both have changes") even when the file contents are identical. This probably results from the fact that the changeset numbers are different between the two files. Similar "false" warning show up in massive numbers (for large projects) during a baseless merge (probably due to changeset number difference as well). Is there a way from the IDE or command line to ignore these "false" warnings If not, is it possible to write a program using the object model to obtain a list of files which have "true" changes, and only manually merge those file The identical files could be merged with "AcceptTheirs" option, ...Show All

  • .NET Development Creating a database storage and information access?

    Okay I'm totally lost. I've been trying to make a website for our customers to sign into where they can view specific details relating to their company (their product purchases, warranty end dates, and points balance tracking). How do I go about creating such a database storage and access website. Does anyone know where I find a tutorial or if someone can help me out. I've tried everything I could find and nothing. All I got so far is the actual layout and log in working. Now i need the backbone of the website; the database functions. Thank you. Hi, Have you worked with a database before I assume you want to use SqlServer and that you already have the aspnet generated database. From personal expe ...Show All

©2008 Software Development Network