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

Software Development Network >> shekhar saran's Q&A profile

shekhar saran

Member List

maglup
MicMit
canadian_coder
Kevin_B
hellosmithy
kbalusu
InfoDemers
-Den
litewoheat
hemo
Kondas
Henrik Dahl
voila jacques
Baris ERGUN
MartinMalek
spelger
KitGreen
Sledgehammer
crystalamber
W Wong
Only Title

shekhar saran's Q&A profile

  • Visual FoxPro Native Financial Functions in VFP

    Anyone know how to simulate the financial functions in excel or vb.net Like what VFP already has some financial functions built-in (e.g. NPV(), PV() and FV() to name but three) You can easily create your own functions to do anything you want - or are you looking for the formulae We need some more information here.... ...Show All

  • Visual C++ Problem with WinINET HTTPS Post

    Hi, I have a problem with simulation of HTTPS post using WinINET. I use the following code to post data: instance->m_hInternet = InternetOpen( agent, INTERNET_OPEN_TYPE_PRECONFIG, NULL, NULL, 0); instance->m_hSession = InternetConnect( instance->m_hInternet, server, INTERNET_DEFAULT_HTTPS_PORT, L"", L"", INTERNET_SERVICE_HTTP, 0, 0); DWORD secureFlags = INTERNET_FLAG_RELOAD | INTERNET_FLAG_NO_CACHE_WRITE | INTERNET_FLA ...Show All

  • Visual Studio 2008 (Pre-release) Dimensioning a ScrollViewer to fit remainder of a window

    I've implemented a window containing a menu bar at the top. I'd like the rest of the window to contain contain a ScrollViewer which resizes whan window is resized. Both are contained in a StackPanel. I came up with the following event catcher: <Window x:Class="XamlViewer.Window1"     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"     Title="XamlViewer" Height="768" Width="1024"     FontSize="14"     WindowState="Maximized"     SizeChanged="sizeChanged"  >   <StackPanel Name="globalPanel" ClipToBounds="True">     <Menu Name="UpperMenu" ...Show All

  • Microsoft ISV Community Center Forums chart creation - type mismatch

    Hi, I'm adding a chart to a sheet in excel. That part is okay, but following that code, any occurence of a code such as xlSht.rows("5:45") or xlSht.cells("H4") gives me a "Type mismatch" error. If I comment out the code for creating the chart and then run it again, I get no error, so I know that my syntax etc. is correct. I have a feeling that this might be because when the chart is created it gets selected, or gets the focus, and then the code is unable to return to the sheet "surface", but I even tried using the deselect method for the chart at the end of its creation. Even then, I get a type mismatch error for any kind of reference to a range object. Please help! Thank you, Kriti ...Show All

  • Visual Studio 2008 (Pre-release) Multithreaded

    i have 2 threads in client and i call simultaneously from 2 threads to  service. i define the service as  ConcurrencyMode .Multiple [ ServiceBehavior (InstanceContextMode = InstanceContextMode .PerSession, ConcurrencyMode = ConcurrencyMode .Multiple)] i call from thread 1 and thread  2 (from client )  to service simultaneously. untill the thread 1 finish to work  thread 2 is stacked and   only after thread 1 return,thread 2 start to work.  this function like   reentrant despite i define the service   ConcurrencyMode .Multiple btw i use in feb version . Proxy auto-open preserves the order of sends. To do this, it mu ...Show All

  • Windows Forms List ClickOnce installed applications

    Hi. I have a problem where I would like to write an application which will list the locally installed ClickOnce applications. It in itself would be deployed using ClickOnce and would probably have a listbox with each of the application names. Longer term, it might get sophisticated, but for the moment I just want to list the applications installed locally with ClickOnce. Can I do it and how would I go about it thanks Is there any way to do it in code My question was originally based on a question in an MCPD exam. I can't remember the 4 options, but it implied that it was possible to search for click once installed applications through code.. I think 2 of the options were to do ...Show All

  • SQL Server Adding Data Viewer causes BI Studio to crash

    I am having this issue with BI Studio when I add Data Viewer to a relatively large data set, it causes the Visual Studio to crash. Has anyone experienced this Any help on this will be highly appreciated. Thanks, Ashish Hi Phil, Thanks for the information. You are right. Changing the settings didn't help. It crashes regardless. I saw your bug report. It makes sense. Thanks once again for your helpful input. -- Ashish ...Show All

  • Visual Studio 2008 (Pre-release) Entity Model Designer - System.Data.Mapping.MapConnectionStringBuilder error! - urgent

    Hi everyone! I installed the ADO.net vNext august CTP, and the Entity Model Designer prototype. I know other people have used the "Generate from database" function and it has worked all right. But when I select the "From database" and press "next" I get this error message: "An error has occured! Error message: Could not load type 'System.Data.Mapping.MapConnectionStringBuilder' from assembly System.Data.Entity, version = 2.0.0.0 ... " I can load the Assembly and create a MapConnectionStringBuilder object just fine... Anyone knows how to fix this I have uninstalled and reinstalled the CTPs. I have Visual studio 2005 Team Suit installed. Thank you! Hi! Bilsa, Please can you tell us which database you are targeting Also, is it possi ...Show All

  • Visual C++ Opening multiple files in a single program instance

    This is something that is done millions of times every day... Using Windows Explorer you double click a file to open it, the associated program starts up and the file is opened, if the associated program is already running, then the file is opened in that (already running) instance of the program. Simple... However, I'm having trouble finding how to do this simple feat with VC++ 2005, CLR, CLI, .NET. What is the simplest "supported" way to do this Thank you! This gets me half way there... I have used the mutex method with some old school C code I have done in the past, however is there an "easy" way to pass the command line arguments to the original instance ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Retrieving effects and textures

    Assuming that I have a model in 3DS Max that I export into a FBX file, which goes through the content pipeline, and is then loaded into the runtime as a Model, how do I go about getting the 3DS texture and effects bindings from my C# code Looking at the Model class all I can see hanging off it is an Effect class, but no texture references - are the textures supposed to be embedded in the effect files If so, how should I set the effects in 3DS so that they are imported via the content pipeline Sorry if there is an obvious answer to this, but I'm more used to dealing with pure HLSL/ASM files rather than effects files.. Andy. Thanks leclerc9. So if I have a mesh that I want to apply one shader to,&nb ...Show All

  • Visual Studio Team System MS Project file in Sharepoint marked as read-only

    Hi, We are experiencing the same problem as this person (http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=8011&SiteID=1). Even though no one has the project file open, MS Project says that the file is in use and is locked for editing (but no specific person is named, like when someone really has the file open). This happens even when I am the only one editing a MS Project file. After X number of minutes, the file can be opened in read-write mode again. This bug makes it practically impossible for us to use Sharepoint as it makes us re-saving documents in other filenames to be able to save the files, which means we could as well use a file system to save our documents in. Now, my colleague has dug up a KB article (http://support.mi ...Show All

  • Visual Basic Comprate Input text with a Data Table

    I have a school project, hope that you can help with my extra credit. I have to design a Database, which I have done but now I need to add a username and password. I have added the login form that visual studio has but now I need to validate. Which would e very easy if professor will only want 1 user and password. But he wants a separate table with user names and password which the application has to check. I beleive that what I have to do is comprare text imput by user and if username and password matches send it to next window. If this was only one value I would belike this: Dim Num1 As String String Num1 = LabelTextBox.Text If LabelText1Box.Text = "2323" _ And LabelText2Box.Text = "4444" THEN D ...Show All

  • Visual Studio Team System How to deploy one project to multiple servers...

    I am using the database professional to create a generic DB that I have a copy of on two different servers with the exact same database code (procedures, functions, tables, etc.) and I was wondering how I can use one project to make all my changes and then deploy those changes to each of the two servers using the deploy functionality rather then do a schema comparison for each of the different servers and then running a seperate script on each server. The method for deploying through the command line that I mentioned above will be fully supported in CTP6 (due out in a few weeks). For CTP5, you should be able to deploy via the MSBuild task, but the task is not as flexible. If you post the errors y ...Show All

  • SQL Server Migrating from ASP

    I have a bunch of contracts built in asp and I need them to be published on report server. Is there any easier way than rebuilding them in report designer There is not migration path from ASP to Reporting Services reports. You can store the asp contracts in reporting services as resources, but they will not be executed as reports. ...Show All

  • .NET Development How about constructors that are selfaware?

    I ran into a solvable problem that led to the following consideration: why not allow a return null from a constructor There maybe times when the state of a system may not allow the instantiation of an object. I posted the following on the Code Project: http://www.codeproject.com/script/comments/forums.asp msg=1591017&forumid=1650#xx1591017xx What do you think Hi Giancarlo Yes, there are imporant side effects to using partially constructed objects. You cannot assume any member variables have been initialized yet, you cannot assume the security state or culture. Consider the Dispose pattern. Inside your Dispose method, you should be freeing any unmanaged resources. You cannot assume they have been initialized, so you'll ...Show All

©2008 Software Development Network