CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Ranthalion

Page 1 of 3 1 2 3

Search: Search took 0.06 seconds.

  1. Replies
    1
    Views
    684

    Re: Simple Crystal Formula

    You can create a formula in Crystal Reports using select...



    select {Sequence} case 1 : "1st" case 2 : "2nd" case 3 : "Final" default: "bad value"


    -Ranthalion
  2. Replies
    5
    Views
    3,919

    Re: Extracting parts of a string

    Do you have some records that don't have all 3 elements in the string?

    You may be able to try the following for color...


    //if Count (Split("00009 / Ivory / 3-5", "/")) >=2 then Split("00009...
  3. Replies
    0
    Views
    673

    CR XI Chart labels

    Hi all,

    I am looking for a way to display some data in a pie chart. I have data labels on the pie chart as well as a legend, but I would like the data labels on the chart to be abbreviations of...
  4. Replies
    5
    Views
    3,919

    Re: Extracting parts of a string

    You should be able to use Split({icitem.desc}, "/")[2] to get the color and Split({icitem.desc}, "/")[3] to get the size.
  5. Re: How to find available space on a network share folder??

    You should be able to send it the path to a shared drive. I am using it in an application that monitors network shares and it is working for paths like \\BillingPC\InvoiceShare$\. Have you tried...
  6. Re: How to find available space on a network share folder??

    I have done this before by using an API call to GetDiskFreeSpaceEx. Here's an example. It's in VB.NET, but it should be pretty easy to convert to C#...



    'This class contains the functionality...
  7. Capture method parameters for error logging

    Hi,

    I am using VS2008 with .NET 3.5...
    I am looking for a way to capture the parameters and values associated with them when an error occurs. I can find the parameter names and data types, but...
  8. Replies
    3
    Views
    959

    Re: MSSQLServer2000 linked server

    About 3/4 down under Pure Table Scans <a href="http://msdn2.microsoft.com/en-us/library/aa902681(sql.80).aspx">MSDN</a>:


    The quote you referenced, combined with this one, seem contradictory to...
  9. Replies
    3
    Views
    959

    MSSQLServer2000 linked server

    Hi,

    I hope this is the appropriate location for this question. I am using SQL Server 2000 on two different servers and have created linked server connections on both of them, so they can...
  10. Replies
    2
    Views
    7,834

    Re: SQL Server prevent Table Spool

    When I tested, I used the exact same query, just changed the destination table. I also tried WITH (NOLOCK), but that didn't help any. I'm starting to think that there isn't a way to get around it. ...
  11. Replies
    2
    Views
    7,834

    SQL Server prevent Table Spool

    Hi,

    I have a query that inserts records from one table into another table on a linked server. The problem is that it takes close to 30 seconds to perform the query. If I just insert the records...
  12. Replies
    1
    Views
    523

    Re: Editting a datatable

    Just glancing over the code, I don't see anything wrong. You say it doesn't work. What happens or doesn't happen that makes you say that?
    Is the datatype for item(6) String?
  13. Replies
    1
    Views
    4,405

    Re: Maintaining scroll position on Treeview

    You can use the following javascript function to add scripts to the body onload event. Just inject that javascript into your page somewhere... I know this works with IE6, but I haven't tested on any...
  14. Replies
    6
    Views
    13,654

    Re: Save scroll position

    Ah. Sorry.

    I tried to make the example easy to follow because my control's code is complex and long. I actually went through the same train of thoughts that you recommended. That's what led me...
  15. Replies
    6
    Views
    13,654

    Re: Save scroll position

    In this example, you are correct, but I am developing a server control, so I cannot access or modify the body tag with it. Also, if the end user has assigned something to onload, I certainly would...
  16. Replies
    6
    Views
    13,654

    Re: Save scroll position

    I catch the event because the saveScroll function can be shared between multiple scrolling grids. I verified that all elements exist when the script is called, and they all contain valid values.......
  17. Replies
    6
    Views
    13,654

    Save scroll position

    Hello all,

    I'm working on an intranet app targeting IE 6.0. I have a table nested in a scrollable div and I need to save the scroll position between postbacks, so I have a hidden field and 2...
  18. [RESOLVED] Problem with Custom Control TagPrefix

    Hello,

    I have created a few custom web controls using VB.NET in Visual Studio 2003. Everything with the control functionality is working just fine, but the tag prefix isn't behaving correctly.
    ...
  19. Replies
    1
    Views
    700

    Re: Calander control

    As far as I know, the calendar control does not pop up. Whenever I have used it, it is always fully displayed on the page. To put the selected date into a text box:



    Private Sub...
  20. Replies
    7
    Views
    1,118

    Re: Forms Timer and Thread problem

    Thanks DSJ and Thread1! That set me off on my journey to learn more about threading... It seems like I should have designed the EDIProcessor class to work a little differently and handle the...
  21. Replies
    7
    Views
    1,118

    Re: Forms Timer and Thread problem

    Ok, so now that I understand this a little better, I have rewritten some of the code. The problem is that it just seems wrong, like I'm missing something obvious...

    Here's what I have now...

    ...
  22. Replies
    7
    Views
    1,118

    Re: Forms Timer and Thread problem

    Thanks! That works. I don't understand why it is different from what I had, or why invoke is needed instead of just enabling, or starting, the timer by itself. Do you know of any sites where I can...
  23. Replies
    7
    Views
    1,118

    Forms Timer and Thread problem

    Hi,

    I have an application which contains a form with a Forms.Timer. For some reason, the tick event is not getting called... Somehow this is connected to the fact that I start a new thread...
    ...
  24. Replies
    2
    Views
    953

    Re: Dynamic DB Selection

    I would use dynamic sql string. Just build the sql as a string and execute all within your stored procedure.
  25. Replies
    1
    Views
    1,001

    Re: how to run a DTS package in SQL Server

    As far as I know, you have to import the dts package into sql server and you can run it from there, by opening the dts in sql server and clicking the run icon at the top.

    The file extension...
Results 1 to 25 of 65
Page 1 of 3 1 2 3





Click Here to Expand Forum to Full Width

Featured