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

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

Elad_23

Member List

dn8
BPomidor
stellag
Nick Darnell
hehongyu2000
yjm
Beyond Blue
Tao Lin
RickKr
Darren Ford AUS
olgaF
IanO
dbcuser
Tina Nielsen
eric shih
billa1972
Okugops
Matt Lin
Lucas Condé
lewek
Only Title

Elad_23's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. how to set xbox 360 resolution?

    Hello guys! I'm deploying my game to xbox 360. The deploy is perfect, but my game aways presented on 800x600 screen. Graphics.PreferredBackBufferWidth value is 800 Graphics.PreferredBackBufferHeight is 600 Graphics.GraphicsDevice.DisplayMode.Width is 1360 Graphics.GraphicsDevice.DisplayMode.Height is 768 how can I to set the resolution My monitor is an AOC 19" widescreen... Thanks! No, you cannot change the XBOX 360's resolution, as it's defined by the user in the system settings. (or even if there is a way to force it, don't do it !) Your game is automatically scaled to the resolution of the XBOX, so you don't have to do anything about that. But you have to manually stretch the game to fit the user's resolution on W ...Show All

  • Visual C++ error C2665: 'operator new' : none of the 5 overloads can convert parameter 1 from type 'const char [71]'

    When I try to compile the programe in VC7, I got some errors mensioned below, how to resolve them, suggest me. c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\xmemory(34) : error C2665: 'operator new' : none of the 5 overloads can convert parameter 1 from type 'const char [71]' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\new.h(100): could be 'void *operator new(size_t,const std::nothrow_t &) throw()' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\new.h(108): or 'void *operator new(size_t,void *)' while trying to match the argument list '(const char [71], int)' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\xmemory(137) : see reference to function te ...Show All

  • Microsoft ISV Community Center Forums trapping 1004 Error when Excel VBA invokes Application object in Internet Explorer

    My Excel application (not primarily intended for running in IE) uses Application.WindowState = xlNormal etc to resize Excel when the UserForm is initialized. Works fine when run in Excel normally, but if I 'Run' the download from my website instead of 'Save', so it opens in IE, the code generates a 1004 error "Method 'WindowState' of object '_Application' failed" that won't trap using 'On Error...'. How else can I head off this problem ...Show All

  • SQL Server Parsing T-SQL is not validating table schemas

    I am curious why my stored procedures are parsing properly when you do not reference a table with its schema. The stored procs then fail when you run them. It seems that the parser does not validate that a tables schema is missing. This is an example stored procedure against the Person.Address table in the Adventureworks database. It will execute fine if I change the FROM clause to Person.Address. CREATE PROCEDURE [dbo].[Address_Load]    @AddressID [int] AS BEGIN  SET NOCOUNT ON;  DECLARE @intError int  BEGIN TRY   SELECT    A.[AddressID]     , A.[AddressLine1]     , A.[AddressLine2]     , A.[City]      ...Show All

  • Windows Forms GDI+ filling with transparent color

    Hi. I have user control which has its background color set to Transparent. I do my own painting and I need to clear what I draw - but how If I fill the area for clearing with Transparent color, it does not work... thanks Hi again. Thanks for this hint, invalidating the rectangle on parent control is what should I come to... But how can I avoid flicking during scrolling my user controls on the parent control without double buffering ...Show All

  • SQL Server Changing the DataSource at Runtime

    I have to create a script for changing the datasource at runtime. Here is my screnario, While development I am using Data source name called "DevDatasource1" and when I am deploying it to other evnironment the datasource name will change let us say "QADatasource". I have to create a script for changing the datasource(i.e. DevDatasource1 to QADatasource). How I can achieve I this using the setItemdatasource hi simles thanks for your reply. Here is my problem. While deploying my reports on the other server we don't want to create the datasource. Already in the deployment server datasources are created. what we have to do his while deploying the reports we have to map the e ...Show All

  • Windows Live Developer Forums About MSN personal message and WMP caption...

    Hi, everyone !! We know Live Messenger's personal message can change when listen the song with Windows Mediaplayer. And I want to write some code let personal message can show the lyrics with the song synchronous, if the song has it. So, can you show me some example or give me suggestion about the Live Messenger and Windows Mediaplayer communication. Thank you very much !! You'll need to create an Add-in of your own to set the Personal Status Message (PSM). Take a look at this excellent blog entry that walks you through building a plug-in of your own. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. low resolutions not working (>800x600)

    Hey there all! I wonder if someone of you has experienced the same problem like me:  I'd like to set up my game to have a resolution of 640x480 fullscreen (or even lower). When I make a new game project (or open an existing one - doesn't matter) and change the resolution to anything lower than 800x600 fullscreen a messagebox appears (while the game starts fine, but stays a black screen doing nothing) saying that I will have to use a resolution minimum of 800x600 to use this application. I was searching for the text in the messagebox on the net, but to no avail. I'd post a picture here, but since my WindowsXP is a german version, I guess that it wouldn't help a lot. Maybe this even has nothing to do with XNA or C#. My gra ...Show All

  • Windows Forms Repaint Flicker in windows form with complex layout

    How can I reduce the flicker when adding/removing controls from a form programatically Now on to the explanation of the problem: I made a Form to contain data, it was supposed that i should use Tabs to display many views of the data but the default tab control is not pretty, and so I implemented a rudimentary but "acceptable" solution, Making custom buttons that have some mouseover events to display diferent tab images i emulated the tab behaivor, every time the user clicks on a button the button is disabled and the content of the form changes. To ease things the content of the form is composed of 2 panels, one that has the "tab buttons" the other that has the content. The content is contained in custom user ...Show All

  • Software Development for Windows Vista borland developer studio 2006 on Vista rc2(5744) x64

    Hi, I just try and clean installation of Borland Developer Studio 2006 on Vista RC2 x64, after i install all the requirements ( .NET 1.1 sp1), and after logging the msi installation i always get : InstallFiles: File: Borland.Delphi.dll, Directory: , Size: 102400 DEBUG: Error 2337: Could not close file: GetLastError: DEBUG: Error 2835: The control ErrorIcon was not found on dialog SetupError Internal Error 2835. ErrorIcon, SetupError Internal Error 2337. MSI (s) (6C:B8) [16:29:20:310]: Product: Borland Developer Studio 2006 -- Internal Error 2337. is any known compatibility problem between .net 1.1 sp1 and vista new build or any known issue thanks. cosmin Hello Dumian, This appears to be an issue t ...Show All

  • Visual Studio Tools for Office How to unload VSTO 2005 SE Excel Add-In

    If I create an Excel Add-In for Excel 2003 using VSTO 2005 SE, it does not appear in the list of loaded add-ins under Tools/Add-Ins. How can the end user unload the add-in Since the add-in slows down Excel startup by loading the CLR, I want the end user to be able to choose whether to load/unload it. I know I can unload it by modifying the LoadBehavior value in the registry key under HKCU/Software/Microsoft/Office/Excel/AddIns, but I can't ask end users to do this. From Tools/Customize/Commands, select the Command Category. Scroll down the list on the right until you find COM Add-ins. Drag that to the Tools menu and place it just below the Add-ins entry. VSTO 2005 SE creates a managed code ...Show All

  • Windows Forms How to color a particular cell in datagrid based on some condition.

    I have a datagrid control which consist of three columns first consisit of boolean second text and third consist of integer data types. Now i want if my boolean column consist of true value its corresponding integer column should consist of value greater than zero. If this is not the case then its backcolor should change to red. This color change should happen before my user wants to save the data into the databse.Please help me out how can i do this. I am a newbie in this field. Any kind of help would be appreciated. Thanks a lot in advance..... You can do this in multiple ways. It depends a bit on the exact needs and when the cell needs to change color. Here is a solution that changes the colo ...Show All

  • Visual C# Process.start() how to

    Hi All, I'm using process.start() to execute msbuild.exe. Is there any properties or method that I could set or call to wait until it completely finished before the next line of code get executed Best Regards, next line of... your C# code there is. you need to use a WaitForExit() method in the Process class. Example: Process theProcess = new Process(); theProcess.StartInfo = new ProcessStartInfo("filename.ext"); theProcess.StartInfo.Arguments = "args here" theProcess.WaitForExit(); theProcess.Start();   this will wait until the process has finished executing before running the next line of code in your C# app ...Show All

  • SQL Server SSIS Package will not execute when DontSaveSensitive protection level is selected

    Hi, Can anyone explain to me why my ssis packages will not work when DontSaveSensitive protection level is selected My package configurations are set as SQL server configuration type, and I have a table in a database that contains all the sensitive information (passwords and such). If I select "EncryptSensitiveWithUserKey" everything works, but I will be the only one able to execute the packages (not good, I need others to be able to execute them as well). The error I'm getting tells me that the connection is not configured correctly or I may not have the right permissions on the connection. My guess is that the DontSaveSensitive drops the passwords, but when I edit the data source and re-enter the password, it still do ...Show All

  • .NET Development Why does the String CompareTo method return inconsistent results?

    Does this make sense Why "*".CompareTo("A") -1 "*A".CompareTo("A") -1 //ok. compares as less than, both times. "_".CompareTo("A") -1 "_A".CompareTo("A") -1 //ok. same results... "-".CompareTo("A") -1 "-A".CompareTo("A") 1 //what ! inconsistent results... why This is causing problems in our application, because the sorting on the DataGridView is unpredictable, and the users of the application are complaining. I can't think of any reasoning that would explain these CompareTo results. Any ideas BTW I found more results j ...Show All

©2008 Software Development Network