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

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

Aing_d

Member List

lamont_23
Vijay_kar
upgraders
abuck
LS6FD
Pooja Katiyar
Weixiao Fan
pvvr
birdman82
Alan Kirk
Matt Stum
jbh314
ahmadifx
Larry Blanton
ZhenYuan
bw12117
David Murray
Jo-Jo
Dr.Gigabit
Jorryt
Only Title

Aing_d's Q&A profile

  • Software Development for Windows Vista can an app in protected mode use filemapping?

    Hi, My ActiveX(which runs in protected mode) does CreateFileMapping(,,"Local\\MyMap",,) and spawns another process with ShellExecuteEx the spawned process tries OpenFileMapping(,,"Local\\MyMap",,) but it fails. I tested opening the file mapping from the same activeX and it succeeds. Is there a special setting that allows seperate process(could be low/medium/high privileged) to open the file mapping object Thank you I think these links will answer your questions on PM Take special note of IEInstall.exe and IEUser.exe There isn't a lot of great information on these, but they shouldn't be to difficault to use. To IE7 using an ActiveX & protection mode: http://msdn.microsoft.com/l ...Show All

  • Visual Basic HELP WE NEED HELP VB.net 2003

    we are having problums with visual basic.net 2003 and files being deleted magically i meen that can you help us we do not what to redo what we allready i'm in school PLEASE RESPOND What files I think that's the first question. How are these files created Are they output from your application; moreover, how do these files relate to the application When do they get deleted When the app is restarted When Windows loads When you rebuild Describe your application. Describe how the files are created. Describe the circumstance under which they "disappear". Then someone may be able to help you. ...Show All

  • SQL Server Unable to connect to the remote server

    Greetings: We have a copy of SQL2k Report Services running on a Windows 2003 Server. But the database used by the Reports is actually on another box in our network. (This is a option you can use during install.) This setup worked fine for about a year but now neither the reports and ReportManager no longer run. The Reporting services Log error is: System.Net.WebException: The underlying connection was closed: Unable to connect to the remote server. In a browser we get the error: --- " Directory Listing Denied " "This Virtual Directory does not allow contents to be listed." --- Turning on the option to list directory contents in IIS does not resolve the issue. Anyone seen this creep up before I ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Screen dimensions for the 360

    I'm wanting to port my XNA Beta 2 games across to the 360 but before I start I have a couple of questions about the screen resolution. I'm wanting to be able to support standard def 4:3 and 16:9 as well as high def 4:3 and 16:9. Now, for the aspect ratio, I'm assuming I can just create a project matrix with the correct ratio, like: Matrix.CreatePerspectiveFieldOfView(MathHelper.ToRadians(45.0f), 16.0f / 9.0f, 1.0f, 10000.0f); ...for a 16:9 ratio. But, what resolution would I have to set the screen to for the standard def and high def I'm assuming that it defaults to a standard def resolution but I'm not sure what or even how to go about changing it. Please help. 480i (non-hidef) = 640x480 720i/720p = 1 ...Show All

  • Visual C++ Building trouble : error LNK1104: cannot open file

    Hi every body, I'am in serious trouble cause i can't find the solution of my problem. I'am trying to convert an .exe into .dll file after i downloaded the source file of the .exe . I inserted the source code into a "MFC AppWizard(dll)" project and compiled it (was ok) and when generating the .dll file (after i mentioned the "Object/library Module" under the "Project/Settings/Link" Menu ) i got this error : Linking... LINK : fatal error LNK1104: cannot open file "C:\dll3\VisioneerDll\twaintest\Debug\twaintest.lib" Error executing link.exe. Creating browse info file... twaintest.dll - 1 error(s), 0 warning(s) with out mentionong this library ( which is not correct cause the librar ...Show All

  • SQL Server SQL Server 2005 changes for selecting multiple tables

    I have to execute quick tasks (like I did in SQL Server 2000) where I want to either delete several tables or script several tables. Is there anyway to actually select multiple tables easily by right clicking the tables in SQL Server Management Studio like you did in Enterprise Manager Thanks. From the Object Explorer, expand the database you want to work with. Then select Tables . This will list out all tables on Summary tab. Select tables you want to either script or delete just like you did in SQL 2000 EM (control, shift, etc.). Right-click to either script or delete. ...Show All

  • Visual Studio Can't debug threads anymore

    since a couple of days, I am unable to debug inside threads with Visual Studio 2005 Something simple like below, leads to the effect, that the first breakpoint inside the thread function is hit, and when I step over, the program throws an C++ exception which is not catched by managed code, disassembly of the exception location is below the code: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Threading; namespace WindowsApplication60 { public partial class Form1 : Form { private Thread myThread = null ; public Form1() { InitializeComponent(); myThread = new Thread ( ne ...Show All

  • SQL Server alter column to not null that has null values

    I have to change numeric columns in 2005 table to not null and default value 0. What I usually do is an update on the columns setting value to 0 where is null. I know you can use 'with values' when adding a column with default 0 and not null to an existing table. Can something like this be done for altering a column or do I need to do the update Thanks ...Show All

  • Windows Forms Databinding, does anyone use databinding for commercial applications?

    I'm running into this same problem: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=356806&SiteID=1 Databinding seems useless. The idea of the disconnected data model is a really difficult process, mainly because of relational databases. Many of my tables have identities, and if multiple people are hitting the database at once, there is no guarantee that the identity generated in your datagrid is going to be the same when you actually submit the in memory dataset to your database. This makes it a real pain to update related records. Can anyone shed some insight on complex databinding with identities and relationships Perhaps, someone has some good documentation on some methodologies used to create windows forms applicati ...Show All

  • Internet Explorer Development OLECMDEXECOPT_DONTPROMPTUSER no longer working with IE7 final?!?

    I updated all of our systems last night and this morning I was suprised when I went to our FAX server and discovered 50 some odd print dialog boxes. After some investigating, it seems like OLECMDEXECOPT_DONTPROMPTUSER is no longer working(one of my applications sends nightly status reports to customers, it renders them in HTML and uses IE to print out to Server 2003's FAX printer). Upon clicking "Ok" 50 some-odd times, each one FAXed correctly. Here's the chunk of code that prints: ' Print File In IE Without Promting @ http://www.cygwin.com/ml/cygwin/2003-02/msg00911.html Set ie = CreateObject("InternetExplorer.Application") ie.Navigate(MyDocumentPath) READYSTATE_COMPLETE = 4 Do ' wait until page is loaded WScript ...Show All

  • Visual Studio Express Editions Simple Graph Howto?

    I have been looking at all of the graph options. They all look very complicated and I dont know where to put my data in: What I want to do I have four places that I get datafrom by date and time. What I would like to do is to make a graph by switch and then by time. So X is hours 1,2,3,4 through 24 and then number of entries which should be 1 through 20 entries. How would I start to do this. eventually I will pull the data from a database but for right now I want to create a simple graph. Thank you,   X-Y Plotting Open Tools | Choose Toolbox items and see if your system has MsChart which will do a variety of plots. Other approaches would be to Google for X-Y plotting software. Here is a thread that may help ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Texture Tweening Using Only Textue2D(Sprites)

    This all refers to 2D objects. I have 2 rigid bodies connected by a hinge joint in my physics engine. These two bodies represent a leg. The leg, physically, can bend as you would expect. I'm trying to figure out how to texture this bending leg so that the leg sprite(s) looks like one continuous image as it bends. (Texturing the leg parts individually is not an issue) I belive this is called "tweening". Is this possible using only Texture2D objects Or am I going to have to build a custom sprite/quad to handle this -Jeff One way to do this would be to have one section of the leg overlap the other slightly. For example, one texture is a thigh and the other is knee to foot - the hinge is placed at the centre of t ...Show All

  • Visual Studio Team System Team Foundation could not update the work item because it was already updated by another user

    I am using a web service event subscription to assign an internal id to new workitems by type and project as mentioned here: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=677833&SiteID=1 The web service works properly and I do not receive errors when copying a requirement to another WI type either on the server, or from my desktop, but other users report receiving the following error message: Team Foundation could not update the work item because it was already updated by another user, it does not exist, or you do not have permission to update it. Any suggestions I could not think of any reason why this would be related to changes done from webservice. Are they able to update the workitem if they right click revert chang ...Show All

  • Visual C# Running C# Commands from a parsed text file?

    Is it possible, say you have your main program, and when it initializes, it will scan this text file, looking and trying to execute all commands that are listed, like running a method inside the program, or if you put MessageBox.Show("",""); In the text file, or is there another way of doing this, I'm not going to make the program only understand commands that I put in it, through a switch statement, or if statements, I want it to directly interpret it. Uhm, I'm not quite sure, I think that I kind of need it to go 'both ways', I was thinking about splitting up some of my solution's work into different .cfg files, to support more modability, so I need the assembly that is  outpu ...Show All

  • Visual Studio Express Editions HttpWebRequest upload zip file problem!

    Hi guys, basically I'm failing to upload a file to a web server using HttpWebRequest, I don't know how to read the file into an array of byte and I probably need to format the content. Here is my code: Stream HttpStream; string retval = String .Empty; string sUserID = "UserID" ; string sPassword = "Password" ; string sMessageType = "MCT" ; string sURL = https://www.mywebpage.com ; NameValueCollection nvcKeys = new NameValueCollection (); nvcKeys.Add( "wsUserID" , sUserID); nvcKeys.Add( "wsPassword" , sPassword); nvcKeys.Add( "wsMessageType" , sMessageType); nvcKeys.Add( "wsPutFile" , OpenFileDialog1.FileName); // ...Show All

©2008 Software Development Network