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...
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...
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 ==...
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...
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...
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...
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...
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 =...
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.
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("B"& i)
If CurrentValue <> "" then
Temp(Counter) = CurrentValue
End IF
Counter = Counter + 1
Next
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...
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?
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()...
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?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.