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

Software Development Network >> Saurabh Agrawal's Q&A profile

Saurabh Agrawal

Member List

Taylor Brown
huysmans
Osiris43
goldmine
KathyGirl
mmix
eshny
Sicundercover
Jacco Mintjes
Duncan McC
Chirag vm
twoshipps
davros51
arse
imed-deborah
Fekih Mehdi
killerless
dpoon
smogit
cedubose
Only Title

Saurabh Agrawal's Q&A profile

  • Visual C++ error with getline function.

    recently I have been having a lot of problems with VC++ EE. I used to get about 10 errors not matter what I compiled, although I completely reinstalled everything and now I get just one: Code: ifstream file(a_filename); if (!file.good()) { printf("Could not open file: %s\n", a_filename); return false; } // feed data into scanner and build instructions while (!file.eof()) { string line, tLineComment; getline(file, line); whenever I use the function 'getline', I get the following error Error: whitevmparser.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::basic_ifstream<char,struct std::char_traits<char> >::basic_ifstream<char,struct std::c ...Show All

  • SQL Server Format measure from milliseconds to HH:MM:SS

    Hi, I have a measure that contains milliseconds, I want to display it in the HH:MM:SS format. How to specify the format string please help. Regards Vijay R Hi Vijay, This thread from the public SQL Server OLAP Newgroup discusses some approaches: http://groups.google.com/group/microsoft.public.sqlserver.olap/msg/37b9ae771bc762bc >> microsoft.public.sqlserver.olap > How to format & display a measure which is in seconds to HH:MM:SS This MSDN link discusses FORMAT_STRING options for cube measures: http://msdn.microsoft.com/library/default.asp url=/library/en-us/olapdma d/agmdxadvanced_2aur.asp This earlier post shows how to format hh:mm:ss http ...Show All

  • Windows Forms FieldHandle property don't impliment

    When run : FieldInfo fi; ..... RuntimeFieldHandle rfh = fi.FieldHandle; Get message ' NotSupportedException' Property RuntimeMethodHandle mHandle = mi.MethodHandle; - Work OK FieldInfo is an abstract base class. At runtime a runtime type is returned instead (as it is for all reflection values). Ultimately two types can be returned. RtFieldInfo is for standard fields (like those found in a class). These will have a field handle as they are truly fields. However for enumerations (and perhaps others) fields are also used to store information but they aren't true fields. In this case MdFieldInfo is returned. This particular type will throw an exception because the fields aren't true fields. Md stands for metadata. ...Show All

  • SQL Server Use SSIS to load data into CRM 3.0

    Hi, I have a little experience with SSIS (but a lot with DTS) and none with CRM 3.0. Is it possible to use SSIS to import flat files into CRM 3.0 And how I read something that CRM 3.0 uses SQL server 2000. Should I upgrade it SQL server 2005 Any suggestion where to read about this Thanks in advance Constantijn Enders Jamie Thomson wrote: I don't know what DMF or CDF stand for in the context of CRM. Not only that, I know nothing about CRM. I am guessing that Phil is in the same position. True. ...Show All

  • Visual Studio 2008 (Pre-release) different between Window and NavigationWindow

    The definition in MSDN is :NavigationWindow is as Window that support content navigation. I can't understand . i want to know that :how could i navigation content by using NavigationWindow. Does it use frame tag in "Window" like this: <TabControl> <TabItem Header="1"> <Frame Source="page1.xaml"/> </TabItem> <TabItem Header="2"> <Frame Source="page2.xaml"/> </TabItem> </TabControl> any suggestion will be appreciated... hi , Thomas S. Andersen I try your code ,the window apperance like the navigationwindow. and there are some spelling mistake in your post: HorizontalAlignment should be ...Show All

  • Visual Studio Just-In-Time Debugger

    for some reason, whenever i send an email through my school's microsoft outlook express location, recently i've been having this pop up: An unhandled win32 exception occurred in firefox.exe [728]. Just-In-Time debugging this exception failed with the following error: no installed debugger has Just-In-Time debugging Tools/Options/Debugging/Just-In-Time. Check the documentation index for ‘Just-in-time debugging, errors’ for more information it's been doing this occaisionally for over a year, but now it's doing it every time i try to send an email. i researched it on microsoft's website, but apparently the program that is supposed to stop this from happening, Visual Studio 2005 standard or pro is a program i'd have to pay ...Show All

  • Smart Device Development Enabling Checkboxes in Treeview Child Nodes only..Not on parent node

    Hi, I am using Treeview to show a list of treelike items.I dont want to show the checkboxes against the Top level tree but once user goes to level 1 of the tree, i want to show checkboxes and let the user select the nodes. Basically no checkbox selection possible on parent node but checkbox selection shud be possible on all child nodes there after. How can i acheive it Sorry, I disagree with you Alex. If you generate dynamically your treeview, you can affect to any node the following property : TreeNode node = new TreeNode(); node. ShowCheckBox = true; Regards. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Xml Importer problems

    I am using the Xml Importer, but it doesn't seem to take into account any of the XmlImgore, XmlElement, XmlAttribute attributes. Is there another way to tell the Xml Importer how to serialize an object, what properties to ignore and which to put as attributes/elements This is what you want if an XmlImporter variable is optional: [ContentSerializer(Optional = true)] As far as how to specify what are elements / attributes, I don't know but I would love to find out.  If anyone at Microsoft could tell me how, for example, I could specify a Vector3 to the XmlImporter that would be awesome.  It would be nice to not have to create an element for everything also, and take advantage of attributes. ...Show All

  • Visual Studio 2008 (Pre-release) using WPF in MTA applications

    My application runs in MTA thread. WPF needs STA, so I created a new STA thread that creates and shows a window. This works, but only one time. If I start this thread one more time, I get this exception: System.InvalidOperationException was unhandled Message="The calling thread cannot access this object because a different thread owns it." Source="WindowsBase" StackTrace: bei System.Windows.Threading.Dispatcher.VerifyAccess() bei System.Windows.DependencyObject.GetValue(DependencyProperty dp) bei System.Windows.Controls.GridViewHeaderRowPresenter.CreateAndInsertHeader(GridViewColumn column, Int32 index) bei System.Windows.Controls.GridViewHeaderRowPresenter.OnPreApplyTemplate() bei System.Windows.Fr ...Show All

  • Visual Basic How to return a NULL value in Visual Basic?

    Frens, I want to calculate some value using a VB function. I certain circumstances I want to retun a NULL value when the function fails to compute the value I want. So, my question is how can I have VB function return a NULL value Thanks for your help. -RL ...Show All

  • Visual C++ Suspected with Rational Clearcase problem when using Visual Studio 2005

    Hi, I have posted on this problem I am having before, but I have learned more about the problem so here is an updated post on it. I am trying to build an application using Visual Studio 2005 on Windows XP SP2. The build is taking place on the Clearcase drive (M drive) in a normal view. The binary is built but fails when I try to use it with the following error: The system cannot execute the specified program. Using the depends.exe facility on the binary, I have found that the problem is that the dll MSVCP80.DLL is missing. Since the binary is being built using VC 8, this DLL is contained in the side-by-side Assembly Microsoft.vc80.crt, which is itself referenced by a manifest embedded within the binary. If this manifest cann ...Show All

  • Visual Studio Team System User permission

    Hi Could anyone tell me where to find a explanation on how to set up the user permission in Team Foundation. We are currently rolling out VS2005 with Team foundation and we have difficulty to setup all the permission on a team project. Also if anyone know someone who does in house training about Team System on a project manager point of view near Reading (UK), please let me know. Thanks, Benoit See Karthik's detailed reply on how to manage permissions at: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=824933&SiteID=1 ...Show All

  • SQL Server planning a replication

    hallo we have a sql2000 in the headquarter, and 3 new remote branches opening in few weeks with no sql servers installed yet. We plan to setup a merge replica. The headquarter will have the highest activity on the replicated tables. Shall we use all SQL2000 in the remote branches Or could we use SQL2005, using a 2005 as a publisher and distributor TIA ok thanks. we're not going to upgrade the only sql2000 server we have, but i'd prefere to use sql2005 in the remote branches: in this scenario, i could set one of the 2005 as distributor and publisher. This would be in contrast with the network topology, that centers everything in the main plant; BTW there will not be a big traffic of replicated data: a theor ...Show All

  • .NET Development What is the best way to update a combo box when the database has been updated?

    Can anyone help me I need to get a few ideas and the best way to update a combo box on some of my forms. The scenario is explained as follows. I have 1 form (FORM1) that updates a table called ProductGroups, it is on this form and this form only that a user is able to add, amend and delete records in the ProductsGroups table. These product groups are then displayed in combo boxes populate from the database on several different forms that could be open at different times or the same time. When the forms with the comboboxes are opened the combo box is populated. If one or more of these forms with my ProductGroup combobox is open when I add, amend or delete a record using my FORM1 I want to be able to tell the other forms that ...Show All

  • Smart Device Development How to Get g_hInstance In CustomForm

    Hello, Everyone: Does anyone know how to get g_hInstance value in CustomForm sample(or Tv_inbox sample) In this sample, the g_hInstance value is setted by LibMain( ), HINSTANCE g_hInstance = NULL; /****************************************************************************** LibMain - Entry to dll ******************************************************************************/ BOOL WINAPI LibMain(HINSTANCE hinst, DWORD dwReason, LPVOID lpv) { switch (dwReason) { case DLL_PROCESS_ATTACH: { g_hInstance = hinst; break; } } return TRUE; } But, in this DLL was called, the function LibMain() was never called, so the value of g_hInstance is always NULL. I want to use g_hInstan ...Show All

©2008 Software Development Network