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

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

modpower

Member List

Stanomatic
Crazy68aseric
samantha chandrasekar
Tampa Magnus
Michael Pritchard
r3n
Tor-man
Zechariah
AvalonNewbie
ZopoStyle
Frank Carr
dmkp231
Cesar Francisco
The Loiner
XoDeus
Belias
Gregory English
sprofaner
bryanedds
a_abdi406
Only Title

modpower's Q&A profile

  • SQL Server Visual C++ 2005 (C++/CLI) - Newbie with ADO

    Hi, I've been working for about 20 years now with databases on other platforms but am at my first step with ADO. I created an application which is drawing as requested different forms on screen using GDI+, eventually DirectX. Now I'm at the stage of saving several infos into a Database. For simplicity, I would like to use a database for which there is no need to install any other components. I thought of using Access Database but I realized that I'm unable to create it except from Microsoft Access which is not installed on my machine... When programming with Clarion (SoftVelocity), apart interfacing with Oracle, any other files (ex: TopSpeed files) could be designed from within application designer and then created from scratc ...Show All

  • Visual Studio Team System Error while migrating 2 folders

    I am trying to migrate 2 project folders in VSS to TFS. The first project folder got migrated successfully. then we started the utility again for the second folder. While migrating the second folder it gives error as below (surprizingly it shows project1 name, which is already migrated). “Initializing... TF60099: Given folder mappings do not match with last migrated mappings. Following was the original mapping please use this only for incremental migration.\n<From>$projects/project1/source</From><To>$my.projects/project1/Source</To>” Both these folders are in seperate locations in VSS and in the same Team project in TFS. Any solution is welcome. Thanks in advance! Regards, MSGuy ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Torque X for XNA release

    Hi guys! Somebody know when Torque X will be released I think everyone in here is greatly anticipating this release. For now, it's fun just to get a good feel for the XNA framework. As long as it doesn't drag out too long.... ...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. scrolling background with xna beta 2

    I made a scrolling background with xna using the example in the documentation and what I got is a very jerky scrolling - especially when there are extra moving sprites on the screen. After that I used the same background with the well known "star trooper" game example of microsoft webcast series and ... the scrolling is perfect. Additionally, in both cases I used windows of the same size, and one and the same scrolling speeds. The "star trooper" example works much better than the xna on, even with the moving sprites on the screen. Do somebody have an idea if this is a bug in xna and are they going to correct it in the final release Creating games with xna is very pleasant and I'd really like the xna team to cor ...Show All

  • SQL Server Cannot access Stored Procedure

    Hi I'm using SQL 2005 with Management Studio. I started having trouble accessing one particular scalar function today. I am able to run alter, drop and even exec commands against it but when I try to generate a script for it (or Modify it using Management Studio) I get the following exception: Syntax error in TextHeader of UserDefinedFunction 'sp_name'. (Microsoft.SqlServer.Smo) at Microsoft.SqlServer.Management.Smo.ScriptNameObjectBase.CheckTextCorectness(String ddlText, Boolean enforceCreate, Boolean checkName, String[] expectedObjectTypes, DdlTextParserHeaderInfo& headerInfo) at Microsoft.SqlServer.Management.Smo.ScriptNameObjectBase.CheckAndManipulateText(String ddlText, String[] expectedObjectTypes, ScriptingOptions so, Boolea ...Show All

  • Visual Basic surpressing the "Printing page 1 of Document" message

    I am using vb.net. and sql server 2005 reporting services. But the report in question uses the local report functionality. I am writing a credit card processor that prints a slip at the end of the transaction. There is an annoying message form that pops up on the screen stating that it is "Printing Page 1 of Document" . It seems to be beyond my reach. Its position is the typical windows auto positioning (ala cascade). I dont want the user to see it. How do i surpress this printing message Is it embedded in the printer driver or spooler services Is it surpressable from the reporting services local report configuration Thanx What about when using the Printer Compatibility Library ...Show All

  • Visual C++ MFC based applications fail to compile

    Hi I'm using visual studio 2003, and trying to create MFC style applications and dialogs. Before adding any code I test compile. And the following errors appear: c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\afx.h(1499): error C2059: syntax error : 'string' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\afx.h(1518): error C2059: syntax error : 'string' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\afx.h(1652): error C2059: syntax error : 'string' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\afx.h(1499): error C2751: 'ATL::CTraceFileAndLineInfo' : the name of a function parameter cannot be qualified c:\Program Files\Microsoft Visual Stud ...Show All

  • Windows Forms Drag and Drop Derived Objects

    Hi there. I have a .Net 2.0 Windows Forms C# app and I am trying to implement drag and drop between 2 datagridview controls. In the MouseDown on Control#1 I have set the data to be as follows: DragDropEffects dde = DoDragDrop(( ClosingStmt_LineItems )selectedLineItem, DragDropEffects .Move); Note the selectedLineItem is of the derived type ClosingStmt_LineItems. How can I get the data back out in Control#2's DoDragDrop method It looks like the GetData method only handles basic types. I have tried various attempts at something like this with no luck: ClosingStmt_LineItems tempLineItem; tempLineItem = ( ClosingStmt_LineItems )e.Data.GetData( "" ); I always get tempLineItem = null. Thank ...Show All

  • Visual Studio Express Editions drag and drop

    i want to have pictures that can be draged and dropped. eg dragging a file into rubbish bin Are you wanting to drag pictures from one Picturebox to another If so, here's an example from another post on this forum: Dim m_MouseIsDown As Boolean Private Sub Form1_Load( ByVal sender As System.Object, ByVal e As _ System.EventArgs) Handles MyBase .Load PictureBox1.Image = Image.FromFile( "C:\Test.jpg" ) ' Enable dropping. PictureBox2.AllowDrop = True End Sub Private Sub PictureBox1_MouseDown( ByVal sender As Object , ByVal e As _ System.Windows.Forms.MouseEventArgs) Handles PictureBox1.MouseDown If Not PictureBox1.Image Is ...Show All

  • .NET Development Marshalling to an ActiveX Control with VARIANT* argument on Vista

    I have an ActiveX control with a function like this: long CoolFunction(BSTR* arg1, long arg2, VARIANT* pUnusedArg3) If you add a reference to this ocx from a C# project, you get a function like this: int CoolFunction(ref string arg1, int arg2, ref object pUnusedArg3) On Windows XP, I can call this function like so: object unused = null; string myArg1 = "blag"; int myArg2 = 0; CoolFunction(ref myArg1, myArg2, ref unused); On Vista, when I do this, I get a null reference exception: System.NullReferenceException: Object reference not set to an instance of an object. at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& msgDa ...Show All

  • SQL Server Can I use Custom UI for executing Package in C#?

    Hi I've a doubt. I don't know whether it is possible or not. I've a very less knowledge in DTS packages. When I execute a package in C#. it is displaying predefined GUI for showing process. Can I've my own UI when executing DTS. Thanks in advance. Well, it executes the packages :) Some people use command line and some people like to use GUI to execute packages. We provide DTEXEC and DTEXECUI for each group appropriately. ...Show All

  • Visual C++ Can't link: _AfxInitManaged is unresolved

    Hello, I'm in the process of converting vs2003 projects to vs2005, and I'm stuck with one because I can't figure out what .lib to link against to resolve the external _AfxInitManaged. This is the error from the compiler / linker: mfcs80ud.lib(stdafx.obj) : error LNK2001: unresolved external symbol "int __cdecl _AfxInitManaged(void)" ( _AfxInitManaged@@YAHXZ ) I'm linking explicitly against all of the standard libraries, as I have to use /NODEFAULTLIB. These are the MS libraries I'm currently linking with: oldnames.lib atlsd.lib msvcrtd.lib msvcprtd.lib mfc80ud.lib mfcs80ud.lib comsuppwd.lib Clearly somehow mfcs80ud.lib is requiring this _AfxInitManaged symbol, but it isn't here. I've looked through all libraries ...Show All

  • Visual Studio Express Editions Using an image as in emedded resouce

    ** Newbie Alert ** I'm trying out some example code from MSDN in an article called " How to: Retrieve an Image that Is an Embedded Resource (Visual C#) " (ms-help://MS.VSExpressCC.v80/MS.NETFramework.v20.en/dv_csexpresscon/html/f42dff1c-6804-4fda-94e5-1e77460a9142.htm) Step 4 says to replace the string with "the name of the resource, as it is known in the assembly." I don't know what that means. I've tried using the resource name I gave it, but I get a runtime error that seems to indicate he couldn't find the resource. Has anyone gotten their bit of code to work Thanks! Dan Thanks for the quick reply! The real problem was that I wasn't using the fully qualified namespace ...Show All

  • Visual C++ Visual Styles

    I am programming with C++ 2003 under XP Home SP2 and would like to use Visual Styles in a MFC program. I tried the example "Visual Styles Custom Control" from MSDN (which unfortunately is the only example available for this topic) and it works. When I try to use visual styles in my MFC application I have some problems. There is no problem with the function InitCommonControls (inserted by the wizard), and when I insert the manifest in the .rc, it activates the XP style (which can be seen e.g. in the buttons) without need to call any additional function. But if I try to use e.g. SetWindowTheme in my own MFC program (or any of the theme functions), the linker does not recognize it. It is apparent that library uxtheme.lib ...Show All

©2008 Software Development Network