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

Software Development Network >> Hussain Saffar's Q&A profile

Hussain Saffar

Member List

enric vives
Talyrond
SulaimanA
J_Craig
Chuck Cobb
_cyclops_
NeoNmaN
Alessandro Camargo
Depick
lushdog
Mr.Freeman
Penny Ong
Deuce BOI
Bharat M.
Abhishek172
Baris ERGUN
thechristopher
Junner2003
fruce
summerwoods
Only Title

Hussain Saffar's Q&A profile

  • SQL Server Update Query Taking 23 seconds

    I am not sure if I am in the correct location or if I should be in the SQL forum but here is my question: I have an update statement that goes out through SQL 2000 through a local linked server to another SQL 2000 server on my machine. When I run the update in Query Analyzer it takes less than a second. When I run it in my C# code using the SqlCommand object and parameters it takes me ~23 seconds. If I remove one of the parameters it goes down to ~15 milliseconds. Has anyone heard of this happening The parameter that I remove is a simple char(10) column that isn't the primary key and is used in the WHERE statement. There isn't an index on the field. 23 Seconds Update table Set column = @val WHERE field = @field AND other = @other ...Show All

  • SharePoint Products and Technologies is it true that we can t write information to event log or text file while developing for sharepoint

    Hi, I code for sharepoint, but I need to log errors that might occur for users. When a user is using sharepoint, will the process be able to write information to event log or files for a domain user who has no administrative permissions on the server or will the process run under the user's priveliges and therefore any attempt to write to event log or text file on the server will mainly fail What s a good practice, guys, for logging and reporting either information or errors in production environnement wen we program for sharepoint. Thanks a lot. I got this link in another forum. I think it explains that in professionnal way :) http://www.15seconds.com/issue/040511.htm Thanks a lot. ...Show All

  • Software Development for Windows Vista windows vista

    i would like to install an application as standard user, windows vista does not allow me to that . it ask admin approval. is it possible to give a standard user installation rights in windows vista. thanks This appears to be a duplicate question. See my new response in your original thread. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1184394&SiteID=1 ...Show All

  • Visual C# Keyword "this"

    Is it true that using the keyword "this" makes the operations slower I know this might sound silly or even stupid, but I need a trusted source to answer this for me. This is because in my team, we decided to use the keyword "this" as a standard when refering to the variables of the object; even though it is not necesary; but yesterday some "trusted source" told us that using the keyword "this" slows up everything. If this is true (which I hardly believe), how many miliseconds woild it be Thanks in advance ...Show All

  • .NET Development .NET Remoting performance

    Hi, i have just started working with .net remoting and i would to find out the performance of remoting from the experience of people who has done many .net remoting apps. Are there any known performance issues when there are many clients connected to a server Over a large network Assuming i am just sending a small object of arraylist, strings and intergers. thanks http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnpag/html/scalenetchapt11.asp http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnbda/html/bdadotnetarch14.asp ...Show All

  • SQL Server Time Series algorithm

    I am trying to predict Revenue gererated by each Person. My Input like this: Month Person Revenue ----------------------------------------- 20050101 Person1 $1000 20050101 Person1 $2000 20050201 Person1 $1000 20050101 Person2 $5000 20050201 Person2 $2000 20050201 Person2 $3000 Obviosly for Person1 and 200501 I expect to see on MS Time Series Viewer $3000, correct Instead I see REVENUE(actual) - 200501 VALUE =XXX, Where XXX is absolutly different number. Also there are negative numbers in forecast area which is not correct form business point Person1 who is tough guy tryed to shoot me. What I am doing wrong. Could you please give me an idea how to extract correct historical and predict information Thnak you, Tim. ...Show All

  • Visual C++ Deleting a node from a linked list

    hello people. i have a linked list. and i hav a address of only one node . and i want to delete that node.. to my best of my knowledge its impossible.. but still i wanted to confirm .. is there any way to do that. . one way to do that is swap the data part to the next link.. when this data comes to the last node then delete that node.. . apart from this any other way... plz help manish >> i have a address of only one node What if it already points to the last node ...Show All

  • Visual Studio 2008 (Pre-release) TextBox in DataTeplate...

    I have the following DataTemplate: <DataTemplate> <TextBox/> </DataTemplate> The problem is that the textbox doesn't stretch horizontally to fill the ListView column, it just resizes to the width of the text within it. This worked ok on May CTP, but on July CTP something changed. Any ideea how to fix this Thanks. Thank you, that did the trick. ...Show All

  • Visual Studio files LOST after error message in VS2005

    I was using the Sourcesafe 2005 within VS2005 (plug-in). One day, an message came up saying there was an error and I needed to contact my Sourcesafe administrator. It was a plain and simple dialog box without any options expect "OK" and "Cancel" The next thing I know all my checked out files were replaced by original files before they were checked out! Basically I had lost everything I did up to that point! Fortunately, I was able to recover the files from backup. But can anybody tell me why this happened so I can prevent next time Thanks! Chirag Error messages in SourceSafe that tell you to contact the administrator appear because of database corruption. And there is an informationa ...Show All

  • SQL Server Is anyone using ActiveCipher by RedCraft Software?

    I am considering this third party encryption tool for use on SQL Server 2000 and would like to hear from someone who is using it in a production environment. Thank You There is none that I can find. I'm just looking for another SQL Server Professionals opinion on the software. Could you recommend another Microsoft Forum that might be more appropriate ...Show All

  • Windows Live Developer Forums Is Virtual Earth Free?

    I Would like to use Virtual Earth in my real estate portal. Is it free or I have po pay Rumors Egad! :) http://www.microsoft.com/virtualearth/products/webservice/howtobuy.mspx . Internet applications (applications with anonymous users, such as a Web-based locator solution). Licensing for Internet applications has the following components: - Platform Access(1) - Usage ( per transaction only) I agree with you that the individual transactions (HttpRequests) are originating from user machines, not your server, but c'mon -- you have every means of tracking usage and limiting it's use. If you spin up a simple commercial Find Location site for example, and realize you're passing some identifier in eac ...Show All

  • Visual C++ VC++ 2005 : ambiguous call to overloaded function

    Hi all ... Why am i getting "ambiguous call to overloaded function" for built-in functions and operators I am trying to complile the project developed using the VC++ Version 6.0 in the new version VC++ 2005. Thanx in advance. Note : The idea (bulb) indicates -> ...Show All

  • Visual Studio Express Editions Save Word doc?

    Is it possible to save a word document I can open a word document but how do I then save it as a word document after I have altered it Whoisit, Use the Microsoft.Office.Interop.Word namespace and here is a code example on saving the word document: Option Explicit Off Imports System.Data Imports System Imports Microsoft.Office.Interop.Word Namespace Wordclass Public Class WordClass Public Function CreateWord( ByVal str_FilePath As String , _ ByVal str_Server_Path As String , _ ByVal dsPutDetails As DataSet) As Boolean Dim oWord As New Microsoft.Office.Interop.Word.Application Dim oDoc As Ne ...Show All

  • Software Development for Windows Vista Problems with Windows Contact samples

    I have a problem with the first example of Programming Windows Contacts. I modified the following line: This is a very late response, but I just noticed the question and that it was never answered so mostly replying for the sake of others who come across it. For the hierarchical properties, such as Names and Email (anything with L1-L2-L3 property names) you need to create an array node before trying to set the values.  The CreateArrayNode call will return a string like "NameCollection/Name[1]".  Once you have that you can append "/Title" to it and that will fix this issue. ...Show All

  • SQL Server SSIS Packages with different destination databases... removing original DB reference

    Hi All, OK, so I have an SSIS package that I build using the "test" database as the destination. Now I want to execute it using another database as the destination. This is basically for an installation script where the source is always the same, an access database. So here I have: "C:\Program Files (x86)\Microsoft SQL Server\90\DTS\Binn\DTExec.exe" /file e:\data_import.dtsx /CONNECTION DestinationConnectionOLEDB;"\"Data Source=(local);Initial Catalog=Test2DB;Provider=SQLNCLI.1;Integrated Security=SSPI;Auto Translate=False;\"" Which works (sort of). It does try to import the data into "Test2DB", but what happens is all of the destination tables in the dtsx package have names lik ...Show All

©2008 Software Development Network