Software Development Network Logo
  • Visual FoxPro
  • Windows Vista
  • Architecture
  • Visual Studio
  • VS Team System
  • Game Technologies
  • SQL Server
  • Visual J#
  • Windows Forms
  • Visual C++
  • Smart Device
  • VS Express Editions
  • Windows Live
  • .NET Development
  • Microsoft ISV

Software Development Network >> Ranga Krishnan's Q&A profile

Ranga Krishnan

Member List

MollyBos - MSFT
MC
sniwas24x7
punk
Hemant Sathe
Gustavo Echeverry
Toontje
bchadraa
needbrew
Ken Adams
ILVC
Scythen
ChopKiwi
Hawk390
UmerKhan
ArunM
AI Sam
CarlW
Maciek Sarnowicz
McGanahan Skejellyfetti
Only Title

Ranga Krishnan's Q&A profile

  • Windows Forms GUI Drawing

    Hi Guys, Ok, This is probably going to sound like a stupid question, so please excuse my noobiness...... I have a form, with various sets of data in it, now the thing is, I would like to create a line to seperate the look of the data. How the hell do I just draw a graphical line, that does nothing, but be a line. Sorry for the noob question, but i`m only just starting out in VB ( My first programming language ) The rest of the system seems fine, and I have managed to do some quite complex things, but the basic line draw, is beyond me, and my head is now hurting. Thanks in advance guys... Max Phizz, Many thanks for that, did what you s ...Show All

  • Windows Forms How to keep a Splash Screen on while App Loading

    I've been playing with a splash screen to give my users something to look at while the data is loaded into a dataset. Where can I put my initialization code (init dataset - load data - create business objects) so that the Splash Screen shows during this time Things I've tried:  Main.OnLoad - nope  SplashScreen.OnLoad - nope  Raise event in SplashScreen.OnLoad&n ...Show All

  • Windows Forms Disabling the .NET IDE option

    If I add a new form to the existing project, all the designer generated code are placed under the "form_name.Designer.cs" file. But I don't want this option. How can I disable this option Hi, There is no checkbox in any Options dialog that you can set to do this. Why would you like to disable this Martin ...Show All

  • Windows Forms MouseDown in Client Area of MDI never fires?

    Very strange; it never fires. Oddly (to me), if I assign a ContextMenu to the MDI form, it comes up fine with a right-click in the form, but it also comes up with a right-click on a MDI child form, unless the child has its own context menu. The problem I have is I create a context menu when the user clicks in a certain area of the MDI form; when that happens, the static MDI ContextMenu is also displayed. If I can detect the MouseDown (or Up) on the MDI form (esp. client area), then I can create all context menus on the fly. ---Mike The problem here is the WM_CONTEXTMENU message.  If a control ...Show All

  • Windows Forms Imitate DataGridViewTextBox behaviour to add rows

    I'm currently developing custom datagridviewcells and facing the following problem: When entering the last row in a databound datagridview (the "new row") and focusing a DataGridViewTextBoxCell the editmode is initialized and the grid waits for input. After typing the first char, a new row is created and the row is bound to that row. I need to imitate this behaviour WITHOUT typing. I developed a custom datagridviewcell with its own datagridvieweditingcontrol but which method / property is responsible for adding the new row I tried to call Me .DataGridView.NotifyCurrentCellDirty( True ) but it doesn't work ...Show All

  • .NET Development System.Media.SoundPlayer WebForms issue & workarounds + a strange noise problem

    Hopefully this is the right place for this, although what I am experiencing happened with C# and a webform it seems like a CLR issue more than anything else to me. While testing out sounds in a C# WebForm, I found that trying to play a sound via SoundPlayer using a URL would not work. It would throw a web security exception (I forget the exact name of the exception) even though the URL it was told to retrieve the sound from was the same location as the webform. It seems like a bug that the SoundPlayer couldn't access this data, but I was able to work around it by using the following code to get a stream of data from the same place t ...Show All

  • Visual C++ Dynamic add controls to a dialog frame.

    Is there a relative easy way to dynamic add controls to a dialog frame For example, in JAVA, you can put an array of comboboxes in a form and initially set the array size to one, and them add more when you need. Is there any thing like this in VC++ Thanks in advance. jpx wrote: For example, in JAVA, you can put an array of comboboxes in a form and initially set the array size to one, and them add more when you need. You could use a vector to hold the controls. e.g. std::vector<CWnd*> ev; void CDialogTestDlg::OnButton1() { CWnd* edit; int t = 0; for(int j= 0; j < 3; j++ ...Show All

  • SQL Server sql server 2005 trial version

    where is the import and export data function in sql server 2005 express i have a data in ms access which i want to import to sql server 2005 express.. thank you   erd wrote: do you have to uninstall the existing sql server 2000 enterprise edition to install the sql server 2005 trial version does it have to be clean install Hi erd, you don't necessary have to. However to do an 'upgrade' you have to ensure that your system has the meet sql 2005's minimum requirement stated in the sql2005 details website as well as doing some preparation work before performing the upgrade. Its adviseable to foll ...Show All

  • .NET Development windows service process flow

    I have created a windows service in c# and it works fine but i have a question in my mind: In my service constructor i call a method to initialiaze all variables which are defined from app.config. and in OnTimer method, service does what it should. So at each interval it starts its job. I was thinking about process flow of my service application and i thought it should work like this : when i start Service i am actually making one instance of the service and variables will be initialized. Then at each interval, service uses those initialized variables. When service is stopped and started again, another instance of service will be made and al ...Show All

  • Visual C# A beautiful language ruined by generics

    I've read all your arguments. I see good points of each side. Thank you for letting me enjoy this article. It seems the question is for C#'s code readability v.s. code reusability. As a solution developer I prefer not to use generic or template because my problem domain resides in a specific classes or types. However if I need to maintain or to develop a library, I probabily look into generic stuff. Hmm... ...Show All

  • SQL Server Forcing Reporting Services to update with new query?

    Take a look and see how long the old version of the report is cached for. Andrew Watt MVP - InfoPath wrote in message news:cf32036e-8c31-4697-b1aa-a45e1bf9089c@discussions.microsoft.com... >I had a minor error in my query that i corrected, but RS for some reason > is still using the 'old' query rather than the new 1. > > I have redeployed the report, rebooted the machine and restarted IIS, > but to no avail, it is still using the incorrect 'old query. > > > Any help > Thanks, i cant fathom why it works fine in preview, but falls over completly in the deployed report. Nor do i think ...Show All

  • Visual C# C# .net Binary Serialization

    Hi, I am trying to run an example of Binary Serialization, but getting error when debugging. Error message says me to define "thePerson". Can anybody tell me how to define it Here is the code: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.IO; using System.Runtime.Serialization.Formatters.Binary; namespace SerializeDemoProj { public partial class Form1 : Form { public Form1() {InitializeComponent();} ...Show All

  • Visual Basic Launch URL from Windows Service

    Hi all, Anyone knows how I can launch the browser from a Windows service I tried with S ystem.Diagnostics.Process.Start(URL), but it is not working. I just took a quick look and I didn't see anything like such a switch. There are lots of ways to go about it with the API such as using startproc and making it a detached process. I can't remember if there are window size parameters or not. Or you may be able to issue a sndmsg to it ...BUT most of the these techniques require some systems knowledge and programming finese. I don't think I'd try them right off the bat. ...Show All

  • .NET Development Convering ASP to C#.net

    <%             Response.Buffer = True             Dim objXMLHTTP, xml             Dim strXML             strXML = "<ACTION><AUTH><ORDER-ID>simple_test_auth1</ORDER-ID><AMOUNT><SUM>1.51</SUM><CURRENCY>USD</CURRENCY></AMOUNT><CUSTOMER><FIRSTNAME>Anders</FIRSTNAME><LASTNAME>Andersen</LASTNAME><EMAIL>aa@nn.ne< ...Show All

  • Visual Studio 2008 (Pre-release) How to set the size of the Thumb?

    I have ListView within a GridView. The datacontext for the ListView are 1,000 items, for example. At the startup only load 100 items are loaded. When the user scrolls to end of the ListView, a event will be thrown to load the next set of items, and so on. </br> Unfortunately the Thumb of the ScrollBar shows only the size for the current amount of items. Is it possible to set the size of the Thumb that its size represents a datacontext of 1,000 items. Thank you for your comments. -Daniel I'm not sure if theVirtualizingStackPanel is what I need. I have to load lots of (>3000) records from a DB. For ...Show All

©2008 Software Development Network