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

Software Development Network >> Piwi's Q&A profile

Piwi

Member List

Otavio
fisher_iso
Nitin Mankar
Reed Robison
VBScriptor
Godwin Lang
Artem V
Randy_I
dct-val
FranklinYeung
jianghongtu
Redrori
teamdad
Mulequi
Andrew_J
BruceVik
kaneboy
TRan1101
Henry Sigourney
Dave Hampe
Only Title

Piwi's Q&A profile

  • Visual Basic I Need ASAP: Keyboard input

    if i want to make a picture box move left, right, up or down what code do i use A simple example based upon keypresses on a form. Simple form with one button and picture box on. You are detecting the key that is pressed and moving the picturebox by adjusting the left and top properties. Public Class Form1 Private Sub MoveButtonAround(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Me.KeyUp, Button1.KeyUp If e.KeyCode = Keys.Down Then PictureBox1.Top = PictureBox1.Top + 1 ElseIf e.KeyCode = Keys.Up Then PictureBox1.Top = PictureBox1.Top - 1 ElseIf e.KeyCode = Key ...Show All

  • Windows Forms control character to Hex

    Hi, Does anyone know in vb.net how to convert string "control character" to their hex number Example: character             Hex       ESC               1B       GS                 1D Any help or Ideas would be great. Thank you. Matt ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. How do I develop games for the XBox 360?

    The starting point to learn how to build games for the XBox 360 is here . In a nutshell though, building games on your PC using the DirectX SDK is the best starting point for building games for the XBox 360. You can't get an XDK for xbox or xbox360 unless you are a registered developer and for now this means you are a big company with lots of $$$$ All the public information is here: http://www.xbox.com/en-US/dev ...Show All

  • Visual Studio Install failure in VS2205 Pro Release version

    When I attempt to install the Modeling Power Toys for VS  2005, I get the error: "This setup requires the Microsoft Visual J# Redistributable Package version 2.0.50215." Is there a newer version of the install somewhere that is built for the release version of VS2005 The new version is available now from  http://www.gotdotnet.com/workspaces/workspace.aspx id=fe72608b-2b28-4cc1-9866-ea6f805f45f3 . Enjoy! ...Show All

  • Visual Studio 2008 (Pre-release) Exception when running on x64 Vista, possibly in system theme?

    A user of my application is running the newest public beta of Vista x64 (build 5384) on an Athlon64 3200+, and is consistently experiencing an exception that 32-bit Vista and WinXP users aren't seeing at all. My debugging ability in this case is limited because I do not have a x64 machine running Vista, so I'm unable to pinpoint exactly when this is occuring, but from discussion with the user I believe it is happening when a Button is changing from IsEnabled = true to false. http://graalbin.londeroth.org/235 -- that is the exception that's occuring and its stack trace. Judging from the last few stack frames, it's happening when a button is ...Show All

  • SQL Server Store Procedure Performance

    I want to know what are the advantages and the desventajes to use stored  procedures in applications Two of the biggest advantages are: Performance: stored procedures are precompiled, thus they are faster than inline SQL Security: Stored Procedures if created wisely can protect your application from SQL Injection Regards Deepak ...Show All

  • Smart Device Development Target Machine Link Error

    I have used the upgrade wizard to migrate my EVC 4 project to VS 2005. I have managed to get most of my projects to build but I have a couple that give me the following link error. mfc80u.lib(MFC80U.DLL) : fatal error LNK1112: module machine type 'THUMB' conflicts with target machine type 'ARM' The configuration was originally targeting ARMV4. The "Target Machine" Linker option is set to "MachineARM (/MACHINE:ARM)". And I cannot find any reference to THUMB in my project. Does anyone have any idea's what the problem might be Thanks. You need to look at all of your compiler and linker inputs ...Show All

  • Visual Studio Crystal Reports

    Hai, Iam using Crystal reports having subreports in that When i make a setup of the application and run on the other system Iam getting a dialogbox asking for loginname and password for the database though I have not kept aything....It seems the database path is getting hard coded.... A normal plain report is working fine.... Please help me where the problem is.... Thank you.   Regards, PadmaKiran ReportDocument object has a method named Logon which takes two argument, one is user name and other is password. you can set those values in your application and you won`t get that message. Regards, ...Show All

  • .NET Development NegotiateStream problem?

    I have this code where I would like to authenticate before starting to accept communications from a client. After I add the authentication code, I stop getting the actual data. Here is the code. What is wrong using System; using System.Net; using System.Net.Sockets; using System.Net.Security; using System.Text; using System.Threading; namespace TestApp { class Class1 { [ STAThread ] static void Main( string [] args) { try { ThreadStart threadStart = new ThreadStart(StartServer); Thread processThread = new Thread (threadStart); processThread.Start(); ClientTest(); ...Show All

  • Visual Basic Grouping / Structures in Classes

    I searched in the documentation but not sure how i can define class in this way where Related properties and methods should Come in a Group Say FirstGroup, secondgroup etc. i/o showing in the Main class Instead of MyClass.FirstProp i want to make groups in this way :- MyClass.FirstGroup.FirstProp MyClass.FirstGroup.FirstMethod MyClass.SecondGroup.SecondProp nope. . . not the way its done. if sets of methods belong together, they should be refactored to interfaces. cast the object back to the desired interface and call the methods - Public Interface Group1 Sub ...Show All

  • Visual C# display a form at selected mouse coordinates

    Objective: (This is not an MDI application) Display a child form containing a datagridview that contains the child records of the selected row in a datagridview. Have this display on a parent form right below the selected row in the datagridview. Problem: I am unable to get the correct location of the cursor on the parent datagridview control passed to the child form so the child form displays correctly. I am passing the location to the constructor of the child form so that I can call this child form as you would call ContextMenu.Show(DataGridView, e.X, e.Y) but I am not sure how the Point gets set to the Control and not the ...Show All

  • SQL Server where can I store the mining results from mining models in SQL Server 2005 data mining engine?

    Hi, all here, I am wondering where can I store my mining results in data mining engine For example, I got mining results like accuracy chart, decision trees, and other formats of results based on different mining algorithms I used for my data mining, so where can I actually store the results for reporting service use later Is it possible to do that in SQL Server 2005 Thanks a lot for any help and guidance in advance. It's not a simple question. recently there was a tip/trick on www.sqlserverdatamining.com for rendernig a decision tree in a report. For the other views it may or may not be possible to do what you want dependin ...Show All

  • Visual Studio Team System Expand project properties...

    Is it possible to expand the project properties For example when adding a project i would like to add the impact for the "customer", "customer(forn), and "dealer", or the estimated duration. I solved this by adding a work item "project information" and linking all tasks to this information... whitch doesn't work that well. I think I'm a little lost. The project tree is for project isn't it, and the work items are tasks, bugs, etc. We work whith smal projects (2 month's and 30 tasks). To have project metadata at hand when viewing a work item (by expanding the work item), would result in entering the ...Show All

  • Visual C++ Printed text is overlapping!

    In document Image Writer, text looks just OK, and ofcourse it is as I was tuning it according to image writer. But when I print that same stuff on the paper, text is overlapping!! I am using pInfo->m_rectDraw.Width() and Height() to retreive width and height in points. In Image Writer exactly 5 paragraphs fits the paper and on regular printer letters are about 5 times larger and only about 2 paragraphs can be printed on 1 paper. Also, in Print Preview, letters overlap BADLY and while printing they overlap much less but are too large anyway. Only image writer retains good proportions... Graphics are OK all the time, just letters are giving ...Show All

  • Visual C++ console from form

    Hi! How can I call a Console window from a form application Ok: I dug a little deeper and I think I know what is going on here. The problem is that by-default a Windows Form application does not have a console associated with it: so any calls to Console::WriteLine will send the output into a black hole (\dev\null). The case where the application will work is if you start it from a console window because in this case the application will have this console associated with it and so calls to Console::WriteLine will have some where to send the output. In order to ensure that an Windows Form application always has a console to write to you ...Show All

©2008 Software Development Network