User Profile

Collapse

Profile Sidebar

Collapse
bobido
bobido
Last Activity: Nov 11 '09, 05:25 PM
Joined: Feb 20 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • bobido
    replied to Help with stored procedure
    I have managed to work a bit on the procedure, i currently have this error:

    Engine Error (code = 335544569):
    Dynamic SQL Error.
    SQL error code = -206.
    Subselect illegal in this context.

    SQL Error (code = -206):

    Any Idea? thx =)

    Code:
    SET TERM ^ ;
    
    ALTER PROCEDURE PRC_QUOTE_LOG_ADD (
     NAAM      VARCHAR(120),
     VWDID     INTEGER,
     QUOTE
    ...
    See more | Go to post

    Leave a comment:


  • bobido
    started a topic Help with stored procedure

    Help with stored procedure

    Hi there, iam trying to use Firebird with this procedure:

    Parameters:

    NAAM VARCHAR(120)
    VWDID INTEGER
    QUOTE DECIMAL (9,3)
    QUOTEDATE TIMESTAMP
    QUOTETYPE VARCHAR(20)

    Code:
    BEGIN
      /* Procedure text */
      DECLARE TYPE_ID int
      /* Checken of de quote al bekend is */
      IF(COUNT(QUOTE_VWDID) FROM TBL_QUOTE WHERE QUOTE_VWDID = VWDID) < 1
      BEGIN
    ...
    See more | Go to post

  • bobido
    started a topic c# UDP Socket

    c# UDP Socket

    Hi there,

    In C# i would like to listen to the following socket:

    Local Address: 0.0.0.0
    Local Port: 1498
    Remote Adress: 127.0.0.1
    Remote Port: 40001
    Protocol: UDP

    I tried with the following code:

    Code:
    try
                {
                    Socket soUdp = new Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp);
    ...
    See more | Go to post

  • bobido
    started a topic PerformanceCounter CPU 0% ???

    PerformanceCounter CPU 0% ???

    Hi there!

    Currently I'm trying to display the current performance of my servers on my website. I tried it with the following code:

    Code:
        protected static PerformanceCounter cpuCounter;
        protected static PerformanceCounter ramCounter;
    
        protected void Page_Load(object sender, EventArgs e)
        {
            try
            {
                Timer1.Tick += new EventHandler<EventArgs>(Timer1_Tick);
    ...
    See more | Go to post

  • bobido
    replied to GUI Thread in C#
    in .NET
    finally...

    I managed to solve the problem:

    Code:
            public class TheContainer
            {
                public static Main TheForm;
                public static DdeClient TheDdeClient;
            }
    By putting the form and the dde connection in a container? It worked :S?

    I dont know why, can anyone tell me please =)?
    See more | Go to post

    Leave a comment:


  • bobido
    replied to GUI Thread in C#
    in .NET
    It does work with two threads. Iam using an DDE connection to an server, through a hot link. Whenever, for example, the time is being update and information comes streaming in on the same time, the dde connection will hang because it cant wait with updating (i think thats becaus it isnt a thread but an eventhandler??) . Cant i just isolate parts of my gui so that some part of the code can always access those labels, =(? Iam goin to try to make an...
    See more | Go to post

    Leave a comment:


  • bobido
    replied to GUI Thread in C#
    in .NET
    They are being called on an event =)...
    See more | Go to post

    Leave a comment:


  • bobido
    replied to GUI Thread in C#
    in .NET
    thx m8 =D. I tried another way, by putting all the data in an array and have one thread update the lbls with the data in the array. That didnt work =,(. So iam goin to try and use the backgroundworke r, which I read should be easier to work with (as long as it works for me =p)

    greetz, bobido!...
    See more | Go to post

    Leave a comment:


  • bobido
    started a topic GUI Thread in C#
    in .NET

    GUI Thread in C#

    Hi there,

    Iam trying to make an app that has about 14 different threads which have to access the GUI and update some of the labels. Now if i do that, after a little whil it kinda hangs, I think its becaus the gui has been accesed by two or more threads at the same time. So i tried to solve this writing this code:

    Code:
            private void SetText(string text, Label item)
            {
                    if (item.InvokeRequired)
    ...
    See more | Go to post

  • bobido
    replied to C# Form Application, (log writer problem)
    in .NET
    I managed to do so,... =)
    See more | Go to post

    Leave a comment:


  • bobido
    started a topic C# Form Application, (log writer problem)
    in .NET

    C# Form Application, (log writer problem)

    the following code was used in a console application (where it worked). Now iam using it as a windows form app. and it doesnt seem to write anything in the log.

    Code:

    private void Test_Click(obje ct sender, EventArgs e)
    {
    FileInfo l = new FileInfo("Log.t xt");
    StreamWriter Log = l.CreateText();
    Log.Flush();
    try...
    See more | Go to post

  • bobido
    replied to c# Analyse Data Stream
    in .NET
    I managed to do so, thx! =D
    See more | Go to post

    Leave a comment:


  • bobido
    started a topic c# Analyse Data Stream
    in .NET

    c# Analyse Data Stream

    Hi There,

    I have a log file in ASCII that holds these lines of text:

    02-20-2008,10:18:47,4 .78,4.79,4.78

    Iam trying to load these in c# and use the data like date and time. So far i only managed to get the whole lines of text in my program. Is there a way to like dismantel the line of text from start to "," and so on.

    instead of:
    02-20-2008,10:18:47,4 .78,4.79,4.78
    ...
    See more | Go to post
No activity results to display
Show More
Working...