Software Development Network Logo
  • Visual C#
  • VS Express Editions
  • Game Technologies
  • Visual Studio
  • Windows Live
  • Microsoft ISV
  • .NET Development
  • Windows Forms
  • Architecture
  • Visual FoxPro
  • VS Team System
  • Visual C++
  • Smart Device
  • Windows Vista
  • Visual Basic

Software Development Network >> Kazu T's Q&A profile

Kazu T

Member List

Mohamed Barakat
arpan_1234
RossAu42
Scott Phibbs - MSFT
Dipali
Nagendra Kumar
RJHarris0
topgun2710
Sentinel_13
Moguls
ShaneBough
Ohako
Michelle Cheng
RussB
Thirsterhall
Kapil
Roberto Juca
Francois-Regis Colin
jlowery
LemX
Only Title

Kazu T's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. Stretch texture

    Based on the following code that uses a Sprite and Texture to draw a textured square... _sprite.Begin( D3D.SpriteFlags.AlphaBlend ); _sprite.Draw( _texture, new Rectangle( 0, 0, (int)_width, (int)_height ), new Vector3( 0.0f, 0.0f, 0.0f ), new Vector3( (int)_left, (int)_top, 0.0f ), Color.FromArgb( 255, 255, 255, 255 ) ); _sprite.End(); ...I am confused as to what part of this code I can change to stretch my texture horizontally or vertically. According to intellisense, the call parameters break down as follows: the texture (obviously), the area of the texture that ...Show All

  • Windows Forms Change UI Culture after Usercontrol or Form is loaded and displayed

    Hi! I need to change the current thread's UICulture and somehow reload all resources after a form or control is loaded and displayed. Is this possible Thanx, Dimitris It's very difficult to do this using designer generated code, because everytime you change your UI, the designer regenerates code.  What you would have to do is copy the InitializeComponent code to another method and call it each time you need to reload the user interface.  ...Show All

  • Software Development for Windows Vista Random reboots with 5270

    When I first installed, it worked fine for a while, then I started having random reboots, I turned off Restart from System but that did not help, I would like to get to the dump file to see if that has a clue, but I cannot find the minidump folder even though I set Search to not hide system folders. My setup is multiboot with Windows XP and Server 2003 on seperate partitions. I don't have these random reboots with XP or server. Thanks for any help. When you disable Automatic restart in System that does not work, but if you press F8 during boot and select the Disable the Automatic restart option it works for ...Show All

  • Visual FoxPro MSComctlLib.TreeCtrl.2 Problem

    Working with the treeView Control I ran into an unexpected problem. It appears to be impossible to collapse a node branch programmatically. Collapse is an event, not a method and when I tried to use it as a method I could not get anywhere. I also tried to employ DblClick with the same negative result--the tree does not budge. Aside from Collapse I will need Expand as a method not event, although I am using it as even already. The expansion perhaps can be best accomplished by THIS . Nodes . Item . EnsureVisible Questions: (1) Is it true that this control has no such capability (collapsing nodes programmatically) or I am doing ...Show All

  • Visual Basic Visual Basic 2005 Express Beta 2 vs. Visual Basic 6.0

    Is the Visual Basic 2005 Express Beta 2 better than Visual Basic 6.0 or completely different Hi, Yes, your right. There are some differences in a VB6 approach to the VB.Net (code-wise). The .net approach is object-oriented, that is you'll have to work with tons of objects to achieve something. There are some VB6 codes that is shorter than its .net equivalent and some the other way around. VB6 has its strengths, but for me, the approach that I preffer would that be of the .net approach... cheers, Paul June A. Domag ...Show All

  • SQL Server Seems SCOPE_IDENTITY() returns @@identity+1 in SQL 2005

    hi, In SQL 2005, seems SCOPE_IDENTITY () will return the next available identity key. This is different with SQL 2000, anybody knows why Microsoft change like this Thanks Bill I hope I am not telling you to suck eggs here, but nore that SCOPE_IDENTITY () returns the last identity field created in the current scope, not the last identity field returned period. Other than that, I am not sure why you are getting that. Try comparing SCOPE_IDENTITY () with the value of @@IDENTITY. If SCOPE_IDENTITY () is one more than @@IDENTITY, then this is your problem. HTH ...Show All

  • Windows Forms AppUpdater Not Working

    Anybody else had any troubles getting it working   I've got the folder in IIS set to allow directory browsing, but after AppUpdater.DownloadUpdate() is called, I get this error... 5/10/2004 6:02:47 PM:  UPDATE FAILED with the following error message: System.Net.WebException: The remote server returned an error: (501) Not Implemented.    at Microsoft.Samples.AppUpdater.AppDownloader.Download() &n ...Show All

  • Visual C# Running external executables from C#.NET (2005)

    Is there a way to run an external .exe from within a C#.NET app Obviously, the shell is a vb deal... Dwaine try { string applicationPath = @"c:\MyFolder\MyApp.exe"; Process.Start( applicationPath ); } catch ( Exception caught ) { MessageBox.Show( "Error while starting application.\r\n\t\nDetails:\r\n" + caught.Message ); } ...Show All

  • Windows Forms Automating input to GUI screens in Custom Actions

    I created a Deployment project in VS 2005 that has a custom action. The custom action creates a windows form that has a couple of text boxes in it. The user fills some values (e.g., a database connection string, username) in these text boxes (which already have some default values), clicks OK, and the installation continues. Now, I want to install this application from the command line (using msiexec) without any input from the user. Effectively, I want the installtion process to "click the OK button by itself" when my custom action pops up the form. How can I achieve this without creating my installer again Thanks, Adrigo ...Show All

  • Windows Forms Docking & anchoring two windows

    I have a form where there is a gorup having some radio buttons at top. Below it there are two multiline text boxes side by side. I want to dock these text boxes in suck a way that if user change size of window, size of both text boxes will change accordingly and in same proportion. Could any one have an idea to how to do it. This is default behaviour for the SplitContainer from .NET 2.0. Are you using .NET 2.0 1. Put a SplitContainer on the form 2. Put the textboxes on the left and right panel 3. Dock both of them to full 4. Anchor the SplitContainer or dock it as you like. 5. If necessary, set the SplitterWidth to a smal ...Show All

  • Visual Studio Team System Source code control with documentation?

    Hi all, Can someone tell me if our UML documentation for versions of source code can also be controled and stored within TFS Thanks To be totally clear, TFS does not care what kinds of files you store in source control. The only differences I can think of: old file versions are stored in SQL as diffs. binary file diffs are computed with a different algorithm. by default, files with extensions known to signify common binary filetypes will be exclusively locked when someone pends a change on them. You can configure this behavior in the Source Control File Types dialog. when you add a file, T ...Show All

  • Software Development for Windows Vista While() activity a cpu hog

    I have a While activity that is driving a custom activity I created. Everything runs fine except it is running the cpu at 100%. I tried a short sleep in my custom activity to see if that would free up cycles. It didn't. I also dropped the thread priority for the workflow, but that didn't seem to matter either. I'm not a thread expert, so I'm out of ideas. Can anyone give me suggestions Thanks, Matt Hi, I could reproduce the same using both a Workflow using a while activity and a regular console application that was using a while loop. However, in both cases, if I started up other applications or pe ...Show All

  • Windows Forms What is going on behind the scenes for Bitmap objects?

    There is obviously a lot of stuff going on behind the scenes for Bitmaps that isn't discussed very thoroughly in the documentation. My latest problem with this is with an app where I draw a bunch of triangles at different orientations with various pieces of a source image on each triangle.  To do this, I am using a TextureBrush to draw each t ...Show All

  • Visual C# Constructor does not work the way is should

    Hi guys, I am trying to build a multithreaded port scanner this is my first attempt to program in c#. But my OOP knowledge does not really apply to c#. I have this error which probably anyone can solve but me. I get an error "Method name expected" here is the line that causes the error myThreads[0] = new Thread ( new ThreadStart ( new ScanPort ( "127.0.0.1" ,idx)));  The problem is in the (new ScanPort"127.0.0.1",idx); idx is an integer and scanport is a public class of mine. Here is my scanport class public class ScanPort { String IP; int PORT; public ScanPort( String myip, int myport) { IP = myip; ...Show All

  • Microsoft ISV Community Center Forums CRM 3.0 doesn’t save my settings

    Hi, I’m having another problem in CRM 3.0. When I change any setting in the CRM system, everytime that I clicked in the OK button it should save my new settings and that’s not happening. How can I solve this Thanks, Per our support engineer: Would you please tell us where you changed the settings that were not saved There are lots of settings in CRM 3.0. So we need to know where is the problem. J Please provide the steps to reproduce this issue and I'll make sure that it gets back to the engineer. -brenda (ISV Buddy Team) ...Show All

©2008 Software Development Network