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

Software Development Network >> Angry Coder's Q&A profile

Angry Coder

Member List

Heidi Christiansen
Jaime Stuardo
jchurch
Dan L
KingKarter
matthew lyden
HuberSepp
AdeptBlue
Bill Poole
Christina Tabet
Urban Terror target
Darrell Norton
Reva
Pak Lui
R.Tutus
Robin Debreuil
Dotnet007
ropley
A.Carter
Tomys
Only Title

Angry Coder's Q&A profile

  • .NET Development Change parameter value for tableadapter update command

    I have an application that includes a simple location table. I select the location data and display to the user in a "Detail Form". Part of the table includes a filed called "UID". This is to store the user ID of the person that created the record or last changed it. Because of this the actual field is not displayed on the Detail Form. In the update statement of course one of the parameters is @UID. I have researched and believed a partial class to be the answer but when I execute the code, the UID never changes to the current user. ************* Example of partial class. Namespace dsLocationsTableAdapters Partial Class kpslocationTableAdapter Public Overloads Function Update( ByVal locations ...Show All

  • Visual Basic Can array of Classes be init'd if contructors parms> 1

    I know that an array can be initialized when it is declared: Dim installs() As String = New String () "Typical", "Compact", "Custom"} However, if a class has a constructor with two parameters: Dim WayToGo As New transit("bus", 2) is there syntax that would allow initializing an array of transit (note: the code below is not correct) Dim WayToGo () As New transit()({"bus", 2},{"taxi", 3}) I am GUESSING that I will have to do something with the constructor in the transit class.. but I am presently stumped. Any clues Here's an example with Strings: Dim WayToGo()() As String = {New String() {"bus", "2"}, New String() {"taxi", ...Show All

  • Visual Studio Express Editions Combining numbers

    Hi everyone, I am struggling to implement a combining numbers game with recursion. The game is about : you enter some numbers, and then a value, then the program tries to determine that wherher with these numbers, this value can be obtained or not. But when I compile the program, I got peculiar errors as the following: Would you please help me in correcting the errors ------ Build started: Project: hw2, Configuration: Debug Win32 ------ Compiling... SymmetricMatrix.cpp c:\documents and settings\mert\belgelerim\visual studio 2005\projects\hw2\hw2\symmetricmatrix.cpp(440) : error C2228: left of '.length' must have class/struct/union type is 'int []' c:\documents and settings\mert\belgelerim\visual studio 2005\projects\hw2\hw2\symmetr ...Show All

  • Visual Studio Team System How do team projects relate to branches?

    Our development group would like to be able to use one main branch of code for multiple versions of our software and create branches for hotfixes etc. But we would like to be able to keep work items separate for each version. One question we have is can multiple team projects share one branch of code or do you have to create a new branch when you create a team project From what I'm reading about iterations, it looks like a version of our software can be considered an iteration and work items can be grouped by iterations. So we could have one team project for multiple versions of our software and group the work items by iterations. Is this true We want to use the CMMI process template, by the way. Thanks, Richard ...Show All

  • Windows Forms Dynamic Filling of TextBox AutoComplete not working

    Hi guys,   i would like to fill the textbox autocomplete stringcollection "on the fly" while typing. i don't want to fill the collection while initializing, 'cause it's too much data: the sql server-table has about 100.000+ rows. the filling takes too much time and the "autocomplete-popup-find-something-box" itself is getting too slow, too. my configuration: .NET-Framework: 2.0.50727, System.Windows.Forms.TextBox TextBox-Properties: AutoCompleteSource: CustomSource; AutoCompleteMode: Suggest i tried several different things... 1. i did put this code in the “TextChanged”-event, but i think it's 'too late' there: private void textTiteUltTest_TextChanged( object sender, EventArgs e) {     ...Show All

  • Visual C++ Error: Stack corruption around the variable 'tm'

    Hi, I have a win32 based application written in VC6. However, when I port it to VC2005 express edition, i get runtime check errors in the following way. Run-Time Check Failure #2 - Stack around the variable 'tm' was corrupted Run-Time Check Failure #2 - Stack around the variable 'lpText' was corrupted. The application works perfectly in VC6. As this has been tested using profiling tools such as Numega Bounds checker. Only on .NET versions 2003 and 2005, i get above such error. I use the following settings for my project: /D "WIN32" /D "_DEBUG" /D "_LIB" /D "_VC80_UPGRADE=0x0710" /D "_MBCS" /FD /EHsc /MTd /Zp1 /Fp".\Debug/mmi.pch" /Fo".\Debug/" /Fd".\Deb ...Show All

  • Smart Device Development socketprogramming

    Hi All, I am new at this forum. I think this website will be very useful for me. I want to thank all of you for your contributions. I have a question. I have a PC with Win Xp and Visual C++. I also have a PDA with Windows Mobile 5.0. I want to write a code in Visual C++ that will allow me to transfer my voice from the microphone at my PC to the speaker at my PDA. I already installed necessary programs to my PC such as the Developer Kit for Windows Mobile 5.0. However, since I just have some experience in C, I do not know how I can write such a code. I heard that this kind of programming is called as socket programming. can you recommend me any library function that will help me Thanks so much Suamol ...Show All

  • Software Development for Windows Vista tablet pc lag

    when i hover the mouse over my inkapp it lags/stutters for several seconds then moves smoothly. all is well until the pen is moved away from the screen then broght back down...several more seconds of lagging and stuttering...i've read that this is due to event coalescing (or lack there of) when the pen is near the screen...is this true and is there a way to prevent it from happening when the pen is lifted if not what could be causing it also i have the form laid out so that i has several tabs each with a few dozen inkedits on them..is there any way to speed up the rending/loading of the inkedits it takes 15-20 seconds to load a template but im not sure if this is just inherent to inkedits and whatever resources they take up. Thanks, ...Show All

  • Visual Studio asp.net

    How to added the multiple textbox dynamically in asp.net Hi Thanks for the reply. I got multiple textbox. I have another one problem. In button click, i wanted to add textbox. For example,if click the button ones, first text box will be created. If i click another time, second textbox. Like that i wanted multiple textbox. Once i click the button, textbox will be created. ...Show All

  • SQL Server Error while importing Text file using Import Export Wizard

    Hi all i have text file where i can import it to excel to access or sql2000 without problem but when i import it using (sql2005 pro) i get this error message during the import O peration stopped... - Initializing Data Flow Task (Success) - Initializing Connections (Success) - Setting SQL Command (Success) - Setting Source Connection (Success) - Setting Destination Connection (Success) - Validating (Success) - Prepare for Execute (Success) - Pre-execute (Success) Messages Information 0x402090dc: Data Flow Task: The processing of file "C:\Documents and Settings\Wail\Desktop\All_Alarm5.txt" has started. (SQL Server Import and Export Wizard) - Executing (Error) Messages Error 0xc02020a1: Data Flow Ta ...Show All

  • Windows Forms sorting a sortedlist

    Hi All, I have a problem in my windows application with C#.net. I have around 50 Id and Name pairs and need to sort them after putting into a SortedList. In my data, ID is not unique. SortedList< object key, object value> So I can't put ID in place of Key( Key must be unique in sortedlist). I have created a class with Id and Name variables, passing the object in place of value, and some integer index in place of key. Now the Question is, how to sort the SortedList on ID. Please me help out, Thanks. One of the constructors of the SortedList take a IComparer as an argument. You can use this to sort the list. Keep in mind if the icomparer returns a 0 you will get an error about adding a ...Show All

  • Community Chat Convert Money value to its Textual Representation

    Code Competition I had answered a post Convert to letter format a number value and provided a response that went counter to the logic of the threads up to that point. The two code examples provided to the poster used enums. I posted with a title Enums make me E-Numb and provided a code sample that use no enumerations. One of the other poster's code sample was .Net but based on a previous process he had written in a non .Net language. He commented that he had run my sample and after 100K operations mine was four second faster. He requested that I add some features to the code and repost so he could retest. I accepted his request and that is what this is...a place to post the code away from the original post so it does not become an OTP fro ...Show All

  • Visual Studio Express Editions C# and the game loop

    My primary interest in learning C# is to write games and yet it appears that much of the C# beginner tutorials focus code that is largely event-driven. I also caught a few discussions in blogs recently that had a intense debate on how to get C# to properly execute a real-time game loop and from what I could discern of the discussions, this task seemed to have an air of in-depth "hacking" about it - as though C# is simply not designed to do things this way. The discussions on the blog sites were also very unclear on the topic of game loops and as a relative beginner, the explanations behind the issues were simply beyond me. Now given that C# is being hailed as a great language to create games, how come there's no clear discussi ...Show All

  • SQL Server SQL 2000 SP4 to SQL 2005 upgrade blocked.

    I am upgrading a sql server 2000 with sp4 (I have double and triple checked the sp) on a windows 2003 sp1 server and I keep getting the following error: Name: Microsoft SQL Server 2000 Reason: Your upgrade is blocked. For more information about upgrade support, see the "Version and Edition Upgrades" and "Hardware and Software Requirements" topics in SQL Server 2005 Setup Help or SQL Server 2005 Books Online. Service pack requirement check: Your upgrade is blocked because of service pack requirements. To proceed, apply the required service pack and then rerun SQL Server Setup. For more information about upgrade support, see the Version and Edition Upgrades topic in SQL Server 2005 Setup Help or SQL Server 2005 Books Onli ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Question about texture resource sharing

    If I call Texture2D.FromFile twice on the same file does the second call return the texture resource from the first call Does XNA manage and share resources SpriteTexture = Texture2D.FromFile(graphics.GraphicsDevice, "Ball.dds"); SpriteTexture2 = Texture2D.FromFile(graphics.GraphicsDevice, "Ball.dds"); Thanks Thanks for the response. Yeah I guess I will have to port my resource manager from C++ / DX9. The reason I was asking was because of what I have read about the content pipeline. I believe I remember reading that it had the capability to share resources and I didn’t know at what level that was implemented at.   Thanks again. ...Show All

©2008 Software Development Network