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

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

dto

Member List

CumQuaT
JoeWood
prozac11
sam2005
Raj S
KoenP
RSMitchell
jyoti.sarkar
perf101
JD Prasad
Keith Patrick
cpf
Nick Winters
Denis Pitcher
rnfinley
qrli
Amit Patankar
Sambag
Nightowly
selva_kumar
Only Title

dto's Q&A profile

  • Visual Studio Express Editions Failed to generate a user instance SQL Server Express 2005

    Failed to generate a user instance SQL Server Express 2005 I have used the search tools on this page, but I can't find any direct answer on this problem. I am new to SQL2005/VS2005. I am trying to run SQL standard- and SQL Express editions on the same system with WinXP prof. SP2. Both instances are showing up in surface area configuration tool and SQL Server Management Tool. These tools are installed from SQL Standard edition. I have a Visual Studio 2005 Standard Win project. Tries to add a sql Item to a new project and the item is named library.mdf. Then I got this error message after I push the add button. Failed to generate a user insta ...Show All

  • Visual Basic Transparencies in images

    I am currently trying to create a driving game in vb.net. In this game, the goal is to move a bus around the screen and miss the various objects going towards it. The bus is not a perfect rectangle and I would like to erase certain parts of the image so that the background can be seen through the image. I have tried doing this using transparencies but instead of showing the background image, it is showing the background colour. Is there any way of erasing certain parts of an image so that the background image can be seen behind it Thanks for your help, Regards, Matt Yes, you can set an outline for your (bus-)control via the GraphicsPath object and the control's Region: http://forums ...Show All

  • Visual C# question on override

    Hi all, I have a question regarding the behavior of override. Let say: 1) I have a base class B with virtual method v 2) I have a derived class D1 derived from B with overide method v 3) I have another derived class D2 derived from D1 with override method v It seems that if I have the following statements B b = new D2(); b.v(); it will call to base class (B) Howvever, if I have the following: D1 b = new D2(); b.v(); it will, as expected, go to D2. It seems like override only for one level, Is that correct or am I missing something Thanks Hi, I think you are missing something, here is a sample of what you are explaining which works as e ...Show All

  • Visual C++ Question about const_cast

    Here's round two of my silly questions. How come this compiles: ---------------------------------- int main (int argc, char * argv[]) { const int test1 = 5; const int test2 = const_cast<const int &> (test1); return 0; } ---------------------------------- But this does not. ---------------------------------- int main (int argc, char * argv[]) { const int test1 = 5; const int test2 = const_cast<const int> (test1); return 0; } ---------------------------------- Error 1 error C2440: 'const_cast' : cannot convert from 'const int' to 'int' j:\test\main.cpp 4 ---------------------------------- I definitely have the latest version of VC++ Express Edition this time. I'm not trying to u ...Show All

  • Visual Studio 2008 (Pre-release) EDM and ASP.NET

    Hi I am really new to EDM. How can I use it in ASP.NET App After installing vNext August CTP I didn't get ASP.NET vNext Project Templete only Windows and Console. So how can I use it 10x You should have a sample under <install drive>:\Program Files\Microsoft SDKs\ADO.NET vNext CTP\Samples\<language>\WebAppSample that shows how to use the Entity Framework in ASP.NET. This sample shows how to create an assembly (NorthwindLib.dll) that contains your Entity types and add that to your ASP.NET Web project. The sample then shows how to work with product, product details, and categories as Entities from an ASP.NET page or a Web service. -Lance ...Show All

  • Visual Studio Tools for Office IFont functions appear in imported Excel RANGE class

    i have an office9 app that i'm upgrading to office11. i followed advice in here about importing the excel11 typelib. i have imported _Application, Workbooks, Worksheets, and Range. i noticed that the comment at the beginning of each functional area did not match the class that was import (under Range it sez " // IFont methods".) this might not be so bad, but they actually are functions that one would expect for Font (get_FontStyle, get_Background, get_Bold, etc.) has anyone else seen this last week (i think) i dumped all available Excel11 classes and was unable to find "// IRange methods" anywhere. thanks in advance p.s. i am adding a class from "Microsoft Excel 11.0 Object Library <1.5>"   ...Show All

  • Visual C# Read binary, convert to hex

    Ok, i have an executable that i want to be able to edit the hex values of, but i can't find anything that will read the hex from the file... I was wondering if it might work if i did a regular BinaryRead and just converted whatever it read from binary to hex, then edited that and converted it back to binary and do a BinaryWrite. Would that work the same as if i had directly edited the hex I'm pretty new to this, but im just trying to basically end up with 1. Read the hex of the file. 2. Change it according to what the user enters. 3. Write it back to the file. thanks a lot! !!! Thank you sooooo much, your a genius man ! Works great and im good to go! thanks again! ...Show All

  • Visual Basic visual studio 2005 is running slowly

    I am developing a windows application(converting vba to vb.net). some of the forms have ten or more tab controls. Each tab control has many text boxes,listboxes,radio buttons. when i change a name of the control it takes 30s ---2min. when i copy and paste some control from one form to another it takes 1--5minutes. this does not happen all the time. any solution/advice would be appreciated. navigationbar is disabled/wordwrap is disabled ms vs 2005 ver 2.0.50727 os-windows xp sp2 cpu-p4-3000mhz ram-2g machine-hp i was informed by a ms staff today that this is a known issue and no hotfixes right now, may not be in near future. I can use a text editor to rename the controls The person ...Show All

  • Visual C# Dll Import

    How do I import a dll into my project and then use it for the project's layout Well, if you want to keep your entire form style in blue, try creating your own ToolStripRenderer class. If you just retreive the values from ShellStyles.dll, it will just be the same as the Olive style, if that's what the user has enabled. It won't just display blue, it's a global link library that reflects the system settings. Try this: public class CustomRenderer : ToolStripRenderer { protected override void OnRenderToolStripBackground(ToolStripRenderEventArgs e) { LinearGradientBrush brush = new LinearGradientBrush(e.AffectedBounds, Color.DarkGray, Color.Black, 90); e.Graphics.FillRectangle(brush, e.AffectedBounds); brush. ...Show All

  • Smart Device Development Csharp Code to get IMEI of SmartPhone and PocketPC

    Please help me Is there any code in Csharp to get IMEI of SmartPhone and PocketPC This post should answer your question: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=109823&SiteID=1 Michael ...Show All

  • Visual Studio Team System Checkin changes on behalf of another user

    I cannot seem to be able to checkin pending changes performed by another user (schan)using the tf following command: tf checkin /author:schan $/Adventureworks/TPOnline/VBProjects/test.frm /login:mchan,mchan TF keeps coming back with the following: There are no pending changes. No files checked in. But there are pending changes and I have administrative permission and should have permission to checkin other users' changes. I have successfully undo other users' changes. Is there something else I need to do That's a good enough workaround for now. But the enhancement in the next TFVC release would be a good one. Thanks! ...Show All

  • SQL Server How to migrate updated data alone?

    Hi, Can anybody pls help me with this, i have to migrate data from one sql server(1) to another sql server(2) using SSIS,Which is a bit easy,the concern here is that after doing it the data in server(1) is getting updated due to inserts,now i need to bring the updated data alone.Is anybody having experience in this can anyone pls help me or give me sugessions on how i need to proceed. Thanks in advance. Regards, Sg swan_sg wrote: Hi Phil, This is ok with inserts what about the updated rows and deleted rows Thanks, sg. Use OLE DB Command to issue updates. This technique doesn't allow for discovering deletions. I recommend taking a look at ...Show All

  • .NET Development error: stored proc expects param @xxxxx not supplied

    I created a stored proc with 2 insert queries. Both queries have parameters. The first query inserts a row in first table and second query inserts a row in the second query. In addition, the first query gets the scope_id from the first table and inserts this same scope_identity in the second table along with the other supplied params. Here is the stored proc: (accountNumber gets the scope_identity) ALTER       PROCEDURE dbo.InsertAccount @AccRisAsse bit, @AccHldBll bit, @accountNumber bigint output, @prpDateBir datetime, @prpSinNmbr char(15) AS insert into TblAccount(AccRisAsse,AccHldBll)              values(@AccRisAsse,@AccHldBll) set ...Show All

  • Visual FoxPro Imagelist control

    I want to add the imagelist control to the treeview control(ocx) but I keep getting a message that I have to initialize the imagelist control first. How is this done The treeview works fine. Both ocx controls are dropped on the form but I have been consistently getting the error. Appreciate the help. John, Sorry about how unobvious the personal site links are in this forum. If you click someone's name on the left side it'll take you to their info page and websites are listed there... and frustratingly enough they aren't clickable links and when you try to set it up as an a href it admonishes you for attempting to enter a cross-site scripting attack. *g* Anyway I'm glad Alex pointed you in the rig ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Problem with Xna Game Studio

    I'm an Italian developer and i don't know english well. I'have a problem with Xna Game studio: I have installed xna game studio When I start Microsoft Visual C# Express, i choose the menu file and new project and I'click on the template Windows Game (Xna) for creating a new game project. The project is opened and when start the debug of the application. The IDE show me this message: "The values used in the attempt to create the GraphicsDevice were invalid." selecting the code line: this.GameComponents.Add(this.graphics); I would want to know like debugging the application without error Please help Me Do you start Visual C# with the default link or the XNA Game Studio Express link created duri ...Show All

©2008 Software Development Network