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

Software Development Network >> Maxim Karzaev's Q&A profile

Maxim Karzaev

Member List

Castro
Marius S
hazz
Tej51078
Kartit
Bor
pyeung
Xcel
Anand Raman - MSFT
Robert Hernandez
kevinwebster83
Ed209
baswegan2
dmk70
MagedSalah
Ace_Balasador
BillyDvd
Aleksandr Tokarev
Answer_ME
Greg Knierim
Only Title

Maxim Karzaev's Q&A profile

  • Visual C# C# components

    hello! how to use components which are not part C# tool bar. mean i downloaded XP progress bar from Code project and now i want to include it in my programme. what the way i will use You say "as usual", but in fact very many of the components on CodeProject are available in source code form. And the original poster said he got the component from CodeProject. So it's not a foregone conclusion that it will be in a DLL. If you have the source, as you often will from CodeProject, it's usually preferable to add that code to your project rather than packaging it as a separate DLL. Putting it into a separate DLL complicates deployment, as you've now got an extra file to ship. So if you have the choice, in most scenario ...Show All

  • Smart Device Development .Net Compact Framework version on T-Mobile Dash?!

    I just downloaded all the development goodies and am trying to write an app for use on my T-Mobile Dash. Got a few forms thrown together and want to check it out on the Dash itself so went through the CAB wizard and got it installed on my phone. When I try to run it on the phone (not the emulator) I get the following error: "This application requires a newer version of the Microsoft .NET Compact Framework than the version installed on this device." How do I figure out which version is on the Dash, how can I update it so my application runs That did the trick perfectly! Thanks a lot for your help, I really appreciate it ...Show All

  • Windows Forms BUG: TabPage not resizing/repainting properly

    Steps to reproduce:    Open up a new WindowsApplication    Add a SplitContainer to the form (Dock should default to "Fill")    Add a TabControl inside each of the two SplitContainer panels    Set both TabControls Dock properties to fill so they fill up each panel Now run the app and move the splitter around.  You'll notice that the client area of the tab pages are not fully repainted to fill the gaps left by moving the splitter.  You will also notice that other events like changing the selected tab or minimizing/maximizing the form causes the tab control to be repainted properly.  Please fix!  Using .NET Forms runtime version v2.0.50727. TIA ...Show All

  • SQL Server Datetime function glitch -- same settings, different results

    hi guys, i am encountering a pretty weird problem on our SQL database stored procs, particularly those concerning datetime functions. we have two setups, one is on london, and another one is here in singapore. both servers have the same regional settings, the same database tables, stored procs and functions, almost the same in every aspect. the only difference we know is that one is a direct database cut (sql 7.0), while the other used database migration in win2k. here goes: all stored proc functions work just fine on the singapore setup. the london setup however, is not working at all! it does all the functions like change flags and status, but it doesn't update dates nor search for data by date. i have also checked on the collision ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. I could use a clearer explanation of 360 garbage collection and performance monitor

    I bet others could, too. Are the numbers and timings in this article still accurate http://blogs.msdn.com/netcfteam/archive/2006/12/22/managed-code-performance-on-xbox-360-for-xna-part-2-gc-and-tools.aspx If I understand it, if my game has 100,000 live objects (a live object is any call to new a class that still has a pointer to it, right ), then I can expect a 15 msec hitch every time the GC is run, which if I'm trying to run at 60 will cause a visible stutter. According to the performance monitor, I'm currently facing a 23 msec GC. My game actually seems to be running surprisingly well if that's the case - are the garbage collections done on a different core Is there a number in the performance monitor that tells me how many live object ...Show All

  • Visual Studio 2008 (Pre-release) Scroll a ListView to bottom?

    I have a ListView that has to scroll to bottom on every item insert. Is this possible ListView displays scrollbars automatically when not all items can be displayed. If you are still having problems with this you might check out this xamlxaml.com entry which includes an example xbap and source code. ...Show All

  • Visual C++ strange output with atan2.....what does it mean?

    my line of code is: phi=atan2(n,e.x)+atan2(e.z,e.y); and it returns this: 0012FCE43.14159 does anyone know what this output is thanks! -sharyl Yep. That'll do it. operator<< on objects tend to output their memory addresses. Since file_op is on the stack, you got its address. ...Show All

  • Software Development for Windows Vista ACT 5.0

    Hi All, Just started to use ACT 5.0, need to test an custom application using the same. But we are unable to find any options in the toolkit. i.,e Is there any way to input a custome Application and obtain the test result for the same. It seems it gives the test result for all the application installed on the machine having registred. Is this correct Is ACT 5.o needs to be installed only in WinVista or in previous Window version like Winxp ,win2003 for the Application. Please help.. require urgently. Regards, Ajay Which tool in ACT are you trying to use If you are trying to add the application into the Application Compatibility Manager, you need to have the inventory collector pick this up - there ...Show All

  • SQL Server Insert stored procedure with output parameter

    Hello everyone. I need a stored procedure that excecutes a INSERT sentence. That's easy. Now, what I need is to return a the key value of the just inserted record. Someone does know how to do this Konstantin Kosinsky wrote: In you SP use: return SCOPE_IDENTITY() Then in C# code: comm = new SqlCommand ( "InsertANewRequest" , conn); comm.CommandType = CommandType .StoredProcedure; SqlParameter newReqNumber = new SqlParameter ( "@RETURN_VALUE" , SqlDbType .Int); comm.Parameters.Add(newReqNumber); newReqNumber.Direction = ParameterDirection .ReturnValue; try { // Open the connection conn.Open(); // Execute the command ...Show All

  • .NET Development Error in using Registry function in C#

    Hi, I am a beginner for C# program I want to write a program that is read the data from registry I have added " using Microsoft.Win32;" at the begining but when I try to start my code " RegistryKey rk = Registry.CurrentUser;" I meet the error "The type or namespace name 'CurrentUser' does not exist in the class or namespace 'Registry' (are you missing an assembly reference ) " Where does this error comes from and how can I solve it Thank you so much~ I have fixed the problem close the delete the project then create a new project.......... I don't know it work fine now hahahaha ...Show All

  • Windows Forms How-to change default publish.htm?

    I do not want to manually change my publish.htm everytime I publishes. After all if that is the case then the auto generated page just turn useless. How do I customize the default publish.htm Let's say I need it localized or something for example. So, it's not like we didn't think about it . We actually gave the most flexible solution we could imagine. We have given a sample, that you can modify or copy what you like to fit your needs. Unless you really want to have the version # in the web page, the links actually point to a .application file that is not versioned. So your page really doesn't need to update. It was useful to have it in the "sample" web page we provided for debugging a ...Show All

  • Visual Basic Checkbox and Option button in VB6 sp6 displayed in Black in Vista

    The Checkbox and Option button appears black in a form when running the compiled (exe) program in Vista Beta2 Build 5384 and I use a manifest file (Exename.exe.manifest) when running the program. I already adjust the Backcolor and the MaskColor property still it appears black where you cannot read anymore the text. Any solution or alternative to this. We're sorry but these fora are for Dot.Net software. If you have a VB6 question, please make use of the Visual Basic 6.0 Resource Center to find a solution to your problem. OTP ...Show All

  • Windows Forms Problem with DataGridView Cell Focus

    Hello, I have a Winform DataGridView (VB.NET, VS2005) with following columns - ItemID ItemName ItemDescription Qty Rate What I want to achieve is after user enters the value in ItemID I want focus to move to "Qty" column, I have tried setting the CurrentCell as - DataGridView1.CurrentCell = DataGridView1.Item("Qty", DataGridView1.CurrentCell.RowIndex) In CellEndEdit Event, here focus goes to Qty olumn & comes back In CellLeave Event, here it repeatedly enter in this event In CurrentCellChanged Event, Gives Error Pls help me in how to achieve this. Thanks in advance. It will go to the stated column only when the value is changed in the st ...Show All

  • Visual Studio Custom Tool in VS2005

    Hi, have some troubles creating a "Custom Tool" like "MSDataGenerator": I read the article found at: http://msdn.microsoft.com/msdnmag/issues/06/02/CuttingEdge/   and some of the linked articles too. So here are the steps i made in hardly 15 mins: 1. Create new VS2005 C# ClassLibraryProject called "MyGenerator" 2. Add reference to Microsoft.VisualStudio.BaseCodeGeneratorWithSite.dll 3. Implemented: "MyGenerator.cs": using System; using System.Runtime.InteropServices; using Microsoft.CustomTool; namespace MyGenerator {    [ComVisible(true)]    [Guid("d1815bb9-ecce-4dbc-9b73-ce4ff234af7d")]    public class MyGenerator : BaseCodeGeneratorWithSite    {    &n ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. how to make the Process fast

    Hi All. In my DirectX application (a Program for Pressuresimulation) I have to find the height value of 20000 vertices for every 50-100 miliseconds by rendering. Of Course it dosent work so fast. It looks like: device.Clear( ClearFlags .Target, Color .White, 1.0f, 0); device.VertexFormat = CustomVertex . PositionColored .Format; device.BeginScene(); VertexDeclaration(); device.SetStreamSource(0, vb, 0); device.Indices = ib; device.DrawIndexedPrimitives( PrimitiveType .TriangleList, 0, 0, WIDTH * HEIGHT, 0, indices.Length / 3); device.EndScene(); device.Present(); in 'Vertexdeclaration' I define the coordinate of all vertices and find the height of them using a interpolation method. Because of trying ...Show All

©2008 Software Development Network