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

Software Development Network >> &#59;lkj&#59;lk's Q&A profile

&#59;lkj&#59;lk

Member List

EmekaAwagu
ZopoStyle
AlexDcosta
DanglingChap
matthew pearson
ImagineTech
sdknewbie
Maik Wiege
Sergey Zwezdin
Jeremy - MS Research
katokay
mprogrammer
Navya Jeevan
Sanjeevani
PrashanthBlog
Zuchman
S Nesbitt
Blader
Kamii47
Selimbd
Only Title

&#59;lkj&#59;lk's Q&A profile

  • Windows Forms System.BadImageFormatException executing Custom Action in setup project

    We recently migrated from VS2003 to VS2005. We have an installer project that calls a custom action from our setup project. It used to work great in VS2003 but VS2005 is giving the following error when the MSI attempts to execute the custom action portion of the setup (occurs at the very end): Exception occurred while initializing the installation: System.BadImageFormatException: The format of the file "XXCustomAction.dll" is invalid. In the MSI, our custom action is listed under "Install" as "Primary output from XXCustomAction (Active)". The output shows "XXCustomAction.dll" as the only output. The InstallerClass property is set to True. The Entry Point property is blank. The CustomActionData ...Show All

  • Visual Studio Team System Custom decimal field in a work item

    Hi everybody, I created a new Work Item Type activity and defined the following decimal field:       <FIELD name="Estimation" refname="Mycompany.MyProject.Estimation" type="Double" reportable="measure" formula="sum">         <HELPTEXT>A rough estimate of the cost of the work item in days</HELPTEXT>       </FIELD> Then i created the following Control        <Control Type="FieldControl" FieldName="Mycompany.MyProject.Estimation" Label="Rough Estimation:" LabelPosition="Left" "/> The field and the control are  visible and editable in the TFS - > Add Workitem ...Show All

  • Visual C++ copy constructor in ref class??

    How do I implement a copy constructor in my managed class: ref class myClass { private : int var1; int var2; public : myClass( int v1, int v2) { this ->var1 = v1; this ->var2 = v2; } }; In managed code it would be like this: myClass( const myClass & mc) { var1 = mc.var1; var2 = mc.var2; } But how do I do the same thing in managed C++ myClass(myClass^ mc) { var1 = mc->var1; var2 = mc->var2; } ...Show All

  • Visual Studio Building conent and then moving it...

    Hi there, I am very new to MSBuild and have been reading some samples and such. I got a somewhat working project file, but can't seem to find what I am doing wrong. Any help would be very appreciated. Below is my code .. < Project xmlns = " http://schemas.microsoft.com/developer/msbuild/2003 " > < UsingTask TaskName = " BuildContent " AssemblyName = " Microsoft.Xna.Framework.Content.Pipeline, Version=1.0.0.0, Culture=neutral, PublicKeyToken=6d5c3888ef60e27d " /> < PropertyGroup > < XnaInstall > C:\Program Files\Microsoft XNA\XNA Game Studio Express\v1.0\References\Windows\x86 </ XnaInstall > < ContentSourceDir ></ ContentSourceDir > < Con ...Show All

  • Software Development for Windows Vista WM5 & incoming call notification window

    Sorry, if it is a stupid question, but I don't know how to solve this problem. How to disable incoming call notification window in WM5 Is it possible in WM5 Maybe some registry key or something Hi: This forum is for discussion of programming issues with Tablet PCs and Mobile PCs, such as laptops and Ultra Mobile PCs. I believe you want to post your question in one of the Smart Device Development forums . Thanks, Mark Hopkins - MSFT ...Show All

  • Visual Basic Create folder with WMI

    Hi I need some help with creating a folder on a computer on the network using WMI. // Lasse The folder is locked for direct access i need to provide admin username and password if there is another way to do it than wmi then its fine just as long as the program can grant admin permission. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Need help - disappearing lines and solids!

    Hi All, I'm having a big problem drawing lines for a C# application I'm writing. I'm using the DirectX SDK that came with visual studio 2005, directx 9 i presume. My problem is that when I draw triangles using either fillmode.wireframe or fillmode.solid, when I draw the (perspective) camera back too far the triangles disappear completely! The far plane for the camera is set to float.maxvalue. They last a little longer in wireframe mode than in solid mode, but either way is no use to me. What I need is a kind of 'hairline' drawing method, where the lines will always be at least 1 pixel x 1 pixel regardless of how far away they are from the camera... Can anyone shed some light on this Thanks in advance. Jon ...Show All

  • Visual Basic text input matching label question

    My problem is that I can't figuire out how to code this simple situation:( I have one textbox and a label that displays a random letter. I want a if,then statement when a key pressed in the textbox to check if the two are the same letter without having to hit enter. I have it working with the user having to to hit the enter key after they type the letter but I want to get rid of the enter key step. Thanks for the help in the textbox, simply implement a keypress event. In your designer view of the form, select the textbox, then in the properties of the textbox, choose the events icon "lightning" symbol and double click the keypress event to create this event handler. Now in here you will compare the k ...Show All

  • Visual C# File.Move with Large files

    I have an application that watches a directory and transfers files when any arrive. I have files anywhere from 1 MB to 6 GB. The problem I am having is that when the files tend to be larger(100MB or more) the move seems to leave the file in the source directory an just copy it. Has anyone seen this problem before or know why this would be happening The method works properly with files over 100MB however if anyone has a lock on the file then the move will fail silently. If you are using FSW to watch for the file then it is possible that FSW still has a lock on the file. When working with files and FSW it is important to remember that a single file can raise multiple events when it is created or written. For large files this is definit ...Show All

  • SQL Server BI Portal 2003 on a 64 Bit Machine

    Hello Everyone, Has anyoen tried to use BI Portal on a 64 bit machine with a 64 bit SQL Server Any problems Thanks, Joseph BI Portal is microsoft's addition to sharepoint (web parts) in able to create pages that connect directly to Analysis Services cubes. We've used it before on a 32 bit server connecting to Analysis Server 2005. I was just wondering if anyone has tried to use BI Portal on a 64 bit machine to connect to a 64 bit Analysis Server of SQL 2005. ...Show All

  • Windows Forms Framework and Windows Installer not present

    I am deploying a project on a large number of user machines. On a W2K machine, when I tested the MSI, it of course, did not have the Framework or the correct version of Windows Installer. But I did get the expected error messages. So I am going to issue install instructions that state the order of install is to first install these two items, and then install the application. Do any of you do anything different Ok, that's a nice feature. Unfortunataly, it doesn't work. I don't know if it works on XP machines. But it does not work at all on W2K machines. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Grr, my game wont play, WTF!!!

    its coded right, but ist says this, for game.run(); "Could not find a Direct3D device that has a Direct3D9-level driver and supports pixel shader 1.1 or greater." what the hell does that mean, and what do i do about it Cho-Hakkai wrote: NVIDI RIVA TNT2 Model64 if this is to low, can i get a driver for it, to work, or make the game run on a lower level, lowering the game graphics would probably work best, if it is possible at all, i just want it do SOMETHING, ya know You have the graphics card equivalent of a horse and buggy. Visit ebay and get a ATI Radeon 9600 of Nvidia FX5600. They can be had for about $30-50 now. ...Show All

  • Windows Forms Datagridview column header color

    I want to change datagridview column header color maintaining visual style enable. Thanks. Datagridview has property EnableHeaderVisualStyle=true. This means that datagridview column and row header follow visual style, so that changing column or row header color I do not obtain effect. I'm searching a procedure to change color maintaining visual style. Thanks. ...Show All

  • SQL Server Using stored procedure to read from ODBC ?

    Dear all, I am using SQL 2000 and would like to dynamically assign ODBC data source to transform data task. Do you have a stored procedure to perform read/write from/to ODBC data source I would like to input data source and table name. Thank you and Best regards, Chaivat You can use the OPENQUERY for using a linked server defined in the server or the adhoc version with defining a DSN or a connection string along with OPENDATASOURCE. Use can issue any Select query that is supported by the used driver. HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • .NET Development OTP: Help with speed

    Hi all, I have a asp.net 1.1 app that Im running on a clients server its all going well, but he complains about it running "slow" I have alot of postbacks, but it shouldnt be that slow. How can I see what is taking time, how my code is inefficient etc... so as to speed it all up Thanks for the help Mark Ok Ill post it over there. And that could very well be the correct response, but I'd still like to look into some code analysis tools first. ...Show All

©2008 Software Development Network