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

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

aler2u

Member List

Hemant Hindlekar
srinivas_kv80
fhinz
fcuifrank
Martin Moe
mcnamaragio
neurobion
enric vives
Participant
Trini_Pierre
dc3
Greg_Dodd
White Hawk
Kamii47
ashmag
rusty123
logtorahul
Philip Wagenaar - Nashuatec
netweavernet
ajedi2k
Only Title

aler2u's Q&A profile

  • Windows Forms Vb.Net 2005 -=> Form Designer out of sync with the "Windows Form Designer generated code"

    For some strange reason, the controls location on the form do not match the "Windows Form Designer generated code" so when the form is loaded the layout is different to how I see in in designer. If I make an adjustment to the form and check it out from source control, the .vb code gets updated. re-writes all propertys etc and messes everything up. It looks as though someone has been editing the .vb code on the fly so they are now out of sync. Or at least that's one possibility. I'm using Infragistic controls. Would it be feasible in this case, to delete the resx file, re-compile, so that it creates it from scratch ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XBox 360: Detect widescreen vs 4:3?

    Right now it looks like our games pretty much dictate their size and whether they're windows or full-screen. But, obviously, once we get to the 360 the choice of windows vs full-screen will be gone. And I get the impression that if we code for 720p that the 360 will automatically downscale if needed. But I still don't know how we're going to detect whether the output is headed for widescreen or 4:3. If we make the choice to program for widescreen only will the 360 letterbox for us, or will it just get squished or truncated While it might downscale to 480 or upscale to 1080, I don't think it'll do any auto magic to translate aspect ratio. "4:3" isn't a resolution... I can run my widescreen TV at e ...Show All

  • Visual C++ zooming Problem

    below is my coding,i'm facing the zoom problem.i've tried to use the serveral methods- glScalef(),glFrustum(),gluPerspective() and glOrtho(),but not working.how i would do about this. void ChangeSize(int w, int h) { GLfloat lightPos[] = {-50.0f, 50.0f, 100.0f, 1.0f}; GLfloat nRange = 100.9f; //Prevent a divide by zero if(h == 0) h = 1; //Set viewport to window dimensions glViewport(0, 0, w, h); //Reset projection matrix stack glMatrixMode(GL_PROJECTION); glLoadIdentity(); //Establish clipping volume(left, right, bottom, top, near, far) if(w <= h) glOrtho(-nRange, nRange, -nRange*h/w, nRange*h/w, -nRange, nRange); else glOrtho(-nRange*w/h, nRange*w/h, -nRange, nRange, -nRange, nRange); //Reset model view m ...Show All

  • SQL Server Developing Thirty Party Controls for RS2005

    I want to develop a new report control or extend the existing textbox control in RS2005. Is there any documentation or examples on how to do this Thanks, Check out Teo Lachev's recent MSDN article on the CustomReportItem feature of RS 2005: http://msdn.microsoft.com/msdnmag/issues/06/10/SQLServer2005/default.aspx -- Robert ...Show All

  • Visual Studio 2008 (Pre-release) Demo III: Offline Application – WebService

    Hello all, The N-Tier demo has finally arrived. This demo shows you how to take the server side code, basically the ServerSyncProvider along with all SyncAdapters that we build in the last demo, and expose it as a web service. On the client side, you generate a web service proxy and build a thin wrapper around it to be able to plug it into the sync agent. These steps and more are described in the accompanying readme.txt file. For more details and to download the project please visit my blog at: http://blogs.msdn.com/synchronizer/ Download sample: http://blogs.msdn.com/synchronizer/attachment/1554160.ashx Rafik, I was able to get the web service up and running with no problem, but after I added the webreference to the clie ...Show All

  • .NET Development Base-64 encoding

    I recently read this blog post: http://blogs.msdn.com/shawnfa/archive/2005/11/10/491431.aspx and it said that I should use base-64 encoding to turn strings into bytes because "base 64 encoding is guaranteed to be able to accurately represent any input byte sequence" well when I run this code: Dim clearBytes As Byte () = Convert.FromBase64String(strInput) I get a FormatException with the message "Invalid character in a Base-64 string" strInput just contains the contents of an xml documument. There isn't anything besides ascii characters in there. What could be causing this But Convert.ToBase64String() takes a byte array, that doesn't work if the xml is already in ...Show All

  • SQL Server can'd find SSIS for installation in Server2003SBS-PR

    I bought a new HP server with Windows 2003 SBS Premium. I also was told buy the company how installed the server, that they installed all the components of SQL. When another company came to install a new business software for us, they told me that the Integration services is not installed. We tried together to install the SSIS with no luck. When we run the Setup(or used Add/Remove software) we couldn't find the Integration services check box in the list of the setup. I also asked assistans from the company that i bought the server fromk, and they also couldn't understand where is it. We have an HP Proliant server, Windows server 2003 small business preminum SP1, SQL server 2005. I was told that without the ...Show All

  • Visual Studio Team System How to handle large numbers of projects and binary references

    Currently we are in the midsts of moving from VS 2003 and VSS to VS 2005 and Team Foundation Server. Although we are a small development team of 4 developers, we manage and code over 200 projects which we currently have broken down into approximately 30 solutions. Right now our VSS has the following structure: $/ $/Company $/Company/Folder $Company/Folder/Solution1 $Company/Folder/Solution1/bin $Company/Folder/Solution1/scripts $Company/Folder/Solution1/Project1 $Company/Folder/Solution1/Project2 ... $Company/Folder/Solution1/ProjectN $Company/Folder/Solution1/refs $Company/Folder/Solution2 $Company/Folder/Solution2/bin $Company/Folder/Solution2/scripts $Company/Folder/Solution2/Project1 $Company/Folder/Solution2/Project2 etc... The ...Show All

  • Visual C++ Is __assume() supposed to crash application?

    Can someone tell me why the following code crashes in release mode builds with optimization in VC2005/SP1 #include "stdafx.h" #include <stdio.h> void func1(int i) { printf("func1(%d)\n", i); } int _tmain(int argc, _TCHAR* argv[]) { int p = 3; // The following example is almost identical to the Microsoft Help at // http://msdn2.microsoft.com/en-us/library/1b3fsfxw.aspx switch(p){ case 1: func1(1); break; case 2: func1(-1); break; default: __assume(0); // This tells the optimizer that the default // cannot be reached. As so, it does not have to generate // the extra code to check that 'p' has a value // not represented by a case arm. This makes th ...Show All

  • Visual Studio 2008 (Pre-release) Metadata Exchange Not Working In IIS?

    I want to display the metadata similar to a wsdl. I read that you should address your service that is being hosted in IIS like so in order to get the metadata http://localost/myfirstservice/service.svc/mex . However I keep getting page not found. Here is my configuration settings in my web.config file: < system.serviceModel > < services > < service name = " MyService " behaviorConfiguration = " MEXGET " > < endpoint binding = " wsHttpBinding " contract = " IMyService " /> < endpoint address = " mex " binding = " mexHttpBinding " contract = " IMetadataExchange " /> </ service > </ services > ...Show All

  • Visual Studio Team System Problem with DoNotCastUnnecessarily

    This method erroneously advised me not to write struct MyStruct { public override bool Equals(object o) { if(!(o is MyStruct)) return false; MyStruct other = (MyStruct) o; //...... } } it says, instead, you should use: MyStruct other = o as MyStruct; 1st: I'm suprised the line above compile with a struct, it used not to compile in 1.x 2nd: This is an error to write such code with struct Oops. I'm sorry. I think I could say the "thou shall not program at 2AM" bug has claimed one more victim... ...Show All

  • Visual FoxPro Passing multiple variables from forms w/ VFP7SP1

    I'm an old Clipper (S' 87) programmer that needs to figure out forms with VFP. The attached code generates a form containing a set of four optiongroups that set basic comm port parameters on the local host for serial communication with an instrument (usually an electronic balance). I'm trying to use the form to replace a series of cascading menus in the original program. My intent is for the form to recognize the 5 existing parameters in the main prg, permit user input and then pass any changes back to the calling procedure or function using a array embedded in the form when the user clicks [OK]. Clicking [Cancel] should leave the parameters unchanged. Can somebody please suggest a technique for passing multiple variables back and forth be ...Show All

  • Visual Studio Equivalent for <see langword="null"/>

    Hi, NDoc used to have an extremely cool feature that allows you to include phrases like 'null reference ( Nothing in Visual Basic)' in your code without typing it all the time. It's documented in http://ndoc.sourceforge.net/content/tag_see.htm. I have noticed that these special tags don't seem to work in sandcastle. Is there an equivalent feature for this somewhere If not, could this feature be added because it is extremely useful and not just for null. Regards, Michael I second that motion. Additionally, all the langword values would be very useful - I use them all the time: null sealed static abstract virtual The <see langword="null"/> syntax seems to have been adopt ...Show All

  • Visual Studio What does SOURCE_CONTROL_SETTINGS_PROVIDER in .vspscc/.vssscc files do?

    Over time, some of our projects have had this setting changed automatically by visual studio. We would like to make sure all our projects are treated in a consistent manner and so want to set this to the same value for all, but we do not know what the option actually does. Some are set to PROJECT and others to PROVIDER. Could someone please explain what the differences are Thanks. Comiha, do not change manually the settings in the vspscc/vssscc files, as you may break source control integration. The SOURCE_CONTROL_SETTINGS_PROVIDER string tells us who provides the source control bindings of a controlled project. If the setting is "PROJECT", VisualStudio uses the bindings stored in the proj ...Show All

  • .NET Development MySQL DateTime Error

    Hello... I'm having a nigthmare with this... I have a DateTime value with format "mm-dd-yyyy HH:MM:SS" and i want to change it to "yyyy-mm-dd HH:MM:SS" in order to storage it in MySQL DataBase.. Can anyone help me to do this.. That was the solution.. i used the ToString("yyyy-MM-dd") and now i can storage the value in the Database. This is the code i used.. as a novice, i guess there's a better way, but... StrMyDate = sYear & "/" & sMonth & "/" & sDay MyDate = Convert.ToDateTime(StrMyDate).Date MyDtSet.Tables(0).Rows(i).Item(0) = MyDate.ToString("yyyy-MM-dd") sYear, sMonth and sDay are string values - when i converted to ...Show All

©2008 Software Development Network