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

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

nira

Member List

elixic
[MSP]Daniel Oliveira
David Cowell
Vidda
perrs
ideal24293
Abdul Jackson
smigger666
Vighnesh Prabhudesai
Sean Fuller
MartinaL
leo1
Porko
mokeefe
Jonas.S
don76
malhar
AngelOfPirate
ZiggerZ
Zeev Halevi
Only Title

nira's Q&A profile

  • Windows Forms help in coding a game application

    Hi all, I started writing a small game application.which contains 16 buttons which are dynamically created.and set text to that buttons randomly taken from 1-15 and 1 button text set to " " (nothing) so the player has to move the adjacent buttons to the empty button and final result would be the sorting order from 1-15 with empty button either first or last. in my application i wrote only one button click to all the 16 buttons. and now i'm unable to handle how to get the previous button clicked as i want to compare with the button names. I wil give the code how i created the buttons and the event. Help me to develop this application as well as my programming skills. Thank you -regards GRK code>>> ...Show All

  • Software Development for Windows Vista UI Spy misreporting the UI heirarchy for our App.

    If I view a Table object (Infragistics) with UI Spy, it lists the rows as expected. However, when I use the Treewalker and navigate down to the Table object, the rows do not exist where they do in the UI Spy. If I use the parent windows AutomationElement and use the Findfirst() method using the NameProperty as a condition, the findfirst method never returns. It doesn't crash or return null either, it just runs indefinitely. (I let it sit there overnight once.) Here's the odd thing: If the application is NOT the foreground application, the TreeWalker CAN navigate to the row(s) and work with them as expected. And FindFirst can too. Anyone have any ideas Here's my code - seems pretty simple: AutomationElement LTGrid = TW.GetFirstChild(AUTW ...Show All

  • Visual Studio Document Explorer Crash Bucket 232224388

    Attempting to use search tab in help for Visual Basic 2005 I get the "Microsoft Document Explorer has encountered a problem and needs to close" error. Information from event log: Event Type: Information Event Source: Microsoft Document Explorer Event Category: None Event ID: 1001 Date: 4/23/2006 Time: 5:11:52 PM User: N/A Computer: AMDTOWER Description: Bucket 232224388, bucket table 1, faulting application dexplore.exe, version 8.0.50727.42, stamp 4333d0b3, faulting module kernel32.dll, version 5.1.2600.2180, stamp 411096b4, debug 0, fault address 0x0001eb33. For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp . Data: 0000: 42 00 75 00 63 00 6b 00 B.u.c.k. 0008: 65 00 74 ...Show All

  • SQL Server matrix subtotal

    hi, If I use the matrix to dynamically show the columns,but at the last column,I hope to get the average data ,But the subtotal can not help in this case,how can i do thx for help! I think this thread can help you: http://forums.microsoft.com/MSDN/showpost.aspx postid=791849&siteid=1&message_id=524412&notification_id=524412 ...Show All

  • .NET Development uploading new image to my club site causes failure

    whenevr I try to uplaod an image to an article on my club site, the whole site shuts down event code 3005 an unhandled exception has occurred event ID 4b5ea0cfad7844a9b67234c34404ca11 event sequence 23 event occurrence 2 event detail code 0 process id 4932 process name w3wp.exe exception type invalidcastexception exception message convrsion to string "" to type 'integer' is not valid please help me correct this this is what happens now: App_Data Copy file ASPNETDB.MDF from source to remote Web site. Copy file aspnetdb_log.LDF from source to remote Web site. Copy file Club.mdf from source to remote Web site. Has error -- Unable t ...Show All

  • SQL Server Package Configurations not so portable?

    I'm still struggling with finding a sound approach to creating configurations that are truly portable.  For instance if you use XML files to store configuration information, the path to the XML file that stores the configuration is baked into the package.  This would require the same file system structure on all machines that could host the package. Store in SQL server - one key thing that is valuable to configure is Data Sources - but how can you configure a data source at runtime by storing it as a config in SQLServer, when the data source itself is used to specify the server that stores the config information Environment variables or registry entries seem to be the most practicle because they truly are machine specific. ...Show All

  • .NET Development Convert DateTime between different TimeZone

    Hey, We need find a way to convert DateTime between two different TimeZone regard what TimeZone you chosed in your local machine. We found all TimeZone information are stored under HKEY_LOCAL_MACHINE\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Time Zones . We want make sure this registry key are same in vary windows os, such as 9x, 2000, NT, XP, 2003 server and Vistra. If you have can help us verify this, that will be great. Thanks, SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Time Zones will be good for all Windows OS If there have any version OS it doesn't support, please let me know. Thanks, ...Show All

  • .NET Development Determining Class type of derived Class withing base class

    Hi, Given two classes A and B, where Class B inherits from Class A, can I determine within Class A that the Type of its topmost derived class is Class B. Taking it a step further, given a base class A, can Class A determine what its upmost derived class is. I know of the method :System.Reflection.MethodBase.GetCurrentMethod().DeclaringType(); That will determine the type of the class that the call is been made in, so if it resides in Class A, it will return ClassA. What I would like to have is something like this in my base class (Class A) that returned the type Class C, when Class C inherits Class B which in turn inherits Class A. Any help would be appreciated. I don't use Log4Net so b ...Show All

  • Visual Studio Tools for Office Word: Add picture (VSTO2005)

    Hi, I would like to display a picture in the Word document which I download from a remote server. So fare, there is no problem. I can just download the picture, store it on the client machine and display it with the following command: range.InlineShapes.AddPicture( "C:/picture.gif" , ref missing, ref saveWithDocument, ref missing); Question: Is it possible to add a picture to the document without having to save the downloaded picture I tried this… but it didn’t work of course: range.InlineShapes.AddPicture( "http://www.mysite.com/picture.gif" , ref missing, ref saveWithDocument, ref missing); Thanks, Claudia Hi Claudia ...Show All

  • SQL Server Very simple question but I can't figured out

    Hi all, How can I add gridlines to a table report Immediate response is appreciated. If you want to have gridlines IN the table - answer is "It's not possible". If you want to have gridlines in report that have a table - then menu Report->Report Properties->check 'Draw Grid' box. But in this case you still will not have gridlines IN the table itself. ...Show All

  • Smart Device Development Creating a CAB file that will install files with % characters in their names

    I am trying to create a CAB file for a smart device installer. I started out using the visual studio project type "Smart Device CAB Project" and from there started editing the .inf file by hand to try to get my scenario to work. I need to install files that have percent (%) characters in their names. If the filenames are inserted without change into the .inf file, cabwiz.exe generates errors like: Error: Line 100 - unsupported DirID 20 Error: Line 112 - unsupported DirID 3 Error: Line 139 - unsupported DirID 3 Error: File c:\docume~1\rathag\locals~1\temp\wiz955.inf contains DirIDs, which are not supported I tried doubling the percent signs to escape them, but this resulted in cabwiz thinking I was using replacement values: Warnin ...Show All

  • .NET Development code and logic generation from xml

    Hi, Is it possible to generate a working code with a working logic in it from a xml file. If yes then how I have to build a class with methods and attributes from XML on some machine. So machine updates the code in run time and then receives objects from various sources and do some algorithm on them Any idea Regards Ash Hi! I guess you want to serialize object to XML form - both data and methods, then transfer it to other machine and deserialize to working object. AFAIK, there are no ready to use mechanisms in the framework that provide such functionality. But it is quite possible. For example by the following scenario: Write class and compile it to separate assembly. Load it to Sender (application ...Show All

  • Visual C++ Taking a C++ class...

    I'm partway through a class on C++, and, naturally, we have a project due for the term. I'm a DJ by trade, and have an extensive record collection. The project I've chosen is to build and maintain a program that can keep track of my collection (based from the professors example idea of a CD collection). I'm doing fine with the original interface, menu, classes, etc. The problem I'm having right now is, where do I store the data I'm considering using an Access Database (since a) I have Access 2003, and b) I don't really want to do anything too complicated since this is just a school project). I don't know, however, how to write code to interact with the database. I've used SQL before when doing Cold Fusion programming, but not for an ...Show All

  • SQL Server Execute Package Task: setting child variables

    Hi, Let's say I have a package taking as parameter "InvoiceID". I want to execute this package as a child in another package. The parent package gets the list of invoices to produce and calls the child package for each entry of the list. How do I pass the InvoiceID to the child I know I can use the parent's variables from the child but I don't want the child package to be dependant on the parent package. For example, I might want to execute the "child" package as a stand-alone in development (providing it with a predefined InvoiceID). I might also want to call the same child package from another parent package with other variable names. What I would like to do is "push" the value instead of "pulli ...Show All

  • .NET Development Getting "An existing connection was forcibly closed by the remote host" on one socket when closing another connection.

    Hi, I have an VS2005 C# application running on windows XP SP2. It connects to other devices via a modem connection. My connection is using a System.Net.Sockets. The application connect fine and works well with one modem in my PC. Having two modems in the PC connecting to two devices I get trouble when closing connection to one of the devices. Having two connection A and B with one socket each. Closing the connection A on the device side make the socket throw the exception: AN EXISTING CONNECTION WAS FORCIBLY CLOSED BY THE REMOTE HOST which is fine. But I also get the same exception on the connection B socket, which makes my application believe that connection B has been closed. Does anybody know why I get the ...Show All

©2008 Software Development Network