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

Software Development Network >> Aaron T.'s Q&A profile

Aaron T.

Member List

jp singh
mimino
Ed Draper
J.H
Imre
Mario barajas
Raj Nair
sfx1
Vivid Tang
tim.rachel
sander van vliet
bt8114
Seadap05
JonathanMcCracken
Romeu
andre_eads
GeoBest
Abdul Sami
Craig Rairdin
clefsoft
Only Title

Aaron T.'s Q&A profile

  • Windows Forms viewing changes in datagridview

    using vb 2005, i have a datagridview setup through the wizard. The datagridview is strictly for viewing purposes only, no editing is done via the actual datagridview. All changes are done via code, however then the datagridview does not reflect the changes until i restart the application. How do I get the datagridview to refresh with the new data that was entered via code thanks to anyone who will try to help. HI! Can you tell what database you are using and how does your connection string looks like In the mean while just have look at this post: http://forums.microsoft.com/MSDN/ShowPost.aspx Po ...Show All

  • Visual C++ the dreaded LNK2019

    I'm getting an LNK2019.  Usually I can pick these out, but I'm stuck on this one.  Here are the errors: Tester.obj : error LNK2019: unresolved external symbol "public: __thiscall utility::Vector3<int>::~Vector3<int>(void)" ( 1 $Vector3@H@utility@@QAE@XZ) referenced in function "void __cdecl Vector3Tester(void)" ( Vector3Tester@@YAXXZ) Tester.obj : error LNK2019: unresolved external symbol "public: __thiscall utility::Vector3<int>::Vector3<int>(int,int,int)" ( 0 $Vector3@H@utility@@QAE@HHH@Z) referenced in function "void __cdecl Vector3Tester(void)" ( Vector3Tester@@YAXXZ) And here is the relevant co ...Show All

  • Visual C# Searching a byte array for a pattern of bytes

    I am reading a binary file into a one dimensional byte array. Now I need to search that array for a pattern of bytes. In other words, this is the equivilent of String.IndexOf() I want to search the binary array and return the index of the subvalue that I searched for. For whatever reason, I'm having trouble wrapping my head around this. Can anyone give me an example of how to achieve this byte[] b = new byte[AnyLength]; for (int i = 0; i < b.Length; i++) { if (b[ i ].ToString()=="Any Value") { // Do the work here } } ...Show All

  • Visual Studio Express Editions ConfigurationManager

    Can anyone get this to work: (C#): http://msdn2.microsoft.com/en-us/library/ms134260 Says its for Net 2.0...but the example and the class still contain depreciated items. http://msdn2.microsoft.com/en-us/library/6zwf9645 using System; using System.Collections.Specialized; using System.Configuration; namespace ConfigurationSamples {   class UsingAppSettingsSection   {     static void ShowAppSettings()     {       string[] names = ConfigurationManager.AppSettings.AllKeys;       NameValueCollection appStgs = ConfigurationManager.AppSettings;   ...Show All

  • .NET Development NetworkStream with UDPClient

    hi, is it possible to use a networkstream while using an udpclient to send and receive data. I have a thread wich constantly checks the Stream to see if new data has arrived, because i have to implement both a tcp connection and an udp connection i'd like to use the same thread to check for incoming data as well as sending data; by setting the UDPClient to work only with 1 remote host is it possible to use the networkstream for this pupose btw, how do i make the code in a post look like code instead of normal text thanks!!!! ...Show All

  • Visual Studio Express Editions Arrays wont work?

    ok so like in vb 6 this would be an example of a simple array of form1 which would work for what i want to do. Now if you upgrade to vb.net it says you cannot have an array. The following wont work :( and if i take out the new it gives me errors i dont get when i do the loop. How can i make this work Dim pm(100) As New Form1 Private Sub Command1_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles Command1.Click Dim a As Integer For a = 1 To 100 If pm(a).Tag = "" Then MsgBox("found") Exit Sub End If Next a End Sub End Class oops. . . hit ent ...Show All

  • .NET Development .net 1.1, WebProxy.GetDefaultProxy() not functioning

    Using VS 2003.NET with C#,  IE 6.0.2900.2180, WinXP Pro with all current updates from windowsupdate.... In IE, Tools->Options->Connections->LAN Settings, I have "use a proxy.." turned on, and the address manually set (in this case, to 192.168.0.133, port 80) In my 1.1 machine.config:  <proxy usesystemdefault="true"/> (I haven't changed machine.config whatsoever - so this is default) I then execute the following code in a form:             WebProxy myProxy;             myProxy = WebProxy.GetDefaultProxy();     ...Show All

  • Visual C++ implementaion of unwinding

    I have troubles finding information on this subject, so I'll try to ask here: What kind of unwinding mechanism implementation is used by VC8.0 Is it the same old and slow 'update structure on the stack while we go' (like it was up to VC7.1) Or MS finally decides to go after GCC & others by separating successfull execution path on compile stage (which is significantly more efficient) Bye. Sincerely yours, Michael. (1)(a) " __try/__catch instead of range checks " -- just as before: I hope you know what you are doing. Invalid data usage results not only in AV or DIV -- it could also results in memory ...Show All

  • Windows Forms How-To Disable any mouse clicks on a control ???

    HI How I can disable any mouse clicks - right click or left click - on any control on my form like radio button ,combo box , etc... and any controls How Can I do that in VB code thanks moooore Why not disable the controls Can you please explain little bit about nature of the application you are trying to develop ...Show All

  • Windows Forms ListView.CheckedItems does NOT function!

    Hi, I have a ListView component with CheckBoxes property set to true, View property set to List and has 8 Items which have their Text values set to numbers from 1 to 8. I want to uncheck CheckedItems of the ListView not to iterate through all the items including unchecked ones. By accessing CheckedItems only, it should be shorter and easier to uncheck those items until I hit the Microsoft BUG again. Any idea DESIGNER CODE: namespace WindowsApplication1 { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel. ...Show All

  • Visual Studio Express Editions Uninstall .NET Framework 1.1 ?

    Is .NET Framework 1.1 redundant   Or does it have stuff that is not included in .NET Framework 2.0 Following instructions, prior to installing VB 2005 Express I uninstalled .NET Framework 2.0 which had previously been installed on my system via Windows/Microsoft Update.  The VB 2005 Express installation process of course reinstalled .NET Framework 2.0. Thinking that .NET Framework 1.1 was redundant I uninstalled that at the same time.  Now Windows/Microsoft Update lists .NET Framework 1.1 as a recommended but optional update, notwithstanding the fact that .NET Framework 2.0 is installed. Also, a couple of other appl ...Show All

  • Visual C++ error when linking a Fortran library to c++ code in VC8 (.NET2005)

    I get the following error when i try to link a fortran library to a c++ code in .NET 2005. LINK : fatal error LNK1104: cannot open file 'libc.lib' the code was working fine when built using .NET2003. also, when I do not try to link the fortran library (just to see if that was the cause), it builds the exe without any problems. i don't even know how to begin addressing this problem...any help would be appreciated. please let me know if u need any more information thanks, Julian. Libc.lib is not available with VC++ 2005. If your Fortran library uses the single threaded CRT (which is what libc.l ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. VB.NET/Direct X 3D object selection using the mouse click.

    I realize that I'm in the wrong forum, but there dosn't seem to be one for non-game applications that use Direct X. I'm not a C++ programmer. I've used Visual Basic and VB.NET to write applications that display objects in 3D. I want to able to allow the user to select one of several 3D objects via the mouse. Can someone supply some sample code in VB or VB.NET that does this. Thanks in advance. The Pick sample in the SDK does this. To expand it to multiple meshes, just repeat the ray intersection determination for each mesh that you want to check. ...Show All

  • Visual C# Math.round issue... con't

    I have two programs both with the same identical class, "TwoSegment2D". In this class I have a ToString method which returns a string version of all the properties: public override string ToString() { return " Segment1 = " + Segment1.ToString() + (char)13 + (char)10 + " Segment2 = " + Segment2.ToString() + (char)13 + (char)10 + " Point1 x = " + Math.Round(GetPoint1()[0], 4).ToString() + (char)13 + (char)10 + " Point1 y = " + Math.Round(GetPoint1()[1], 4).ToString() + (char)13 + (char)10 + " Angle1 = " + Math. ...Show All

  • Windows Forms Custom Control, how to make custom EventArg?

    Anyone know how to make a custom EventArg setup for a Custom Control ie. make: public event EventHander SomeoneClickedMe; call: cntrlWhatever_SomeoneClickedMe(object sender, CustomEventArg e) instead of calling the default: cntrlWhatever_SomeoneClickedMe(object sender, EventArg e) Yes you are correct you don't have to inherit EventArgs, nor do you have this signature for your delegate: delegate void CustomEventHandler( object sender, EventArgs e);   You could instead have this: delegate bool CustomEventHandler(Whatever e);   However it makes it easier on consumers of your classe ...Show All

©2008 Software Development Network