Software Development Network Logo
  • Visual Basic
  • .NET Development
  • Visual C++
  • VS Express Editions
  • Visual C#
  • Visual J#
  • Smart Device
  • VS Team System
  • Visual Studio
  • Architecture
  • Windows Live
  • Microsoft ISV
  • Visual FoxPro
  • Windows Forms
  • SQL Server

Software Development Network >> Alpesh555's Q&A profile

Alpesh555

Member List

AndyCadley
Neil_at_AGI
DataSort Software
rwindsley
Pat 34847
tofubyrd
DaveChapman
volkerm
rimathakkar
Patricia
JC Boursier
adam kromm
kaku Mohanty
Chris_Bond
SPeddi
Coda12
mjcs100
Mchafu
Gorhal
Desolator911
Only Title

Alpesh555's Q&A profile

  • SQL Server Sql Job failing with MSDTC has canceled the distributed transaction.

    I have a sql job which has to pull some data from a remote server. This job is running fine last few days and suddenly failing to execute with the following error. The same job is running fine in other servers. Executed as user: NT AUTHORITY\NETWORK SERVICE. The Microsoft Distributed Transaction Coordinator (MS DTC) has cancelled the distributed transaction. [SQLSTATE 42000] (Error 1206). The step failed. Note: The steps I have already done : 1. Verified the MSDTC configurations and restarted the MS DTC 2. Restarted the Sql Server 3. Restarted the machine. Any help will be highly appreciated. ...Show All

  • Visual Studio Team System Number of times the web test runs

    Hi, all. I created a web test and connected it to a data source, which is a SQL Server database. I have a table in my database that contains a bunch of values I want to use for running my test (in the Form Post Parameters). I want my web test to run once for each record in the database. I've selected "One run per data source row" option in the localtestrun.testrunconfig, but my web test only runs once (for the first record in the values table). Am I missing something How can I make my web test case to run as many times as there're records in the data source table Any input will be greatly appreciated. Thank you. ...Show All

  • Windows Forms How to upload file using WebBrowser class?

    I want to upload file prorammatically using WebBrowser class WebBrowser.Visible property is set to false, so user cannot see the pages loaded to WebBrowser the code is: private void LoadUploadPageBtn_Click(object sender, EventArgs e) {     FileStream fs = new FileStream(Environment.CurrentDirectory + "\\upload_page.htm", FileMode.Open, FileAccess.Read);     byte[] buffer = new byte[fs.Length];     fs.Read(buffer, 0, buffer.Length);     fs.Close();     this.webBrowser1.DocumentText = Encoding.ASCII.GetString(buffer); } upload_page.htm page is: <htm ...Show All

  • SQL Server How to resize or arrange parameters?

    Hi, I make some reports with input parameters. The panel of parameters are displayed automatically. Please tell me how to resize parameters and arrange them where I want. Thanks in advance. Tung Currently, there is no way to specify the size or location of parameter drop-downs / textboxes...sorry! Your best bet is to create a "custom parameter picker" in a win/webform, and then either use URL Access and/or the ReportViewer control to display the report. ...Show All

  • Visual C++ Function pointer for GC

    Is there a workaround for passing pointer to a member function of a gc class I know I can use delegate but I don't want to. Thanks P A non-gc heap. Here is a pseudo code: __gc struct galvac_c { .... int **d; static void foo(galvac_c *instance, int *a) { .... } }; void boo( galvac_c* inst, void (*foo)( galvac_c* ,int)) { ... foo(inst,cur_num); ... } int _tmain { galvac_c *d = new galvac_c(); foo(d,galvac_c::foo); } ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. HLSL pixel shader: problem with tex coord computation/texture lookup

    I'm sitting on a strange problem for half a day now and can't figure out why things are happening as they happen. :) What I'm trying to do is to look up a texture with entries of size 3*3 texels each ( g_samCurvatureTex : this is a magnified part of it, the whole tex is repeated like this - I am only interested in the blue channel right now). At first I need to compute the centre index of the entry: #define CURV_TEX_ENTRIES 42 // p_TS.xy are texcoords in the range [0,1] that vary smoothly over the surface int xCM = (int)(p_TS.x * CURV_TEX_ENTRIES);   int yCM = (int)(p_TS.y * CURV_TEX_ENTRIES); xCM = xC ...Show All

  • Visual Studio Team System get lastest problem (didn't get all file)

    I have solution with multiple project. for some reason one of the project didn't get all the file. what the reason for this can it be fix Sounds like you figured it out . Reply again if that's not the case. ...Show All

  • .NET Development MSXML Core Changes in Srv. 2003 SP1

    Upon deployment of SP1 onto some Server 2003 servers, I noticed DTD handling changed. I'm now required to have the DTD in the same directory as my executables rather than the XML file I'm reading in (two different directories). Does anyone have documentation proving this change I failed to find a reference to this in the SP1 changes and fear it is yet another behind-the-curtain change from Microsoft. ...Show All

  • Visual Studio Team System Visio 2005 unable to syncronize code changes

    Hi all, i'm not sure if i'm on the right forum :) If not, please let me know I have a question. I've been wainting for Visio 2005 to help me modeling code. Well, it turns out that Visio 2005 can model code, you can define almost everything, and projects are generated with out much 'trash'. In the end we have a clean solution to work with. Ok, but what if I want to update the model in visio using the code that i've produced or, what if I want to update the code with the latest changes in the model, WITHOUT loosing the code changes Why can't I see in the Visio code editor the code I produced in VS (with or without intellisense ...Show All

  • Visual Studio 2008 (Pre-release) XmlDataProvider - Speed issues

    I have a ComboBox whose ItemsSource is a very large XML document, the XML defines over a hundred different nodes that will be options for the ComboBox. When I run the application there is a noticable delay each time the popup of the ComboBox is opened. - Is the XML document being parsed each time the popup is opened I have it defined as a StaticResource. - Is this a known issue that will be cleared up in future WPF builds - With this many ComboBox options is there a better way to define them than an XML document - I have the XML defined in the resources of my Application object. When I open the .xaml file Visual Studio runs thro ...Show All

  • Visual Studio Team System Team Build Machine Configuration

    I guess the build verification tests run on the Team Build machine If so, then imagine an application which talks to the database. The team build machine would need to be configured with supporting config files (connection string etc) as well databases in order for the build verifcation tests to pass. What is the best practice to handle above-mentioned scenario I guess we could install the configuration files in specific directories (unless Team Build deletes the directories) as well as install the databases manually However, both the config files as well as the databases could change, as the app evolves .. Therefore, shou ...Show All

  • Visual Studio MSBUILD download

    Hi, Is there a evaluation version of MSBILD availalble from the internet to be downloaded TIA Hi Shiamak, MSBuild.exe ships with the .NET Framework v2.0, which is free to download and use. You can download the .NET Framework here: http://msdn.microsoft.com/netframework/downloads/updates/default.aspx Thanks, jeff. ...Show All

  • .NET Development NetworkSrtream Buffers

    Dear sirs, i would like to ask you the following: i have a network stream associated with a socket from where i read and right asynchronously. First of all is there a problem if i call BeginWrite many times before the callback returns What about BEginRead more than once before endread is called How is tha data and the used buffer managed SHould i use a different buffer for each seperate BeginRead After all what can happen if 2 BeginReads are called Which one will get the data Thanks in advance! The general pattern is to call BeginRead or BeginWrite once, and then, from your callback, to call again. To ma ...Show All

  • Visual C# C# 2003 code optimization?

    I have written a Newton Fractal generator.  In computing the Newton Iteration I included a switch to determine the order of the equation.  See code snippet below: public Complex evaluate(Complex x, int order) {    switch (order)   {    case 0:          return (((((((A*x+B)*x+C)*x+D)*x+E)*x+F)*x+G)*x+H)*x+I;    case 1:          return ((((((8*A*x+7*B)*x+6*C)*x+5*D)*x+4*E)*x+3*F)*x+2*G)*x+H;    case  2:          return (((((56*A*x+42*B)* ...Show All

  • Visual Studio Express Editions Impossible to install visual studio 2005

    Impossible to install visual studio 2005 because the "vs_setup_msi could not be opened", i tried with different versions of visual studio like c# or c++ 2005 (express or standart) & i've allways the same message & can't install it. Visual studio 6 is installed & works fine & i know they could work together. I tried to install framework 2 before, to uninstall it before; i also re-install dotnetfx & i had no beta or express previous install. I looked for topics about this problem everywhere (Google, Msdn, different developpers forums) but if i found a lot of people who had the same problem, i never find a solution. What can ...Show All

©2008 Software Development Network