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

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

netpicker9

Member List

IsisTheDamned
WXS123
ScottTurner
Niksta
Evgueni
matthew lyden
Ofir Epstein
Komandur.Kannan
Spyrrho
Bluehunter
Peterlih
Kamii47
GavH
folen
j1m68
Aaron128
Hoodwinked
dnheys
rhansen
BobSun
Only Title

netpicker9's Q&A profile

  • Software Development for Windows Vista Hang with InvokePattern - Invoke

    Hi guys, I'm having a problem with the invoke functionality. I made a small test application which contains one button. The code in the click event is the following: Thread .Sleep(1000); MessageBox .Show( "MSGBOX1" , "MSGBOX1" ); Now from my other application that uses UIAutomation, I click the button with this code: InvokePattern ctrl_invokepattern = ( InvokePattern )control.GetCurrentPattern( InvokePattern .Pattern); ctrl_invokepattern.Invoke(); MessageBox .Show( "Hmmm it doesn't get here " , "MSGBOX2" ); The code to click the button works, but the 'Invoke()' functions DOESN'T return So when the next line would be: click the OK button on MSGBOX1, this doesn't work! I first have to manually click on the ok button of MSGBOX1 ...Show All

  • Visual Basic working with Images

    Instead of using a path of a Image to get it...Is there a way where you can break the image down in the binary format and show it that way Like If Image <> Null Then DirectCast(Image, BinaryCodForImage) End If Does this make sense You could get the image and convert it into a stream of bytes. Imports System.Drawing Module Test Public Function GetBytes( ByVal i As Image) As Byte () Dim stream As New IO.MemoryStream() i.Save(stream, Imaging.ImageFormat.Bmp) Return stream.GetBuffer() End Function End Module ...Show All

  • Visual Studio BuildAssembler failure - DXROOT not replaced in config

    I'm running sandcastle on my build server using the msbuild scripts on CodePlex. I have verified that the DXROOT exvironment variable exists, yet I receive the following when I build: Not sure. Is there a path hard coded in your scripts that could be causing this Anand.. ...Show All

  • Visual Studio Express Editions Questions / Answers : Evaluation Outlines !!!

    I am developing an ITS System , in the Evaluation Stage , can someone help me with the outlines for developing the evaluation : What is the most approciate way for storing the Questions and Answers : Multiple Choices , TRUE / FALSE , and any other Questions and Answers form and ... What is the best way for Representing the Questions and Answers to the Learner and ... Finally Thank you so much :) Why are you doing it the harder way Use a dataset instead. Project/Add new item/Dataset. The dataset will become the data layer of your application. In the dataset designer, drag all your tables from the server explorer. The server explorer is accessed from View/Server Expl ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Help me on How to fire a sprite to a mouse position from another Sprite

    Hi again, this time i need some major help. I'm creating a shooter arcade, and the biggest problem i ran into so far was getting the sprite to fire towards my mouse positioned reticule. Could I please get some information on how to tell the game code that i want the sprite to move towards the mouse x,y from it's fixed positions. Thx for your help. Ok when i put this into my code it gives me tons of errors. So i converted all the objects into wut i had already. But still i get errors like "Cannot implicitly convert type float to Microsoft.XNA.Framework.Vector2"." Plz help ...Show All

  • .NET Development Different assembly version

    Hello, I'm developing a solution which is divided into several small projects.I mean, I have designed some forms in discret .dll's..When the form is going to be loadded, the dll in which the form exists is loaded but there's a problem. What if the version of the .dll to be loaded is newer then the version of the .exe It gives error while loading the .dll at that time. It's possible to load different versioned modules Thanks in advance. Let me explain more pls, The version of the .exe is 1.0.0.0 and the dlls' versions are also 1.0.0.0 at first.. After that when I build one of the dlls, it's version became 1.0.0.1 and I send this dll to the customer. But in this curcumstance, when the customer run the .exe, the program com ...Show All

  • SQL Server [Transfer SQL Server Objects Task] Error: Table "XXXXXXX" does not exist at the source.

    Does anyone know what could be causing the error on Transfer SQL Server Objects Task   I tried to develope a SSIS project in the Business Intelligence studio to transfer table between databases on the same server.  However, I have been getting the following error: [Transfer SQL Server Objects Task] Error: Table "XXXXXX" does not exist at the source. Is there a setting that I need to change to make this work   Thank you for your help.   I think your problem is related to the schema of the table you are trying to copy. I created table "testtable" in testdb1. The schema was "dbo". I could transfer this table to another database named testdb2 in the same server ...Show All

  • Visual Basic How to update a database from a DataSet

    I have found a tutorial on Microsoft's site ( http://support.microsoft.com/kb/301248 ) which I have modified slightly to add data into an Access 2000 database instead of a SQL server database. I cannot get the code to work though. It opens the database but no data is inserted. I am using the Biblio dtabase and the authors table. 'Microsoft example of updating database Dim conn As New OleDb.OleDbConnection conn.ConnectionString = "PROVIDER=Microsoft.Jet.OLEDB.4.0;Data Source = C:\Temp\VB NET Dataentry\Data Entry With DataRow\Biblio.mdb" Conn.Open() ' Create an instance of a DataAdapter. Dim daAuthors As New OleDb.OleDbDataAdapter( "Select * From Authors" , conn) ' Create an instanc ...Show All

  • SQL Server converting (casting) from decimal(24,4) to decimal(21,4) data type problem

    Hello! I would like to cast (convert) data type decimal(24,4) to decimal(21,4). I could not do this using standard casting function CAST(@variable as decimal(21,4)) or CONVERT(decimal(21,4),@variable) because of the following error: "Arithmetic overflow error converting numeric to data type numeric." Is that because of possible loss of the value Thanks for giving me any advice, Ziga What is the result that you expect when you try to cast a larger value CAST will throw error for overflow and that is the only expected behavior. If you want to fit larger values into smaller data type then you need to truncate the value yourself or perform other logic. You could use CASE expression to c ...Show All

  • Visual C++ error -1073741819

    I got this error when running two Visual Studio 2005 sessions and compiling C++ code in one of them. Visual Studio crashed several times. Worked well when I was only running one session at the time. Lars ...Show All

  • Visual Basic Strange Picturebox behavior

    Using VB 2003 (.NET 1.1), I have a panel containing a 6x6 grid of picture boxes on a form. Each picture box has a background color, and 6 of the boxes contain a background image (small, single colored shape) loaded in as a bitmap for the MakeTransparent feature. In addition, the user can move around the boxes with the arrow keys, and each time the keys are pressed the current box's image property is filled with another bitmap (a cursor made of black lines). The problem I am running into is that when a picture box contains a background image, it ignores its own background color and uses the background color of the picture box to its right. (It will wrap around if it is the rightmost box in the row) Also, if the picture box to the righ ...Show All

  • Visual C# best way to read pipe delimited text file?

    I am trying to read in a pipe delimited file and do certain processing for each field. I was just wondering what the best way to strip out each field is - is there anything built in .Net that will easily allow me to do this Or do I just loop through and remove each field myself Also, would it be best to strip each field out into a dataset first, and then do the processing Or, do the processing while I am separating each field Or does it not matter Thanks! Saeed it really depends. You can split the entire lines read into a string[] array if you like: string[] theLines; StreamReader theReader = new StreamReader("file.txt"); theLines = theReader.ReadToEnd().Split(new char[] { '|' }, Strin ...Show All

  • Visual C++ Com Problem

    I have created one com dll with the help of c#(dot net). This Dll trakes three files in the argument; after processing the first two arguments it writes the output in third argument. This Dll is a windowsApllication Dll. I have to use the corresponding tlb file in the VC++(6.0) code. For that I made one MFC apllication, which consists of three browse buttons to select file names to provide the arguments and one button to call that com object. First I hardcoded all the arguments. Now the funny thing happens: 1) If i directly click the button the application works fine. 2) If I click any browse button and select the files and then i cleck the button, the application crashes.( though i am not using the values from brows ...Show All

  • Visual Studio Assign NUM 5 to Macro?

    Hi, In VS2005, I would like to assign a macro to the number 5 key on the numberic keypad: Num 5 (for use when the numlock is not engaged). It seems that I can not get VS to recognize the key assignment. I even tried to modify the settings xml and import it - to no avail. Anyone have any suggestions -Marc- Hi Ed, Make sure your NUM-LOCK is OFF. Your numeric keypad should now act as navigational controls (up/down,etc..). Now, are you able to assign the center key ( aka 5 ) that resides in the middle of the Numeric KeyPad Other editors I've used allow assignment and use of this key (while numlock is OFF). I was hoping there was a way for us to use it in VS - it is ...Show All

  • SQL Server unable to connect remotely after upgrading a SQL instance from Express to Enterprise

    Problem: I upgraded a SQL Server Express instance to SQL Server Enterprise, but I'm unable to connect to the SQL server from any remote machine. Only local connections work -- and I've verified that Remote Connections are allowed in the SQL Surface Confg. utility. Scenario: Server1 has an SQL Enterprise edition installed as a default installation. SharePoint Server 2007 was installed later, and during that install a SQL Express edition instance was installed which is part of the standard SharePoint install. That Express instance contains all the SharePoint content databases. So Server1 has SQL instances: Server1 <default install running Enterprise> Server1\OFFICESERVER <previously running SQL Express, now upgraded to Enterp ...Show All

©2008 Software Development Network