Steve98796's Q&A profile
Visual Studio Visual studio 2005 and windows vista buisness edition
I have windows vista buisness edition, visual studio pro 2005 and when I'm trying to create new web application I get error: front page extensions are not installed..., I activated windows authentication and I'm running vs2005pro as administrator, but the error still ocurrs. I know, that here have already been topic about this, but this solution doesn't work for me ;/ Do you get an error immediatly after clicking on File => New => Web Site If not, what options did you select on the dialog that opens Like the location (File System, HTTP, FTP) ...Show All
Windows Live Developer Forums Interface coherence
I would like to know how can i implement a sidebar control for a smart content with the same style (color & control) of the image editor of wlw! Thanks, Fulvio As an afterthought, if you check out my most recent blog entry at http://scottisafooldev.spaces.live.com you will see what I mean. The side bar for my Feed Reader plugin is just using basic C# components in it. ...Show All
Visual Studio Port placement manipulation with myPortShape.AbsoluteBounds
Hello - I am trying to write an application that will generate a .diagram file if one does not exist using some arbitrary set of rules. I can get all of my GeometryShape derived classes where I want them, but I am having trouble placing my PortShape derived classes on my GeometryShapes. Setting the AbsoluteBounds and Bounds properties on my PortShape do not behave as I expect. I would expect setting the AbsoluteBounds property on a port would place it at the location specified, relative to the Diagram. [i.e. a 1 by 1 PortShape at a location of (4.5, 5.5) on a GeometryShape located at (4, 5) would appear with half of the top of the port appearing off the top of the GeometryShape]. It appears to be placing it relative to the bott ...Show All
Visual C++ Doing File I/O
Are there any drawbacks to using regular libc functions like fopen, etc under Visual Studio for deploying a console Windows application I am having great difficult finding even basic information on MFC functions, but the standard C functions like printf and fprintf, etc. seem to work fine. Also, is there a disassembler built into Visual Studio I want to look at the resulting code generated by Visual Studio and make sure that it does not phone home to Microsoft. If necessary, please let me know where to put the 0x90's to prevent this from happening. Thank you. The functions like fopen eventually call underlying Win32 functions - in this case OpenFile - so there is a slight "overhead" in using f ...Show All
Smart Device Development Creating controls on the fly is very slow
Hello there. I've got an application whereby I'm creating a user interface on the fly, creating survey sections with questions, and responses (such as radio buttons, checkboxes, etc) at runtime. The client is simple, as this survey engine does most of the work. Running this on a laptop/desktop on .net framework 2 has fine performance, running the same code on a PDA running Mobile 5 on Compact Framework 2 has terrible performance. I believe the creation of controls and positioning/resizing may be the largest issue. Does anyone have experience in how to properly (and performantly) do this on the Compact Framework thanks OK, turns out the performance bottleneck was more closely related to a collection (using ...Show All
Visual Studio 2008 (Pre-release) How to find TreeView from TreeViewItem
Hi How do I find the hosting TreeView when I only have a TreeViewItem Best regards, Thomas Andersen Lee's right. Looping through TreeViewItems until TreeViewItem.Parent is null and then using the method works. Thanks to you both :-) ...Show All
Visual C# Generic generics ... can Generic methods be constrained to accept generic types?
I can't find an answer to this anywhere and all my code hacks fail to compile. The shoprt story is like this. I can write a generic method that looks loosely like (off the top of my head): private T First<T>(T a, T b) { return a; } (sure this is a meaningless example but hey, I'm exploriung a point not an application). Now let's say I want to constrain the type T, this is fine (and a much cited example of sorts): private T First<T>(T a, T b) where T : IComparable { return a; } Now the fun begins. I want to constrain T to a generic interface not a specific one. Try this: private T First<T>(T a, T b) where T : IComparable <T2> { return a; } and whammo, compile time error: Error 1&nbs ...Show All
SQL Server Delete question
I recently uploaded my old MSAccess database structure/information to the SQLExpress 2005 database. I now need to clean out the data of each table so i can repopulate it with the program i am trying to debug. The problem i am encountering is the same no matter what i do. I think it is just some sort of typo when it comes to the statment, but i am so new to Server that i am not sure. Table: OwnerInfo - fully populated/created SQL Statment: Select * From OwnerInfo SQL Error: Msg 208, Level 16, State 1, Line 1 Invalid object name 'OwnerInfo'. SQL Statment: Delete From OwnerInfo SQL Error: Msg 208, Level 16, State 1, Line 1 Invalid object name 'OwnerInfo'. Am i mistyping the table name or forgetting some sort of punctuation I have tried ( ), [ ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How long before we see non-game apps for the 360?
How long do you think it'll be before we see web browsers and RSS readers being written for the 360 Or will the lack of network support kill all of that I'm just as excited about the possibility of writing/sharing/running tool and helper apps on the 360 as I am about games. Derek Woo wrote: As soon as XBox Live support becomes available. I can just imagine a way better download manager. Rather than just 6 downloads to queue up, an unlimited amount to queue. Possibly even multi-part, that is if Microsoft allows it. Some other cool tools/utilities that would be nice Internet Radio client (I know there are ways to get it playing on the 360, but integrated support is always better.) iTunes int ...Show All
Visual C# StackOverflowException
I want to put a multi-layer tree structure directory(including its files) into database sheets. All directories are put in "webcolumn" sheet, while all files in "article" sheet. Coz directories have many layers, the "GetLower" method was called by itself to visit all its lower directories. Somehow, when in debugging, it reports StackOverflowException on line 32. Can anybody tell me why I can't find the error myself. public partial class _Default : System.Web.UI.Page { private string strUpcolid = "29"; private int intLayer = 1; private string strPath = ""; protected void Page_Load(object sender, EventArgs e) { GetLower("E:/ 料中心"); } protected v ...Show All
Windows Forms UserControl as Container
Hi all, Just a quick question and I am sure there is a simple solution but I just haven't found it yet. I know how to make my UserControl a container by using ParentControlDesigner etc. This works fine and I can drag and drop Windows Forms Controls at design time. However, if I add a Panel to my UserControl Class, compile it and then try to drag and drop another control on the Panel, the Panel does not act as a container. So my question is: If I have a UserControl which consist of a single Panel, which is a pretty lame control I know, how can you get the Panel to act as a container at design time Any help in this would be greatly appreciated. Kind Regards AM PS. The UserControl that I have written does not consist of a ...Show All
Game Technologies: DirectX, XNA, XACT, etc. VertexBuffer and IndexBuffer For Height Map
I'm trying to create a heightmap from an image using a VertexBuffer and IndexBuffer but it isn't working. When I run my program, I just see a blank screen. Any ideas using System; using System.Collections.Generic; using System.Text; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; namespace HeightmapDemo { public class Heightmap { public static float HeightScale = 50f; public static float CellSize = 20f; protected VertexPositionNormalTexture[] vertices; protected short[] indices; protected VertexDeclaration vertDecl; protected VertexBuffer vertBuffer; protected IndexBuffer indexBuffer; protected BasicEffect effect; public void GenerateModel(GraphicsDevice graphicsDevice, Textur ...Show All
Visual Studio Express Editions How to run an external program
hi, i am trying to run a program with one of the buttons in my C++ app and i just want to know what code is required to start up the external application. i know in VB its Dim a As New ProcessStartInfo( "fire56kalif.exe" ) Process.Start(a) (the program is fire56kalif.exe) please help Provided you are trying to do this from a managed C++ application just remember that both VB and C++ target the same framework so that line can be translated to: ProcessStartInfo ^a = gcnew ProcessStartInfo( "fire56kalif.exe" ); Process::Start(a); If you want to simply things even more you could just use the following line provided there is nothing else you ...Show All
Visual Basic Difference between SyncLock and Monitor's Enter/Exit?
It seems to me that the SyncLock(OBJ) End SyncLock And the Monitor methods Enter and Exit essentially do the samething to obtain exclusive locks on objects while multithreading. Is there any difference between the two in terms of performance or function Daticus, In MSDN, when you search the Monitor class in the following link page, http://msdn2.microsoft.com/en-US/library/system.threading.monitor.aspx . You should pay more attention to the several sentences as follows: The functionality provided by the Enter and Exit methods is identical to that provided by the C# lock statement ( SyncLock in Visual Basic), except that lock and SyncLock wrap the Exit method in a try … finally block ( Try … Finally in Visual ...Show All
Smart Device Development Sending objects/data across network?
Does compact framework have serialization I wish to send object accross the network. Anyone have any ideas Using desktop .net i would serialize a struct and send it via a socket. What are people using in compact framework Thanks. gafferuk wrote: Does compact framework have serialization I wish to send object accross the network. Anyone have any ideas Using desktop .net i would serialize a struct and send it via a socket. What are people using in compact framework Thanks. I think what you mean by serialization is "remoting" or "web services". serialization is a broad topic, a technique used in many ways, in many places, including remoting. remoting all ...Show All
