Use sql notification for console application C#

I have developed ucma C# console application which sends IM  to users. 
Now I want to send IM if any new entry is added in the table 
So i want to use query notification .
I have enabled service broker on my database .
And I have added code for sqldepedency  in my code file.
as follows.
public static void Main(string[] args)
UCMASampleInstantMessagingCall ucmaSampleInstantMessagingCall =
new UCMASampleInstantMessagingCall();
ucmaSampleInstantMessagingCall.connectionfunction();
public void connectionfunction()
string connectionString = @"Data Source=PIXEL-IHANNAH2\PPINSTANCE;User ID=sqlPPUser;Password=ppuser1;Initial Catalog=Ian;";
SqlDependency.Stop(connectionString);
SqlConnection sqlConnection = new SqlConnection(connectionString);
string statement = "select * from dbo.tblTest";
SqlCommand sqlCommand = new SqlCommand(statement, sqlConnection);
// Create and bind the SqlDependency object to the command object.
SqlDependency dependency = new SqlDependency(sqlCommand, null, 0);
SqlDependency.Start(connectionString);
dependency.OnChange += new OnChangeEventHandler(dependency_OnChange);
private void dependency_OnChange(object sender, SqlNotificationEventArgs e)
ucmaSampleInstantMessagingCall.run()
private void Run() { // Initialize and startup the platform. Exception ex = null; try { // Create the UserEndpoint _helper = new UCMASampleHelper(); _userendpoint = _helper.CreateEstablishedUserEndpoint();
Now I want to run this application in the background , so f any new entry is added it will notify my C# application and call run function.
i tried above code but it was not working.
Sample code is avaliableon net but it is for form application and we can see output if we run the form application .
so if i want to run my C# application what should I do?

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;
using System.Security.Principal;
using System.Security.Cryptography.X509Certificates;
using System.Net;
using System.Threading;
using System.Diagnostics;
using Microsoft.Rtc.Collaboration;
using Microsoft.Rtc.Signaling;
using System.Runtime.InteropServices;
//using Microsoft.Rtc.Collaboration.Sample.Common;
namespace UserPresence
class UCMASampleInstantMessagingCall
#region Locals
// The information for the conversation and the far end participant.
// Subject of the conversation; will appear in the center of the title bar of the
// conversation window if Microsoft Lync is the far end client.
private static String _conversationSubject = "The Microsoft Lync Server!";
// Priority of the conversation will appear in the left corner of the title bar of the
// conversation window if Microsoft Lync is the far end client.
private static String _conversationPriority = ConversationPriority.Urgent;
// The Instant Message that will be sent to the far end.
private static String _messageToSend = "Hello World! I am a bot, and will echo whatever you type. " +
"Please send 'bye' to end this application.";
private InstantMessagingCall _instantMessaging;
private InstantMessagingFlow _instantMessagingFlow;
//private ApplicationEndpoint _applicationEndpoint;
private UserEndpoint _userendpoint;
private UCMASampleHelper _helper;
private static SqlDependency dependency;
private static string connectionString = @"Data Source=MyServer;Initial Catalog=MyDatabase;Integrated Security=SSPI";
// Event to notify application main thread on completion of the sample.
private AutoResetEvent _sampleCompletedEvent = new AutoResetEvent(false);
#endregion
#region Methods
/// <summary>
/// Instantiate and run the InstantMessagingCall quickstart.
/// </summary>
/// <param name="args">unused</param>
//private string _helper;
//UCMASampleHelper _helper = new UCMASampleHelper();
public static void Main(string[] args)
UCMASampleInstantMessagingCall ucmaSampleInstantMessagingCall =
new UCMASampleInstantMessagingCall();
var connection = new SqlConnection(connectionString);
SqlDependency.Start(connectionString);
SqlConnection connection = new SqlConnection(connectionString);
connection.Open();
SqlCommand command = new SqlCommand(
"select col1 from dbo.tblTest",
connection);
// Create a dependency (class member) and associate it with the command.
dependency = new SqlDependency(command, null, 5);
// Subscribe to the SqlDependency event.
dependency.OnChange += new OnChangeEventHandler(onDependencyChange);
// start dependency listener
SqlDependency.Start(connectionString);
//ucmaSampleInstantMessagingCall.Run();
private static void onDependencyChange(Object o, SqlNotificationEventArgs args)
run();
private void Run()
// Initialize and startup the platform.
Exception ex = null;
try
// Create the UserEndpoint
_helper = new UCMASampleHelper();
_userendpoint = _helper.CreateEstablishedUserEndpoint();
Console.Write("The User Endpoint owned by URI: ");
Console.Write(_userendpoint.OwnerUri);
Console.WriteLine(" is now established and registered.");
List<string> _Users = new List<string>();
_Users.Add("sip:[email protected]");
_Users.Add("sip:[email protected]");
foreach (string useruri in _Users)
// Setup the conversation and place the call.
ConversationSettings convSettings = new ConversationSettings();
convSettings.Priority = _conversationPriority;
convSettings.Subject = _conversationSubject;
// Conversation represents a collection of modes of communication
// (media types)in the context of a dialog with one or multiple
// callees.
//Convers conver =new ConversationParticipant
Conversation conversation = new Conversation(_userendpoint, convSettings);
InstantMessagingCall _instantMessaging = new InstantMessagingCall(conversation);
// Call: StateChanged: Only hooked up for logging. Generally,
// this can be used to surface changes in Call state to the UI
_instantMessaging.StateChanged += this.InstantMessagingCall_StateChanged;
// Subscribe for the flow created event; the flow will be used to
// send the media (here, IM).
// Ultimately, as a part of the callback, the messages will be
// sent/received.
_instantMessaging.InstantMessagingFlowConfigurationRequested +=
this.InstantMessagingCall_FlowConfigurationRequested;
// Get the sip address of the far end user to communicate with.
//String _calledParty = "sip:" +
// UCMASampleHelper.PromptUser(
// "Enter the URI of the user logged onto Microsoft Lync, in the User@Host format => ",
// "RemoteUserURI");
// Place the call to the remote party, without specifying any
// custom options. Please note that the conversation subject
// overrides the toast message, so if you want to see the toast
// message, please set the conversation subject to null.
// _instantMessaging.Conversation()
_instantMessaging.BeginEstablish(useruri, new ToastMessage("Hello Toast"), null,
CallEstablishCompleted, _instantMessaging);
catch (InvalidOperationException iOpEx)
// Invalid Operation Exception may be thrown if the data provided
// to the BeginXXX methods was invalid/malformed.
// TODO (Left to the reader): Write actual handling code here.
ex = iOpEx;
finally
if (ex != null)
// If the action threw an exception, terminate the sample,
// and print the exception to the console.
// TODO (Left to the reader): Write actual handling code here.
Console.WriteLine(ex.ToString());
Console.WriteLine("Shutting down platform due to error");
_helper.ShutdownPlatform();
// Wait for sample to complete
_sampleCompletedEvent.WaitOne();
// Just to record the state transitions in the console.
void InstantMessagingCall_StateChanged(object sender, CallStateChangedEventArgs e)
Console.WriteLine("Call has changed state. The previous call state was: " + e.PreviousState +
"and the current state is: " + e.State);
// Flow created indicates that there is a flow present to begin media
// operations with, and that it is no longer null.
public void InstantMessagingCall_FlowConfigurationRequested(object sender,
InstantMessagingFlowConfigurationRequestedEventArgs e)
Console.WriteLine("Flow Created.");
_instantMessagingFlow = e.Flow;
// Now that the flow is non-null, bind the event handlers for State
// Changed and Message Received. When the flow goes active,
// (as indicated by the state changed event) the program will send
// the IM in the event handler.
_instantMessagingFlow.StateChanged += this.InstantMessagingFlow_StateChanged;
// Message Received is the event used to indicate that a message has
// been received from the far end.
_instantMessagingFlow.MessageReceived += this.InstantMessagingFlow_MessageReceived;
// Also, here is a good place to bind to the
// InstantMessagingFlow.RemoteComposingStateChanged event to receive
// typing notifications of the far end user.
_instantMessagingFlow.RemoteComposingStateChanged +=
this.InstantMessagingFlow_RemoteComposingStateChanged;
private void InstantMessagingFlow_StateChanged(object sender, MediaFlowStateChangedEventArgs e)
Console.WriteLine("Flow state changed from " + e.PreviousState + " to " + e.State);
// When flow is active, media operations (here, sending an IM)
// may begin.
if (e.State == MediaFlowState.Active)
// Send the message on the InstantMessagingFlow.
_instantMessagingFlow.BeginSendInstantMessage(_messageToSend, SendMessageCompleted,
_instantMessagingFlow);
private void InstantMessagingFlow_RemoteComposingStateChanged(object sender,
ComposingStateChangedEventArgs e)
// Prints the typing notifications of the far end user.
Console.WriteLine("Participant "
+ e.Participant.Uri.ToString()
+ " is "
+ e.ComposingState.ToString()
private void InstantMessagingFlow_MessageReceived(object sender, InstantMessageReceivedEventArgs e)
// On an incoming Instant Message, print the contents to the console.
Console.WriteLine(e.Sender.Uri + " said: " + e.TextBody);
// Shutdown if the far end tells us to.
if (e.TextBody.Equals("bye", StringComparison.OrdinalIgnoreCase))
// Shutting down the platform will terminate all attached objects.
// If this was a production application, it would tear down the
// Call/Conversation, rather than terminating the entire platform.
_instantMessagingFlow.BeginSendInstantMessage("Shutting Down...", SendMessageCompleted,
_instantMessagingFlow);
_helper.ShutdownPlatform();
_sampleCompletedEvent.Set();
else
// Echo the instant message back to the far end (the sender of
// the instant message).
// Change the composing state of the local end user while sending messages to the far end.
// A delay is introduced purposely to demonstrate the typing notification displayed by the
// far end client; otherwise the notification will not last long enough to notice.
_instantMessagingFlow.LocalComposingState = ComposingState.Composing;
Thread.Sleep(2000);
//Echo the message with an "Echo" prefix.
_instantMessagingFlow.BeginSendInstantMessage("Echo: " + e.TextBody, SendMessageCompleted,
_instantMessagingFlow);
private void CallEstablishCompleted(IAsyncResult result)
InstantMessagingCall instantMessagingCall = result.AsyncState as InstantMessagingCall;
Exception ex = null;
try
instantMessagingCall.EndEstablish(result);
Console.WriteLine("The call is now in the established state.");
catch (OperationFailureException opFailEx)
// OperationFailureException: Indicates failure to connect the
// call to the remote party.
// TODO (Left to the reader): Write real error handling code.
ex = opFailEx;
catch (RealTimeException rte)
// Other errors may cause other RealTimeExceptions to be thrown.
// TODO (Left to the reader): Write real error handling code.
ex = rte;
finally
if (ex != null)
// If the action threw an exception, terminate the sample,
// and print the exception to the console.
// TODO (Left to the reader): Write real error handling code.
Console.WriteLine(ex.ToString());
Console.WriteLine("Shutting down platform due to error");
_helper.ShutdownPlatform();
private void SendMessageCompleted(IAsyncResult result)
InstantMessagingFlow instantMessagingFlow = result.AsyncState as InstantMessagingFlow;
Exception ex = null;
try
instantMessagingFlow.EndSendInstantMessage(result);
Console.WriteLine("The message has been sent.");
catch (OperationTimeoutException opTimeEx)
// OperationFailureException: Indicates failure to connect the
// IM to the remote party due to timeout (called party failed to
// respond within the expected time).
// TODO (Left to the reader): Write real error handling code.
ex = opTimeEx;
catch (RealTimeException rte)
// Other errors may cause other RealTimeExceptions to be thrown.
// TODO (Left to the reader): Write real error handling code.
ex = rte;
finally
// Reset the composing state of the local end user so that the typing notifcation as seen
// by the far end client disappears.
_instantMessagingFlow.LocalComposingState = ComposingState.Idle;
if (ex != null)
// If the action threw an exception, terminate the sample,
// and print the exception to the console.
// TODO (Left to the reader): Write real error handling code.
Console.WriteLine(ex.ToString());
Console.WriteLine("Shutting down platform due to error");
_helper.ShutdownPlatform();
#endregion
So i want to call run method when new entry is added in the database . and this application is not like any asp.net form application . In form application we display data when programs loads as like your RefreshDataWithSqlDependency
function . But in my application my application will run (send IM) when any new entry is added in the database . As I need running application to achieve notification , what kind of changes are required?

Similar Messages

  • Push Notification for Android application

    Hi friends,
    I am trying to create a Reminder application. I Need some experts advice for developing this application.
    After surfing on Net I came to know we need to use Push Notification for showing the alerts but didnt get any help how to use it.
    I found some .ane extensions links by which we can show the notifications but was nt able to include it in my project.
    Please guide me for the application.

    Hey
    I guess you need this ANE http://www.riaspace.com/2011/09/as3c2dm-air-native-extension-to-push-notifications-with-c2 dm/
    Found it in this discussion, in which they basically explain everything, http://stackoverflow.com/questions/11244724/push-notification-in-flex
    GL ^^

  • Can I use SQL developer for a Sybase IQ migration to Oracle?

    Hello,
    Can I use SQL developer for a Sybase IQ migration to Oracle?
    Currently in the supported list appears only Sybase Adaptive Server 12 and 15.
    Thanks,
    Florin D.

    Sorry, we don't support IQ migrations at this time.

  • Use SP_Transaction notification for Production Oder

    Hi all!
    Can i use SP_Transaction notification  for Production Order.
    We have two user A and B is manager of A.
    When A create a production order  but A can not use Release function in order to chage status from Planed to Relase.
    Only B can Release.
    How can use SP_Transaction notification  .
    Thanks!

    Import this code into sp_transaction notifocation:
    If @object_type =N'202'
    begin
    If (@transaction_type = N'A')
    begin
    declare @userBO nvarchar(2)
    set @userBO = (select T0.usersign from OWOR T0 where T0.docentry=@list_of_cols_val_tab_del)
    if @userBO = '1' --code user 'A'
    begin
    update OWOR
    set status = 'R'
    where docentry=@list_of_cols_val_tab_del
    end
    end
    end
    Then user A try to add document, click on add button, sp_transaction notification procedure will be executed, and status document will change to 'Released'

  • Issue in Oracle 11g Database Change Notification  for Java application

    Hi,
    I am trying to use Oracle's Database Change Notification in Java application.
    I followed the sample application (+DBChangeNotification.java+ , Example 29-2), provided in the following link:
    +[http://download.oracle.com/docs/cd/B28359_01/java.111/b31224/dbmgmnt.htm#CHDEJECF]+
    I am able to see that the Registration of the SQL query is successful.
    But, when I do changes to the table registered, notifications are not received in the Listener class (+DCNDemoListener.java+).
    Ideally, the method DCNDemoListener.onDatabaseChangeNotification() should be invoked on any insert/update to the registered table. But this method is not getting invoked.
    The execution has stopped in the following line of DBChangeNotification.java Class.
    this.wait();
    +==> The application was WAITing indefinitely in this line, as the NOTIFY() from DCNDemoListener.java was not executed.+
    I am using VPN to connect to Oracel server. Remote Oracle Server is protected my firewall. Is this the reason for not sending the notifications from Oracle server?
    The version of software used are given below:
    Oracle Client - Oracle 11.1.0
    JDK - 1.6
    Oracle JDBC Driver - ojdbc6.jar
    Can someone help me to resolve this issue?
    Thanks in Advance.
    Regards
    Sam
    Edited by: Ponsu on Apr 7, 2011 10:41 PM

    Hi,
    I am having similar issue. Where you able to resolve it.
    I am also using the same example you were using.
    I am using the following version.
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    Compatibility: 11.2.0.0.0
    I do not see any notification coming back from the DB.
    Appreciate your help.
    Thanks & regards,
    Ebe

  • Configure and use push notifications for IOS - Xamarin

    Is it possible to configure and use push notifications in SharePoint 2013 apps for iPhone Xamarin.
    Recently I started creating a Xamarin application that supports both Android and IPhone application. So my doubt here is, Is it possible to create a solution in SharePoint Server for sending
    push notifications and a client side iOS - Xamarin application for receiving the notifications.
    If Possible how I can create the same. Please help. If it is not possible anyone please suggest me a workaround to implement the same.

    This is not a permanent fix but through this you can easily use the apps
    Go to Settings> General> Accessibility> Guided Access
    Now tap the Guided Access and turn it on.
    Now go straight to the app which is having this problem. After opening the app press the home button 3 times to activate the Guided Access mode.
    After activating and choosing a password you'll see that there is no "connect to iTunes to use push notifications in ios 8.1" pop up any more.
    If you want to leave the app press the home button three times again.
    Thanks
    It works 100%

  • Use Redis Cache for Multiple Applications

    Hi,
    I did some searches and could not come up with a straight forward answer so I am hoping someone here can clarify this for me.
    We have two different products that we have built in .NET that we host in Azure as websites. For each of these two products we have multiple clients. Each product and client pair has its own SQL database and its own website setup in Azure.
    We would like to start using Redis Cache for the session of these products. Do I need to:
    1) Create 1 Redis Cache and use it for all clients / products?
    2) Create 2 Redis Caches and use one per product (redis caches needed = # of products)?
    3) Create an individual Redis cache for each client / product pair (redis caches needed = # of products x # of clients)?

    You can do either of the above. It would really depend on how much load are you expecting on the Cache
    For separation and load balancing it might be better to have a Cache per Website
    For a Cache to be useful it should be closer to the Web tier, so ensure that you provision the Cache in the same region as the Website.

  • Install Boot Camp/OS X on SSD disk, use internal harddrive for storing applications for Boot Camp

    Hello everyone!
    I have a SSD drive that I have installed Yosemite on and have the following question:
    I have an iMac with an external SSD disk on 250 GB that I have connected in a thunderbolt enclosure and have an internal hard drive on 500 GB SATA drive.
    First I wonder if it's possible to have a dual boot on OS X and Boot Camp on my SSD disk?
    But here comes the tricky part. I want to have my internal hard drive (500 GB) on my iMac to use some sharing to Windows.
    So my idea is just boot to Boot Camp and use my internal hard drive, that I want to partition to two parts (one partition for OS X and one partition for Windows) to have the applications (like games/user applications) installed on so I don't fill up my SSD drive with all that data. I just want to have the SSD disk to boot in and use the speed for the Boot Camp system.
    I also have file vault activated on Yosemite and want to have encryption activated on both volumes (OS X/ Boot Camp) so it's secured.
    So is this idea possible to do or do I need to have all the user applications / games installed directly to my Boot Camp partition?
    Sorry for my grammar, hope you understand what I want to do. If not I will try to explain better and more detailed if needed.
    Thanks so much in advanced!

    Trendchaser wrote:
    Hello everyone!
    I have a SSD drive that I have installed Yosemite on and have the following question:
    I have an iMac with an external SSD disk on 250 GB that I have connected in a thunderbolt enclosure and have an internal hard drive on 500 GB SATA drive.
    First I wonder if it's possible to have a dual boot on OS X and Boot Camp on my SSD disk?
    Please see http://bleeptobleep.blogspot.com/2013/02/mac-install-windows-7-or-8-on-external. html for installing on an external Thunderbolt disk.
    But here comes the tricky part. I want to have my internal hard drive (500 GB) on my iMac to use some sharing to Windows.
    So my idea is just boot to Boot Camp and use my internal hard drive, that I want to partition to two parts (one partition for OS X and one partition for Windows) to have the applications (like games/user applications) installed on so I don't fill up my SSD drive with all that data. I just want to have the SSD disk to boot in and use the speed for the Boot Camp system.
    You can create a FAT/exFAT partition via Disk Utility on the 500GB SATA disk. After Windows is installed, format this partition to NTFS from Windows, and use it as Windows D: (or appropriate drive letter depending on your environment) and install Games/Applications. Be careful with the read-only HFS partitions which get drive letters assigned automatically. This partition cannot be resized using Windows tools or OSX Disk tools.
    I also have file vault activated on Yosemite and want to have encryption activated on both volumes (OS X/ Boot Camp) so it's secured.
    FV2 (and any other CoreStorage volumes) are unreadable in Windows. Only HFS+ volumes are supported by the Apple read-only HFS driver provided by BC drivers. Windows volumes require BitLocker encryption, FV2 cannot be used for such volumes.

  • How can i use this color for my Application Background ?? Screen Shot Attached

    Hi ,
    I can find only plain colors on to Color Picker , but this is line mixed color
    How can use this attached Color for my Applications Background Color .
    Please find the Screen Shot attached .
    please see the background  color

    Are you trying to apply a gradient background?
    In Flex 3 in Application tag:
    <?xml version="1.0"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
      backgroundColor="#666666"
      backgroundGradientColors="[#333333, #666666]">
    </mx:Application>
    In Flex 4 you need to set the backgroundColor and apply a skin for the gradient:
    -------------- mySkins/MyAppSkin.mxml -------------
    <?xml version="1.0" encoding="utf-8"?>
    <!-- containers\application\mySkins\MyAppSkin.mxml -->
    <s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009"
            xmlns:mx="library://ns.adobe.com/flex/mx"
            xmlns:s="library://ns.adobe.com/flex/spark">
      <fx:Metadata>
        [HostComponent("spark.components.Application")]
      </fx:Metadata>
      <s:states>
        <s:State name="normal" />
        <s:State name="disabled" />
      </s:states>
      <!-- fill -->
      <s:Rect id="backgroundRect" left="0" right="0" top="0" bottom="0">
        <s:fill>
          <s:LinearGradient rotation="90">
            <s:entries>
              <s:GradientEntry color="0x333333" ratio="0" alpha="1"/>
              <s:GradientEntry color="0x666666" ratio=".66" alpha="1"/>
            </s:entries>
          </s:LinearGradient>      
        </s:fill>
      </s:Rect>
      <s:Group id="contentGroup" left="10" right="10" top="10" bottom="10">
        <s:layout>
          <s:VerticalLayout/>
        </s:layout>
      </s:Group> 
    </s:Skin>
    -------------- test.mxml -------------
    <?xml version="1.0"?>
    <!-- controls\button\PopUpButtonMenu.mxml -->
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/mx"
                   height="100%" width="100%">
      <s:SkinnableContainer skinClass="mySkins.MyAppSkin"
        width="100%" height="100%"/>
    </s:Application>
    If this post answers your question or helps, please mark it as such. Thanks!
    http://www.chikaradev.com
    Adobe Flex Development and Support Services

  • How to connect in itunes to use push notifications for iphone5

    I need some help. How to connect in Itunes so i can use push notifications in my iphone...

    Check to the right --->
    Under More Like This

  • Is it possible to use mod-osso for htmldb applications

    We previously used sso_sdk for registering htmldb(1.4) applications as partner applications to avail single sign-on facility provided in oracle application server.
    Can we use mod_osso for registering html db 1.5 applications as partner applications? If so, could you please provide me the links to the documentation on how to achieve this.
    Regards,
    Lavanya

    Lavanya,
    No, mod_osso is not quite ready for PL/SQL applications that share a DAD the way HTML DB does. We're working on getting mod_osso enhanced to allow that integration. In the meantime, you can continue to use the SSO SDK and the pre-configured authentication schemes in HTML DB. They will work fine.
    Scott

  • PL/SQL Counter for HTMLDB - Application Express - Survey Counter

    I wonder if somebody could help me to clarify the HowTo on this Survey.
    Based on:
    http://www.oracle.com/technology/products/database/application_express/index.html
    http://www.oracle.com/technology/oramag/oracle/06-mar/o26browser.html
    I follow up however that is not exactly what I like to see in my Survey. I like to make something more elegant and flexible.
    On this example he put 10 questions/ page. I like to use 1 Question / Page.
    And I like to extend to more than 10 pages. for example 20.
    My question to the forums is:
    If I create an application with Only 3 pages [ Welcome, Survey, End ]
    And the main page for the Survey is the second page.
    How would programatically be the logic to:
    Start the Welcome page => Setup variable counter = 1
    Then using sessions with a button click on Start Survey.
    Survey Page check for the existence of counter variable if exist retrieve the Question from the Questions table and the properly Answer will be recorded.
    This answer could include comments, and the Rating could be an LOV.
    After the Question 1 is asnwered then the Next Button on the Page 2 Call the same page 2. If the Questions is the max number of questions [20] then go to the End or Summary Page. if not just increase the counter variable then retrieve the next question.
    Am I asking to much ???. I'm just starting on PL/SQL and HTMLDB I'm not sure how to manipulate those variables. I've been trying but I'm stuck.
    Thanks in Advance for your Help.
    Dino.
    http://htmldb.oracle.com/pls/otn/f?p=42721:1:4875344191023058749:::::
    PS -> As soon as have the answer will post it public in htmldb.oracle.com =)

    Move this over to :
    Oracle Application Express (APEX)

  • Can StreamInsight be configured to use SQL Server for resiliency?

    Is it possible to use StreamInsight with SQL Server instead of CE as the metadata store? This is so that it can be supported the same way as all our other application databases (e.g. for backup, permissions, audit, disaster recovery, etc).

    No, at this time it cannot be. SQL CE - and, in particular, CE 3.5 SP3(? - the one that ships with StreamInsight) - is your only option.
    DevBiker (aka J Sawyer)
    Microsoft MVP - Sql Server (StreamInsight)
    If I answered your question, please mark as answer.
    If my post was helpful, please mark as helpful.

  • Unable to use debug mode for x64 application and debug doesn't work when target cpu set to x86

    I am attempting to familiarize myself with Visual Basic programming in Visual Studio 2008, using the Visual Basic Guided Tour in Microsoft Visual Studio 2008 Documentation, and have run into a bit of a road-block.  When following the lesson "It
    Doesn't Work! Finding and Eliminating Run-Time Errors", the IDE does not allow me to edit the code when the debugger hits the intentionally programmed runtime error (divisor set to 0).  It gives me an error that "Changes to 64 bit applications
    are not allowed".  I found some forum postings advising to set the project's Target CPU from "Any CPU" to "x86".  However, when I do that, and re-execute the debug process, the debug fails to stop on the overflow/divide by
    zero error.
    How can I debug my programs when Any CPU/x64 target doesn't allow me to edit the code, and x86 target doesn't appear to recognize obvious runtime errors.

    Hi Tim,
    >>the IDE does not allow me to edit the code when the debugger hits the intentionally programmed runtime error (divisor set to 0).  It gives me an error that "Changes to 64 bit applications are not allowed". 
    I'm afraid that the VS2008 has a limitation for this feature, I mean that Edit and Continue isn't supported on 64-bit.
    Reference:
    http://stackoverflow.com/questions/1498464/changes-to-64-bit-applications-are-not-allowed-when-debugging-in-visual-studio
    http://blogs.msdn.com/b/habibh/archive/2009/10/12/how-to-edit-code-when-debugging-a-64-bit-application.aspx
    But this feature has a improvement in VS2013 now:
    http://blogs.msdn.com/b/visualstudioalm/archive/2013/06/26/debugging-support-for-64-bit-edit-and-continue-in-visual-studio-2013.aspx
    So if possible, you could test it in the latest VS2013 version.
    Best Regards,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Not sure if i should use a database for my application?

    Hi
    Not sure if i should post here or not..
    But my problem is that initially i planned to use a database to map my application logic so that it can keep information after the app shuts down and i would get it back the next session i open my app. My application is shared across netwrok therefore i thought it would make sense to use a database. I know i can use Serialization to keep state but that only does it for current location hence i opt to use a database.
    But now thinking back i'm not pretty sure afterall if i just have my app updating the database for no other use apart from using it to keep state from my app across network.
    So - do current software application out there use a database as a datasource alot? If so how are they using it?

    Interesting indeed..
    But saying this again: all my use of database is just mapping the application logic (model). So essentially it use is just like a backup.
    After reading that link you gave me: does that mean it is very common that most software system out there uses any database of some sort to store any information as small as smallest peice of information you get?

Maybe you are looking for

  • Could not create SOA as a Managed server

    Hi I Installed Oracle SOA suite and then I created the Weblogic domain. But the SOA server is not installed as a separate Managed server. I could not find anywhere create as a Managed server option while creating domain or installation. The strange t

  • Sharpening brush in exported file

    I  have a problem with sharpen brush. It seems I lost it exporting version vs jpeg or tiff. I  used it strongly in a portion of the image just to try and  in exported file is missing. I have read about viewing at 100% etc, but I need to view the same

  • Unable to resize asm datafile even though I resized the (logical) datafile

    I have a bigfile that went above 16tb - this is causing me grief in a restore to a netapp filer that has a 16tb limit. So we went thru the hassles of moving data around. I issued the Mon Dec 10 21:15:06 2012 alter database datafile '+DATA/pcinf/dataf

  • Filtering XML data Help!

    I have a sample xml file: <photos id = "images">        <photo>          <thumb type="jpg" thumbpath="pics/Thumbs/caddo_5-16-10-10_x.jpg"    thumbwidth="133"    thumbheight="200"       path="pics/fullsize/caddo_5-16-10-10.jpg"    width="425"    heigh

  • Calendar snooze "until start" doesn't work

    I'm using Mavericks 10.9.2. If I have an event notification pop up, I can click and hold the snooze button and one of the options is "until start time".  However, selecting this causes an alert to appear at some seemingly random time *after* the star