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

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

Lunatic_Magnet

Member List

JWedg
Jakein2006
Magos294963
Insider96774
Nfrf
Heng-yi Liu
NeederOfVBHelp
SashaBr
CGSReddy
zapacila89
MA2005
RaviKanthReddy
Andr&#233&#59; Dias
QWERTYtech
Alisa619
Indirani
Sweeps78
AlexInToronto
Mateusz Rajca
PeacError
Only Title

Lunatic_Magnet's Q&A profile

  • Visual J# Have Exception.Message display Exception.getMessage()

    Hi; When our J# code thows an exception that is derived from java.lang.Exception, then in C# it is a System.Exception and the Exception.Message is "Exception of type 'net.windward.tags.TagException' was thrown." It would be a lot more valuable for us if System.Message was the string returned by TagException.getMessage(). Is there a way to do this thanks - dave Hi, I assume that you want to display System.Exception.get_Message() instead of java.lang.Exception.getMessage(). To acheive this you can Catch exception of type System.Exception and extend your ExceptionClass from System.exception. Sample code: public class Class1 { public static void main( String as[]) { try { i ...Show All

  • SQL Server A Question of Views

    Hi, A question regarding Views. If a views is created which is made up of several unions from several tables; and when a select is placed on the view with a filter on a particular field, will the view first run the entire underlying query and then perform a filter, or otherwise. Please explain. Thanks a lot Gogula Annoyingly, the answer seems to be 'it depends'. The optimiser can do a lot, and if you have a 'union all', then the optimiser can tell that this can be expanded out. But it will use statistics and so on to check to see whether this is ideal or not. The best thing to advise you is to try it. Get some sample data similar to your real-world situation, and try out some cases. If you find it's not doing what you want, tr ...Show All

  • Visual Studio Team System TF42005: Failed to get build type files.

    We're getting the following error at pretty regular intervals throughout the day (actually, it seems to happen nearly every build). I believe that our build, ContinuousIntegration is a valid build (it builds :)), and I have verified that the account it runs under (tfsservice) is a member of the proejct's build services group. Thoughts TF53010: An unexpected condition has occurred in a Team Foundation component. The information contained here should be made available to your site administrative staff. Technical Information (for the administrative staff): Date (UTC): 11/1/2006 9:12:17 PM Machine: [machine name] Application Domain: TFSBuildService.exe Assembly: Microsoft.TeamFoundation.Build.Common, Version=8.0.0.0, Culture=neutral, ...Show All

  • Windows Forms Getting current row values from my BindingSource in C# VS 2005!!!

    Hello, How can i get a current row values from my BindingSource. I have a DropDown List that points to a view, and I set a column of my view to be displayed in my DropDown list and another column as it's value. I need to display another column of my view in a ReadOnly TextBox right near my DropDown list. Thanks so much in advance, Mathew Mathew, First question ... I prefer to do it in code rather than the Property Sheet ... it's quicker for me, but that's mainly because I'm so used to doing it this, after having done it this way for 5 years now. VS2005 may be better than previous versions in this respect, but I'm not really sure of that since I still continue to do it manually. Now, your ne ...Show All

  • Windows Forms dependecies not updated on target computer changing version

    Hi all, I have a problem with my set up project (created with visual studio "set up project" template). I can summarize my scenario in this way: the main project is a windows application using several other libraries, each contained in another project of the same solution. When I have created the setup project, the dependecies to library projects are correctly resolved and the result msi can be used in the target machine for installation. The problem is when I make some change to the libraries. When I finish with changes I increment library version and rebuild the setup project. Now, the setup project correctly refresh the version of the dependencies. The problem is with reinstalling the application to the target mach ...Show All

  • SQL Server To program between the process of load of data in SSIS

    It is possible to program part of the process of load of data within the SSIS. The origin is a Flat file (.txt and .dat) and the destiny a SQL Server 2005. All the fields of the file are not mapean origin with the destiny table and data are needed other tables that are in the Data Base. Maybe, I don't understand what you really need. Start here - Working with Packages Programmatically ( http://msdn2.microsoft.com/en-us/library/7474b1f4-7607-4f28-a6fd-67f7db1dd3f8.aspx ) ...Show All

  • Windows Live Developer Forums CSV Report returning as binary data

    Prior to this week, I was able to retrieve reports without any problem. After getting the API back up today, I noticed that the data being returned from the report that I requested was coming back all jumbled. I believe it's coming back as a binary file and not text as it was previously. I am setting the format using report.setFormat(APIResultFileType.CSV) in Java. Is this expected behavior Should I be doing something different to read the result Is there encryption going on Thanks, Luke Fahad, When you unzip the input stream, are you actually getting data out I am getting an empty string. Here is the relevant code I am using. private static void extract(ZipInputStream in, OutputStream out) ...Show All

  • Visual Studio 2008 (Pre-release) Install Issue Orcas RC1

    I have the following installed .NET Framework 3.0 (RC1) Microsoft Windows Software Development Kit (SDK) for RC1 Visual Studio 2005 But the Orcas RC1 tells me that i'm missing .NET 3.0 Runtime Files which are Installed..So i'm at a loss here,any help will be appreciated...Thxs OS: Windows XP Pro with Media Center 2005 I checked my system, and it didnt appear (but not totally sure) to have any old .Net 3.0 components installed. But Im sure that I have not install any older version of Orcas CTP kits, because VS2005 would not show the option to create a WinFX application. So I tried the command line installation to skip the check. The installation completed with no error. When I start up VS ...Show All

  • Visual C++ how do that?

    how I can arrive to memmory adress and how I rechange It by c langaue I know that not the true place to write that but I didn't find else that , please help!!!   mshmhm wrote: your idea about rechange the input of memory address is wrong Then explain what you are trying to do. I am sorry if my comments about English made a bad impression. My intent was to be nice; I just wanted to explain that answers can be vague even for people very familiar with English. I might have modified my comments after I posted them in an effort to be as reasonable as I could think of so if you read what I wrote that was sent in the message then you might have gotten a version I modified.   mshmhm wrote: you must not know c ...Show All

  • Visual C++ error LNK2019: unresolved external symbol _wWinMain@16 referenced in function _wWinMainCRTStartup

    I am getting the following error: error LNK2019: unresolved external symbol _wWinMain@16 referenced in function _wWinMainCRTStartup I am building a .NET application (not console). I am using Unicode and I did change the entry point in project settings to wWinMainCRTStartup. Can anyone suggest what might be wrong Thanks, Michael The entrypoint setting should be whatever your winmain function is, not the CRTStartup function. In the past I've occasionally had issues with this, and I've just let the compiler determine the entry point. ...Show All

  • Windows Forms Format Text for PhoneNumber

    If i have a text field and i want to enter a phone number like 12345678190...but i want it inserted in my db like 123-456-7890 how would i go about doing that Oh I see the erro in my ways but...now i have it this way and it still does not work, it does nothing now, what am i missing private void txt_TextChanged( object sender, System.EventArgs e) { //string pnum = ""; if ( this .txt.Text.Length == 3) { this .txt.Text.Insert(3, "-"); } if (txt.Text.Length == 7) { this .txt.Text.Insert(7,"-"); } } } } ...Show All

  • Windows Forms ControlGroup And Panel

    What substantially is the difference between a GroupBox, and a Panel...other than one of them has a title in the top left corner They are both very simple controls that add but a few features to their base class. GroupBox derives from Control and just adds painting of the frame. Panel drives from ScrollableControl and adds just about nothing. The key difference between the two is that Panel can scroll its contents, Groupbox can't. ...Show All

  • Visual Studio IIS question.

    I got Visual Studion 2005 from MS last year but didn't have a computer to load it on till now. I installed it on the weekend. I was surprised there were no installation instructions, not even on the CD, except for a long list of things that could go wrong. I managed to install with no problems but when it was finished there was a cryptic message about registering ASP.Net with IIS if IIS wasn't already installed. I didn't have IIS installed. I seem to remember with 2002 and 2003 there were detailed installation instructions that included steps to install IIS and FPE. Can I find those instructions for 2005 Or are there separate instructions for installing IIS (and FPE) and then retrofitting this into my VS install I have XP Pro with SP ...Show All

  • Visual C# [var++] or [++var] for [for] loop

    I just recently noticed that for [for] loop in every single code I wrote and from code snippet in VC#, both use the same following code pattern (notice the increment pattern): for ( int i = 0; i < length; i++ ) { } AFAIK, the increment condition I should be the next value which is [i = i + 1]. And I think [i = i + 1] is better translated as [++i] rather than [i++], though both of them behave indifferently in the looping process. What do you think about this, guys There's loads of games you can play with for(), especially since an expression can also be a statement. The equivalent code for for (initstatement; testexpr; loopstatement) statementblock is: initstatement; loop: if (testexpr) { statementblock; ...Show All

  • Visual C# Question on c# Language Specification

    Hello msdn community... Reading ECMA-334 ( http://www.ecma-international.org/publications/files/ECMA-ST/Ecma-334.pdf ), on basic concepts (page 91) I came to the following two: "Types declared in compilation units or namespaces can have public or internal declared accessibility and default to internal declared accessibility." " Interface members implicitly have public declared accessibility. No access modifiers are allowed on interface member declarations." My question is the following: Declaring an interface at namespace without the use of any accessibility modifier will result in a interface with (default) internal access. How can this interface's members have public accessi ...Show All

©2008 Software Development Network