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

Software Development Network >> Kris Nye's Q&A profile

Kris Nye

Member List

rodrigorodriguez
Sumesh Nair
AndyMcBal
latence01
slein
satya999
Namrata_Gupta
Patrick D
pmanisekaran
ksimpson
TommyG73
sctwest
Uncle Ted
stallion_alpa
alexia_net
vdv_phuong
SPWilkinson
JIM.H.
Howard Pinsley
cmendozas
Only Title

Kris Nye's Q&A profile

  • Internet Explorer Development XML DOM using JavaScript

    Hi everybody how r u Actually i am really in big trouble for very small problem i guess. I am manipulating a xml file using xml dom using javascript, after manipulating the dom tree internally, when i tried to save the file i am getting "permission denied" error. I have tried saving file locally as well remotely. since my code is little big, i am giving u a dummy example. var xmlDoc1 = new ActiveXObject("Msxml2.DOMDocument.4.0"); var str = "<Root></Root>"; xmlDoc1.loadXML(str); var path = "C:\\1.xml"; xmlDoc1.save(path); for this also i am getting error. Thanks a lot. Hi Dig, I came across this problem quite a lot and I identified ...Show All

  • SQL Server Object reference not set to an instance of an object

    I enter http://localhost/reportserver and get the error message from Reporting Services:: "Object reference not set to an instance of an object" along with a link to Get Online Help. I click the link to get the "Details" and am told "We're sorry, there is no additional information in the error logs or knowledge base. I've run the RS Configuration Manager many times to try different options, I've also run SQL Server Config Mgr. and the Reporting Services seems OK and is "running." I've checked IIS and the virtual "reportserver" look OK there as well.... I just don't see anything amiss or missing. I'm running XP Pro, Visual Studio 2005, SQL Server 2005 and think I am up to date on all the l ...Show All

  • Visual Studio Express Editions printing items from database

    I am attempting to print items from a database. I have added the items as objects to an array list. When I click print preview, the items show exactly as I intended them to be. The final calculation in the preview is correct. However, when I do the actual printing, the calculated number (TotalPremium) doubles Sometimes, the items print more than once. Why is the print preview correct, but the actual printed page is not. Please see attached code. Thanks for your help. Dim RatingFont As New Font( "Tahoma" , 8, FontStyle.Regular) Dim LineHeight As Decimal = RatingFont.GetHeight yCoord1 = e.MarginBounds.Top xCoord = e.MarginBounds.Left yCoord2 = yCoord1 + LineHeight yCoord3 = yCoord2 + LineHeight yCoo ...Show All

  • Visual C++ backward debugging in Visual Studio??

    Hello everyone, Suppose a program looks like, -------------------- code block 1; if (condition == true) { code block 2; } -------------------- I want to see the state of block 1 (variable values) if condition is true. So I am wondering whether Visual Studio supports backward debugging, if it supports, I could set a breakpoint at the beginning of code block 2, and if it is executed, I could run *back* to the beginning of code block 1 to execute code block 1 again see the detailed running process of code block 1. thanks in advance, George Many modern CPU feature trace facilities. Just look at what you can do with ARM's ETM. I've seen work on a replay debugger (that was based on XScale's execution trace. In ...Show All

  • .NET Development Button Server control OnClick Event opens a new IE

    Hi, I have a IE window, which is a modal dialog, and there is a server button control in this window. OnClick event of this button saves text from the save textbox control to database then registers client sice javascript but this onclick event opens a new IE window. I have been scruggling to figure out why the onclick event opens the new IE window. Could anyone tell me how I disable the behavior so that onclick event would not open a new IE window I appreciate the help in advance. I guess you could do a Window.self instead window.self.location = 'http://www.microsoft.com' or maybe window.self.navigate(url) window.self.location.href = url   this should open the url into the current wi ...Show All

  • SQL Server Data encryption and keys

    Hi, I would like to encrypt data in my database. I want encrypted column value to be viewable only for certain group of users. Users that has access to my database doesn't meant they can access to my encrypted data. Currently, I am using the following "approach" as my key management. create master key encryption by password= 'MasterKeyPass' CREATE ASYMMETRIC KEY MyAsymmKey AUTHORIZATION MyUser WITH ALGORITHM = RSA_1024 ENCRYPTION BY PASSWORD ='MyAsymmPass' CREATE SYMMETRIC KEY MySymmKey WITH ALGORITHM = DES ENCRYPTION BY ASYMMETRIC KEY MyAsymmKey My data will be encrypted using Symmetric key MySymmKey. User who want to access my data must have MasterKey and MyAsymmKey password. Is it OK Any better way Thank you ...Show All

  • Windows Live Developer Forums Sample: MSN AddIn - Outlook Calendar

    Description A simple msn live addin that will integrate with Outlook Calendar. Set it up so that it's enabled when my status is anything other than "online" or "appear offline". Now when someone sends you a message the addin will check outlook to see if you currently have any appointments and reply with something like this: [15:33] dan (work): Auto-Response: I am currently in a meeting (test) scheduled to end at 4:00 PM If no appointments are found no reply is sent. The addin also keeps an internal list of users that it has replied to so that it doesn't send out the same info more than once to each person. This list is reset when the status is changed back to online. As with the text-to-speech sample I posted the oth ...Show All

  • Visual C++ VS2005 link error

    I have a mixed mode managed and unmanaged C++ code which compiled, linked and ran fine in VS2003. However, this code does not link when using VS2005. It causes following link errors when I compile and link using /clr:oldsyntax switch, which I believe is necessary if using old Managed Extensions syntax. I am using STL string and map classes in my unmanaged code. I havea managed wrapper which delegates to unamanged methods which accept STL structures as parameters. I am convinced this is a compiler error in VS2005. Can someone please throw some light on this matter. Many Thanks A.obj : error LNK2020: unresolved token (0600001F) std.map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::bas ...Show All

  • SQL Server Copying tables using SSIS package

    I need to create a fairly simple package. And almost because of the simplicity, I'm stumped. I need to copy all non-system tables from server1.database1 to server2.database2. Additionally, four of the 30+ tables need to be renamed on the fly -- i.e. their name will reflect the year and month that the copy takes place. I've tried using the Transfer SQL Server Object Task to simply copy the tables, but I get flaky results at best with it. Sometimes it tells me the source table doesn't exist, when I can clearly see it (and I've selected it from the list). And even though I have turned on the Include Indexes option, they don't always come through. I'm wondering if I need to do a For Each loop looking at an ADO object Any suggestion ...Show All

  • Visual Studio Team System Moving the Data Tier

    Okay, I have an issue that I am having trouble find good information on. When TFS was installed on our production server (One-server install) everything was installed on the 40 gig C drive and the 900 gig E drive was left untouched. Now the server guys want to move the backend SQL databases to the E drive. Can we just move the SQL DB via SQL 2005 w/o effecting th cube Which by the way would remain on the C drive. Moreover, I think this means the data-teir would also still be on the C drive just the back end DB would move to the E drive. My SQL guys say there is nothing to worry about but I still have my concerns. Any advice on how best to resolve this situation would begreatly appreciated. Thanks BJHop Yes I ...Show All

  • Windows Forms validate password

    I have a password field in my login page (ASP.NET 1.1), how can I validate password based on at least 6 characters, one number, and one capital letter. Hi Jim, You should a Regular expression to verify the password. An example of what you need can be found here (c#): http://weblogs.asp.net/erobillard/archive/2004/09/29/235889.aspx The example uses Microsoft's defintion of a strong password: at least seven characters long contains at least one character from each of the four groups: uppercase lowercase numerals symbols found on the keyboard. With a few changes, you can change the sample to match your needs Hope this helps, ...Show All

  • SQL Server Can SQL2000 & SQL2005 co-exist on the one server??

    i realise you can have both SQL2000 & SQL2005 Client software co-existing on one (developement) machine. but i cant seem to find a definitive answer on whether i can install both complete databases on a server we are currently building a new development server and would like to install both version on it if possible Cheers, Craig You can install both. You'd have to have an instance name, however. ie. servername\sql2005 I think it's less confusing if you put both servers on separate instances.. instead of sql2000: servername sql2005: servername\sql2005 use sql2000: servername\sql2000 sql2005: servername\sql2005 this way you know what environment you're pointing to.. ...Show All

  • Visual Basic Apparent bug in cube root function for VB.net

    I have detected what appears to be a serious bug when cube roots are taken of variables containing negative double precision numbers. I presume I'm making a mistake since I can't imagine that this bug has gone unnoticed so far. The below code is used with a form containing one button and three textboxes. X is assigned a value of 4 and Y is assigned a value of -4. Z stores, consecutively, the cube roots of X, -4 and Y which are displayed in the three textboxes. Cube roots of X and -4 are displayed correctly but the cube root of Y (-4) is shown as "NaN". The cube root of -4 using the Windows XP calculator yields the same "NaN" result on my computer. I would very much like to know how to deal with this. Thank y ...Show All

  • Microsoft ISV Community Center Forums Office Communicator 2005 sign-in name, auto populate after install somehow?

    Does anyone know of a way to have the sign in name in communicator, auto filled in after an install or doing the install.. Basically every user has the same format.. first.lastname@domain for the login. I'd prefer to find a way to have this info auto entered after the install when it first tries to open. I'll be using communicator as a "broadcast" method.. and alot of users probably wont take the time to enter their info when I have it set to auto start/connect on windows start up. Thanks I would be interested in this solution too. Communicator 2005 can pick out information from Active directory - why cant it pick out their sip name (or email address) too and so not bother the user fo ...Show All

  • Visual Basic Backgroundworker Fundamentals

    Are these background workers slow or what If you give it a simple 2-3 lines of codes, it could take a long time for it to execute. No, that's not true. The background worker will execut the code but it appears to have amensia, because the error - thread cannot run multiple tasks at the same time... which means, even though it has finished running the code, it cannot automatically dispose itself and therefore is still active until some element deactivate it. Oh, I can understand on a single core CPU, it might have to "wait" until it turn is up - but come on, on a dual core... what's the wait I don't suppose if you tell ******** to give more processing power to background services would help ...Show All

©2008 Software Development Network