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

Software Development Network >> Jacob Pettersson's Q&A profile

Jacob Pettersson

Member List

Zero_
Frank Carr
U.Seung
mranzani
Thomas Gasser
Geogie
DonMartin
vijil
dbcuser
abhas
Peter D.252325
Abu Yaman
Shepherd
2326ac
laoer
AlexDcosta
nbrege
Xore
Mike408
XNA Rockstar
Only Title

Jacob Pettersson's Q&A profile

  • Visual C++ Replacing dbghelp.dll with the newest version in VS 2003?

    Hi, would it be a good idea to replace dgbhelp.dll with the newest version from debugging tools Replacing the old header and compiling & distributing with the new dll I currently use VS 2003 and program generates minidumps when it crashes. Best wishes, Andy It's only a good idea if you're having some problem with your existing version. They should be binary compatible so I don't think it would be a risk updating to them. ...Show All

  • Visual Studio 2008 (Pre-release) create a toolbar in my xaml design to drag from

    im trying to create a toolbar in my design to enable me drag and drop controls. i was able to drag the controls around the screen, but that's not what i want. i need to keep the original controls in the toolbar while being able to drag a copy of them to another location. i really need help.. thank you hey, ive tried the code above or drag and drop and it's completely correct except that u need to add a background color to the canvas u dragging to, just to be recognized, like so: < Canvas Margin = " 130,9,18,72 " MinHeight = " 50 " MinWidth = " 50 " Name = " canvas " AllowDrop = " True " Drop = " canvas_Drop " B ...Show All

  • SQL Server SQL 2005 Std. Ed. won't install!

    For some reason, OWC11 fails during setup. The first thing I see that's out of place in the OWC11 log is "failed to get resource store handle for cabinet: PA655502.CAB". I've seen the thread online where someone had installed the latest OWC11.exe and that solved their problem, I have not been so lucky. This has been ongoing for over a month. Can someone please help (relevent log files are below) (Setup Summary text) Microsoft SQL Server 2005 9.00.1399.06 ============================== OS Version : Microsoft Windows XP Professional Service Pack 2 (Build 2600) Time : Sat Jan 13 16:57:07 2007 Machine : STUDIO Product : Microsoft SQL Server Setup Support Files (English) Product Version : 9.00.1399.06 Install : ...Show All

  • SQL Server Maxis 3G Connection

    I cannot connect to SQL Server 2000(Remote Server) through Maxis 3G connection. The remote server does not has firewall. I'm using Windows Application to connect to SQL Server 2000. dim strsqlcon as string = "Server=000.000.000.000;databse=dbname;usr=sa;pws=1234" dim sqlcon as sqlconnection = new sqlconnection(strsqlcon) sqlcon.open() "It's Error : Sql not exist or access denied." But I can connect to SQL Server 2000(Remote Server) through Local Area Connection. Have any solution Thank you. Normally, network connection can access 1433 port and 3G network still cannot access. How to configure Server Network Utility or Client Network Utility in SQL Server 2 ...Show All

  • Windows Forms Refrence files

    Hey, I download the Teacher statter kit to help me get more familiare with databases in programs...but these two refrence files it says are missing in the project: Microsoft.ReportViewer.Common Microsoft.ReportViewer.WinForms So there are errors and warning mentioning those 2 refrence files... How would I add them to the project Thanks :) maybe you didn't select crystal reporter component at your installation time. I think the following link you help you to add these controls. http://msdn2.microsoft.com/en-us/library/ms251723.aspx ...Show All

  • Visual C# How do you REMOVE or DELETE Items from Recent Projects list in VS2005 RC?

    I have been testing  VS2005 RC and as a result, I have built many applications. Most I am no longer interested in or use and would like to DELETE them from the RECENT Projects list, but I dont see how ! I have been achieving this by manualy deleting the project from IIS, but there's got to be a better way ! Any ideas cheers, yousaid One way I discovered are to remove the project directory from the  [yourPath]\Visual Studio 2005 \ Projects \ Then when you try to open the project in the recent project list, visual studio can't find it and ask you if visual studio can remove it from the recent list ps. I use VS 2005 Beta2 /R This post is also provided "As-is". No warranties are expressed or imp ...Show All

  • Visual Studio 2008 (Pre-release) XamlWriter with Xaml and Codebehind

    I'm stuck on something with trying to create classes using Xaml and Codebehind C#. I'd like to create a class that looks like this: <UserControl x:Class="DesignElements.MyTest" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> <Grid Name="grid1"> <Rectangle Name="rectangle1"></Rectangle> </Grid> </UserControl> and the codebehind looks like this: public partial class MyTest : System.Windows.Controls.UserControl { public MyTest() { InitializeComponent(); } public Brush Color { get { return this.rectangle1.Fill; } set { this.rectangle1.F ...Show All

  • Visual Studio 2008 (Pre-release) Can't get collection derived from CollectionBase to work

    I'm stumped. I've got a class inheriting from CollectionBase. The element class is marked as Serializable, as is the collection class inheriting from CollectionBase. I've got the Add method and indexer implemented, but the damn thing still barfs when trying to pass it over the wire via WCF. What's really weird is I cannot get a more defining error from WCF than System.ServiceModel.CommunicationException: The socket connection was aborted... blah blah. Useless for figuring out what is really wrong. I'm dying here. Any help Oh, one more thing: if I pass an empty collection, it works. It only throws up when the collection actually has an element in it. Sure, here's the code. First up, the element class, d ...Show All

  • Windows Live Developer Forums MSDN Article

    Hi, I just read this article, but I cannot get it to work is keeps saying that sc is null or not an object. Anybody got it running tnx koen I got it to work within 15 minutes. Your problem is the JavaScript source code. If you copy it from the page to Visual Studio you get some line breaks and other sources of errors. Debug the code with the JavaScript console of the Firefox browser. If you have further questions please ask me. ...Show All

  • Windows Forms Right way to use a DataGridView Bound to Data

    Hi there this question is fairly noobish but bear with me. What would be the right way to add Data to DataGridViewCells in a Databound DataGrid. Here is the complete problem: I have a DataBound Datagrid but the DataSet/DataTable behind doesnt have all the required data so I used the dataBoundComplete Event to add my data based on what the dataGrid has. the data added are some images, some values and colors based on what is on the datagridview i change the color of the rows or the text in the cells. I add an index to the first cell of every row to number every row. Then I change the color of that cell to a dark grey, after that I color the entire row the even rows are light grey the odd rows are white. After that I add some required da ...Show All

  • Visual Studio Team System System.Web.Services.Protocols.SoapException

    Hi all, I am getting the following exception when I do an automated build to run my test cases. can anyone suggest what can I do I appreciate a quick response in regard to this: MSBUILD : warning : PublishRun: System.Web.Services.Protocols.SoapException: Server did not recognize the value of HTTP Header SOAPAction: http://schemas.microsoft.com/TeamFoundation/2005/06/TestTools/ResultsPublishingService/02/PrepareToPublish. MSBUILD : warning : at System.Web.Services.Protocols.Soap11ServerProtocolHelper.RouteRequest() MSBUILD : warning : at System.Web.Services.Protocols.SoapServerProtocol.RouteRequest(SoapServerMessage message) MSBUILD : warning : at System.Web.Services.Protocols.SoapServerProtocol.Initialize() MSBUILD : w ...Show All

  • Visual Studio Express Editions files in a project

    Hi All I am new to C#, I have downloaded VC#2005 EE, it's a great product! I have 3 questions: 1) If I create a simple windows forms new application I can find inside the solution explorer basically something like this: ... Properties... References... Form1.cs Form1.Designer.cs ... If I click on the Form1.Designer.cs node I open the Windows Form Designer generated code /// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> It's ok But if for example I open the following project ("Crafting a C# Forms Editor from scratch") (http://www.codeproject.com/csharp/SharpFormEditorDemo.asp) ...Show All

  • Visual Studio 2008 (Pre-release) Routed Events & ScrollViewer

    Why ScrollViewer blocks routed events (MouseDown in particular) A have the following hierarchy: Grid A -- ScrollViewer ----Grid B When I click on Grid A, Grid B doesn't receive that event notification. Once I take off ScrollViewer in the middle, everything starts working... Another strange for me thing is: if I put a Label on top of Grid A an click on it, rather than on Grid A, Grid B does receive a notification event with a ScrollViewer in middle!! :) Can anyone suggest on the solution   Thanks The actual label was added directly to the grid B bypassing SV, that's why it did translate the events.. As of the rest I'm still confused. Thanks ...Show All

  • .NET Development ExecuteReader requires an open and available Connection. The connection's current state is Open, Fetching

     cmd.ExecuteReader Run-time exception thrown : System.InvalidOperationException - ExecuteReader requires an open and available Connection. The connection's current state is Open, Fetching.  I'm having a issue with my program. My application does a search first, then the user has the ability to edit the search results. So first a datareader is created and the ExecuteReader is called and you know the rest. Then once the user is ready to submit their changes and executeNonquery is called and you know the rest. The code fails at cmd.exectuenonquery line. Here is my code First the user searches for records based off an id: Private Function RetrieveErrorRecords(ByVal ErrorID As String) As DataTable      ...Show All

  • Smart Device Development WM_SETTINGCHANGE and PropertyPage

    Hi, i'm catching WM_SETTINGCHANGE in dialog's procedure, but i'm having a problem. When the page is active GetWindowRect returns the correct rectangle, but when the page is not active i got the previous rectangle size!!! Ex: Pages: A B when start propertysheet A is created, i switch on B and then return on page A. Now change screen rotation and in A i get the correct size by GetWindowRect (landscape rect) but in B i still get the portrait rectangle! Any idea yes i need to rearranging my controls but i don't get WM_SIZE message on screen rotate Btw i'll try to call SHHandleWMSettingChange function ;) ...Show All

©2008 Software Development Network