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

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

BigAl_NZ

Member List

Sorin Sandu
Todd Biggs - Windows Live
Joe Hatfield
pak1234
A-Style
ozhonetech
JockForrester
Kent Boogaart
JennyMQuinn
JackStri
Sjas
creaturita
Doug Peck
h1
Nick Gravelyn
T72
haba
RickKr
Andre Odendaal
Jessica Alba
Only Title

BigAl_NZ's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. Bug where it becomes impossible to save your files

    Hi all, Has anybody encountered a bug where somehow XNA game studio express doesn't allow you to save your files I've encountered it once (and I forgot the message it popped up unfortunately), but I thought it was a one-off thing. Then a co-worker told me he got it quite regularly when starting and stopping programs. Just wondering if this is something that more people are experiencing. At the time I had two XGSE's open, one with my (saved) project, and one with a temporary spacewar project. Unfortunately when I was trying to repro this bug, I couldn't get it to do this again. My co-worker gets it when editing files while the program is running. Cheers, Nick Waanders This occurs in C# Express correct This ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. mesh clone and dispose bug

    this is a strange one... Mesh mesh = Mesh.FromFile( "tiger.x", MeshFlags.SystemMemory, device, out materials ); Mesh newMesh = mesh.Clone( MeshFlags.Managed, mesh.VertexFormat, mesh.Device ); mesh.Dispose(); // Dispose the original newMesh.Disposed == true <--- what -- the new one is now also disposed mesh.UnmanagedComPointer and newMesh.UnmanagedComPointer are not equal what going on here ob. the original and the cloned are referenced somehow... Its a known bug that I reported years ago that apparantly never got fixed. If I remember correctly if you set Device.IsUsingEventHandlers = false and do all the event handling yourself this problem goes away ...Show All

  • Windows Forms Arrow Keys on a User Control in .Net 2.0

    If I have a form and want to trap keyss, I can use the KeyDown event to trap and detect which keys are used. This includes the arrow keys. However when I want to do the same with a UserControl placed on the form, all keys are detected except the arrow keys. 1.Why do the arrow keys not generate the even on a UserControl 2 Is there a way to make arrow keys generate an a KeyDown or KeyPress event on a UserControl 3. If not, what event if any is generated by the arrow keys on a USerControl Thanks Steve Make sure the CanFocus and CanSelect return True for your control. To get that, you need Visible = True and Enabled = True. ...Show All

  • Visual Studio Express Editions problem with assigning values to cells in excel

    Hi. VB don't want to asign values to excel cells, this is my code: Dim oExcel As New Excel._ExcelApplication Dim oWorkbook As Excel.Workbook = oExcel.Workbooks.add oExcel.Visible = True oWorkbook.Worksheets.Add() Dim xlws As Excel.Worksheet = oExcel.oWorkbook.Worksheets.Item(1) xlws.Cells(1, 2) = "Number" Please help me!!! Any sugestions now everything is fine but when I want to create that excel file error apperas in this line: Dim oWorkbook As Excel.Workbooks = oExcel.Workbooks.add ...Show All

  • .NET Development programmatic access to sqldatasource dataset

    i'd like to take advantage of all the benefits of the new sqldatasource control to do quick queries & bindings, but also retain the flexibility of the previous ways of data access (i.e. sqlcommands/sqldataadapters) to fill datasets. is there a way to have programmatic access to the dataset that is filled after a sqldatasource queries a db i dont want to display all the columns queried in my gridview, but i want that data available for further manipulation without having to run another query. am i going about this the wrong way, or have i just not stumbled upon the solution thanks, david Hi David, Did you take a look at the method SqlDataSource.GetView method This method returns the underlying S ...Show All

  • Visual Studio Express Editions Browser waiting

    I'm trying to put together a relatively simple script for a webbrowser game that provides a service in-game by interacting with the site and doing some stuff with the material within it. I have gotten around most of the problems of how to make it work, but there's one thing that I don't know how to do properly: making the script wait for the browser. In short: I'd need some way of making the script check that the browser has finished downloading the page before attempting to do anything else. Here's a snippet of what I currently have: Public Sub Form1_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) _ Handles MyBase .Load WebBrowser1.Navigate( "http://www.WEBSITE.com" ) End Sub ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. DreamBuildPlay is up!!!

    Now go register!!   Actual contest details to come the week of Feb 5th Plese, Someone at Microsoft.... the drembuildplay site, even though the competition should be global, does not allow non-US people to register. I don't live in the U.S., so I can't choose any state, the zipcodes in my country are 6 digits long, and the telephone numbers are not in the US format.  Edit: didn't see errolian's post before i posted this. P.S. did I mention I passed from neutral state, to exalted state and then down to low-morale state in about 2 minutes .... does this make me emotionally unstable ...Show All

  • Software Development for Windows Vista Host

    Hello, I want to use WF for Workflows with Navision. I have some questions concerning this: 1) How could the worklfow be enabled Are there some standard-options of WF I thought about using a COM-Object in the C-Side/Navision. Or to use a SQL-Command in Visual Studio to check, e.g. a new item was added to a database. 2) What kind of host would you suggest A Windows Service If I use a Windows Service, how does that know, if a Workflow has to be started 3) Is there a kind of events in WF, that can start hole Workflows thanks, kindly regards, Matti At a high level, you really have two choices: host in Navision, or host in an external process. I'm not familiar enough with Navision to know ho ...Show All

  • SQL Server Slow VS2005 performance while designing reports

    I'm designing SSRS 2005 reports in VS 2005 Professional Edition. I have 2 performance problems that make me really angry: 1. Designing reports takes so long! After each click I have to wait a couple of second, the more complicated the report is, the more time I have to wait. The processor is on 100% during this "waiting". I don't know what he does, maybe updating the .rdl file after each change. But it's really horrible! Right now I'm designing a report for my customer with about 10 data regions and only 30% of my time is designing it, the rest I just sit and wait. 2. Dynamic hiding of solution explorer tab Terrible ! maybe 20 seconds until it hides! Please help! Do I need a fix or is it a common issue I haven't f ...Show All

  • Visual C# System.Char[] question

    I am running a continuous download of records from a server. To monitor the progress I use a progress bar and at the same time I send symbols to a RichTextBox via an invoker. The symbols are just added to the previous content with a single space separating them. It is a continuous line for symbols but they are wrapped around in a small window thus I see about 6 symbols per line. At certain time I need to start a new paragraph, so to speak. I decided to send this character: char [] CR = new char [ 13 ]; to the textbox: Then the first symbol of the next paragraph is combined with CR like this: CR+symbol. Instead of getting a new line I get this in the window: System.Char[]ABCD where the ABCD is one of the symbols. In othe ...Show All

  • SQL Server Deleting an entry during run-time

    I am trying to delet a row duing run-time but everytime i go to save the program I get an error message saying: "Update Requires a valid DeleteCommand when passed DataRow collection with deleted row. Anyone any ideas hi, this problem would be probably better answered in .Net forums, as this seems to be related to your actual .Net code, VB or c# or the like.. anyway, you should provide the adapter you are using to submit changes with the appropriate DeleteCommand .. regards ...Show All

  • Windows Forms form's paint event not working

    Hi, I'm trying to create a splash screen with wait message. If i place any controls it's not displaying completely. Like half of the ctrl is hiding behind the controls in the parent form.So then i thought of writing a meesage in the form.But this procedure is not writing anything in the form. Private void frmCertofNeed_Paint( object sender, PaintEventArgs e) { String s1; s1 = "Please Wait data Loading" ; Font fnt = new Font ( FontFamily .Families[0].Name, 12, FontStyle .Bold); e.Graphics.DrawString(s1, fnt, Brushes .Black, 10, 10); } Please help me with this. Thanks Venp To properly write and implement a splash screen while you perform functionality in your ...Show All

  • Software Development for Windows Vista Send SCSI Command Fail in Vista

    I have the following code sending SCSI rite command(0x2A) to USB Pen Drive in thw Vista. It can work well in the windows XP, but do not work in thw Vista. But DeviceIOControl return the fail and getlasterror is 5(Access is denied). Any one knows what , I am doing wrong void SendWriteCmd(void){ //// 1. Get Disk Drive Handle HANDLE hDevice = ::CreateFileA( AnsiString(" \\\\.\\F:").c_str () , GENERIC_READ | GENERIC_WRITE , FILE_SHARE_READ | FILE_SHARE_WRITE , NULL , OPEN_EXISTING , FILE_ATTRIBUTE_NORMAL , NULL ); if(hDevice == INVALID_HANDLE_VALUE){ ShowMessage("CreateFile() Fail."); return; } //// 2. Initialize Data Structu ...Show All

  • Visual Studio Express Editions play a sound when i press a button

    Hi all... Can i make C:\Windows\Media\Windows Error.wav play just once when i click a button Ive seen examples where it executes a shell, but it opens the sound in the default sound app like media player... But thats not good, is it Thanks, James. Use this simple method to play WAV files : Dim TempMedia As New System.Media.SoundPlayer( "C:\Windows\Media\Windows Error.wav" ) TempMedia.Play() ...Show All

  • Visual C++ WINDOWS.H already included

    ------ Build started: Project: testfile, Configuration: Release Win32 ------ Compiling... main.cpp C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\include\afxv_w32.h(16) : fatal error C1189: #error : WINDOWS.H already included. MFC apps must not #include <windows.h> How do I fix this problem Yes. I've found the solution, After removing all #include <windows.h> from the files in the project, I've added #include <afxwin.h> instead. Thanks, Yossi ...Show All

©2008 Software Development Network