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

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

rkslatha

Member List

curiousss
Alexei Moudretsov
kinny_k
Jason Croft
polymorphicx
hazz
Jon Q. Jacobs
slinnd
DavidThi808
Flemming Klemmensen
NegaScout
Maxhec
Andy Britcliffe
Peter Nimmo
Carlos Figuera.
Gerry Aue
Varx
Suresh Venkatraman
JeffNick
Dave Biscuits
Only Title

rkslatha's Q&A profile

  • Visual C++ Can you use C++ dll files in C#?

    The title probobly isn't very descriptive, but that was the best I could think of :\ I've noticed that the 3 managed languages (VB, C#, J#) can all "assimlate" eachother. That meaning, you can, say, create a .dll file in any language, and reference it in any of the other languges (which I know at compile-time or whatever, it converts the .dll to the native language instead). But, is this possible with Visual C++ I've seen a few threads of how people can use C++ .dlls, and then use them in their C# applications. So, how would you go about this Do you have to create a managed C++ application And/or have to tinker with the .dll's assembly, or something Thanks. EDIT: Also, is using a, say, C# .dll file in a C++ application possi ...Show All

  • SQL Server How to update 2005 report definitions to a 2003 Report Server

    I am creating reports using RS with VS 2005 and trying upload them to a 2003 report server, I get the following error... The report definition is not valid. Please verify that the report definition uses the current report definition namespace (i.e. ‘http://schemas.microsoft.com/sqlserver/reporting/2003/10/reportdefinition’). (rsNotACurrentReportDefinition) Get Online Help Also, when trying to open 2003 rdl files in RS 2005, I am warned that the file may not work once converted to 2005. Any thoughts Please read this related thread: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=414302&SiteID=1 ...Show All

  • .NET Development Problem with remoting, works, then mysteriously dies

    I have an application that creates a marshaled object, the lifetime is server controlled. This is a very basic application, all it can do (currently) is return version information. The problem, is that when I run the server, it appears to be running flawlessly. No errors. The client connects, retrieves the version number, and disconnects (just closes the client, can't call disconnect() on a proxy). This works for about 3-15 minutes, then the client starts recieving remoting error "Requested Service Not Found" I don't know why this isn't working. I've written remoting apps before, and this follows the template exactly, but this one quits unexpectedly. It works again when the application is restarted. No errors are thrown The comp ...Show All

  • Software Development for Windows Vista Get or Set accessor expected

    Stupid question probably... I have a private method I've placed within my workflow.cs class file. In this method I have : SqlCommand cmd = new SqlCommand(); I have added the using statements for System.Data and System.Data.SqlClient. When I compile it tells me that a 'get or set accessor is expected' on the 'SqlCommand' object type. I have also tried to add in custom class statements like this but I get the same result. I can't imagine this is a workflow specific thing although it is in the WF class. This doesn't happen in any other class I create. Is there something the WF class itself expects or does it somehow think that this is a property EM Were you working in Visual Studio Everytime you compile Visual Stud ...Show All

  • Visual Studio Team System Apply column options to multiple queries

    Is it possible to transfer column options applied to one single query to other queries. E.g.: You have 50 queries with identical column options. Later on, you decide that you also want to see an additional column for all those queries (result view). Currently, I think, you have to change the column options for each query seperately. Would this be possible in a next version Thanks. If these queries are stored in disk as wiq files, you could write a script to bulk find/replace all those files to include the new column. For those stored in server, you could write a script on object model to get the wiql strings, add new column and save it. There isn't a built in UI to do it in product and this is no ...Show All

  • Visual Studio AssemblyInfoTask starts at revision 0, but team build at revision 1

    We are using the team build to do a nightly build/deployment and the assemblyinfotask to increase the build number in the assemblyinfo file. But the first build start with revision 1 in team build but assemblyinfotask at revision 0. Is it possible to change TFS or assemblyinfotask so they are synchronized and start with the same revision number Actually, now that I think of it, that's how the code works. It always rolls to 0 when resetting the date, and there's no way to override it :( The only thing you could do is download the source and tweak it so it starts at 1 instead of 0. Neil ...Show All

  • SQL Server Easy NOOB question

    Hi, I'm trying to pass a parameter into a procedure and not getting the results I want.  There's probably better ways to write the procedure, and if you want to suggest one, that's ok, but I'm most interested in just getting the stupid thing to work.  I'm trying to search a bit field in a table with the bit field being the parameter that isn't working.  In the code I include below, @category is the parameter that isn't working.  For this case, "category" is a bit field in a table and I want to be able to pass in different fields and find out if they're set.  When I use the parameter @category, the result isn't right.  If I hard code the field name (for the case below, "Compensation" is the DB field name), i ...Show All

  • Windows Forms Windows Application in Windows Service

    Hi, i develop my project as Windows Application at the first time. After developing for a while, i encountered Windows Service. The reason that i need the Windows Service is that, i need my program to be able to run when user log on, and not closed when log off. But in some occassion, my project need to show window form. Can i reference the Windows Application to Windows Service by Using syntax Or there are other ways around to solve my issue Thanks in advance. This is not a good idea at all. Services usually run in their own virtual desktop, and any message boxes/forms they show would appear there, not to the user. You can mofiy this behaviour using the "Interact with desktop" options, but what if the user isn' ...Show All

  • Visual Studio Team System Count how many files are in a directory in Source Control Explorer

    Is there no way to count how many files are in a directory in Source Control Explorer I always have to count them manually. I can't remember if I added all new files. ...Show All

  • Visual Basic 101Samples but can't use

    I downloaded the 101Samples for VB, it says, and installed them, but the first one I try to examine, WorkingWithTheInbox, I get error "Project type is not supported by this installation." Of course, it doesn't mention what the type is or what is missing from the installation or how to find out. Another following dialog box says "Make sure the application for the project type () is installed." Suggestions And while I am asking, after making cut and paste a major feature of Windows, why can't I copy the text out of the message box to paste here Same thing with Help About - as in "Please give the date and version information from the Help About." And copying will not work to pick up the strange small detai ...Show All

  • Smart Device Development Hot to get menu-height programmatically

    Hello everybody! Using System.Windows.Forms.Screen.PrimaryScreen.WorkingArea.Height on my PocketPC (WM 5.0, .NET CF 1.0) I can get the height of the working area. But I would like to know the height of the working-area minus the height of the menu so that I finally know the height of the white space between the taskmenu and the application menu. The height of the menu is 26 px, but I dont whant to hardcode this. Can anybody help, plz M. Abraham Hi Use the native API GetSystemMetrics to get this info. Sample: int caption = GetSystemMetrics (SM_CYCAPTION) + GetSystemMetrics (SM_CYFIXEDFRAME); The P/Invoke declaration required for this: [DllImport ("coredll.dll")] public static extern int ...Show All

  • Visual Studio Express Editions Forms help please... :)

    Ok, I have got 2 forms, 'FormA' containes a RTF Text Box and is my main form, and 'FormB' is my search query form. In FormB they type in what they would like to search for in FormA. When the user searches for a specific text with FormB, nothing in FormA is highlighted unless FormB is closed or no longer has focus. I have verified that everything is working, and it is searching but the highlighted text is not being shown while any other form has focus. For an example, Windows Notepad... if you do a 'Find', the text box behind the Find box highlights text and returns focus onto the Find box. When I do this with my program, if my Find box (FormB) is focused, the highlight goes away unless I give my main screen focus again. I would li ...Show All

  • Windows Forms General ListBox Question

    Hi, In a CSharp project I am creating, I have a form named startForm. On that form I add a listBox. Usually I have then added items to the listBox right in the Form class. On this project I need to access the listBox from a different class. I have made the listBox public thinking that I would then be able to access it, that does not work. How would I get the listBox visable to the class that I have added Thanks Jeff Make sure you have a reference to the startForm instance available to the different class. Either the different class needs to create the startForm instance, needs to be passed the startForm instance via the constructor or a property on the different class, or available via a ...Show All

  • Visual Basic Please help

    Write a program to provide information on the height of a ball thrown straight up into the air. The program should request the initial height, h feet, and the initial velocity, v feet per second, as input. The four options to be provided by buttons are as follows: a) Determine the maximum height of the ball. Note: the ball will reach its max height after v/32 seconds b) Determine approx. when the ball will hit the ground. Hint: calculate the height after every .1 second and observe when the height is no longer a positive number c) Display a table showing the height of the ball every quarter second for give seconds or until it hits the ground. d) Quit The formula for the height of the ball after ...Show All

  • Visual Studio Express Editions Use Visual Web Developer 2005 Express Edition & Crystal Report

    Can I use Visual Web Developer 2005 Express Edition create web application link to crystal report for generating report & exporting report to PDF/Excel If yes, where can I get crystal report plug in Is any license require for crystal report plug in Please provide information to me. Thank you! Crystal Report is not included with the Express products, and I don't know if or where you would be able to purchase it. Here's a link to a thread in the asp.net forum abou this topic: http://forums.asp.net/thread/961322.aspx Tim<MSFT> ...Show All

©2008 Software Development Network