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

Software Development Network >> K.S.RamakrishnaPrasanna's Q&A profile

K.S.RamakrishnaPrasanna

Member List

Thomas Jespersen
DavidDawkins
LinusLiang
Tablet
ipconfig
Felice
Alexander A. Ivanov
SpencerInLa
CDS DBA
Tommy Tucker
Emile Bosch
MSKarsin
Anko Groenewegen
Boris Drajer
gshad37
SibfordChris
Bart.NET
ian at arcontech
skyla_9
MCastellanos
Only Title

K.S.RamakrishnaPrasanna's Q&A profile

  • Windows Forms Browser Control!!

    Hi, I'm using the webbrowser control in an aplication and i'm having a little problem closing the windows.  I'm using this code provided by Microsoft to open a new windows:  Private Sub WebBrowser_NewWindow2(ByVal sender As System.Object, ByVal e As AxSHDocVw.DWebBrowserEvents2_NewWindow2Event) Handles WebBrowser1.NewWindow2         Dim frmWeb As frmWeb       & ...Show All

  • .NET Development How do I grant UIPermission?

    hi, I'm creating a new app domain and loading an assembly into it. I unwrap class Foo and execute method Bar which makes a call to MessageBox.Show("foobar"). This throws a UIPermission security exception. How do I resolve this Awesome. It works! Thx for the article link. I never came across that one despite spending the day searching. Regards. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Multiple windows by one device

    Hi! I'm looking for some easy way to render into multiple widows by only one device. I'm using managed directX in C#, there's an overload of the Present method that takes a control and claims that it will draw onto the control, but I can't make it work. It does not fail, but neither does it draw anything. Could you please tell me what I'm doing wrong, or maybe weather there's some easier way to do that Thanks Libor I'm not 100% sure if you are asking 2 questions or confused about one thing. 1. Rendering into a control means you have to pass the window handle of that control in at device creation. There a ...Show All

  • Visual Studio 2008 (Pre-release) CommunicationException in wsDualHttpBinding

    Hi I'm using a simple CallbackContract: [ ServiceContract (CallbackContract= typeof ( IObserver ))] interface IElement { [ OperationContract (IsOneWay= true )] void Subscribe(); [ OperationContract (IsOneWay= true )] void Unsubscribe(); } interface IObserver { [ OperationContract (IsOneWay= true )] void Action(); } My client invoke simply the method Subscribe: void IElement .Subscribe() { Console .WriteLine( "Se suscriben" ); OperationContext .Current.GetCallbackChannel< IObserver >().Action(); } but the Unhandled Exception: System.ServiceModel. ...Show All

  • Windows Forms .NET Popup Toasts (msn like), need to make more slick and smooth

    I have a program that sends slide in pop ups as MSN does, but I have a few problems that make this not function as crisply as I would like:  1) Popups take focus when sliding in.. I don't want them to have focus, because there is no reason for them to have focus..  and if i'm typing away on a control somewhere, and the pop ...Show All

  • .NET Development Need System.IO.Ports Help

    I am just trying to write to the com1 port using the System.IO.Ports.  However when I try to write my data an exception is thrown saying that the com1 port does not exist.  I am a newbie when it come to using System.IO.Ports.  This is my first program ever written using this library.  I have posted the trouble code below.  Can someone please help me SerialPort port = new SerialPort ( "COM1" ); string data = "Hello World\n" ; try { port.Close(); port.BaudRate = 9600; port.Parity = Parity .None; port.DataBits = 8; port.Open(); //Program gets hung up right here. port.RtsEnable = true ; ...Show All

  • SQL Server Using ReportingService.GetReportParameters with Forms authentication

    Hello, I have implemented Forms security and am trying to create a C# application that will execute certain reports (by implementing the ReportingService web-service). When I try something basic like the following: ReportingService rsReports = new ReportOmatic.com._xxxx.ssl.ReportingService(); ReportParameter[] rpReportParams = null ; ParameterValue[] pvParams = null ; DataSourceCredentials[] dscCredentials = null ; rsReports.LogonUser("username", "password", "3"); rpReportParams = rsReports.GetReportParameters("MonthlyLicenseCoAll", "", false , pvParams, dscCredentials); I get the following error since Reporting Services still ...Show All

  • SQL Server Import Wizard won't import special caracters

    Hi. In Norway we have some special letters not present in other languages. In SqlServer2000 we had to use ODBC to import data from Excel if we wanted to get these letters correct in the database. In the new Import wizard in SQL Server Management Studio, there is no option to use ODBC as the destination. If we use OLEDB or some other option, the special norwegian letters get messed up. Does anyone have a workaround for this problem Best regards Gert ...Show All

  • .NET Development TextReader or Stream from XmlReader?

    My main question: "How can I get a TextReader or Stream object from an existing XmlReader ". Read on for more: I have an existing XmlReader.  Let's call it reader1.             // customContext and customSettings may or may not make use reader1's properties             XmlParserContext customContext = new XmlParserContext(...);             XmlReaderSettings customSettings = new XmlReaderSettings(...);          & ...Show All

  • Visual Studio Team System How can I change the workspace

    The first time I ran VS 2005 after installation I was asked for my most used activity. How can I change that option I found it. Is in Tools -> Import Export Settings -> Reset settings to default. And make a choice from there ...Show All

  • Smart Device Development Detect WiFi and/or Active Sync connection

    Hello! As the subject probably already told you I want to detect wether the WiFi is connected and wether Active Sync is connected. I found this topic : http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=119178&SiteID=1 If thats the best way to do it, do I have to include the whole OpenNetCF.Net dll (94k) or is there a way to do it with less memory Other solutions are welcome too! You can use particular portion of the source code from OpenNetcf.org if 94K is a problem. ...Show All

  • .NET Development ArgumentOutOfRangeException when running .Net 1.1 compiled code on .Net 2.0

    I want to use a .Net 1.1 compiled control/component from .Net 2.0 .  I added the <.Net 1.1 component> as a reference to my .Net 2.0 Project (on VS 2005 beta).  I am calling most of the object methods without a problem, but there is this one method that fails with the following exception: Exception : System.ArgumentOutOfRangeException Exception Message : Ticks must be between DateTime.MinValue.Ticks and DateTime.MaxValue.Ticks. Parameter name: ticks I found out that the failed method call (from the .Net 1.1 component) uses the .Net Binary Formatter class to send data to a remote server and that a DateTime paramter i ...Show All

  • Smart Device Development convert sdf to xls

    How convert my sdf file on xls table Or how could read my sdf file on windows xp Thanks in order to convert SDF to XLS , u can used Push method from SQL CE to push the data from SQLCE -> SQL Server Dim rdaObj As New SqlCeRemoteDataAccess rdaObj.InternetUrl = "http://NB-039/Customer/sscesa20.dll" rdaObj.LocalConnectionString = "Provider=Microsoft.SQLSERVER.OLEDB.CE.2.0;Data Source=\My Documents\CustomerDB.sdf" rdaObj.Push("Customer", "Provider=sqloledb; Data Source=(local);Initial Catalog=Northwind;User Id=sa;Password=", RdaBatchOption.BatchingOn) rdaObj = Nothing Then using ADO.NET technology , u can used ...Show All

  • Visual Studio Express Editions Command Windows

    How can I open a command window, I search under help and it told guided me to VIEW > Other windows > and Command Window. But there is no such option. The command window is not included in the Visual Basic 2005 Express Edition. What commands did you want to execute Best regards, Johan Stenberg ...Show All

  • Visual C++ Working with threads

    I usually work with threads in such way: using namespace System::Threading; Thread *oThread = new Thread( new ThreadStart(0, &myClass::myStaticFunction)); oThread->Start(); And this works fine. But now I need to run non-static function. So, I think the code must me like this: using namespace System::Threading; Thread *oThread = new Thread( new ThreadStart(0, &myClass::myNonStaticFunction)); oThread->Start(); But this does not works. I've got an error: error C3351: 'System::Threading::ThreadStart' : if you pass a NULL object instance to a delegate constructor you must also pass the address of a stati ...Show All

©2008 Software Development Network