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

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

DGMoffat

Member List

oykica
Jorid
Thomas Pleasance
donkur
clint 2
Gpg
X4U
riemerg
davep1553
Narendran
jamba8
Nevin
Sime24
SRCarmy
Supriya Admulwar
jtaylor42
espirit
hmayer
Kursat Konak
sectorFive
Only Title

DGMoffat's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. Humorous but somewhat serious question about XNA

    Microsoft has claimed the Nintendo Wii as a "kids toy;" however, if XNA can produce graphics and push performance up to what the Wii is capable of handling (games like Half-Life, Sims 2 from most XNA performance claims), does that mean that XNA is a kids toy too Where did you see this claim from MS As for performance have you seen the XNA Racer video That's using only one of the 360's processors (from what I understand). There's no question that the 360 can outperform the Wii. The Xbox can probably outperform it, although I don't have the specifics on the two sets of hardware. You're comparing apples to oranges with the Wii to XNA comparison. If you were to change XNA to 360, the comparison would ...Show All

  • SQL Server Having Problem with SQL Express 2005

    I just started working with sql server 2005 and i have a windows-based application in C# with an attached sql server database file.Everything is ok but i don't know if i can create a password for that database. there is no IDE for sql server 2005 like Enterprise Manager in SQL Server 2000 to do such things(Creating roles,passwords,...).In my computer I've installed VS 2005 Professional and SQL Express.I think i should do all thease thing with system stored procdures right But it's really boring do all those things without an IDE. Thanks in advance. If you have a look at the following link you will find a download for SQL Server Management Studio Express, this is an IDE based of the full manag ...Show All

  • .NET Development Ftp Upload File

    This is my code snippet for file upload. The problem is after all the bytes are written on the server, while doing requestStream.Close() I get error as underlying connection was closed. FtpWebRequest request = (FtpWebRequest)WebRequest.Create(serverUri); request.UsePassive = false; request.Method = WebRequestMethods.Ftp.UploadFile; request.Credentials = new NetworkCredential("xyz", "xyz"); Stream requestStream = request.GetRequestStream(); const int bufferLength = 2048; byte[] buffer = new byte[bufferLength]; int count = 0; int readBytes = 0; FileStream stream = File.OpenRead(fileName); do { readBytes = ...Show All

  • Visual Basic Problem with MSComm ...URGENT !!!

    Hello Friendly ... I want to consult them for the following, I am trying to sell off a simple phone answering machine, than upon detecting the RING execute me a program exe; But I find myself to go into the routine of execution does it 2 times. The first when you detect the RING ( perfect ) and second time the moment that the communication is cut short. ( this I do not want it ) I leave the simple code of example to see if they can help me to them ... ................................... Private Sub Form_Load() ' I ASK AROUND IF THIS once the MODEM'S PORT WAS OPENED If Not MSComm1.PortOpen Then MSComm1.PortOpen = True If Err Then Exit Sub End If ' I REPORT THAT HE ANSWER AT THE FIRST RING MSComm1.Output = &qu ...Show All

  • Windows Forms VERTICAL MENU - HOW CAN I DO IT???

    Hello, I need to do a vertical menu, like use Outlook on the left There is any control for to do it on the framework Thanks a lot The framework doesn't come with one built in but you can easily make your own or use someone elses: Outlook Bar Control An Outlook Bar Implementation Cheat's Outlook Bar ...Show All

  • Visual Studio 2008 (Pre-release) OneWay exception close the connection

    Hi, If I call a service method that is "OneWay" and it raise an exception, WCF close the communication. Is it correct I found it because sometime my client was disconnected...after review my code I see a bug that raise an exception in "OneWay' method...after fix the bug and no more exception in the method my client work fine. Regards, Alexnaldo Santos What is your exact issue here Is it that the channel throws on subsequent calls to the client channel Is your binding net.tcp Some more details on IsOneWay are available at http://kennyw.com/indigo/130 ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Problem with FX Composer generated .fx files and model position

    Ok, so I have model rendering working with custom effects thanks to the help of members here. The problem I have now is that if I use the effects generated by the FX Composer (Nvidia product,) my models always render at 0,0,0. Here is the code I'm using to render models with a custom effect called "SimpleEffect": public void DrawModel( int index, Vector3 trans, Vector3 rot, Vector3 scale, float aspectRatio, Camera camera, GraphicsDeviceManager graphics ) { int iMeshCount = 0; int iEffectCount = 0; Matrix world; // Sanity check if (myModel[index] == null) { return; } //Copy any parent transforms Matrix[] transforms = new Matrix[myModel[index].Bones.Count]; myModel[index].CopyAbsoluteBoneTransformsTo(tran ...Show All

  • .NET Development Problem Updating Access DB with manual code

    I have an excel file with customer information that needs to be added to existing table of customers in access. I have created an OleDbAdapter to grab the data from excel and add it to a dataset. from here I am stuck, how do i get the data from the "Table" in the dataset into the access database table The dataTable is not updated, therefore nothing is sent to the DB but there are no errors and the code runs to completion. Thanks. public frmCompleteImport() { InitializeComponent(); //Add connection string for OleDb connection to Excel spreadsheet. string xlConnectionString = @"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\GNWE ...Show All

  • Microsoft ISV Community Center Forums Need help with Winsocket control in Microsoft Access Database form.

    I'm trying to create a telnet session within my microsoft access form. I included the microsoft winsocket control and some text boxes to place the recieved data. The problem I'm having is I recieve data but it is all scrambled like yt%yy and it doesn't take any of my data I'm entering. The current telnet software I'm using is using VT101 emulation if that might have something to do with the scrambled info, but I dont want to use this software and Access. I would like to keep it all in one application if possible. I just need some help where I might be going wrong or any other idea's. Here is a sample of the code I'm using. Option Explicit Const EchoPort = 23 Private Sub cmdConnect_Click() Dim temp As String temp = ...Show All

  • Visual Basic Applying collor settings at startup

    Hi, Private Sub RedToolStripMenuItem_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RedToolStripMenuItem.Click Me .BackColor = Color.Red Me .StatusBalkAntwoord.ForeColor = Color.White Me .MenuStrip1.BackColor = Color.DarkRed Me .GeneralToolStripMenuItem.ForeColor = Color.White Me .StatusStrip1.BackColor = Color.DarkRed Me .ToolStripStatusLabel1.ForeColor = Color.White End Sub Private Sub GrayToolStripMenuItem_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles GrayToolStripMenuItem.Click Me .BackColor = Color.WhiteSmoke Me .StatusBalkAntwoord.ForeColor = Color.Black Me .MenuStrip1.BackColor = Color.LightGray Me .GeneralToolStripMenuItem ...Show All

  • Visual C++ Using hotkeys to select edit boxes

    Hi Folks; I've looked (and asked) everywhere and my resource-finding skills have proven wanting. My question is simple as is the answer I assume. I have a number of hotkeys registered in a Win32 app. Hitting those keys should set the caret in one of several text fields though I haven't found anything that shows how to do that. Any suggestions If you want to set focus to an edit control, you can use SetFocus (either the MFC version or the API version depending on your project). You may also want to use SetSel (MFC) or EM_SETSEL (SDK project) to further select a range of text within that text box. ...Show All

  • Visual Studio Report Footer

    As far as I know there is no Report Footer feature in MS Reporting Services. I'm trying to mimic it with playing with visibility option. There is a problem if I use page footer hidden content still occupies space so I should not use page footer but I can not find a solution to print something bottom of the page inside the body itself. Is there anybody implemented report footer any suggestion thanks, Harun# Any objects you place at the bottom of the report body will appear at the end of the report. Is that what you mean by a report footer -Albert ...Show All

  • Visual Studio Team System Microsoft_VSTS_Build_FoundIn issue

    Hello, I have the following question about the Microsoft_VSTS_Build_FoundIn field. We don't use the Microsoft_VSTS_Build_FoundIn field by Team Build, but the field is field by a list of Suggested values by hand when adding a new bug in Team Explorer. Now I want to create a report which shall use that field in a query. But what I see is, that this field is empty in all tables I found in the TfsWarehouse database. What might be the reason efor that or: Where can i find all that FoundIn values, so I can use it in a report. Thank you in Advance regards Rolf Cerff Hello Mauli, we now have a solution, because we have to use TeamBuild. The reason you can here: http://forums.microsoft.com/MSDN ...Show All

  • Visual Studio Help with Report Generation - Grid View!!

    Hello all, I have to generate a report in the following format: Name 1 Name 2 Name 3 Address 1 Address 2 Address 3 Name 4 Name 5 Name 6 Address 4 Address 5 Address 6 and so on.... can some1 guide me as to how to render reports like this Thanks in advance :) ...Show All

  • Software Development for Windows Vista RichTx32 merge module

    I have an application that uses the RichTx32 control, installed via the richtx32_x86.msm. On some machines running Vista, there's no error that I can find but the application claims the control is not registered on the machine. The other odd thing is that the machines where the failure occurs are all virtual machines (so far, anyway, but I have a hard time believing that makes any difference). Is there an approved way to get this control installed on a Vista machine No, there *is* something not right with Vista and the RichTxt32.ocx and RichEd32.dll. I don't know what, but in using Installshield 12 express, I don't see a redistributable that contains it (MSM file) and so I put the one from the ...Show All

©2008 Software Development Network