Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: davman2002
  • Content: Threads
  • Order by date
  1. davman2002

    Changing Form size in Code

    I want to know if anyone can show me how to change the size of the form in code. For example I have a form that I want to have the minimize and Maximize icons in. however I only want the Maximize button to allow the user to maximize the form to a specified size (not the full window). Thanks...
  2. davman2002

    Format double

    is there a way to format a double? for example Can I format 95.8586321465 as 98.96
  3. davman2002

    Getting last day of the current month

    Hi all I am really new to SQL, I normally use VB and C++. I need to know how to find out the starting date of the current month and the ending date of the current month. I noticed that there is a DATEADD function however I did not find any usefull information regarding how to use it. Any help...
  4. davman2002

    KeyPress

    I am trying to capture the Key that was pressed by the user. However I keep getting a mesage saying that it cannot convert a string type to a double. Here is my code. Any help is appreciated. void __fastcall TfrmMain::MoveShip(TObject *Sender, char &Key) { if (Key ==...
  5. davman2002

    Assign a caption to a label through a variable

    I need to know if it is possible to assign a value to a label using a variable. For example I would like to be able to create a function that will except an int and if that integer is 1 then the caption of Label1 can be assigned. here is my code Thanks void __fastcall...
  6. davman2002

    DateTime Difference

    I am trying to calculate the value of time remaining time between three variables. For example: If I have 32 hours and 30 minutes and that time was calculated at 12:00 PM and I want to know how much time it would take before I reach 40 hours. How do I do a date difference between 40 hours and...
  7. davman2002

    Calculate Time

    I am trying to calculate the value of time remaining time between three variables. For example: If I have 32 hours and 30 minutes and that time was calculated at 12:00 PM and I want to know how much time it would take before I reach 40 hours. My problem is the I am not sure about the datetime...
  8. davman2002

    ListBox and AnsiString

    I have an extensive understanding of Visual Basic and a basic knowledge of C++. I know that this can be done in C++ however, I am having a major problem trying to understand the AnsiString process. (It is so much easier in VB) My problem is that I need to get a value that is stored in a...
  9. davman2002

    Date Fifference

    Does Borland have a Date Difference function? If Yes can you provide an example?
  10. davman2002

    Convert a text file to Excel through VB

    I have a program that creates a text file. I would like to know if anyone can help me with converting the contents of that file to excel. Or is there a way to automactically convert it to excel instead of a text file. Here is my code Private Sub mnuConvert_Click() dlgMain.Filter =...
  11. davman2002

    Make Program Active even if user is using another program

    I want to know if there is a way to at a certain point of the program to make it the active program that appears on the screen even if the user is currently using another program.
  12. davman2002

    Show Gif

    How Can I show a gif file in Borland 6?
  13. davman2002

    Force Database Compat using VBA

    Does anyone know a way or can you point me to an article dicussing how to force Access to compact the database using VBA in a module?
  14. davman2002

    Message Boxes

    Is there an easy way to show a message box using Javascript? I would like to be able to prompt the user on an event such as a text box lost focus.
  15. davman2002

    Message Box

    Can I generate a message box that can be displayed on a web page via ASP? Can you provide an example?
  16. davman2002

    ASP Array? Can it be done?

    Is it possible to declare a single diminsion array in ASP? My curent code that does not work is Counter = 0 For i = 1 to 18 CurrentValue = Request.QueryString(&quot;B&quot;& i) If CurrentValue <> &quot;&quot; then Temp(Counter) = CurrentValue End IF Counter = Counter + 1 Next
  17. davman2002

    Loop thru QueryString

    I want to know if anyone know how to loop thru a querystring of Checkboxes and determine which ones have been checked? What I actually want to do is determine which checkboxes have been selected and then based on that information update the database. Here is what I currently have and it does...
  18. davman2002

    I am using an ADODB.Recordset conne

    I am using an ADODB.Recordset connection to pull data from the server. Problem I am having is that anytime I want to sort the data the page has to go back to the server to pull the information again. Is there a way to store an SQL string in a temp array stored on the users computer?
  19. davman2002

    AnsiString to double

    I am an experienced C++ Programmer but this is my first experience with Borland. I need to know how to convert a string variable to a double. This is the code that I have but it does not work AnsiString Value1 = txtValue1->Text.ToDouble(); AnsiString Value2 = txtValue2->Text.ToDouble()...
  20. davman2002

    Date Difference

    I have two fields that have dates and I need to find a way to calculate the weekdays that are between both dates. I know how to calculate a date difference but does anyone know how I can tell the program not to count weekend days?

Part and Inventory Search

Back
Top