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

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

EmekaAwagu

Member List

SuperM
Beetle54
redshock
MikhailGol
adorer
Raymundo Chapa94595
LPlate
choppala
Yuki Chen
maverick_majnoo
Ccm1st
siavoshkc
bmains
me113
vinclaro001
Martin Odhelius
bfarr23
seamonkeyz
BarrySumpter
yahu_Hugh
Only Title

EmekaAwagu's Q&A profile

  • Visual C# Parsing from scientific notation

    Hi Im trying to read in values from a file containing numbers that are a mix of "normal" doubles (i.e. 3.23124) and numbers written in scientific notation (i.e. -12e3). I guess this has something to do with the format of the string. Im trying to feed the values into a custum struct called Matrix, which takes doubles... The code I'm using is:   if (numberOfRows>0 && numberOfColumns>0) { Matrix M = new Matrix (numberOfRows,numberOfColumns); fs.Position = 0; int i=0; while ((line = reader.ReadLine()) != null ) { string [] split = line.Split( new Char [] { ' ' }); for ( int j =0; j<split.Length; j++) M[i,j]= Double .Parse(split[ i ]); i++; } fs.Close(); r ...Show All

  • Visual C# Another math question (Well in my mind it is)

    Just alittle background before I start. I am working on a program for my LEGO NXT (I guess a Trademark should be here ) using Bram's source to talk to it (Thank you Bram!) Gee, I whould have never got to talk to it without it. OK, So i'm a old guy that still plays with toys.. I'm OK with it. Can I say I'm making it for my granddaughter I lie ALOT.. Anyway, I made a control that displays Compass direction from a '(float) in degrees' .. As in 0 to 360 degrees...(Yep, some more 'borrowed' code I found..) I'm OK with that too. ALOT of you folks much smarter than I am. I want to take X/Y output (state) from a Joystick (no twist stick that gives rotation) and approximate 0 to 360 degrees of rotation from the X/Y output from the Joystick ...Show All

  • Visual Studio 2008 (Pre-release) Changing ComboBoxItem Properties from a DataTemplate Hosted in the ComboBoxItem Container

    I'm trying to change the ComboBoxItem's IsEnabled property from a DataTemplate and I can't figure out how to do it. How can I change the property of a ComboBoxItem container from the DataTemplate that's hosted in the ComboBoxItem container Is it even possible Kevin I'm binding a ComboBox's ItemsSource proprerty to an ObservableCollection<Foo>. Foo implements INotifyPropertyChanged and has a bool IsActive property. Here's the code sample: < DataTemplate x:Key = " fooDataTemplate " DataType = " {x:Type FooNameSpace:Foo " > < TextBlock Text = " {Binding MyFooName} " /> </ DataTemplate > < Style x:Key = " fooContainerStyl ...Show All

  • Community Chat Lets talk about Microsoft Certified Architect Program

    I just wanted to start talking about this because its my dream to get this big certification.  I just wanted to know between all to make a track to get there. How long does it take to get Certified for the Microsoft Architech Program Happy New Year and Good Luck on your new job! ...Show All

  • Visual Basic Hosting Excel Appliaction as a contorl in .Net form

    Hi every one,   I need to host Excel application inside my Application main Form that I am building I want to add it as a control same as web browsers in VS .Net from toolbox. with webbrowsers control we can drop it in the form and then configure it. How can be done with Excel or World Hi- If you have Office 2003 (or earlier), you can use OWC (Office Web Components). There is a spreadsheet control, chart controls, rich edit control, and a few others. To use this in VS.NET: - right-click the Toolbox - Choose Items... - select the COM tab (OWC is a COM component) - choose Microsoft Office Spreadsheet control - drag n drop from the toolbox to the form - start setting pr ...Show All

  • Visual Studio Express Editions Sending text from VB form to Word

    I am using VB Express and Office XP. I need to send name/address data to Word for label printing. Library article says that I need the XP PIAs first, but the link doesn't work. Eventually found and downloaded them. However, I can't install as all I have in my start menu is "Visual Basic 2005 Express Edition" and cannot open a VS command prompt - see below. To install the Office XP PIAs On a computer with Visual Studio .NET installed and the extracted Office XP PIAs, on the Start menu, click (All) Programs , point to Microsoft Visual Studio .NET , point to Visual Studio .NET Tools , and click Visual Studio .NET Command Prompt . The Visual Studio .NET Command Prompt window appears. This facilitates the use of the .NE ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. What's difference between Express and Professional?

    I've installed the Express edition beta 1, but I have interesting to the Professional edition. I thought the Professional edition should have more classes than Express edition, but I've never seen any documentation to compare the class library of each edition. Could you tell me the differences of them, particularly about class library Or I'd be happy if I could find the reference manual of XNA Game Studio Professional on the net. Thanks, Hayashida EWSommer wrote: Well, I don't plan on writing 360 games, so the devkit stuff wouldn't matter to me. The ability to use it with something besides C# Express without having shell out lots of money would be nice. It's already been stated support ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Assign to Vector2?

    This is probably an easy question, how do I assign to a Vector2 This was my first bad guess: Game1.Players .Position = (0f,0f); but it didn't work, I know I can assign to the .X and .Y of the Vector2 but I want to do it in one simple step. Also can you do it without creating a new Vector 2 Cheers Alfons You could position.X = x; position.Y = y; Technically it's two lines but it would be on one visual line. ...Show All

  • .NET Development Socket Exception with Asynchronous Sockets

    working on Client and Server side programs using Asyncronous Sockets,when i hit the connect button after about 15 secs give or take a few. i get the following Error:: "The calling thread cannot access this object because a different thread owns it" here is the Section of code that is producing the Error itself,right after the "Catch" Block conStatus.Text = " Error Connecting" throws the Exception below..I have provided the Stack Trace so hopefully someone can look at this and help me work this part out...If you need to see the "Server Side Code" which is pretty close to the Client Side below, i will post it up.. Thxs in advance Rattlerr I have posted the entire block of code pertaining to this...Also this is wrote in WPF ...Show All

  • Windows Forms Help with Winform and binding to an object

    I'm looking for the correct way for me to bind an object to a winform to display some of it's attributes. For Example a Person instance with first and last name. I've been able to do it using a BindingSource, but have run into several things that I don't like. 1. The bindingSource is working with a collection, I just want to have one "person" that I'm displaying on a winform. If I change the person, I want to just replace that instance, not add to a bindingSource and navigate. I don't want the navigating tool on the form either. 2. I want to have changes that are made to the current "person" flow up to the interface. A simple example would be a button, that changes the person's name directly. I use this as an example to ...Show All

  • Visual Studio Team System Benchmark for load test results

    I'm currently load testing a unit test which exercises a method that creates person records...I already have my result, but we're not really sure if these results are good enough for the method to be considered efficient... So I was just wondering what could be a benchmark for the Average Test Time of a method that performs basic CRUD functionalities such as Adding, Editing, Deleting and Reading records Would anyone have an idea Some considerations for you: Acceptable times will very much depend on user expectations in the app. Generally Reads happen more than the other three, are expected to be very fast, and often happen in bunches (e.g. read 50 records). Typically Update is the next most im ...Show All

  • Visual Studio Express Editions Using VB Express to connect to Access Database

    Hello there; I'm still new to the VB express program, and I am having some problems connecting to an Access Database. From what I've read, the information is not being clear as to how to handle to following situation: I have a form that has 5 fields on it that the user enters data into. I have set up the DataSet.xsd to be able to access the Access 2003 Database. Once the information has been entered, I have a CommandButton that I would like the information to be sent to the database to be stored. The problem that I have is that according to one source, All I needed to do was set up the Dataset.xsd and then drag the Database fields onto the form and they would be entered. But from what I've read here, it seems that I need to add some ...Show All

  • SQL Server can I use * to specify 'Output Column' for OLD DB Source Editor?

    I am working on a situation similar to 'Get all from Table A that isn't in Table B' http://www.sqlis.com/default.aspx 311 I noticed that if one column's name of source table changes,(say Year to Year2) I have to modify all 'data flow transformations' in the task. I am new to SSIS. thanks! -ZZ It seems that MS has solution for 'Dynamic Metadata', although SSIS pipeline requires static metadata. "Advacned ETL: Embedding Integration Services" from PDC05 mentioned this issue. SMO is needed. I am still searching for the samples. -ZZhang ...Show All

  • Silverlight (formerly WPF/E) Does Feb 2007 CTP for WPF/E support Canvas.Resources ?

    Hi, Can we have reusable things like defining a brush once and reusing it several times using canvas.resources.This question was asked for Dec CTP but does Feb CTP support this. Example: <Canvas xmlns=" http://schemas.microsoft.com/client/2007 " xmlns:x=" http://schemas.microsoft.com/winfx/2006/xaml " > <Canvas.Resources> <ResourceDictionary> <LinearGradientBrush x:Name="arcenciel" StartPoint="0,0" EndPoint="1,1"> <GradientStop Color="Yellow" Offset="0.0" /> <GradientStop Color="Red" Offset="0.25" /> <GradientStop Color="Blue" Offset="0.75" /> <GradientStop Color=&qu ...Show All

  • Visual Basic What To Install From VB Installation CD To Let Users Run My Application And Not Enter VB

    The best way for me to do what I want to do is install on all PCs (using VB installation CD) the minimal requirements to run my application which uses VB 2005, ADO.NET to read/write to an Access database, and Crystal Reports. I ask you what, specifically, should I install on all these PCs from the VB 2005 installation CD After that the next thing I will do is I give each PC user a shortcut file (having a nice icon that says database on it) which runs the exact same executable on a shared drive. My application already has the capability to tell users if someone is already actually using the database via a warning message. The hope is that only one person will use the database at a time. There aren't many users so this sho ...Show All

©2008 Software Development Network