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

Software Development Network >> PeteJM01's Q&A profile

PeteJM01

Member List

P R W
Thomas Andersson
Tracey Macias
Ram Pradeep
christian bitter
kwards3
Johngeh
mdg421
stigman99
vijeyan
bdi
hdp203
Mike Barry
MarcGBeauchamp
IamHuM
AFTIadmin
Jason Wilborn
paraGOD
Marnik Van Hileghem
Bill Baker
Only Title

PeteJM01's Q&A profile

  • Internet Explorer Development Persistent cookie overwrite session cookie

    In this code: <!-- Begin code --> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" " http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd "> <html xmlns=" http://www.w3.org/1999/xhtml " xml:lang="es-ES"> <head> <title>cookie</title> </head> <body> <script> function setCookie(name, value, expires, path, domain, secure) { document.cookie = name + "=" + escape(value) + ((expires == null) "" : "; expires=" + expires.toGMTString()) + ((path == null) "" : "; path=" + path) + ((domain == null) "" : "; domain=" + domain) + ((secure == null) "" : &quo ...Show All

  • Visual Studio Error while debugging

    Hi all, I was trying to run FxCop custom rules on some target source. But the VSTS is giving some error which says " No symbols can be loaded to any call stack frame. The source code cannot be displayed". Can anybody tell me why this problem is coming and how to resolve this issue. One more thing is that I've moved the source code to another machine and now both the machine is giving the same error. Does anybody have any idea on this issue Please help. Thanks, ThunderRock Hi Luis, Thanks for the response but the scenario you are talking about is completely different from what I'm undergoing. My scenario is I've already createed some custom rules in FxCop. Now I've deployed it a ...Show All

  • Windows Forms Index of Item in ListView

    Hi Guys, I am trying to somehow get the index of the item which has been clicked by the mouse (single click). The list view has around 20 items and i need to show the description of each item in a seperate textbox, that means i should know which instruction has been clicked and for that i need the index. I am using visual studio express edition 2005 and C++. Any suggestions how i can do it Cheers! excellent!Finally it works! Could u also give me a tip on Popups !I want to generate a popup when i right click on a cell of data grid view and in the pop up i want to display some parameters which the user could gives values to and then when the user presses the button apply in the popup,these pa ...Show All

  • .NET Development Jagged arrays are not cls compliant

    Hi Guys, While analyzing my code with FxCop 1.32, I get the following "Breaking" - rule: "MyMethod" uses a multidimensional array of 'System.String[, ]'. Replace it with a jagged array if possible. ( Jagged arrays are not CLS Compliant .) " Please, help me with the above issue. Thanks in advance Yogendran (yogi) CLS compliance is that it follows the rule all .NET languages must follow. If it is not CLS compliant there is no guarantee that the code can be reused from another .NET language. http://msdn2.microsoft.com/en-us/library/bhc3fa7f(VS.80).aspx If you are making a stand-alone application that will not share code (like a class library) to be used by ...Show All

  • Visual Basic Can a form be opened as a single instance using the constructor.

      I want to make sure only a single instance of a form exist using the constructor.     Here is and example not using the constructor   Public Class Myform       Private _CurrentForm As Myform     Public ReadOnly Property CreateForm() As Myform         Get             If (_CurrentForm Is Nothing ) Then                 _CurrentForm = New MyForm             End If          ...Show All

  • Windows Live Developer Forums The return value problem of map.FindLocation(place,onFoundResults)

    When I use map.FindLocation(place,onFoundResults) to find a place in the Virtual Earth Map, I want to know if the given place is found or not. i use the following code to do that, but it can not get the return value, please tell me how to get a return value from this function. var num; function FindLoc(place) { map.FindLocation(place,onFoundResults); return num; } function onFoundResults(e) { if(e.length==0) num=0; else num=1; } I appreciate your help. Check out the new features (in v3 and v4). In the iSDK, try "Use custom disambiguation", and you'll see that we've finally addressed the location disambiguation problem. The main idea: map.Dis ...Show All

  • Visual C# Calling a class function from inside a worker thread

    I have a class, which creates and starts a worker thread, i want from inside the worker thread to call one of the class functions, how do i do that i called the function from inside the worker thread but it is still the same thread......   if i can't then, generally,how do i notify/update the class that started the thread, from inside the thread Inside the class, create the delegate private delegate void MyDelegate ( String msg); suppose this is the function where you are receiving updates public void GetMessageUpdates(string message) { //here u r in worker thread. or worker thread should some how pass message to this method //pass this message in current threa ...Show All

  • Windows Forms how to make the form expand dynamicaly when it maximize???

    I want my form to expand regularly with the window when the window maximizes .... If you mean you want your control to resize with the window, look at the control's Dock and Anchor properties. Or do you mean MDI child form inside the main form ...Show All

  • Visual C# converting a string to date

    I have a string that contains the a date in the format of "dd/mm/yyyy". I want to convert this to a datetime MyDate Can anyone show me the best way of doing this. Try this .sudetail .SuppF12 = Convert .ToDateTime (cRow [11] as string); I'm not sure what cRow is but ToString doesn't really convert one type of thing to another type of thing. Exactly what ToString() does is up to the maker of the class. ...Show All

  • SQL Server Reporting Services 2005 BestPractises Question

    Hi, We're starting to migrate from Crystal Enterprise to SSRS2005, and had some performance-related questions in relation to complex reports running against large tables. Scenario: . We have fairly large source tables, some greater than 5 million rows . We use fairly complex stored procs which use dynamic sql based on about 10-15 search criterias entered on web page . Currently our web middle tier calls a stored proc which inserts into a report table. Then UI calls the report which has SQL query to filter the report table on the UserId and shows only the rows for that user. Question: . Is this method - running stored proc in app which inserts into table, then asking report to filter the table based on UserID - consider ...Show All

  • Software Development for Windows Vista Cannot uninstall WinFX Beta2 (April) error 1603

    Greetings. I have problem uninstalling the WinFX 3.0 Beta2. This is the latest beta before the current (June CTP) so I think it is Beta2 April CTP. I try to uninstall from Control Panel, and get this error: [06/26/06,09:50:58] Windows Communication Foundation Beta 2: [2] Error: Installation failed for component Windows Communication Foundation Beta 2. MSI returned error code 1603 [06/26/06,09:51:22] WapUI: [2] DepCheck indicates Windows Communication Foundation Beta 2 is not installed. [06/26/06,09:51:22] WapUI: [2] DepCheck indicates WinFX Runtime Components 3.0 - Beta 2 was not attempted to be installed. Ok, so it seems that I didn't have WCF installed , therefore I cannot uninstall WinFX So, I try to fnid the WCF Beta2 ...Show All

  • Windows Search Technologies Same here

    Hi, I have search everywhere for a solution and still I do not seem to find a solution. Outlook is not finding any emails (instant search). I think it is not really indexing anything. Vista search works perfect (seems like it). The index says it is done (outlook is included on it) As I receive emails, the list of pending items to index just grows and grows. I am using pop accounts not exchange. (I already checked the instant search options, the indexing thorugh control panel). Any ideas. I spent the last two weeks searching for a solution, and I have read and follow the suggested solutions from microsoft, but still is not really finding anything.. so frustrated!. Thanks for reading this, and I hope somebody can help me ou ...Show All

  • Visual Studio Use DExplore to show help of .NET Framework 2.0 SDK, FAIL

    Hi all, I want to use DExplore to show the help for classes in the framework or members of these classes when my customer install .NET framework SDK. I have implement it with .NET Framework 1.1. But after changing to .NET Framework 2.0, it fails. In framework SDK 1.1, the URL is quit simple. e.g.: ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrf SystemObjectClass Topic.htm is URL for System.Object . But in framework SDK 2.0, the format of URL is changed. :( e.g.: ms-help://MS.NETFramework.v20.en/ cpref2 /html/ T_System_Object .htm is URL for System.Object . Oh, yes, I can build the URL. But the hard problem is: Please compare the following cases: ms-help://MS.NETFramework.v20.en/ cpref2 /html/T_System_Object.htm ...Show All

  • .NET Development adding control item in div tag using xslt?

    Hi.. how to add a control item in the div tag using xslt ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Orienting 3D objects along a velocity vector

    I'm working on a bullet/missile class for my 3D game and I'm struggling with trying to figure out how to construct the rotation matrix to have my mesh oriented with the direction of my velocity vector (a Vector3). It seems like it should involve two rotations (since one axis will be the up-vector) and probably a little bit of Math.atan2 magic. Can anyone help me out Divided by the product of their magnitudes. I'm typing this from work and don't have the XNA docs in front of me and can't remember the function names but mathematically it would look something like this. v1=natural direction v2=direction you want to point. vaxis=cross_product(v1,v2) angle=acos( dot(v1,v2)/( v1.Magnitude()*v2.Magni ...Show All

©2008 Software Development Network