Software Development Network Logo
  • VS Express Editions
  • Architecture
  • Visual J#
  • Windows Forms
  • Visual Basic
  • Windows Vista
  • Visual FoxPro
  • .NET Development
  • VS Team System
  • Smart Device
  • Visual C++
  • Microsoft ISV
  • Visual C#
  • Game Technologies
  • Visual Studio

Software Development Network >> Andy Leonard's Q&A profile

Andy Leonard

Member List

jvshore
yithoong
jet su
Sreraman Narasimhan
DJPO
Jeff McCashland
Adominguez
mattpic
RickRSL
jpmv
pilot2242
Serioga
gregston roberts
JackRicky
tca9
Arne
venky0425
itisapple
Shaile
PKlammer
Only Title

Andy Leonard's Q&A profile

  • .NET Development Can framework 2.0 be used with VS 2003?

    A very simple question, but I can find nothing on microsoft's site about this. I just want to install the .net framework and use it with my VS 2003 IDE. However, there is a Microsoft project called MSBee to allow the ability to build .NET 1.x applications using MSBuild. For more information, see http://blogs.msdn.com/clichten/default.aspx . ...Show All

  • Visual Basic Using the Ampersand

    I have noticed that the ampersand does not display correctly when used in certain places (such as the menustrip). Is there a reason for this Is there a way I can make them display correctly The & in the menu strip means the hotkey, so &File means File with the F underlined, and pressing F when the menu has focus will select it. I believe that && will display an ampersand. ...Show All

  • Visual C# code security

    I was unsure where to post this, was thinking for a good few several minutes... hope this is the correct place! I was just thinking about code security. Anyone can usually just reflect a .NET application (dll/exe) but I am wondering if there is a way for it to not allow reflectors to decompile the output file I was then experimenting with the VS.NET 2005's Dotfuscator, pretty cool tool but the problem is still there. Dotfuscator renames the methods/variables etc.... to "dodge" the user if you like, im sure it does more but im still learning. After following the example given in the help file, I am still able to reflect/decompi ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Create a sprite programatically in .NET?

    Hi; I've struck out trying to get an answer to this in the .net forums. Is there a way to create a Bitmap object in .net where the bitmap is all 100% transparent (alpha) I can then draw lines, text, etc. on the bitmap and where I do not draw, it remains transparent. thanks - dave Just to clarify, "all from .Net" and "all in GDI" is not the same thing. Managed DirectX is a 100% managed API so you could use DirectX and still stay "all in .Net". ...Show All

  • SQL Server Dynamic Columns

    Can I create columns dynamically In other words, progammatically determine the columns to display based on what is returned by the dataset. I know that it is easy to just drag/drop items from my dataset but is there a way to do this programmatically. You can define a table with all the possible columns, then decide whether to show the column based on the the value of the IsMissing property on Field. http://msdn2.microsoft.com/en-us/library/ms157274(SQL.90).aspx The other alternative is to generate rdl dynamically based on the dataset. ...Show All

  • Visual Studio Express Editions Auto Save (Vb.NET Express Beta 2)

    The change in code was automatically saved each time I made a debug run. Is there an option to disable the auto save function like in VB.NET 2003 Thanks. I don't think so, but as a work around, just close any files you've modified before closing the IDE and you can choose to not save changes. ...Show All

  • Visual C# Simple 'passing variables between forms' issue...  I hope.

    I'm reasonably new to c# programming and I have a issue which seems like it should be fairly easy to solve, however, I'm getting that 'cant see the wood for the tree's' feeling so hopefully someone can help me here... I have a simple MDI application that has an 'outlook' style bar on one form and a web control (axWebControl) on another form. What I want to do is pass a URL to the web control when I click an icon on the outlook bar.  Problem being that I'm not sure how to pass a variable to the instance the current axWebControl.  Can anyone help I'm sure I'm missing something obvious and will kick myself when I hear ...Show All

  • Visual Studio Problems loading package

    While probing the DSL tools and figuring out how to use them I came accross an issue that I need to get resolved. The issue has to do with loading the package (and is something I most likely caused by using the same combination of CompanyName.ProjectName on all my samples). Problem is that when I try to debug my DSL the debugger prompts me with the message 'Package Load Failure'. Inside the message are some details regarding my packagename (CompanyName.ProjectName.Designer.MyPackage, CompanyName.ProjectName.Designer) and the GUID. The package names with different GUIDS pop up (as stated I used the same combination on multiple sample proje ...Show All

  • SQL Server The path is not valid. Check the directory for the database.

    Hi My program in design time preview data and work with Sql Data Base (sdf) activesync connected device. but when run the program This message appear: The path is not valid. Check the directory for the database. help me thank you mahyar what is going on here is that you have a VS2005 designer session connected to a SQL Mobile database which is on a mobile device connected through ActiveSync. As a result, the connection string to the database which is automatically generated with the bindingsource is a special connection string that only works from within VS2005 and it begins with DataSource = Mobile Device\ ...Show All

  • Visual Studio Team System 405 Method Not Allowed using BuildStore object

    I'm getting the following exception: System.Net.WebException: The request failed with HTTP status 405: Method Not Allowed. at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at Microsoft.TeamFoundation.Build.Proxy.BuildStore.GetBuildDetails(String buildUri) when I try to run the following code as part of a build task: public static DateTime GetBuildStartDate( string buildUri, string serverUrl) { ...Show All

  • Visual C++ System.StackOverflowException

    Hello, I have run in to a problem that I find a little odd. I have finally found a workaround, but I didn't think I should have to do that. Maybe there are other ways, perhaps increase stack-size which I don't know how to do. This is what happened. I have a pretty large project that was originally in C. I have converted the project to C++ and .NET. Quite a bit of C-syntax still exists, but I try do do all new code in .NET C++. The code worked fine until I had to increase the size of one of the C-structs in the project. So this struct is pretty large. I have taken out the essentials of the code in order to show what happened. It does ...Show All

  • Windows Forms getting the index of a character in ListBox

    Hello, i have a ListBox with allot of text on each row. I would realy like to get the index och the character I'm clicking on with my mouse.. I have tried to get it by taking out the x-cord from mouse on the listbox and dividing it with the Font-size. But it is not 100% accurate. Is it possible in some way The font I'm using is Courier New. Regards Can you use a multiline TextBox instead A TextBox has a method called GetCharFromPosition: private void textBox1_OnMouseClick( object sender, MouseEventArgs e) {     char c = textBox1.GetCharFromPosition(e.Location); }   ...Show All

  • SQL Server Subscription Error 415

    I am getting the following error when attempting to create a SQL Server Mobile subscription: Synchronizing Data (Error) Messages Unexpected HTTP status returned. [ 415,status = ] HRESULT 0x80004005 (28632) The operation could not be completed. I have attempted this with more than one database (SQL Server 2005).  The snapshot was created successfully.  The Web configuration was completed successfully.  All my security logins (DB and authentication) have the correct permissions and I have followed Microsoft's instructions perfectly (over and over again!). I am using a MS Server2003 R2 box, Service Pa ...Show All

  • Visual C++ Bezier Curves

    Hi ! How can i draw two different PolyBezier consecutively for (; i < N; i++) { points .x = i; points .y = f(i, 1); // draws a y=x } PolyBezier(hdc, points, N); //------------------------------------ for (; i < N; i++) { points .x = i; points .y = f(i, 1); // draws a y=logx } PolyBezier(hdc, points, N); This does not work. I get only the first function. And another problem. I can't erase a Bezier Curve if I use InvalidateRect(). I use a counter to test. if(count) { draw; count=0} and by the next WM_PAINT i still get the curve. You have two loops here.  Both go from the initi ...Show All

  • Windows Forms Loading colored and animated cursors from the resources

    How can it implement ...Show All

©2008 Software Development Network