Riki0410's Q&A profile
Visual Studio Express Editions License question..
I'm a student, studying C++ at school, and I was wondering if it would be possible (legal) to install it (VC++) at our school, to be used in our education (so we won't have to use Dev-Cpp or Code::Blocks) Hi, If your referring to VC++ Express then you could. Its Free for 1 year. Check this link . cheers, Paul June A. Domag ...Show All
Windows Forms Context Menu for a row in a DataGrid
Any recommendations for implementing a context menu for a given row in a DataGrid Simple enough to do this for the DataGrid as a whole, but I don't see how to "bind" the contextmenu to the row that the user clicks on. For "extra credit", I'd like to augment the default contextmenu that you get when you right-click on selected-text with my custom menu items. Can anyone point me in the right direction Maybe you should listen to the CellClick event of the datagridview, check whether the cell click is RightButton click and inside your specieal row, if so, do specieal handling. ...Show All
Windows Forms Key Handling
I'm working on a hex editor as a practice project to teach myself VB.NET. So far it has been going well, but I ran into something that I'm not sure how to deal with. I want to let a user type characters into the ascii panel to change the values, but I'm not sure how to capture their key events in a way that makes it ...Show All
Windows Forms hosting controls / forms across app domains (alternatives or thoughts)
I'm working on a designer type app where projects are created and visually edited. its an mdi type app where each "project" is loaded in its own app domain. each project is given a canvas and allows object to be dragged /dropped & configured on the canvas. right now I use a limited proxy to pass data values in and out of a property grid (the designed object sends a collection of properties & events to be designed, and those are hosted in a property grid). I'm in a bit of a design deadlock when it comes to extensibility. I want to provide an extensible properties editor dialog for the objects being designed / ...Show All
Visual Studio Express Editions Recommend VS 2005 version
what VS version should i choose if i have these requirments > 1. want to develop for windows using VB.NET & C# 2. want to develop for web using ASP.NET in VB.NET 2. want to develop for devices using VB.NET 3. want to make and use web services 4. don't need full SQL database access, just equivalent of MSDE. databases in local environment only thanks, Hi, I would suggest you purchase the Professional Edition, I think things that you need is already there. Here is a product comparison for Professional Edition. http://msdn.microsoft.com/howtobuy/vs2005/editions/pro/ cheers, Paul June A ...Show All
Visual C# Exception Usage
I want to know which scenarios to inherit following exception class Exception SystemException ApplicationException Vikram Go to GotDotNet.com and search for "ApplicationException FxCop", you will find a number of posts regarding this, including some responses from Microsoft. I will post a suggestion for this to be updated. ...Show All
Visual C# Namespace in C# 2005
A sample class for your expert comments. namespace MyNamespace. MyBody. MyClass1 { class1 { } } namespace MyNamespace. MyBody. MyClass2 { class1 { } } 1) From the class view in the VS.IDE, why are they not nested under the namespace of MyNamespace.MyBody 2) Example. Client Application using MyNamespace.MyBody; static void Main(string []args) { MyClass2.class1 class1 = new MyClass2.class1(); //compiler returns an error. 'Namespace doesn't exists in this current context'. } Your immediate response is much appreciated. RedDevil Re: (2) The "using" statement d ...Show All
Game Technologies: DirectX, XNA, XACT, etc. 2D animations
I am going to implement 2D animation in my program. The animation use a list of bitmap (with alpha channel) stored in ONE binary file and therefore I create an array of texture before showing the animation. But I find that when I try to create all the textures at the beginning, the animation is okay, but loading textures is quite slow and the memory usage is also very large(1xx MB), which is not acceptable. Are there any method to reduce the memory usage Thank you A couple of points: 1) Are your textures sized in a power of two ie 512x512 pixels. Most graphics cards have an awful time with textures that ...Show All
.NET Development Reg : Better option to move data into my Db
Hi, For my application, i have to move the other db structure into my db and check for changes. For this i am creating a connection to other db and fetching the data from there. Now these details are in my dataset. for moving the details into my db(MS SQL) i am using the following code: foreach (DataRow dr in ds.Tables[0].Rows) { i += 1; cn.Open(); string nullable = dr[4].ToString(); string defaultval =dr[5].ToString(); defaultval = defaultval.Replace("'",""); char chrnull = nullable == "YES" 'Y' : 'N'; string defaultvalue = dr[5].ToString(); ...Show All
Visual C++ VC2005 Beta2 Crashes
Hello, I'm running beta 2 on a W2k SP6 machine. I have a large solution converted from VS2003 that is all native C++ code. The development environment is having persistent crashes. A crash happens every minute or so and I get a group of dialog boxes that say something to the effect "unknown software exception 0xc000000d at location 0x7c3b3984, ok to terminate, cancel to debug"). I can choose 'ok' and continue running the program(!). I usually end up moving the message dialog mostly off screen and continue working (modeless dialog). Is this a known issue Another problem - when I change a project's properties (say disable warning 4996) and ...Show All
Smart Device Development Serial port support
I am trying to attach the serial port 1 of the emulator to the GPS receiver connected to my desktop. I can either use USB or Bluetooth GPS receivers, and they work fine on the desktop. However I can't seem to get it to work on the emulator USB: setup works (can select port) but no data is transmitted Bluetooth: COMport cannot be opened, setup fails. Are you saying that only plain old serial GPS receivers connected to COM1 on the desktop are supported Didn't they stop producing serial GPS receivers a decade ago FWIW, you may also want to check this thread: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1134808&SiteID= ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Won't draw primitives
http://www.nomorepasting.com/paste.php pasteID=60067 take a look at that code ... any idea why it won't draw the primitives i think i tried just about anything ... i must be doing something wrong ... hope you can help me out The way you create your vertex buffer will not store the stride size in the object. Because of this you have to use the SetStreamSource method that set the stride, too. In your case the stride is equal to the size of one vertex. Dim Stride As Integer = CustomVertex.TransformedColored.StrideSize device.SetStreamSource(0, vb, 0, Stride) ...Show All
Smart Device Development Privilege Certificates
There is some confusion over the need for privileged signing in our product. We are porting to WMv5 PPC. According to the link, http://msdn.microsoft.com/library/default.asp url=/library/en-us/mobilesdk5/html/wce51conWindowsMobileDeviceSecurityModel.asp , this has one-tier security. Part of our product installs a small device driver that implements the stream interface. In order to get it running on one manufacturer's device, I had to sign it with the SDK privilege certificate and install the SDK certificates. It didn't work when signed with the SDK Unprivileged certificate. If this is a one-tier system, why didn't it wor ...Show All
Visual Studio Tools for Office word 2003 - complex xsd
Hello, We are using a complex xsd with element and attribut. It's an administrativ schema. After adding an xsd on us document, in Word's Panel (XML), we can view xml node without any attribut of schema ! It's normal, or can we find an other solution to use schema --------- FRENCH : Bonjour, nous appliquons a un document word un schema xsd relativement complexe. Celui-ci nous est fourni par une administration et est correctement formee. Est-ce que cela vient de word qui ne gere pas les schemas complexe Nouveau bug Nous ne procedons pas correctement Lorsque nous esssayons de parser notre document avec les elements du schema, il s'avere que l ...Show All
Smart Device Development Third Party tool for .NETCF Controls
HI, I'm trying to design Good and colourful GUI in Compact Framework. As we all know, Many properties are missing in .NETCF. Specifically color of buttons and so on. Now i'm looking for good third party tools for those missing controls.I never used before. So I don't have much idea abt it.Can anyone suggest me good one If u know related links, kindly mention it. If anyone used third party tools before in CF, kindly share your experience. Thank You I'm not sure what buttons you are planning on using, but if you are building the app for a wm 5.0 device, you may want to consider using the menu instead ...Show All
