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

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

ManjuVijay

Member List

Shady9399
ernisj
Gobi N
McAfe
MaggieChan
Dave R - 140362
ejamashu
Al-Arabi
balasaravanan_v
Thomas Greenleaf
Nightman28
Marnik Van Hileghem
doowadidley
DaGlow
Dan Fergus
jdrawmer
gokce
ahallowell
Chicomaravilha
jaymc
Only Title

ManjuVijay's Q&A profile

  • Visual C++ linkage error when using _DEBUG with multi-threaded dll (as runtime libraries)

    Hi, We work on a project and would like to be able to use some dll's in release and some in debug. There for and since we use stl we wanted to change our runtime libraries (for the debug build) to use the "multi-threaded dll" and not the "multi-threaded debug dll". doing so created a link error: error LNK2001: unresolved external symbol __imp___CrtDbgReportW as I understand things this shouldn't have happend (I guess it's new to VC++ 2005 due to the runtime checks of iterators). I have found 3 ways to solve it but none is what I would like to use. 1. removing the _DEBUG from the preprocessor definitions. 2. undef the _SECURE_SCL before every include to stl. 3. define _imp___CrtDbgReportW as our own function. here is an ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Trouble creating my effect object

    I have the following code: CompiledEffect compiledEffect = Effect.CompileEffectFromFile("Shaders\\simple.fx", null, null, CompilerOptions.Debug | CompilerOptions.SkipOptimization, TargetPlatform.Windows); m_effect = new Effect(m_graphics.GraphicsDevice, compiledEffect.GetShaderCode(), CompilerOptions.None, null); Unfortunately, on the second line, I get an exception. Microsoft.Xna.Framework.Graphics.InvalidCallException was unhandled Message="External component has thrown an exception." Source="Microsoft.Xna.Framework" ErrorCode=-2147467259 StackTrace: at Microsoft.Xna.Framework.Graphics.Effect.CreateEffectFromCode(GraphicsDevice graphicsDevice, Int32[] effectCode, CompilerOptions options, EffectPool p ...Show All

  • SQL Server How to specify input parameters?

    I'm very new to SQL Server so please forgive me if this question is ridiculously simple. I have to upgrade the report engine from one that was used in a legacy VB6 app to a C#.net app. In doing so, I'm looking at assorted reports that came out of the old app. Here is the SQL code for one of them: SELECT (LTRIM(STR(From_To,10,0)) + '-' + LTRIM(STR(From_To + 49,10,0))) AS Bonus_Earned, COUNT (Empl_ID) AS Men, round(SUM (SumDollars),2) AS Group_Earn, round((SUM (SumDollars) / COUNT (Empl_ID)),2) AS Calc0 FROM (SELECT CONVERT (int, round (SumDollars / 50, 2)) * 50 AS From_To, SumDollars, Empl_ID FROM (SELECT round(SUM (Actual_Hours_Dollars.Incentivedollars * Contract_History.Bonus_Pct / 100), 2) AS SumDollars, employees.Empl_ID FROM ((Employe ...Show All

  • Visual C# DLL Returns object {string[]}

    Greetings, Calling a DLL method that returns an array of strings, but I can't cast to string[]; object o = myMethod(); string[] s = (string[])o;    //generates "Unable to cast object of type 'System.String[\*]' to type 'System.String[]'. (I had to put the \* in, without the \, it treats it as a different [\*] as a different char) The Autos window shows the data properly; [1] "String1" [2] "String2" Thanks for the reply, but object o = myMethod(); returns something which shows up in the Autos Window of VS as type "object {string[]}" with {Dimensions:[1..3] and the elements in o are of type "string". It is clearly an array of strings. object o is an object, not an array, ...Show All

  • Visual Basic Iterating through a given component type in a VB form

    Hello all, I am looking for a way to iterate through a given component type in a VB form. For example, if I want to go through all the buttons found in a given form and change their text to "XYZ", is there perhaps a "For Each" technique to do that The alternative is an ugly hardcoding of the button names, in the above example, and changing their text one by one ... not what I want. Cheers all. N. Farr Hi, the following code runs through all controls, put directly on your form and sets new text of all controls that are buttons: For Each control As Control In Me .Controls Dim myButton As Button = TryCast (control, Button) If myButton IsNot Nothin ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Dream Build Play only open to US?

    I've just tried to register for the Dream Build Play contest but it looks like it only accepts registrations from the US. State is a required field and there's no option for "Non-US" or for me to enter my country (UK) for that matter. I shall be severly annoyed if this is yet another example of how Europe gets screwed over. I apologise whole-heartedly for rushing this post. I've have read several answers on this forum already =o) For reference: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1176361&SiteID=1 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1175287&SiteID=1 ...Show All

  • SQL Server list of Databases

    hello anybody now i need to find how many Databases in my local SQL server (programatically).i know i have 8 databases is there but i need to print each and every database. can anybody help me. thanx kiran. The problem with sp_databases is that it displays the system databases, together with Northwind and Pubs. I use this to identify my databases: USE master GO SELECT name FROM sysdatabases WHERE dbid>6 ...Show All

  • Visual FoxPro SELECT .... INTO TABLE <existing table>

    G_TempDBF = "C:\scratch\" + SUBSTR(SYS(2015), 3) + ".DBF" SELECT field1, field2 FROM myTable INTO TABLE (G_TempDBF) USE (G_TempDBF) ALIAS CUSTOMER INDEX ON field1 TAG field1 I have created a temporary table, stores the retrieved records into it and alias it CUSTOMER How can i reuse this temporary table for other SELECT statements SELECT field3, field4 FROM myTable INTO CURSOR CUSTOMER ---> results in an error saying Alias CUSTOMER has been used. Is there a reason you're using a table and not a cursor select field1, field2 from myTable into cursor customer readwrite would do what you want in most situations. ...Show All

  • Visual C# Refresh Property Grid Values

    Sorry, but I had to repost this in the C# forum because no one answered me in the Windows Forms forum. Say I have an object, "oFoo", and I assigned oFoo to a PropertyGrid on my form. oFoo also has a .CurrentValue property. If I have a TrackBar (tBar) on my form, and when the user scrolls the TrackBar, oFoo's .CurrentValue is updated respectively. How do I refresh the CurrentValue so that it shows up correctly in the PropertyGrid Right now, the only way I can do that is by refreshing the entire PropertyGrid, but I would think there would be a better, more standard way of doing this. I've tried using RefreshProperties(RefreshProperties.All), but it doesn't even refresh the value in the property grid, so I'm pretty stuck ...Show All

  • Windows Forms Custom Business Objects & Column Names

    Hello, I could use some assistance with what I had thought would be a simple problem... I have several classes, however let us say that we are going to bind to a (simple for the purpose of the question) class defined as: public class Person { private string _firstName; public string FirstName { get { return _firstName; } set {_firstName = value; } } Public Person() { } } When binding to such data, the column names are derived by the name of the public properties defined on the class. In this case, I would end up with a column called 'FirstName'. How can I intercept and provide a different name when the class is being bound In this example, I simply would want the column name to be 'First Name'... but I hope you can ...Show All

  • SQL Server Help with SOAP Lite client error problems - CGI code

    Hi, I have been working on a soap client project for over a week now and can not figure out what I am doing wrong. I am not an expert using Perl or SOAP so any help would be "greatly" appreciated. I get basic errors throughout, starting with: Error - SOAP::Transport::HTTP::Client::send_receive: POST It seems as if the user access information is not carried through as it should, but I truly have no idea what the problem is. Here is what I have put together so far. Thanks, Mark sub procgetmemberinfo { my $pin = "$form{'lPin'}"; my $password = "$form{'sPassword'}"; my $soap = SOAP::Lite -> uri('https://xmlsql.XXXXX.xxx:441') -> on_action( sub { join '/', 'https://xmlsql.XXXXX.xxx:44 ...Show All

  • SQL Server share report

    I got the following in my report server log: w3wp!library!1!01/29/2007-17:15:39:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: The report server has encountered a configuration error. See the report server log files for more information., SharePoint content service is null. Report Server may not have joined the SharePoint farm, or Report Server service account may not have been granted access to farm.; Info: Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: The report server has encountered a configuration error. See the report server log files for more information. I tried to make the report server integrate with share point 2007. all servic ...Show All

  • Visual Basic A Simple Visual Basic Question

    I'm walking through the book "Microsoft Visual Basic .NET Programming for the absolute beginner" I'm on my third program in my third chapter, I's like to finish the book. These are very, very simple mind you. I'd like to finish the book. I started a new project - it was a visual basic one, windows application. I named it Msgbox I double clicked the form to open up the code window. Running the code at this point, with F5, yields just a black window. I typed in two lines of code exactly as thry appears in the book. MsgBox("Visual Basic .NET Programming for The Absolute Beginner") End MsgBox was underlined by the built in compiler. Remember this is only the first two line of code in the program. In the third chapt ...Show All

  • Windows Forms Height limit

    Hi all I am using C# in VS.Net 2005. I have found that I cannot set the height of a form greater than 1036. Does anyone know if 1036 is absolutely the maximum for a form's height or any way to change the limit Thanks, Whatever it's doing, I don't think it's that advanced. The screen I was developing on was 1280x1024 and it allowed me to make it 1036 high, indicating some sort of preset limit for a certain range of resolutions. I didn't turn up anything either. It seems to be an undocumented 'feature' of the designer. ...Show All

  • SQL Server Visual Studio 2003(1.1 .NET Framework) SQL Server2005 compatibility

    Hello, I had a simple question (I'm hoping). Can a 1.1 .NET Framework ASP.NET website use SQL Server 2005 Express edition for it's database Thanks. Brandon ...Show All

©2008 Software Development Network