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

Software Development Network >> Saroj K. Nanda's Q&A profile

Saroj K. Nanda

Member List

Sivaraman
Speedie
Leon Tayson
Fluxtah
Marcus J
LukeD
laboremus
Alex Mujar
satyam amin
nhaas
Xengor
Craigster
Joannes Vermorel - MSP
Philippe Cand
bilalso
chanmy8
ChitownDotNet
TMSA
karthik.sr
Mnd1
Only Title

Saroj K. Nanda's Q&A profile

  • SQL Server SSRS installation

    currently i have one sql server 2005 standard edition db server that has \dev, \tst, & \stg instances on the same physical server. i also have installed SSRS, SSIS, and SSAS on this same server for each instance. i want, for \tst and \stg, to have the report server service on a separate physical server. As would be the case in production. in my reading i found out that to do that i need the enterprise edition of sql server 2005. Is this true if so, what are most people doing out there, installation-wise, for a multi-instance box like mine   thx. ...Show All

  • Windows Forms Problem with "attachevent" method --- Webbrowser.

    All, I want to attach some events to the document of a webpage using mshtml. My code fragment somewhat looks like below: public delegate void alert (mshtml. IHTMLEventObj obj); public void print(mshtml. IHTMLEventObj obj) { //Print something; } alert p; p = new alert (print); IHTMLDocument3 doc = ( IHTMLDocument3 )exp.Document; bool result = doc.attachEvent( "onclick" , p); <--- Invalid Cast Exception. I want to execute the function Print() upon "onclick" event on the document. So, Im passing the delegate as second argument. But, the attach window accepts some "object" type variable. I try casting it to Object, then also it wont work. Where I am doing ...Show All

  • Visual C# how to calculate age?

    how can i calculate age in years and months.. for example 26y 2m DateTime birthday = ...... TimeSpan age = DateTime.Now - birthday; int years = age.Days/ 365; int months = (age.Days - (year * 365))/30; string strAge = String.Format("{0}y {1}m", years, months); ...Show All

  • SharePoint Products and Technologies Error Creating Records Center

    From the SharePoint - Enterprise Content Management forum: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1113123&SiteID=1 I'm getting an error creating a records center. All the error descriptions are in the other thread but here's a description of the problem: Creating the records center comes up with an Access Denied error, but it is still created but with no shortcuts on the top link bar or quick-launch as I specify. In the SharePoint Diagnostic Logs (stored in "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\LOGS\") The SPPersistedObject, PolicyConfigService Name=PolicyConfigService Parent=SPFarm Name=SharePoint_Config, could not be updated because the current user is not a Farm ...Show All

  • Visual Studio Express Editions Thanks

    Hello world, i've a problem with my application. I must store some information on a specific file in specific folder, i.e.: filename, format, extension. Intially i've the path of the folder that contains the files. How i can search file in a folder How i access file information and store they in a datatable Thanks. Ok, thanks, i've solved my problem. Now, i want create a table with inside image and their attributes (title, format). Those images are load from folder, and so, they are shown in table. How i can do it Thanks ...Show All

  • Visual Basic XML, Excel in vb.net

    hello, i never deal with this issue before. i want to generate the excel file from a datagrid. after reading some posting, somebody talk about xml, and some are excel. i totally confuse. it i must convert it to xml first then conert second time to excel or i can just convert it to excel directly Anyone know about it smith ...Show All

  • Visual FoxPro Problem trying to create an Encryption Library

    I have followed the example for creating a C# Encryption Libary, but receive numerous errors with regard to no overload method ' ' requires 2 arguments, I have verified that my code is exactly as the example provided by microsoft and found no difference. Has anyone ever tried this code and had problems. Is there any other code to create an encryptoin library in C#. I would appreciate any and all assistance. I am responsible for figuring out how to encrypt the connection string for our web config files in Asp.net page. (we dont' have the .net 2.o framework, we are using Visual Studio 2003 with 1.x framework Thanks Heather It's the same error... Probably you could remove the third parameter in encrypt/decrypt clas ...Show All

  • SQL Server Writing MDF to SQL Database

    Hi, I've been searching the internet for hours and the code i'm finding is just not what i'm wanting to do. Heres the story, I have a database file "MyDatabaseFile.mdf" I am making a form when you click a button I want it to create the "MyDatabaseFile.mdf" in MS SQL Server. Is this possible if so how I it something like "CREATE DATABASE MYNAME ". I jsut want the MDF file i dont want the log file inserting or anything. Is there any tools out there that anybody can recommend that will help me with T-SQL   Cheers, Rob Hi, MDFs cannot be created as a single files. A MDF always comes with a LDF files, which keep the log information and is responsible for transactional concistency. If you create a database, the da ...Show All

  • Visual Studio Team System Source Control (project file)

    Is it common practice to checkin the project file Everytime someone adds/removes a class it is forcing a merge.. if the user does not merge the project file, then classes will be downloaded to his local drive but not be in his project.. anyone have solutions for this What is common practice in this situation I have only 2 developers working on a project, and they are both adding classes, structs, etc, to the project. This modifies the project file and requires them to merge. If I make project files unmergeable, will they still be able to both update classes and have them propogate to eachothers local workspaces correctly When they keep their local project copy it just downloads the other developers new files but does not add ...Show All

  • Visual Basic HScroll

    In switching from VB6 to VB2005, the Scroll bars have apparently changed. The Scroll part works, so I can change a program parameter based on the position of the cursor of the Scrollbar (or using Mouse clicks). I then want to apply the new value, but only at the end of the Scrolling. There is no "MouseUp" available for the HScroll. The "Mouse hover" does work, but it causes unwanted events. Is there a way (after dragging the cursor) to apply the final value - after releasing the cursor I can do it by pressing another button, but that is too late for some cases. Also, is there a way to change the backcolor and forecolor of Scollbars OK...so here is a solution for you...use the hscroll event to set a flag that th ...Show All

  • Visual C++ VC8 STL Link Error

    Hello 1. Question why I have that error 1> My Log.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl operator<<(class std::basic_ostream<char,struct std::char_traits<char> > &,class My LogSevAndCat const &)" ( __imp_ 6@YAAAV $basic_ostream@DU $char_traits@D@std@@@std@@AAV01@ABVMyLogSevAndCat@@@Z ) referenced in function "public: virtual long __stdcall CClientMyLog::Log(enum MyLogMsgType,wchar_t *)" ( Log@CClientMyLog@@UAGJW4MyLogMsgType@@PA_W@Z ) ( __imp_ 6@YAAAV $basic_ostream@DU $char_traits@D@std@@@std@@AAV01@ABVMyLogSevAndCat@@@Z ) - that mangaled is known ...Show All

  • Visual C++ How to code an IComparer to use for ArrayList.Sort(IComparer)?

    The MSDN documentation gives a sample of code for how to implement this here: http://msdn2.microsoft.com/en-us/library/0e743hdt.aspx What their implentation does is sorts an ArrayList of strings in descending order (or reversed). In my program, I have an ArrayList of 'Record' objects that contains several properties for data fields. What I obviously want to be able to do is sort the ArrayList on each one of these data properties. I am not sure what the syntax is doing here and wanted to know if anyone knew what I would have to do to make an IComparer interface to handle object properties. Thanks in advance If I understand your scenario correctly, you could probably add a enum property to your cla ...Show All

  • Visual Studio Express Editions Minimize to toolbar on taskbar?

    Can I minimize my app to a toolbar on the taskbar like media player Can this be easily done with .net here is the link to the systray code: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=643672&SiteID=1 of course modify it to your needs, hopefully itll get you up and running for the systray portion! ...Show All

  • .NET Development XML Parser failure

    Hi Anybody know about this problem PC running window xp home edition Application written in Visual Basic 6.0/Framework 1.1. WSDLReader: Loading of the WSDL file failed HRESULT=0x80070057 - WSDLReader: XML Parser failed at linenumber 0, lineposition 0, reason is: The system cannot locate the resource specified. HRESULT=0x1. Thank you in advance, Steve. steve@posnet.us After looking at the error we were getting it was for a different reason. Has to be some authentication goof by our PC Support group in setting up permissions. Thanks for the follow up though. ...Show All

  • SQL Server Is it possible replicate Service Broker Object and messages?

    Could anybody suggest to me - is it possible replicate Service Broker Object and messages (in the queue) with usual Replication Process Thanks to all very much, Sveta. what are service broker object and messages, user tables views procs if not, then no. if yes, and they're not marked as system objects, then you might be able to, just know that some replication topologies will add columns and indexes to tables. ...Show All

©2008 Software Development Network