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

Software Development Network >> Santosh Ransubhe's Q&A profile

Santosh Ransubhe

Member List

Blkbird
Visva
levitymn
Fraser Putnam
Mark Rodenhauser
Marie-Thérèse
AbhijeetRaje
JeffK_
Oozle_Finch
Wee Bubba
Alfredo Martinez
DeJaVu1230
OmidQRose
Nefer-Ra
Marcos B
sabha
bigbob
Zhou Yong
RyanB88
arcoant
Only Title

Santosh Ransubhe's Q&A profile

  • Visual C# Compiler Error CS0570 from C++ defined property

    Compiler Error CS0570 Does anyone understand error CS0570 'class' is not supported by the language This error occurs when using imported metadata that was generated by another compiler. Your code attempted to use a class member that the compiler cannot process. The code being called was written in Managed C++ paraphrased like so: public ref class FilePath { ... [MyPropAttribute] property int Name { const int get(); } ... }; The attribute [MyPropAttribute] is defined like so: [System::AttributeUsageAttribute(System::AttributeTargets::Property)] public ref class MyPropAttribute: public System::Attribute {...}; When I try to use the property in C# code I get CS0570, but see no document on how to get around t ...Show All

  • Visual Studio Calling project method within VS IDE from an Add-In

    Hello, I've designed an Add-In that parses and displays VB Project Methods in a treeview using extensibility. The VB project scan its own assembly to retreive its own methods and displays them in a treeview. I can run a method within this project using the "InvokeMember" method by double-clicking treeview nodes. This project knows VS 2005 instance it lives in. The executed method is in the IDE as when I put a breakoinp in method code it stops where the breakpoint is set. What I would like now is to call VB Project methods by double-clicking on Add-In treeview method's name, then execute the method within the IDE. The only mechanism I can think of so far is to fire an EnvDTE event from the add-In whe ...Show All

  • Visual Studio Tools for Office Fuzzy text in a label control

    Hi, I've added some controls to the top of a sheet in an Excel file. The problem I'm having is that the text on, say a label, is blurry or fuzzy. It almost looks like when smoothing is being applied but actually makes it worse. I've tried various fonts and sizes and that doesn't matter. The rest of the text on the sheet looks fine. Has anyone seen this before, and hopefully knows what's happening I'd appreciate any help. Thanks. Hi Dennis, I was wrong. The funny thing is, when I run the program, the screen intially shows up with the label still fuzzy. However if I'm patient (which I'm often not), in a few seconds it clears up. Weird. I'm glad you asked the question -- if I wasn't trying to capture screenshots I wouldn't h ...Show All

  • Visual C# getting the Greenwich Mean Time in .net

    Hi , in my application i want to check whether the current GMT (greenwich mean time) is 8.00 PM . how can i do this if i use "DateTime.Now" it represents the time represented in my machine only. right pls help me Regards sajitha Hi, You can also convert local time to universal time DateTime .Now.ToUniversalTime() Regards Chitrsen ...Show All

  • Visual Studio Team System Documentation, Step-by-Step Instructions, Guidance documents

    I was just wondering where can I find more documentation, Step-by-Step Instructions, Guidance documents   I found the help file. Juergen Lorenz wrote: I was just wondering where can I find more documentation, Step-by-Step Instructions, Guidance documents I found the help file. Try here: http://msdn2.microsoft.com/en-us/library/aa833253.aspx -Jamie ...Show All

  • Microsoft ISV Community Center Forums Efficent Way to manage multiple textboxes (maybe a loop?)

    This might be really easy, or maybe it's really hard I'm pretty new to VBA I'm using the VBA editor in Excel 2003 to automate some data entry into a spreadsheet. I have several userforms all with various numbers of textboxes, the largest having 34. What I am trying to do is use some sort of loop to clear the value out of each textbox when the user creates a new record. I want to do this mostly because I’m lazy, but also because I foresee the need to be able to expand this later. I’m trying to avoid the following situation: With userform1 .TextBox1.value = "" .TextBox2.value = "" .TextBox3.value = "" [etc…] End With I’ve ...Show All

  • Visual C# Close folderbrowserdialog also closes the form.

    Hi, I have a form (frmFolder) and I'm open another form (frmChFolder) with code: frmChFolder frm = new frmChFolder (strServerName, strFolderName, strFolderExt, intWarn, intCrit, boolNewFold); frm.ShowDialog(); In the new form I'm open a folderbrowserdialog with code: DialogResult result = folderBrowserDialog1.ShowDialog(); if (result == DialogResult .OK) { strFolderName = folderBrowserDialog1.SelectedPath; } but when I choose a directory and press OK to close it , it also close the second form which it has been opened from (frmChForm) and return to the first form (frmFolder). I have also tried the another code to open the folderbrowserdialog but with no differents: FolderBrowserDialog fo ...Show All

  • Visual C# How to populate a treeview recursively?

    I have a category table: CategoryId CategoryName ParentCategoryId I will return this data to the code-behind in a dataset or datareader. The tree will probably never be more than 3 or 4 levels deep. Can you show me a code-behind method to use this data to recursively populate a treeview hi, this code use 2 tables as catigory and subcatigory tables private void ConstractTreeView() { TreeView1.Nodes.Clear(); DataRowView CatRow; DataRowView SubCatRow; DataView CatDV = new DataView(MainDataSet.Tables("_cat")); TreeNode NodeCat; TreeNode NodeSubCat; foreach ( int CatRow in CatDV) { NodeCat = new TreeNode(); NodeCat.Text = CatRow("catname").ToString; NodeCat.Tag = "Cat" + C ...Show All

  • Visual Studio Express Editions Write arraylist to Text File

    Im sure this is an easy one, but what is the best way to write an arraylist to a text file Scott Hi there, I have made a small modification .. this should work.. If it helps you please do mark as answered Public Class Form1 Private Sub Button1_Click( ByVal sender As System.Object, _ ByVal e As System.EventArgs) Handles Button1.Click Dim Nums As Integer Dim sb As New System.Text.StringBuilder For c As Integer = 0 To UBound(Nums) sb.AppendLine( Nums(c).ToString ) Next System.IO.File.WriteAllText( "c:\look.txt" , sb.ToString) End Sub End Class ...Show All

  • .NET Development XmlXPathNavigator Append element causes the reader to skip!

    Hello there. I have a small problem. I am using XML to save all data regarding different accounts for my program. This is the current method I am using for the XmlXPathNavigator to add data: Do I correctly understand that you created XmlNodeReader over XmlDocument and in the middle of the reading you alter the document Not sure that this is supported scenario. ...Show All

  • SharePoint Products and Technologies Unwanted alerts when a page is approved

    I set up alerts for a wiki site. Whenever a page is created or modified I receive an alert, which is fine. However, each wiki page underlies a workflow. So if a page is approved after being modified, this is seen as another change and consequently another, second alert for the page is sent, spamming all receivers of this alert with this second email. Alerts are kind of flexible. You could only subscribe to the alert when a new page is added The problem you are seeing it that when a page is approved is technically being modified. That is why you are getting an alert. Not sure how many options you have. Maybe switch to only daily alerts Shane - SharePoint Help ...Show All

  • Visual Studio 2008 (Pre-release) September CTP VPC on Virtual Server R2

    Hi, i successfully installed the base CTP. But now im trying to set the virtual machine up for the september CTP. Im using Virtual Server R2 not VPC so it doesnt prompt me for the base but just throws an error saying The parent virtual hard disk "E:\VPC\TimeBombedBase\Base01.vhd" for the differencing virtual hard disk "D:\VMachines\Orcas\VSSep2006CTP.vhd" does not exist. Please reconnect the differencing virtual hard disk to the correct parent virtual hard disk Does anyone know what the deal is in the VMC file theres no mention of the base and theres also some hardcoded pointers to some VMClean.exe. TIA, Benjy Hey Benzy, I am trying to use Microsoft Virtual server 2005 ...Show All

  • SQL Server Visual C++ 2005 (C++/CLI) - Newbie with ADO

    Hi, I've been working for about 20 years now with databases on other platforms but am at my first step with ADO. I created an application which is drawing as requested different forms on screen using GDI+, eventually DirectX. Now I'm at the stage of saving several infos into a Database. For simplicity, I would like to use a database for which there is no need to install any other components. I thought of using Access Database but I realized that I'm unable to create it except from Microsoft Access which is not installed on my machine... When programming with Clarion (SoftVelocity), apart interfacing with Oracle, any other files (ex: TopSpeed files) could be designed from within application designer and then created from scratc ...Show All

  • Visual Studio 2008 (Pre-release) Symmetric key message encryption

    Hello there, I have an important (to me ) question of how to design and implement the following scenario in the WCF. I'm working on a distributed system to reliably transfer resources along with their metadata. In the system one entity is the user application that's requesting, uploading or modifying resources in the repositories. Those repositories (I will call them data stores - DS) are available through the accessible services exposed by the WCF. These services provide methods that handle streams (streaming mode is used) along with normal ones. I'm working on a securing the whole system. I need to integrate with already existing facility. The security service (I will call it gate keeper - GK) is a central point of the system. ...Show All

  • .NET Development Smtp with c# through gmail.

    Hi guys, hope you can help. I have installed Visual Web Developed and started learning ASP.NET with c#. I am currently trying to build a website that sends email through gmail's smtp, here's the code: _______________________________________________________________________ using System; using System.Data; using System.Configuration; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Net.Mail; using System.Net; public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { System.Net.Mail.MailMessage mail = new System.Net.Mail.MailMessage( ...Show All

©2008 Software Development Network