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

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

Mazeno

Member List

Nick-au
RPagels
Edmund
baskark
unsigned int
Phatriff
drdexter33
H_Flow
DaveW2
LSS
sevenlayercookie
Ayukawa
WillTurner
ElliotHC
Michael Collins
Jon Stroh
ROBSR
aquaseal
Promit
Sorcerer14
Only Title

Mazeno's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. Vector maths methods...

    Following a long day of writing and debugging some nasty rigid body physics code, and feeling the pain of the maths library I have to use for this C++ work, I thought I'd take another look at the XNA maths code to see if the results would be more readable (as you might hope ;). ... But my quick look at the framework docs seems to show more deficiencies than in the code I have been using all day... 1/ There is no Point3 class. This is a real pain as libraries that don't distinguish points and vectors are a right pain - transforming a point by a 4x4 matrix will result in a different result to transforming a vector. (And I don't want to resort to coding every point/vector as a homogeneous coordinate either!). There appears to be a ...Show All

  • Visual C# Threads stop with no error before completing work, any ideas?

    Hi, I have a VB.Net C# program that has multiple threads. For the program to finish it would take about 2 - 3 days so I leave the program running overnight. When I come back in the morning, no errors appear on the screen but the threads are no longer running. Anyone have an idea on why this is happening Do threads have a maximum run time What would be the best way to counteract this Thanks AussieGuy Most likely an exception has silently terminated the threads. Wrap the threads in a try/catch and report any exceptions, which may help to get to the bottom of it. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Do render targets have to be the same size as the back buffer?

    Hi, I have a render target set up as: screenBuffer = new Texture2D(graphics.GraphicsDevice, 1280, 720, 1, ResourceUsage.RenderTarget, SurfaceFormat.Color, ResourcePool.Default); When the back buffer is set to 1280,720 (the same size as the render target) the code below works and the screen displays a blue background as expected. //Set device to render target graphics.GraphicsDevice.SetRenderTarget(0, screenBuffer.GetSurfaceLevel(0)); graphics.GraphicsDevice.Clear(Color.Blue); //Set the render target to the back buffer graphics.GraphicsDevice.SetRenderTarget(0, graphics.GraphicsDevice.GetBackBuffer(0, 0)); graphics.GraphicsDevice.Clear(Color.Gray); //copy the (scaled) screen buff ...Show All

  • Visual Basic numericupdown problem

    How to make a numericupdown control to have the range between 10-2000 in step of 10...and 2000-9900 in step of 100 the code bellow worck's, but with one bug....for eg, if i have 2000 value....and i go down...he go on 1900 value...and i want 1990(if i go up again worck's fine) is posible to make that i search an event ho tell'me in witch way i'm click(up or down)...but i don't find...so, please help'me. tank's (p.s.:the value 1900 is correct...but the value 2010 is not correct....) Private Sub NumericUpDown1_ValueChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles NumericUpDown1.ValueChanged If NumericUpDown1.Value >= 2000 Then NumericUpDown1.Increment = 100 End If If NumericUpDown1.Value < 20 ...Show All

  • Windows Forms ListBox text alignment w/decimals

    Hello out there. Populating listBox easily with Tostring. However, my decimals do not align neatly. For example: Item name Item Number 100.22 item name2 Item Number2 100.0 Item name3 Item Number3 100 How can I align numbers with two decimal places in a listbox thanks cPrince don't use right To Left property, this is intended for special languages. Use the .. i think it's "align" property instead :) ...Show All

  • Visual Studio Express Editions How to send an E Mail from an Application in C#

    Hi every body, I want to send an E-Mail through my C# application. How can I do that. Please help me out. If possible please give me the coding exapmples. Thank you, Ravinder Reddy. K also take a look at this: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=760457&SiteID=1 you need to have a valid SMTP server to send emails through, for example some ISP's give you email accounts and allow you to programmatically use their SMTP server to send emails, or via your hosting provider or say from bluebottle.com remember - you need to pass credentials of your email account to the SMTP Serve ...Show All

  • Windows Forms creating a dataview

    I need to take a look at the content of some DataTable(s) I download from SQL Server in a purely debug situation. I decided to use DataView object for it. I improvised the following code: DataViewManager mng = new DataViewManager ( sqlDatSet ); DataView dtview = mng.CreateDataView ( sqlDatSet.Tables[jj] ); dtview.BeginInit ( ); The jj integer is the index of a particular DataTable in a DataSet and is found in a for loop. I expected a primitive form with a Table View displayng my records to show up. Is it not a reasonable expectation Nothing like this happened. The DataView remained an internal object. If I cannot get a good look at what is present in the tables I download I will be facing a cumbersome task of printing the stuff ou ...Show All

  • SQL Server Database diagrams

    I have just installed SQL server Express and am trying to create a database diagram. When I right click on database diagram, I just get the options to use help or to refresh. There is no option to create a new diagram, Thanks, Sarah Express doesn't contain that option. You might try some of the freeware offerings to create database diagrams, or you can use Microsoft's Visio for Enterprise Architects. Buck Woody ...Show All

  • Software Development for Windows Vista Persistence and Serialization Error

    I have recently upgrade to the June CTP. I am experiencing an odd error when using the delay activity. Using SQL Profiler I can see that the call to "InsertInstanceState" passes a "status" paramter value of 3. What exactly is 3, is there a reference doc somewhere I can download to see all statuses In addition, the info parameter has the text, 'System.Net.Mail.Attachment'' in Assembly ''System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'' is not marked as serializable. I am using the EmailActivities provided on the WF site. I compiled them in VS2005 and added the activity to my IDE. Once my workflow completes the delay is supposed to email me. This never happens. Rather my workflow hits the d ...Show All

  • SQL Server SQL Service Pack 2 failure to install

    I am a member of the Administrators group, and there is plenty of space in all hard drives, plus the temp directory is open for "everybody" to full-control it. Yet the Service Pack 2 database engine fails, all other components upgrade fine. ---------------------------------------------------------------------------------- Product : Database Services (MSSQLSERVER) Product Version (Previous): 3033 Product Version (Final) : Status : Failure Log File : C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Hotfix\SQL9_Hotfix_KB921896_sqlrun_sql.msp.log Error Number : 29506 Error Description : MSP Error: 29506 SQL Server Setup failed to modify security permissions on file C:\Program Files\ ...Show All

  • Visual Studio 2008 (Pre-release) WPF = 50% C# + 50% XAML?

    for the past 6 weeks ive been working with wpf applications and i still cant quite get my head around what i should and shouldnt be doing with xaml ! i think my point is best explained with the project i'm working on at the minute - a graphs package. from my understanding xaml is essentially the UI, ie how pretty and nice it looks, correct or is it much more than this i'm using polylines to draw each line. now i'm using them in xaml because the binding works lovely :-) however although they are part of the UI in the sense of being visible they are not part of the UI in the sense of how nice it looks (the look and feel) of the application. I feel as though i am spending alot of time 'trying' to create as much as possible of my application ...Show All

  • Visual Studio 2008 (Pre-release) Duplex federation

    As I understand it, to implement an STS I have to use a wsFederationBinding, and that only supports a request/reply message pattern. Is that right If that is so, how do I federate with a duplex message pattern Say I implement a trusted facade that exposes a login operation on a wsFederation binding to create the saml token and put the main service operations on a netTcpBinding. I assume the two endpoints will not share a common security context so the returned saml token won't be any good - yes That's clear thanks. I recall seeing other threads covering this, but could you quickly tell me this. Can I avoid CardSpace by having a login operation on an http endpoint with a WsFederationBinding that creates a dur ...Show All

  • .NET Development SqlCommandBuilder

    The general part of my question is how do I speed up the updating of the SQL Table using SqlCommandBuilder after I have made changes to the DataTable As far as I know this is the best way to write the updates back to the original table. I am usually doing 100K records at a time and it can take upwards of 6-12 minutes. I find that the updating of the DataTable is fairly quick, however the updating of the SQL Table is the bottleneck. In my sernario I am dynamically using different incoimg tables all the time. I loop thru and do the work necessary. When that is all done, I run the following code: Dim builder As SqlCommandBuilder = New SqlCommandBuilder(objMatchCt1da) objMatchCt1da.UpdateCommand = builder.GetUpdateCommand objMatc ...Show All

  • Visual Studio VISIO 2003 and display of cyrillic letters (Russian)

    Hi all, I have to integrate some already translated technical descriptions into Visio (flow chart embeded in Word) with which I am having some problems. When copying the translated description into Visio I can read the cyrillic letters without any problem, however, when returning to Word to carry out the next "paste and copy", the already copied description is displayed under Visio with "question marks". If I reenter the "cell", I am able to read the cyrillic letters, upon returning to Word, I again only read " ". Digits etc. are displayed OK. Am I overlooking something How can I make Visio display the correct cyrillic/Russian translation Word version is Office 97 SR 2, Windows version ...Show All

  • Windows Forms Problem in DataGridView

    I have created my own custom datagridviewcell which supports richtextbox and maskedtextbox properties. But these properties will come only at the edit time. For example if the color of the text is set as red in richtextbox, it will be shown as red at the edit time. Once i go to other cell it will be shown in black colour. Also in masked text box if the mask is set as shortdate then only at the edit time it will show like "__/__/____". Remaining time it will not show text like this. Can anybody tell me solution for this. (i.e., I want to show coloured text and "__/__/____" format in datagridviewcell at normal runtime, not only at edit time) Hello Wang Chi, My DataGridViewCell Class and it's editing control Cl ...Show All

©2008 Software Development Network