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

Software Development Network >> Joseph Stalin's Q&A profile

Joseph Stalin

Member List

Yamakei
ricochett
RichardHarley
Balwant Patel
Erik Bertrand
Derek Comingore
jcmag
rfsmason
John Papa
Preeteesh
Thaina
oaix
Mohammad hOque
Silaros
Zulbaric
Plater
Quanta05
John123
NoSTaBoNN
Alastair Q
Only Title

Joseph Stalin's Q&A profile

  • Visual C# Context menu for nonform application

    How can I have context menu in an applicationb where I don't have any form What about the localization of context menu If you don't have any form then where the context menu shows up ! As for localization you can do the following if you use ContextMenuStrip and not ContextMenu. 1) create a class derived from ContextMenuStrip 2) open the designer for this class (it's a component so it has a component designer) 3) now you can go to properties and set the Items in much the same way as you do in a form ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. spacewars window displayed off-screen

    ive just got the spacewars starter up and run on xna but unfortunately its displayed half off screen. upon trying to move the aplication, what happens instead is that the image within the game is moved within the original off-screen box. anybody have any tips to remedy this issue x Firefly 360 x wrote: ive just got the spacewars starter up and run on xna but unfortunately its displayed half off screen. upon trying to move the aplication, what happens instead is that the image within the game is moved within the original off-screen box. anybody have any tips to remedy this issue anything special we should know about your configuration Like what resolution are you running Any desktop mods I assume you are on XP. ...Show All

  • Visual Studio Express Editions Portable Apps in .NET 2?

    Hello, I was wondering if making Portable Apps (apps that doesn't require an installation. Run hard-copy) in .NET 2 was possible. If not, how is it possible (what programming languages, and frameworks ) Thank You Keehun P.S. Does this have to be done in pure C++ without any .NET stuff Thank You Not exactly sure what you are asking....any executable program requires that the runtime be installed on the target computer....even if the programming languae is C++, Visual C++, C#, C, VB, VB.NET, or any .NET language....they all require runtime files ...Show All

  • Visual C# get nmea string

    Hi, I am working on a gpsdevice enad i wanted to get nmea string, i know that i must creat file with the fonction CreateFile and give the return handle to ReadFile but i don't even knwo to invoke it and how to get from it because it return bool variable. Please help!!!!!! This the code that used for create file: //Flags private const uint GENERIC_READ = 0x80000000; private const uint FILE_SHARE_READ = 0x1; private const uint CREATE_ALWAYS = 2; private System. IntPtr handle; public bool Open( string FileName) { // open the existing file for reading handle = CreateFile(FileName, GENERIC_READ, FILE_SHARE_READ, 0, CREATE_ALWAYS, 0, System. IntPtr .Zero); if (handle != ...Show All

  • Visual Basic A few n00b questions

    I have a few questions to ask, so i'll ask them all here. :P I'm building a program that will get a string like (010305060405 e.t.c.). They are co-ordinates in the form of XXYYXXYY e.t.c. how can i split them to 4 characters and then their respective XX and YY co-ordinates to be added to an array I've researched string.split and couldn't find anything that helped me. Also, what would be the best way of showing images for these values in a grid I want to show them as images in a grid that could be up to 99 x 99 cells (maximum, bare basic is something like 50 x 50 or 60 x 40 or 70 x 30 [default sizes]). And how would i go about doing that And would it be possible to see if a usr has clicked on a cell and to then perform an event, like ...Show All

  • SQL Server Unable to install SQl Server 2005 SP2 - Unexpected error

    I am trying to install SQl Server 2005 SP2 but it was throwing an unexpected error when trying to install "setup support files". O/s: Windows Server 2003 SP1 Product: SQL Server 2005 Standard Edition Log file shows: +++++++++++++++++++ === Verbose logging started: 2/20/2007 16:05:42 Build type: SHIP UNICODE 3.01.4000.2435 Calling process: F:\SQL2005sp2\hotfix.exe === MSI (c) (74:68) [16:05:42:635]: Resetting cached policy values MSI (c) (74:68) [16:05:42:635]: Machine policy value 'Debug' is 0 MSI (c) (74:68) [16:05:42:635]: ******* RunEngine: ******* Product: C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\Cache\SQLSupport\x86\1033\SqlSupport.msi ******* Action: ******* CommandLine: ********** MSI ...Show All

  • Visual C++ VS2005 C++ compiler bug?

    I do not know if this is the best forum to report a MS VC++ compiler bug (please advise if I should post this to another forum). In the process of migrating code from VC6 to VC8 (i.e. Visual Studio 2005 Professional Edition) I have stumbled across what I believe is a C++ compiler bug in the handling of template functions invoking the function call operator. Details and other ramblings below (after the example code that exposes the problem). #include <algorithm> #include <list> #include <stdio.h> #include <tchar.h> class A { public : // explicit initialising constructor (made explicit to avoid implicit conversions or casts) explicit A ...Show All

  • Visual Basic Device driver creation tutorial. Anyone please?

    Hi,  Does anyone know of a tutorial that would detail how i could create a device driver file in WinXP or Vista by using Visual Studio Pro 2005 please Basically i have a mouse with 5 buttons, left right, middle and 2 others. The other 3 buttons do not fire the middle or X-button events in VB.Net so how can i read the mouse port input to see what's going on etcetera to enable a driver to be created please By the way my mouse is an Airmouse with the middle button having a 4 way ( joystick like ) wobble on it for left-right and up-down scrolling.   The default AirMouse driver does not work with Win XP.   Regards, S_DS   Ah exactly the type of thread i wanted. Ok some copy protections instal ...Show All

  • Visual Studio Express Editions Saving in ComboBox

    Hello! How do i do to update Item (Collection) Can't get it to work! This code put the text into ComboBox but it doesen't save it to Item Collection Combobox1.Item.Add(TextBox1.Text) TextBox1.ResetText() TextBox1.Focus() Tanks for all answers! All the codes i have tried works and there is no "errors"! Saving to combobox works fine wile the program is running, but when i close and reopen it all saved data disappear. It doesen't save to "item collection". Is there some adjustment to be done in property ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. I'd like to have a game developed...but I need a partner.

    I teach 1st grade. I have an idea for a simple 2D (Phonics) game...but I don't have any skills as a programmer. I wanted to know if any programmers would be interested in a partnership   The game basically involves a little character running around the screen to pick up letters and form words. The character would have to avoid certain obstacles on screen. The game would require a lot of speech to sound out the words that the onscreen character created. I think the market is very big for educational toys/ games. A lot of the education PC software I've used was quite boring...and not very eductional. I think there is a big area for improvement for this type of software. I ...Show All

  • SQL Server How can i get XML using a Dynamic Query ?

    i have a function like this, but i alwasys says wrong: alter function GROUP_CONCAT ( @tableName varchar ( 100 ), @groupByColumn varchar ( 100 ), @targetColumn varchar ( 100 ), @targetValue varchar ( 100 )) returns varchar ( 1000 ) as begin declare @back varchar ( 1000 ) declare @sql varchar ( 1000 ) set @sql = 'select ' + @targetColumn + ' from ' + @tableName + ' where ' + @groupByColumn + ' = ''' + @targetValue + ''' for xml auto, root(''root'')' declare @x xml set @x = exec ( @sql ) return @sql end I want to generate XML using a exec(...) , that is a Dynamic Query, but SQL Server 2005 always say something wrong with exec(....) How can i ...Show All

  • SQL Server FORMAT_STRING For Calculation

    I have a calculation that gives the evolution of a certain measure over 1 month in percentage. MAR2006 : 1000 APR2006: 1100 ---> calculation = 10% MAR2006 : 1000 APR2006: 900 --> calculation = -10% This works perfect ... but the users of my application ask me if I can put a '+' sign for positive evolutions. In the first case they want to see '+10%' in stead of '10%' This is the FORMAT_STRING I am using : "#0.00%" Any idea Hi Christophe, You need to include two sections in your format string definition, the first for the positive values and the second for the negative values. Here's an example from Adventure Works which does what you want, I think: with member measures.te ...Show All

  • Visual FoxPro HUGE problem with the Container Control (?)

    In VFP9: I have a Form, that has a Container, that holds a Listbox The Listbox has some items in it. Now, if you try to click on an Item, hold the mouse clicked and drag it up and down, the selected item does not change, it just blocks there. When you release the mouse and click on another item, you now have TWO selected items in the Listbox. That is not normal. A Listbox outside a container works just fine. Has anyone been able to solve this Thanks. I will ignore your crack about experts and merely remind you that those who seek help from volunteers usually do better not to insult people who try and help them! Let me repeat. I tested this with VFP Base Classes and do NOT see the behavior you desc ...Show All

  • Smart Device Development time function

    Hi, I'm new to C++ and I am writing a project in it that I want to build on both Windows CE and VxWorks, so I am compiling the project in both MS Visual Studio and Wind River Workbench. There are a number of places in the app where I want to get the current date and time (number of seconds since 1/1/1970) but I can't figure out how to make it work! From what I can tell, time(time_t * timer) is the way to go, but while this compiles fine for VxWorks, when I compile it for Windows I get a strange linker error which says that there are unresolved externals in the function that contains the call to time(). Help! (Thanks in advance!) Rachel I'm not sure it's completely clear for readers of this thread ...Show All

  • Visual Studio Relationship from CompartmentItem and port shapes

    Hi all! I want to be able to create RelationShip from a CompartmentItem to a ModelElement. Since this is (as I understand it) not supported "out.of-the-box". I have hope that Port Shapes can help me in this task. I do however have some difficulty in finding information on the port shapes concept. So I would appreciate if someone could shed some light over this concept or maybe guide on where to read about it Kind regards, Diego Hi Diego, If I understand you correcly, you want to draw connectors from compartment items to shapes - so for example in the Class Diagrams template, you want to draw a connector from the line of text representing an individual Operation, to an e ...Show All

©2008 Software Development Network