Duddits's Q&A profile
Visual C++ _inp/_outp Functions
I want to read and write the parallel port. I looked up _inp/_oup at http://msdn2.microsoft.com/en-us/library/y7ae61bc.aspx . In the remarks section it says that _inp/_outp "might not be used in user code in...Windows XP". However, WinXP is listed as being compatible. So, can I or can't I use it Are there dangers in using _inp or _outp VF VFaul wrote: I want to read and write the parallel port. I looked up _inp/_oup at http://msdn2.microsoft.com/en-us/library/y7ae61bc.aspx . In the remarks section it says that _inp/_outp "might not be used in user code in...Windows XP&q ...Show All
.NET Development ASP.net File Upload
I am having an issue uploading a file to specified folder on my harddisk. I get an error saying that Asp.net does not have access to write in this folder. I add the permissions to the folder and then remove the "read-only" designation from the folder. When I close explorer and look at the properties again, "read-only" is again checked. How can I get my changes to stick so I can allow ASP.net (1.1) to write to the given folder Firstly, do you have Privledges in your Windows account to allow you to write to disk Secondly, I think you need to add the permission for the ASP NET user on th ...Show All
Software Development for Windows Vista How do I make my own working file extension!
I want to make a game program that uses .axo files (the kind im trying to make). ...Show All
SQL Server Incremental loading
Hi Friends please let me know how can we incrementally load a destination table with source table. bearing in mind that we need to track that there are no duplicates in the destination table. I need to load only changed or new data in the final load. Please give me some examples also. I am tryin this from last 2 days as I am totally new to SSIS. Hi, First off: do you have a column on your source data that indicates that a row is new or changed If you do, then you can select from your source based on that column, using parameterised queries. This might be the case with, for example, an orders_table where the data on the row change ...Show All
Visual Studio Team System Release Management in MSF Agile
Dear Randy, Ryan Darby recommendated me on my graphical representation of MSF Agile in the topic The graphical representation of MSF for Agile Software Development . He wanted to see Release having a blob of colour earlier in time to recognise that Release management does have a part in early planning. Of course, the Release Manager participates in the early planning, but I cannot find this in the pure MSF agile. The workstream ‘Release a Product’, which is the only one for the release manager, is executed in the ‘Deploy’ track and in the ‘Project’ cycle. His activities are operated at the end of t ...Show All
Visual C# Editing project references in visual studio 2005 project files
Currently, if you add a reference to a project that is outside the folder structure of the current solution, but on the same drive, you will get a relative path in the HintPath of the .csproj file. The only problem we have with this, is that the reference will be to a DLLat an exact location, so switching between debug and release build will still reference the same DLL. I've found that you can edit the HintPath in the .csproj file to use the expansion $(Configuration) and the referencing project will use the appropriate version of the DLL. So for example I change: <HintPath>..\..\..\Solution1\ClassLibrary1\ClassLibrary1 ...Show All
SQL Server environment variables
Well, having only one disk partition, and only one directory, and running only one application probably ROCKS too, at least for that one application :) But if you're unfortunate enough to be required to use multiple applications, you might be saddened by certain aspects of environment variables, such as them living in one globally competitive namespace, or them being not covered by the NT security model (AFAIK). But I grant you, that they solve the portability problem with package configurations, so I was happy to use them nonetheless. I'd use environment variables (or any other hack in all likelihood), if I could find a solution for the ...Show All
Visual Basic multiple users
My OS is WinXP. There are 2 user accounts on my system. With my user account I set up SQL Express and VB.NET Express. I use Windows Authentication when I log into SQL. I Have no problem setting up a database etc with VB.NET when I sign in using my user account. However, if I sign in using the other user account, I can't make a connection using vb.net express with the database I originally created. Both have administrative permissions. Any idea why this occurs. Thank you. How to I give the second user permission. I am new to sql express. ...Show All
Visual C# My program code called the Windows API function
My program code called the Windows API function If transfers this API is destroyed How to program should process //thank Ernst Kuschke :-) :-) using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Runtime.InteropServices; namespace WindowsApplication1 { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { Graphics g; IntPtr hdc = MyWindowsAPI.GetWindow ...Show All
Visual Studio Express Editions shlwapi.h not found
I have some source that needs shlwapi.h, but the compiler cannot find it. I searched the entire Platform SDK tree, the file simply does not exist. ShLwApi.Lib does exist, but not the header file. I already tried a Repair install of the Platform SDK, but the header file is still missing. Since I did not install everything of the Platform SDK (for disk space reasons), there's a remote chance that I left out some feature that would contain the header file, but I can't imagine which one. mojo_risin wrote: Where can I download Web Workshop The Web Workshop ...Show All
Visual Studio Express Editions How do you convert the first part of a Char array to string?
Problem: You have received a number of bytes from a serial port, done some processing on these and then saved them in a Char array by means of Dim ArrayName(1023) As Char Dim ProcessedByte As Byte Dim I As Integer ArrayName(I) = Chr(ProcessedByte) Then you want the "active" part of the Char array, that is, up to element I to be converted to a string, so that it e.g. may be appended to other strings, send to a TextBox or saved in a file. You can convert a Char array to a string by means of CStr(ArrayName), but this converts the whole array, so if the array is e.g. 1024 char long you will get a 1024 char long string ...Show All
Visual Studio Team System How to add new project alert types
There are four project alert types defined in TFS: My Work Items are changed by others Anything is checked in A build quality changes A build completes How do I add new types for team members to select For example, it would be particuarly useful for the team lead to know if "Any work items are added or changed" Thanks Bob Check out this post: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=18434&SiteID=1 Hope this helps! ...Show All
Windows Forms How to get the name of a datagridviewcolumn?
I want to get the name of a datagridviewcolumn when I click a cell from this column, how do I do that Thanks in advance. selCell = tblSRFDataGridView.CurrentRow.Cells[ "OPRNoColumn" ].Value.ToString(); Currently I have this code that gets the current value of a cell from OPRNoColumn column. What if I don't know the name of the column ...Show All
Visual Studio Express Editions Questions About Visual Studio 2005 Express
1. Does Visual Studio Express come with XML capabilities or do i need to download it If so what do i need to download 2. What else would i need to download for VS 2005 Express especially for Visual Basic and C# for features that are not in the install Or any of the downloads for studio that is best to have Thanks, Kevin I am not sure what you mean with XML capabilities. You can use the .NET frameworks functionality to programatically work with XML as any other .NET application can. There are no special XML tools included in the Express Editions. It is just text so you can ofcourse edit it inside the IDE as a text fi ...Show All
Smart Device Development CEditView for Windows Mobile device
I am trying to move an Embedded Visual C++ 4.0 project to VS C++ 2005 Beta 2. One problem I am having is defining a subclass of CEditView. My code has the following: #ifdef UNDER_CE class CWcTrcWndView : public CEditView #else class CWcTrcWndView : public CRichEditView #endif afxext.h defines CEditView but since _WIN32_WCE is defined, it doesn't get included in the compilation: #ifndef _WIN32_WCE // View ///////////////////////////////////////////////////////////////////////////// // CEditView - simple text editor view class CEditView : public CCtrlView The Embedded versions of the includes so not have this #ifndef _WIN32_W ...Show All
