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!

Recent content by Elena

  1. Elena

    Problem setting alignment on a datagrid

    Shelton, Thanks for the reply. However, I did not see how to set the alignment, only the text. I still haven't figured this one out. Thanks,
  2. 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...
  3. 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...
  4. Elena

    HELP: ListBox problem

    Uhu, I found this recently and it helped me out alot. However, I don't know why it works. Could you explain? I am new to VB.NET and I am having a lot of trouble learning about ADO.NET and databinding and such. Thanks, Elena
  5. Elena

    GUI for DOS

    itsgsd, Thank you for taking the time to find that for me. I really appreciate your efforts! Best regards, Elena
  6. Elena

    GUI for DOS

    itsgsd, Thank you! Elena
  7. Elena

    Simple String question.

    I figured out what the fundamental thing was that I wasn't getting. A string is a character array. So the variable name is actually pointer the beginning of the array, not the contents of the array itself. That's why I could not assign a string to the variable (because its a memory address)...
  8. 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...
  9. Elena

    GUI for DOS

    Thank you all for your posts. These are all helpful. As for now, since I have little time left, I will use the basic prompt/reply approach. But I have to learn how to use menus as I expand my program. I have to get phase 1 done by tomorrow. itgsd, Since I am still trying to learn this on...
  10. 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...
  11. 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...
  12. Elena

    Validating user entry in a textbox

    Sweep, Thanks for the reply. If I enter numbers, everything works fine. I am using using Cdbl() to convert the text to numeric and do all the math function. The problem is that I want to prevent the user from entering text. Thanks, Elena
  13. 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...
  14. 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...
  15. Elena

    Trying to compile a project that uses assembly language.

    I actually finally got it to work by using TASM 5.0 with Turbo C++ 3.0. I had to tweak a few things, but ultimately, it worked. I still have to go through the rest of the code to see how my tweaks will affect it, but at least it compiled. Progress is a good thing. Apparently, the code was...

Part and Inventory Search

Back
Top