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

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

Kartit

Member List

Jassim Rahma
dealwi8me
ggolub
Paul Devine
JSarna
Viktor78
Helen Cool Granny
Teymur Hajiyev
Atanu Maity
Thymen
ideal24293
haba
darthziv
Peter Lillevold
JVV
Bhavin Mistry406063
Tryst
canuck81
Mapa3matuk
dreameR.78
Only Title

Kartit's Q&A profile

  • SQL Server executing stored procedure with parameters using execute sql task

    Hi , I am trying to exectue a stored procedure through execute sql task which takes two input parameters table name and filegroup to create a table and it also returns a value. i am using the oledb connection but i am getting the following error [Execute SQL Task] Error: Executing the query "declare @rtn_value int exec spm_Utopia_FinanceUsage_Create_MonthlyTable , select @rtn_value as rtn_value " failed with the following error: "Syntax error or access violation". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly. i tried with ado.net connection by directly giving the para ...Show All

  • Visual Studio 2008 (Pre-release) How to determine resulting position/orientation of the shown popup?

    Hi all. I am creating menu template and I want the top level menu item popup to look as one thing with menu item header (without horizontal line between them, like in tab control's selected tab). I have a set of issues related to it, but the main of them is how to determine final position of the popup. You know, when the Placement property of the Popup is set to "Bottom", for example, the popup may appear at "Top" position depending on screen bounds and the size of popup (if there is no screen place for popup at the bottom). It is very interesting to me how to tell what position has been selected, because depending on that I should position my "menu continous header effect" geometry at the top or bottom of ...Show All

  • Visual Basic Need help exporting VB.Net variables/data to VBA macro

    Hi I'm using VBA AutoCAD for drawing, but instead of defining parameters in VBA, I would like to take those parameters from VB.Net codes. Here is an example Sub CreateCylinder() Dim CylinderObj As Acad3DSolid Dim center(0 To 2) As Double Dim radius As Double Dim height As Double ' Define the cylinder parameters center(0) = 5#: center(1) = 5#: center(2) = 0 radius = 10#: height = 20# ' Create the cylinder in model space Set CylinderObj = ThisDrawing.ModelSpace.AddCylinder(center, radius, height) End Sub This VBA code will create a cylinder at co-ordinates (5,5,0) with radius = 10 and height = 20. I would like to know how to link or export these parameters from VB.Net to VBA AutoCAD for plotting. Many t ...Show All

  • Software Development for Windows Vista Get "NextState" in Invoke event

    In a state, there are several EventDrivenActivities, in each EventDrivenActivity, there is a HandleExternalEventActivity and a SetStateActivity, for the HandleExternalEventActivity, there is a corresponding Invoked EventHandler, I want to do something in it, and the first thing I want to get is the TargetStateName of the SetStateActivity in the same EventDrivenActivity just below the HandleExternalEventActivity. I'm not sure if this is what you're really looking for, but you might be able to use the StateMachineWorkflowInstance class to get what you want. This class is used to provide additional runtime information for a running state machine workflow instance. You create a StateMachineWorkflowInstan ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. "Use of unassigned local variable" error on Xbox360 but not Windows

    Anyone know why the compiler produces an error when the following code is compiled in an Xb0x360 project but not when it is compiled on a Windows project public void GetTileRect( int tileX, int tileY, out Rectangle tileRect) { Rectangle myRect; myRect.X = tileX * tileWidth; myRect.Y = tileY * tileHeight; myRect.Width = tileWidth; myRect.Height = tileHeight; tileRect = myRect; } I get a "Use of unassigned local variable 'myRect'" when assigning it to tileRect. It's not a big deal, I can get around it by simply using "myRect = new Rectangle()". I'm just wondering why it works in one case but not the other. you know, I came across this ve ...Show All

  • Visual Studio Problems with visual studio 6.0

    Hi! Having some problems with my visual studio 6.0. It worked fine a couple of days ago but now all of a sudden I cant start it. I get an error message that says. ** AppName: devenv.exe AppVer: 6.0.81.67 ModName: msenv.dll ModVer: 6.1.81.71 Offset: 000105fd ** Tried to reinstall but the same problem. Tried this but same problem: http://support.microsoft.com/default.aspx scid=kb;en-us;248675 Tried this but same problem: http://support.microsoft.com/default.aspx scid=kb%3ben-us%3b199272 Does anyone know how to fix this Tried other forums but no succes. Thats why I post this question here. Take a tool like WinDiff or WinMerge to look for different files in VS program files on both machines. Mayb ...Show All

  • Visual Basic how to get called function/event/class name from called function

    how can i get the calling function from the called function example that illustrate my question callingFunction1(args) { calledFunction(args) } callingFunction2(args) { calledfunction(args) } calledFunction(args) { ' here your code goes.. how can you get whether the function is called from calling Function1 or callingFunction2 } Thanks in advance.. :) Hi, You can examine the stack trace in order to get the information. Place the following code in the 'calledFunction' method: System.Diagnostics. StackTrace t = new System.Diagnostics. StackTrace (); System.Diagnostics. StackFrame f = t.GetFrame(1); MessageBox .Show(f.GetMethod().Name); You need to obtain ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XML TOOL KIT HELP

    hey there was wondering if any one is able to give me a few pointers on XNA. trying to create a toolkit using xna that will allow me to design levels, but also want to export the created level to an xml file and also reloaded it into my main game engine from the the xml file, any pointers cheers, thanks for there help   Shawn Hargreaves - MSFT wrote: Be aware that there is no BinaryFormatter on Xbox: that's not included by the Compact Framework. Thanks for the heads up. How about the XmlSerializer If so, then just do: XmlSerializer serializer = new XmlSerializer( typeof (Level)); Stream writer = new FileStream (filename, FileMode .Create); serializer.Serialize(writer, this); writer.Close(); ...Show All

  • SQL Server Missing dll file

    I am missing a dll file called d3dx9_29.dll and for the life of me I can't find it on the cd or anywhere. Can someone help me out Thank you for your time, Frank Pizzolo This is a DirectX dll. Here's a thread from their forum about getting the dll. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=192522&SiteID=1 Thanks, Sam Lester (MSFT) ...Show All

  • .NET Development Errors using the UploadFile method

    I'm attempting to write a .NET 2.0 web service to upload a file using a specific user ID and Password. I would like to avoid using the ASPNET machine account for security issues. Here is my exact code snipet: My.Computer.Network.UploadFile("C:\sample.log", " http://localhost:3477/wsFileUpload/Uploads ", "testuser", "testuser11") I'm receiving the following WebException error: The remote server returned an error: (405) Method Not Allowed Further error trapping reveals: Status=ProtocolError Sometimes I am receiving: The underlying connection was closed: An unexpected error occurred on a receive. Status=ReceiveFailure I am attempting to run this on my local PC. VWD 2005 Express created a \WebSi ...Show All

  • Visual C++ converting an LPPOINT to a POINT

    the title pretty much says it, how do i convert an lppoint to a point i am using arrays of lppoints and points so if there is an easier way for arrays please tell me thanks in advance o, i got confused there, ok then i want to get an array of cursor positions using GetCursorPos(); but the parameter for getcursorpos() is an LPPOINT how would i get those positions into an array of POINTs ...Show All

  • Visual Studio 2008 (Pre-release) Globalization & Localization

    Hello, I'm working through the WPF Globalization & Localization tutorials. This is a very powerful feature. And pretty easy to use. I was able to Globalize my application. I also followed the instruction to localize my application (with culture de-DE). But when I change my regional and langauge options I still see the english text (from culter en-US) Here is how I'm doing it: * Add <UICulture>en-US</UICulture> to MyApp.csproj * Build the app. * Use LocBaml.exe to generate csv file. * I change the csv file. * Use LocBaml to generate a new MyApp.resources.dll * Create a directory in my bin\debug foder and call it 'de-DE'. * Copy the generated MyApp.resources.dll into the de-DE * Go to control ...Show All

  • SQL Server control flow of execution of statement

    is there a way to check to see if the previous sql statement has completely executed before executing the next statement I have a stored procedure that basically has several insert statements. At the end of the insert statements I call bcp to write the table to a text file. The first insert will write a header record into the table. Then it will insert a bunch of records that are selected from other tables and then lastly will write the footer record. My dilemna is that for some reason the first insert of the header record isn't actually happening until the middle of the second set of inserts where it inserts several records from another table. so basically my file ends up looking like this payment record payment record payment r ...Show All

  • Software Development for Windows Vista Error in Createprocessasuser()

    Hello,   I am creating a service application in which I am calling a new .exe file when ever I start the service. but beore that I am facing problem in creating a process. I have used CreateProcessAsUser() but it is throwing an error     "Error creating process: 1314" is the error can anyone helpme out with this below is my code....     TCHAR                                           *cmdstr;     STARTUPINFO           ...Show All

  • Visual Studio Lets talk about rendering performance

    Hello. Our company distributes a vertical market accounting app which we've migrated from Crystal Reports to the WinForms ReportViewer. Our installed base is around 6,000 end users. We've found the viewer to be a solid product and we're pleased with the functionality and stability. That said, we may be forced to abandon reporting services for some applications due to performance issues. As an example, we have a report that processes 10,000 rows and perhaps 20 columns. On a 3 GHz machine with 2GB RAM, it takes 40 seconds to render the report (not counting query time). In addition, ReportViewer consumes approx 400MB of memory for this process (after garbage collection). These results won't cut it when a user is waiting for real-time outpu ...Show All

©2008 Software Development Network