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

Software Development Network >> Tarey Wolf's Q&A profile

Tarey Wolf

Member List

Kimball
programmer01
j22
Chris Richner
Shady9399
Sergey Sorokin
Jesper L. Nielsen
Simone1
Jim SweeneySLC
XNA Rockstar
neely
morphius1
Brandon Tucker
Keith Newton
Chris Honcoop
acedog
Puntor
Tamim Sadikali
nodoutt
Ryan Sanders
Only Title

Tarey Wolf's Q&A profile

  • Windows Forms Tab Key is not tapped!

    Why doesn't my code work The code is in the KeyPressed event of my textbox - If e.KeyChar = ControlChars.Tab Then messagebox.show ("Tab key was pressed!") end if Regards! Kapalic But, unless VB handles these events differently than C# (and I doubt that this is the case), you should not have been able to trap the Tab key in either one of those events unless you also overrode either the ProcessCmdKey or the IsInputKey method(s) in your TextBox's parent class. Can you verify this is the case I'm mainly interested in learning whether VB handles it differently than C# (since I don't even have VB installed, I can't test this for myself). ...Show All

  • Visual C# Misterious crash due to Listview, Bitmap & TabControl usage.

    Greetings, My application crashes misteriously when i access a tabpage that contains a ListView displaying thubmnails images. (See stack trace below) The exception agent displays the following message with an association line connecting it with the " Application .Run( new Form1 ()); " of my "main" routine:  "Parameter is not valid." It will only crash if, before i access the tabpage, the application's window is maximized. The listview is populated in the Form's constructor function. It uses the following simplified code: private void createThumbnails() { ThumbnailCreator t = new ThumbnailCreator (); Bitmap thumb = null ; thumb = t.GetThumbNail( "D:\\Documents and Settings\\T062948\\Des ...Show All

  • SQL Server SQL 2005 - BCP with bell (0x7 or /a) delimiter

    Hello My company uses SQL 2000. We’re importing bell (0x7) delimited files using BCP utility on regular basis. Recently, I tested the same import with SQL 2005 BCP. It seems that bell is not supported anymore by 2005. Any delimiter but bell works. Is bell dropped from 2005 Can anybody point me to the proper documentation Thank you. ...Show All

  • Visual Basic How to create an installer

    Hello all, I have created a Visual Basic .NET 2003 .exe. I thought I could simply put it on another computer, and it would run. That didn't work. I believe I have to write an installer and include the dll files, as well. Do I have to write an installer, or can I simply put the .exe and the dlls on the other computer If I have to write an installer, would you please let me know how to get started and where I can find info. on how to do this Thanks, Kathy Hi Diango, I'm guessing that you must have missed a step in creating the "My Notepad" project. Try this - add a new Windows Application project to your solution (File, Add, New Project), then go to the FileSystem Editor and try the Add Project ...Show All

  • SQL Server Msg 8621: The query processor ran out of stack space during query optimization

    I got the above error when I tried to execute the following query delete from BUSINESS_ASSOCIATE where ba_name is null As you can see the query isn't exactly complicated. What the table does have is lots of dependancies. I got SSMS to show me all the dependancies and there are literally hundreds (maybe thousands - I'm not going to count them all) of dependant tables and i suspect that is what is causing the problem. So what do I do about it This is a valid data-model (industry standard in fact) but SQL won't let me delete data from this table and that's a huge problem for me. Any advice about how to progress would be welcomed. -Jamie It looks like you hit the documented limit on the maxi ...Show All

  • Windows Forms Generic Bootstrapper - SQL Express Named Instance

    I'm using the bootstrapper to install a named instance of SQL Express as a prerequisite. If SQL Express is installed on the computer but my instance isn't, the bootstrapper will bypass the installation of my named instance. 1. Is there a way of passing an argument to the SqlExpressChk.exe to look for the named instance instead of any SQL Express installation 2. Is there a better way of accomplishing my installation goal Thanks, Wayne Hi Doppalapudi, I got round my problem in the end by changing the product.xml and package.xml files in the bootsrapper. Firstly I checked whether my instance was installed by doing a registry check in the product.xml: < RegistryCheck Property ="SQLVersio ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Collision detection - Howto

    Hi all, I'm trying to make two objects collide in GSE, actually in a Pong game - between the bat and the ball. I have motion for both, but no collision, the ball just leaves the stage so to speak. Any help would be appreciated. I have looked in the Help, but to no avail. Here is the code starting with vector3's Vector3 MinV1 = new Vector3(BatX1,BatY1,0); Vector3 MinV2 = new Vector3(posBallX,posBallY,0); Vector3 MinV3 = new Vector3(BatX2,BatY2,0); Vector3 MaxV1 = new Vector3(BatX1+16,BatY1+48,0); Vector3 MaxV2 = new Vector3(posBallX+16,posBallY+16,0); Vector3 MaxV3 = new Vector3(BatX2+16,BatY2+48,0); bb1.Min = MinV1; bb2.Min = MinV2; bb3.Min = MinV3; bb1.Max = MaxV1; bb2.Max = MaxV2; bb3.Max = MaxV3; ...Show All

  • .NET Development Detecting remove lock event on file

    I have the following problem: We have to write an application that acts on changes on files. For example editing a word - file. We achieve this using the FileSystemWatcher from .NET 2.0.  When the word-file is saved the events correctly trigger, but the files are locked, which causes our action to fail, but this is not the problem. But when the user closes the word-application. The application release the lock,but  we can't seem to catch this event so we could run our actions then.   Does anybody has as solution Thx, gert Windows doesn't provide any way to either detect a lock or be notified that a lock may have been released. To avoid a lot of threads, use just one t ...Show All

  • .NET Development Question about DataTable Constraints

    It seems the only constraints you can add to a DataTable are UniqueConstraints and ForeignKeyConstraints. I would like to see a CheckConstraint such as column value < x or > 0 or <> 0…. Is this possible with DataTables Thanks. At the moment I'm trying to get away from the DataTable RowChanged and ColumnChanged events because they fire so often. If I act on those events and change the row/column these events fire again and because I'm listening to the event, I will validate the value I just set in a column or row. Perhaps there's a way to just raise an error on validation. I'll have to look into this yet.... ...Show All

  • Visual C++ ENCRYPTION SAMPLE IN VC++ 6.0

    I NEED SAMPLE SOURCE CODE FOR ENCRYPTION AND DECRYPTION IN VC++ 6.0 THNK U The following article will help you Check this Article ...Show All

  • .NET Development stack overflow and memory corrupt when use DsBrowseContainer

    [DllImport("dsuiext.dll", CharSet = CharSet.Unicode, SetLastError = true)] public static extern int DsBrowseForContainer(IntPtr infoHandle); public delegate int BffCallBack(IntPtr handle, uint message, IntPtr param, IntPtr data); [StructLayout(LayoutKind.Sequential)] public struct DSBrowseInfo : IDisposable { /// <summary> /// size of structure in bytes /// </summary> [MarshalAs(UnmanagedType.U4)] public int size; /// <summary> /// dialog owner /// </summary> public IntPtr handle; /// <summary> /// dialog caption text (can be NULL) /// </summary> [MarshalAs(UnmanagedType.LPWStr)] publ ...Show All

  • Visual Basic VB Upload File - Chinese OS

    Hi Guys, Me trying to upload file using VB HTTP Post method. Can successfully upload the files when my client machine is English OS . However , the problem occurs when am trying to upload the files from Chinese OS. It seems that the file uploaded is getting corrupted and could not be opened in correct format. This is applicable for binary files. The text files could be uploaded successfully. I have tried setting content-type, charset,codepage etc properties to assemble the body. Can anyone help me Its urgent ....Hope to find some VB GURU in this group.HELP ! part of the code : ========================== Sub uploadFile(a_strUserName As String, a_strUserPassword As String, a_strServerURL As String, a_strFilename As String, a_s ...Show All

  • Visual C++ dll search order

    I hope this is a resonable forum in which to post this question... I ran a Visual C++ program that reported a missing DLL (MFC70D.dll). I located the DLL on another machine and copied it into the same directory where the application program resides. I then ran the program again. It appears to now locate the previously missing dll. But it now reports a different missing DLL (MSVCR70D.dll). I located that one an copied it into the application directory. But when I run the app it still says it can't find it. Shouldn't it have found it Doesn't the search path for DLLs start in the same directory as the ryunning application What is the solution to my problem Roger Garrett Anyway! This DLLs are Debu ...Show All

  • Windows Live Developer Forums Scale and messages language?

    The default scale is in miles, can I setup the scale in km units The server messages appears in English, can be setup so that they appear in other languages Thanks!! See my reply to your new thread with the same question. Basically, if it isn't in the SDK, it is an unsupported hack, and may break with future releases of the map control. Thanks, Caleb ...Show All

  • Visual Studio 2008 (Pre-release) In CurrentStateInvalidated handler, get the object the Storyboard was started with?

    I have a ListBox with a bunch of styled items. On each item, an animation can be run, triggered by a mouse event. This is done in procedural code like this: private void OnRunMyAnim(object sender, RoutedEventArgs args) { Storyboard sb = FindResource("theStoryboard") as Storyboard; sb.Begin(sender as FrameworkElement, HandoffBehavior.SnapshotAndReplace); } The storyboard itself is defined as a resource with a CurrentStateInvalidated handler: <Storyboard x:Key="theStoryboard" CurrentStateInvalidated="OnAnimStateChanged"> Here's my question: In the handler, a ClockGroup is passed in. How can I get from there to the actual item that was passed to Storyboard.Begin() before Getting the name is ...Show All

©2008 Software Development Network