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

Software Development Network >> K. Ravinder Reddy's Q&A profile

K. Ravinder Reddy

Member List

dragoncells
Folyjon
Sean McLellan
Lu&#237&#59;s M. Costa
Daticus
Leonid Niraev
ngkay
Ajaidas
Bobal
Wojtek Podgorski
CJira
Learning VB
best49erfan
sbogollu
Wayne Pfeffer
AlexB-007
Mads Torp Jacobsen
john82
Martin Danner
gteddy
Only Title

K. Ravinder Reddy's Q&A profile

  • .NET Development Error loading assembly (C++)

    Hello folks. I have a big problem here with Assembly loading. Maybe someone has experienced the same. My application uses a C++ assembly (A.dll), witch one uses as reference another C# assembly (B.dll). Both A.dll and B.dll have been configured as 1.6.2.0 version, and strong naming. Now we made some changes and decided to release a new version: 1.7.0.0. Since we started with these project, we always had changed the version number of the assemblies in AssemblyInfo.cs file (for C# libraries) and AssemblyInfo.cpp plus rerource file (for C++ libraries), and everything worked fine. But with Visual Studio 2005 and .NET Framework 2.0, a strange error started to occur when I changed the version numbers. For ...Show All

  • .NET Development Random Number Generator Problem

    Hi all, I cannot seem to solve this problem: I am attempting to generate a unique filename with the help of the Random Number Generator (RND.Next.ToString). All seems to work fine except that one third of the time, I get duplicate file names; this poses a critical problem for my application. The problem only seems to happen when Method1 calls Function2 to generate and return the random file name. If I move the logic to generate the filename into Method1, it works properly. I have tried to use SyncLock, etc. but to no avail. Why is it that when Method1 calls Function2 to generate the random file name, I get duplicates, whereas if I move the logic from Function2 into Method1, I get no duplicate file names. Is this due to threading ...Show All

  • Windows Forms embedded datagrids

    ASP 1.1, VS 2002, webform! Hi, I was referred to this forum from ".net access and storage" as my problem might be databinding related. I know this is a window forms forum but as I said it was suggested that I raise it here under databinding and there does not appear to be a webform forum. I have a master/child datagrid. The master datagrid has 2 embedded datagrids derived from template columns. The datasource for all grids are dataviews and filtering can be applied on the mastergrid. The master grid is paged. When I load the master grid the embedded grids are populated via the OnItemDataBound method for the first page. When changing page or selecting a grid item a sub routine is run which references a session object t ...Show All

  • SQL Server Data Conversion Numeric to date

    I have some data which I am trying to put into a DM where I can use it as part of a cube (my first!!) I have hit a small problem with dates, I get it from the ERP system as a numeric field, and I need to convert it to a date format. The intension is to use this converted data with Named Calculations to derive Year, month Day ect. However I cannot seem to be able to convert and store (in SQL) this column can anyone advise Thanks The source column is called AHDATE and a value is 60703 which I am told is YY/MM/DD and using a data conversion componant transforming to data type date[DT_DATE] I get 12/03/2066 00:00:00 Which is way out Thanks for any help Robbie ...Show All

  • Windows Forms Duplicating the contents of a treeView

    Hello, I have 2 treeView controls on my form. Can you please tell me how can I copy all the nodes with the same structure from treeView1 to treeView2 Note: I'm using .NET 2005. Your help would be greatly appreciated. You need to clone all the top-level nodes. This will do what you want: destinationTreeView.Nodes.Clear(); foreach ( TreeNode node in sourceTreeView.Nodes) { TreeNode newNode = node.Clone() as TreeNode ; destinationTreeView.Nodes.Add(newNode); } ...Show All

  • .NET Development Primary Interop Assembly for IStorage (ole32)

    Hi is there an "official" PIA for IStorage Given that its used all over VSTO, I looked in there, couldnt find anything relevant (or did I miss something ) (More specifically, I'm looking for a handy little wrapper class to use in C# - my C++ is well rusty) TIA Sorry should have been clearer - I couldnt find any reference to it, but the interface is used extensively in Word, Outlook, excel etc to save the office documents in structured storage - thats why I looked in VSTO. The only documentation I can find is aimed at C++ - theres nothing for C#.  In fact, I'm a numpty - ole32 is not a COM dll, so you cant create a PIA for it..! What I'm looking for is a handy little util ...Show All

  • SQL Server Performance issue on SQL 2000

    Queries are performing much slower on production server - configuration 8 GB RAM 4 CPU and database size 500 MB Same database and application works much faster on development server - 4 GB RAM 2 CPU and copy of production. Compared one of the most important query and found - both servers are using different query plans - cleard the cache - Compared all settings of sp_Configure - they are all same. Same version of patches. Same edition. Production it takes 18 seconds and dev/test it takes 1 second. Production has awe enabled - thats only enviorment difference. Can someone tell me what else to look about this slowness Thanks for all help in advance Manoj Great adding option (maxdop 1) it picked up the query plan w ...Show All

  • SQL Server XML Newbie: "element" vs "node"

    What is the difference between an XML "node" and an XML "element" TIA, Barkingdog Find a good book or online reference, here's one example http://www.w3schools.com/dom/dom_nodetype.asp ...Show All

  • Visual Studio Express Editions how some help fix my code?

    'Create a new MailMessage object and specify the"From" and "To" addresses Dim Email As New System.Net.Mail.MailMessage(" From@abc.com ", " To@abc.com ") Email.Subject = "test subject" Email.Body = "this is a test" Dim mailClient As New System.Net.Mail.SmtpClient() 'This object stores the authentication values Dim basicAuthenticationInfo As _ New System.Net.NetworkCredential("username", "password") 'Put your own, or your ISPs, mail server name onthis next line mailClient.Host = "Mail.RemoteMailServer.com" mailClient.UseDefaultCredentials = False mailClient.Credentials = basicAuthenticationInfo ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. How long does it take to make a game?

    i'm answering my own question here. For people new to game development: longer than you think! i was just cruising around a forum where some folks were daydreaming about what they'd create with XNA GSE, and giggled a little when i read "Grand Theft Auto" and "FPS": http://forums.gametrailers.com/showthread.php t=32477 The Independant Game Festival has a great site if you want to check out the cream of the indie crop. It's especially valuable because it records how long each game took to complete: http://www.igf.com/02finalists.html You might check out some screenshots and think "three years But that game looks like ***!" Yes, my friends. Yes. :) Start small. Build complexity from simplicity ...Show All

  • Visual Studio Team System Working without DB Pro

    We've got a fairly large number of developers (150). Most of them won't be receiving VSTSDBP. Some of those that don't receive it may still need to check some stored procs out of TFS & work with them. Since the scripts within DB Pro don't have drop and aren't alter, does anyone have a suggestion for working in this manner We're looking at a process solution where we do a daily build that would wipe out any work done on a database so they would need to get any changes to us prior to the next build. However, it seems like it could be full of holes. Grant, I could be mistaken but I think you could still check files in and out without DBPro. In this case, all you are doing is checking text files in ...Show All

  • Windows Live Developer Forums Article - Loading your pushpin popup content on demand

    The next in my series of little articles I look at loading the content inside your pushpin popups on demand: http://www.soulsolutions.com.au/Articles/PopupContentonDemand/tabid/98/Default.aspx Full working code for improvements here at the wiki: http://viavirtualearth.com/Wiki/PopupContentonDemand.ashx John. John, everything coming from your mind sounds very interesting. The article is great, short but 100% useful. I knew nothing of mapping technologies, but i was able to put on production my first mush up thanks to this forum and your articles and code examples. Keep on like this!! Dario ...Show All

  • Visual Studio 2008 (Pre-release) MessageContract problem in the JuneCTP version

    I have a MessageContract with one MessageHeader for any object type. It can be either the simple or complex type based on the application needs. The following code snippet shows its implementation that worked fine in the FebCTP version. [MessageContract] public class GetRequest { private XmlElement _identifier = null; [MessageHeader] [XmlAnyElement] public object Identifier { get { return _identifier; } set { _identifier = Util.ObjectToXml(value); } } public GetRequest() { } public GetRequest(object identifier) { this.Identifier = identifier; } } where: public static XmlElement ObjectToXml(object resource) { if (resource != null) ...Show All

  • Visual Basic Drawing a line on an Image

    Hi guys, hope you can help me out on this one :) I'm developing a small application that contains a distance measurement tool. The idea is to make it a bit like map24.com (you clik once to select a starting point, and again to select an ending point). This works fine and I can use the graphics.drawline method to draw the line. But I would like the user to see the line already after the first click (like drawing in paint). Then when you move the mouse the ending point of the line moves. If I try to do this it draws a new line every time I move the mouse because I'm creating a new instanes og the graphics on mousemove. I have trying to make one instance and use the clear method before I draw a new line, but this method requires a color an ...Show All

  • Windows Forms set char to null or the equivalent of zero

    Is there a way to set a char variable to 0 or null or something so that it will basically reset my control variable. thanks elittle elittle27 wrote: Is there a way to set a char variable to 0 or null There are several ways depending on which language you are using. For example in C# all the following will give you a char variable with 0 (null) as the value. I'd only recommend the first one though char c = '\0' ; char d = "\0" .ToCharArray()[0]; char e = char .MinValue; char f = Convert .ToChar(0); ...Show All

©2008 Software Development Network