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

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

Priyananth

Member List

Alex2200
Oscarfh
Tom Z
clint 2
Tryin2Bgood
chris441962
NP Rudra
no_and_fo
ray1979
JavaBoy
sroughley
huynh xuan vinh
Swapna.B.
duck16
JLuis
JustinCReid
sam1996
Jason D. Camp
MacksDaddy
AllisonH
Only Title

Priyananth's Q&A profile

  • Visual C# [c#]I need help to write a class

    Hi all :) Here is my problem: I write this class: public class dbConnect { #region Private private string source = "database=mydatabase;datasource=localhost;user id=user;password=password"; private SqlConnection cn; #endregion #region Delegate public SqlConnection connection { get { return cn; } } #endregion #region MemberFunction public bool connectionIsOpen() { if (cn.State == ConnectionState.Open) { return true; } else { return false; } } public void openConnection() { try { cn = new SqlConnection(source); cn.Open(); } catch (SqlException ex) { ex.Mess ...Show All

  • Visual Studio Breakpoint will not currently be hit. No symbols loaded for this document.

    I have been 'developing' with Visual Studio 2005 for about 3 weeks now - primarily .NET class libraries developed with VB. I am coming from VB6, although I did a lot of development with Visual C++ several years ago, so I am still trying to come to terms with the debugger. I have read many threads posted by people who are having a problem with breakpoints, specifically with the message in the subject line above. There have been many suggestions on how to fix this problem. Sometimes these suggestions work, sometimes they do not. Most of the suggestions involve deleting DLL and PDB files and rebuilding, or restarting Visual Studio. None of them suggest any problem with something the developer has done or any problem with the configuration of ...Show All

  • Visual Studio Express Editions Counting

    I want to make a program where you click a button and the textbox tells you how many times that button has been clicked. However it only counts the first click. What have i done wrong Option Explicit On Option Strict On Public Class MainForm Private Sub xExitButton_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles xExitButton.Click Me.Close() End Sub Private Sub xCountButton_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles xCountButton.Click ' displays the number of times the Count button is clicked Dim numClicks As Integer ' add 1 to the numClicks variable each time the button is clicked numClicks = 0 numClicks = numClicks + 1 ' display message xMessageLabel.Text = ...Show All

  • SQL Server Make a Common Color Palette

    What would be the best approach for having all the reports share a color palette. What i want to achieve is that when we want to change for example the color of our column header i somewhere change a value and all reports are modified. That somewhere might be a config file, a sql table, a registerentry, .... I know i could change all rdl files but that's nog a approach i want to develop. Kinds Regards Sorry, never checked the <expression> possibility. I mean, i know the option but never thought that even color had this option. Great. ...Show All

  • Visual Studio Express Editions Some files in VC# Express Img file seem damaged

    When I tried to use isoBuster open the VC# Express IMG or ISO file, some files (like setupres.dll, vs_setup.dll, etc) seem already damaged, the isoBuster failed to read those sectors. Where can I get the good files Thanks a lot! http://msdn.microsoft.com/vstudio/express/visualcsharp/download/default.aspx ...Show All

  • .NET Development Namespaces VS. References

    I have done some reading on namespaces, and i am still confussed. I haven't been able to figure out if they are the exact same as references I am trying to link common code modules that i have for the VB6 programs that i still have to convert but don't want to import them directly to the program because then they lose that element of reusablity. Is it Possible to have Solution A use code in Solution B in a group Solution, when i compile Solution A will it still be able to use the code from solution B I am just looking for some direction please Namespaces and references are different. You will not be able to invoke VB6 code from .NET directly. You'll have to use COM or P/Invoke. An assembly is the binary (normally a DLL ...Show All

  • Software Development for Windows Vista WF on Orcas March CTP

    Hi, I created a new Workflow Project and tried to open the workflow designer. I got this error:   Microsoft.VisualStudio.Shell.WindowPane.GetService(System.Type) Does anyone knows about it Is there a workaround Thanks, Guy Burstein http://blogs.microsoft.co.il/blogs/bursteg/ You’re welcome. - No, I don't have a blog. Thanks Roman p.s. My articles are located on the codeproject . ...Show All

  • Visual Studio Tools for Office Adding control at Current Cursor Position

    Hi all, I'm trying to add a Control like a TextBox or a ComboBox at the current cursor position, but I'm not able to find any properties or method of Globals.ThisDocument that return the current range Private Sub btAddControl_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btAddControl.Click Globals.ThisDocument.Controls.AddTextBox( Globals.ThisDocument.Range , 80, 10, tbTextName.Text) End Sub Could you help me Thanks I mean this two instruction... X = Globals.ThisDocument.Application.Selection.Information(Microsoft.Office.Interop.Word.WdInformation.wdHorizontalPositionRelativeToPage) Y = Globals.ThisDocument.Application.Selection.Information(Microsoft.Office.Interop.Wor ...Show All

  • Visual C# How TextBox,Button etc be packaged to Array

    Any one can tell me how the TextBox,Button etc be packaged to Array, i have developed a form with verious control as textbox, combobox etc, i want to reset its fields, i want to add all textbox and comboBox to an array and then using loop reset them instead of writting code like textbox1.text=""; textbox2.text=""; textbox3.text=""; Thanks How ever following Code Hide txtDay,txtDaysAbsent and txtRecieved TextBoxs, what to do private void button1_Click( object sender, EventArgs e) { this .Controls.Add(txtDay); this .Controls.Add(txtDaysAbsent); this .Controls.Add(txtRecieved); foreach ( Control currentControl in this .Controls) { if (curre ...Show All

  • Smart Device Development Error while deploying to device

    Hi, I am getting the following error while I am trying to deploying my application. what may be the solution for this. "Unable to start Program '%CSIDL_PROGRAM_FILES%\TestApp\TestApp.exe'. Unable to load the CLR. the target device doesn't have a compatible version of the CLR installed for the application you are attempting to debug. Verify That your device supports the appropriate CLR version and has that CLR installed. some devices do not support automatic CLR upgrade." hope you can help me. Thanks in advance Hi Ilya Tumanov Thank You very much for you response. As you installed I have installed VS2 Sp1. But the same error ...Show All

  • Windows Search Technologies Hotkey assignment

    I asked this question before, but it was somewhat hidden into another post of mine, so perhaps it wasn't noticed. The default hotkey in WDS 3.0 is Ctrl-Alt-M. In the previous version there was an option to redefine the hotkey. Are there any plans to re-instate that option I've seen there's still a registry key called 'Hotkey'. If I only knew how to set it ;) Thanks! Hi Paul, Thanks for sharing this. I shouldn't look a gift horse in the mouth, but this workaround could have been published on August 25th, when I first reported about this ( http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=666188&SiteID=1 ) Secondly, I already hinted about doing something like you proposed (see opening pos ...Show All

  • Visual Basic Enter Button event

    HI I want to setup my solution to accept changes when the enter button is pressed but i have no idea where to start. I imagine it would look something like this Private Sub EnterButton_keypress(e as sender.........etc) some code end sub The above is an example of how i would imagine the code would look. I know about the KeyPreview property and the accept button property. Any help would be appreciated Thx Private Sub Form1_KeyUp( ByVal sender As Object , ByVal e As System.Windows.Forms.KeyEventArgs) Handles Me .KeyUp If e.KeyCode = Keys.Enter Then 'Do something End If End Sub Private Sub Form1_Load( ByVal sender As System. Object , ByVal e As System.EventArgs) Handles MyBase .Load ...Show All

  • Visual Studio Team System Team Edition Distributed System Diagram

    Please help, When I try to add/drag an ASP.NetWebService or ASP.NetWebApplication to a new Distributed System Diagram I receive the following error: "Can not load type System.Configuration.ProtectedDataSection from assembly...." or "Object reference not set to an instantance of an object." All other applications that I add/drag on to the diagram work fine. I had no install problems that I am aware of. Any suggestions would be greatly appreciated. Thanks in advance. Thanks for the post. I cannot be sure exactly where the issue is, but it seems there's a protected section in your system configuration that the tools are unable to parse/read. When the tools first load, they read the machine ...Show All

  • Visual J# j# compatibility

    hi , can i use external libraries such as jfreechart when developing under j# ta JFreeChart was ported on J#. Check the following URL. http://www.ujihara.jp/jbyjsharp/jfreechart/   ...Show All

  • Microsoft ISV Community Center Forums Sum of hours for month following submission date only

    Hi - im a little stuck on one part of my system. Thanks to the help of others i can now get users to enter a submission date into the activity system that then restricts them from editing any activities prior to that submission date ( a field called 'datelastsubmitted'). However on that end of month submission form i also need to show the sum of all hours for the month that is to be submitted next. By this i mean that if a user last submitted on the 31/10/2006 then the next time he comes to submit he will see the sum total of activity hours he /she has entered for November 2006 i.e 01/11/2006 to 30/11/2006. The field is called 'availablehours' and the code i have written does sum up the availablehours for the user but im unsure as to how t ...Show All

©2008 Software Development Network