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 TouchToneTommy 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: Elena
  • Content: Threads
  • Order by date
  1. Elena

    Preventing Column Width Changes in a datagrid

    Anyone know how to prevent column width changes in a datagrid? I know there is a WidthChanged event for the ColumnStyles but I don't know how to use it. When I try to make a subroutine to handle it, it only gives me the child objects of the form. I can't even get to the columnstyles. Thanks...
  2. Elena

    Problem setting alignment on a datagrid

    Hi, I am trying to set the alignment of the data in the grid control to right-aligned for a column that contains currency. That is working using the DataGridTextBoxColumn Class. However, it sets the entire column to right-aligned, including the Column header text, which doesn't look good. Is...
  3. Elena

    Simple String question.

    Hi, As I am new to C/C++, I for some reason cannot get this simple concept. If declare a string like: char string[]; Shouldn't I be able to assign it a value later on? Like: if(something is true) string = "This is a string."; else string = "This is not a string."; Can someone explain...
  4. Elena

    GUI for DOS

    Hi, I want to make a simple user interface for DOS that will run other DOS programs based on the users selections. Just a few menus that they can select with a mouse or keyboard. However, I am new to this and I don't know where to start. Can someone point me in the right direction? Thanks...
  5. Elena

    GUI for DOS

    Hi, I want to make a simple front end user interface for DOS that will run other programs based on the menu selections. Just a few menus that the use can select with a mouse or keyboard. However, I am new to C and I don't know where to start. Can someone point me in the right direction...
  6. Elena

    Validating user entry in a textbox

    I am trying to validate two textboxes to make sure that the entries are numeric. I am using the Validate Event of each of the text boxes. If the entry is not numeric, I set e.Cancel = True. I assumed that that would cancel any events that follow. If I tab to another control, or click a...
  7. Elena

    Simple Pointer Question

    This one has always bugged me. I am new to C/C++ (As if you guys couldn't tell). Anyway, when I look at some sample code, I see different ways of declaring a pointer(I think). I just want to make sure that there is no difference between: char *string[64]; and char * string[64]; They are...
  8. Elena

    What's the difference between Turbo C++ and C/C++

    Hi, I am so confused over the number of versions out there from Borland. I have Turbo C++ 3.0, that came with TCWIN 4.5. There is also a C/C++ 4.52, which is supposed to be the "full version". What does that mean? I have also heard people say not to use the low cost versions...
  9. Elena

    Trying to compile a project that uses assembly language.

    Hi, I am trying to compile a project where one of the files uses assembly languange. I don't have much experience with projects. I have usually written single file programs, so all of this is new. Also, I use Turbo C++ 3.0, which lets you make the .exe file from the IDE. The code I have that...
  10. Elena

    Using Microsoft C++ 6.0 for DOS based program??

    Hi, I have Microsoft Visual C++, and I want to write a program that runs in DOS. Specifically, it is a HDD test, so the system would have to boot to a floppy. Is it possible to write in Microsoft Visual C++? I know I should know this, but I have never used Microsoft Visual C++. Previously...
  11. Elena

    Program to test hard drives

    Hi, I tried posting this question to the C++ forum, but this one looks like it gets a little more activity, so hopefully someone here can help. I am new to C++, trying to teach myself, so this may be easier than I think. I am looking into writing a program in C++ to test basic functions on an...
  12. Elena

    Program to test hard drives

    Hi, I am looking into writing a program in C++ to test basic functions on an ATA hard drive, such as read, write, identify, etc. Does anyone have any information on where I can learn more about it? Thanks, Elena
  13. Elena

    Sort order from Access

    Hi, I have an SQL statement: SELECT DISTINCT Tests.ConfigName, Tests.[C-SEL] FROM Tests WHERE Tests.OSID = 1 AND Tests.DriveType = 1 Now, this is working fine, but the order that the records are returned in is not correct. I want it to return the records in the order they were entered into...
  14. Elena

    How to reposition and resize controls at runtime?

    Hi, I want to be able to create one or more frames at runtime based on user entry. Then I want to create one or more(usually more) command buttons and text boxes inside each frame based on information from a database. I have finally been able to figure out how to create it all, but now I need...
  15. Elena

    Trying to dynamically resize a dynamically frame.

    In this code, I have a commandbutton array, a textbox array, and a frame array. I am trying to dynamically create them based on a database and then resize them. I can't figure out why this doesn't work. The program fails at the area highlighted below with 'object does not support this...
  16. Elena

    Dynamic Controls

    Hi, This one is troubling. I am trying to add controls dynamically, based on user entry and on information from a database. I want to add a frame(1 or more, depends on user entry) and then inside the frame have one or more command buttons and text boxes. I can create the frame and the...
  17. Elena

    ADO Recordset.AddNew Error

    Hi Guys, I am trying to add a new record to a table in an Access Database, which I have been able to access with no problems. When I try to add a new record, I get the following error: "Runtime error '3251': Object or provider is not capable of performing requested operation." Here...
  18. Elena

    ADO Recordset - Find Method

    Hi, OK, what am I doing wrong? I am getting the error "3265 - Item cannot be found in the collection corresponding to the requested name or ordinal." The Find method seems to work, because the EOF is false when I get the error. I have checked the names and data types, but I can't...
  19. Elena

    ADO Recordset object- When does it die?

    Quick Question: If you open a recordset object in an event procedure, does it die when the procedure ends? For example, I am opening a recordset when the form loads to fill a combo box. Can I still use the same recordset in the combo box LostFocus event procedure? Or do I have to open it for...
  20. Elena

    When to Open and Close ADO Connections?

    Hi, Just a quick question. I have several functions that get information from a database and display it on a form. Should I open the connection to the Database in one place, rather than opening and closing in each function? What's the difference? Thanks, Elena

Part and Inventory Search

Back
Top