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

Software Development Network >> Robert Wakeland's Q&A profile

Robert Wakeland

Member List

Brian Kramer
Kamii47
Balwant Patel
BabuKP
CraigAP
José Antonio Farias - MVP
c_shah
Alexan
Marcello2
Luke Breuer
Jon M.
fiaolle
thirteenburn
Grae Foster
Dr.Pepper
Lee John
Fusion54
Anarchy
knji
code_junkie
Only Title

Robert Wakeland's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. SpaceWar demo: .NET Runtime 2.0 Error

    I'm having a bit of trouble getting the SpaceWar demo to run. It compiles fine (I made no changes) but when I try and run it I immediately get a dialog box asking if i want to send a report to Microsoft (I always say 'Yes'). Below is a copy of the Event Log entries generated: Event Type: Error Event Source: .NET Runtime 2.0 Error Reporting Event Category: None Event ID: 1000 Date: 8/30/2006 Time: 7:41:21 PM User: N/A Computer: IO Description: Faulting application myspacewar1.exe, version 1.0.0.0, stamp 44f5d7e7, faulting module kernel32.dll, version 5.1.2600.2945, stamp 44ab9a84, debug 0, fault address 0x00012a5b. For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp . Data: 0000: 41 00 70 00 ...Show All

  • Visual Studio 2008 (Pre-release) Closing a modal dialog

    Hi all, I have a window containing a Frame: <Window x:Class="MyProj.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="MyProj - MainWindow" Height="600" Width="600" ResizeMode="NoResize" > <Frame Name="frame" NavigationUIVisibility="Hidden" /> </Window> In the frame I host another page: frame.Navigate(new BasicDetails()); which looks like this: <Page x:Class="MyProj.BasicDetails" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/x ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. How to do a screen fade?

    Has anyone come up with a nice slick class that does simple fade-in and fade-out to black screen transitions I started working on one and it continues to get more complicated and was curious if anyone else had already done this. If you have are you willing to share your code, or explain how you approached it Thanks. Mike I was working on something like this this weekend. I'm only writing a 2D game, but if you're using a 2D HUD over the top of your 3D stuff, it should still be useful. I created a "Transition" class that contains an alpha colour, a target alpha colour, a transition speed and a title. I then create a new transition for each sprite that I wish to use a fade effect on, and give it a title ...Show All

  • Windows Forms Delete a row programmatically in DataGridView

    How can I delete a newly added row with code in a DataGridview I cannot find any delete method in any of the features of the DataGridView. I test for correct data in the _RowValidating event that sets cancel to true. But when the user leaves the row without correcting the value, I set e.cancel = True. But the row is still there with the invalid value in one of the cells. I want to delete the row if the data are not correct and the user navigates away from the row. Can this be done Is RowValidating event the correct place to do the delete How and where should I do it The DataGridView is bound to a binding source which is in turn bound to a datatable. There is no delete method in the binding source and the record does not ex ...Show All

  • Software Development for Windows Vista Using a Workflow by a Windows and a Web Application at the same time

    Hi Everybody, I just saw many Web Casts about WWF and I'm wondering is it possible to start the first activity of a Workflow by a Windows Application then doing the second Activity by a Web Application. I think it is not possible in the case where both Windows and Web applications must share the Same Workflow instance. Mybe there is a possibility to do that by using a Web Service by instantiating the Workflow on it then pass the reference of the Workfow by a Web Method. Thanks For Help. The Hands on Labs can be found here (updated for June CTP/RC): http://www.microsoft.com/downloads/details.aspx FamilyId=2E575633-E357-4EE7-AAFF-34138F00E830&displaylang=en If you want to run ...Show All

  • Visual Studio 2008 (Pre-release) svcutil and collections

    As I found here and also in several posts in this forum, it is possible to generate generic lists instead of arrays with svcutil. But I can't gettin it work! I try 1:1 the same call like in the mentioned example and get the error-message: Error: No type could be loaded for the value System.Collections.Generic.List1 passed to the /collectionType option. Ensu re that the assembly this type belongs to is specified via the /reference options My command: svcutil http://localhost/rms/rangemanagementservice.svc /r:"C:\Windows\Microsoft.NET\Framework64\v2.0.50727\System.dll" /ct:System.Collections.Generic.List`1 Thank you Dani very strange... I always tried the command in PowerShell - with the result I m ...Show All

  • Smart Device Development Aligning the TextBox to right?

    Hello How can I set my textbox as right aligned InitializeComponent(); m_adetTextBox.TextAlign = HorizontalAlignment .Right; I have add this line after InitializeComponent(),but it does nothing... I have found a way of WINAPI for Button controls.I tried and it works for Button controls but not for TextBox controls... so, what's the way of aligning the textbox to right Thanks in advance. You need to make the textbox multiline and only then can you (apperently) change the alignment of the textbox. I have just tried this, and if it is a singleline textbox, you only have the option of aligning it to the left. When you switch to multiline, you get the list of the rest of the alignment properties. &nbs ...Show All

  • Visual Basic Filecopy Statment

    I'm making a filecopy program to copy a .rar file to my USB pen, it is a big file and i would like to know how i could make the program tell me when the filecopy is finished, like writing to a label saying file copy complete or something, where the code i have so far Private Sub CopyCMD_Click() On Error GoTo ErrorHandle FileCopy "\pictures.rar", Combo1.Text & "\mypics\pictures.rar" Exit Sub ErrorHandle: MsgBox "Please make sure you have choosen the correct drive and you have your USB in the USB Slot, click ok and try again." End Sub Private Sub Form_Load() Combo1.AddItem "c:" Combo1.AddItem "d:" Combo1.AddItem "e:" Combo1.AddItem "f:" Combo1.AddItem "g:&q ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Grid using triangle strip?

    Hello, sorry if this is a stupid question, but I was wondering is it possible to draw grid of triangles using triangle strip instead of triangle list I guess you can do this by turning culling mode off, but I was wondering is it possible to do with culling on Thanks, ErnisJ thanks guys! I think for now I will use triangle lists and later on if there will be real need I'll try triangle strip as well. ...Show All

  • Visual Studio Express Editions Create Stand-Alone App From Word Macro

    I have a word macro that finds some text and changes it. What I want is to create a simple VB Express app that has a text box and a button. When the button is pressed the text that is inside the textbox is changed by the macro. What is a good way to do this Any tips or pointers would be very helpful. :) Thanks. Yeah, I shouldn't have said anything about word. :( All i wanted was a program with a textbox and button, when the button is clicked "x" is changed to "y". What i have so far: CODE REMOVED This does change "x" into "y" but what i need now is to add a TAB mark and Paragraph mark after "y". I know when creating word macros you can use "^p" and "^t" but I don't know where to place it here. Thanks for ...Show All

  • Visual Basic DataTables & Column Expressions - How to create a running total?

    Hi I have successfully written code to import financial transaction data to an access database.  I need to now display the data on a form but also am required to create a running balance column (similar to a bank statement).  The user will only be able to read the data since no ADD/EDIT within the DataGridView is allowed. Here is my code ... Dim dbcommand As OleDbCommand Dim DataReader As OleDbDataReader Dim myTable As New DataTable myTable.Columns.Add("Account", GetType(String)) myTable.Columns.Add("Date", GetType(Date)) myTable.Columns.Add("Type", GetType(String)) myTable.Columns.Add("Description", GetType(String)) myTable.Columns.Add("Amount", GetType(Double)) myTable.Columns.Add("Total", GetType(Double), "Amount + ...Show All

  • Smart Device Development SetTimer not working ..Callback not coming

    I am using SetTimer for timer callback functionality. I tried SetTimer(lHnd, TIMER_GENERIC, 4000,NULL); and i listen fro WM_TIMER message in WndProc of my application .. I also tried . SetTimer(lHnd, TIMER_GENERIC, 4000,(TIMERPROC)MyTimerCallback); but neither of them works ..I never get a call back Any help will be appreciated Do you have a GetMessage/DispatchMessage message pump running Do you have any other messages being processed by you WndProc Is your application single or multi-threaded   Thanks  Tony Kitowicz, Microsoft ...Show All

  • Smart Device Development namespaces

    hello, for connecting to the sql server , iam using system.data.sqlclient namespace. In that iam instantiate the sqlconnection and with that iam calling some objects. so, is it possible to know , how they wrote code for sqlconnection , if so, pls tell the procedure/ atleast suggest me where i can found it.. thanx Hi You can read the written code generated by designer in the Partial class of the Windows Form . And it write the code with the help of Designer, UI Type editors, and Collection Editors. You can also write UI Type Editors for your components and Controls. Hope that it will help ...Show All

  • Windows Forms Tabcontrol and pages

    hi i am using TabControl with 03 pages and i would like to just show one page of the 03 page when i click in button.can that be realised because i tryes without success and how if that possible Chris Dunaway wrote: Hide and Show do not work for Tab Pages. Is this a known issue I believe you, but I'm surprised not to see any mention of this in the documentation. Does TabPage simply implement Control.Hide() or Control.Show() by doing nothing ...Show All

  • Visual Studio Team System Who a risk would be assignated?

    Hi Our team have a risk of knowledge deficiencies in a thecnology, i'm writing the risk but I have several doubts ir orden to choose the person to assignate this risk. Who would be the person Several persons in our team has deficience Thanks in advance Javier In your case, a risk would be written and tracked for each person. That way, if one person took some training, it might reduce that person's risk while (i.e., probability=low) while not affecting the others who had not taken training. ...Show All

©2008 Software Development Network