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 SkipVought 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: mensud
  • Order by date
  1. mensud

    Creating and naming TABLE using SYS(2015)

    Hi, I am trying to copy records from cursor into a table, whose name is created using SYS(2015) function. The code looks like: tmptable=substr(sys(2015),1,10) select * from cunion into table c:\&tmptable use c:\&tmptable in 0 select (tmptable) Every time when compiler try to execute the line...
  2. mensud

    How to put a cursor name to variable

    Thanks !!!
  3. mensud

    How to put a cursor name to variable

    Hello, I need to put a cursor name into local variable, and also do something with that cursor using variable as name. Thanks. Mensud
  4. mensud

    How to populate multicolumn combobox

    I need to populate a two-column combobox. I am using AddItem method, but I get an empty items in both columns. How to populate multicolumn combo box anuway? Thanks. Mensud
  5. mensud

    IIF nesting

    The case with UDF is working. Thanks a lot to everyone. Mensud
  6. mensud

    IIF nesting

    ';' is missing because of my mistyping. But actually, there is no missing comas, parenthesis,... in my code.
  7. mensud

    IIF nesting

    Hello, I am trying to use 6 IIF commands in SetAll method. It looks like this: thisform.grid1.SetAll("dynamicbackcolor", ; "IIF(orderCursor.term='PRE', rgb(128,128,128),; IIF(orderCursor.term='PEN', RGB(255,128,64),; IIF(orderCursor.term='PEI', rgb(0,0,255)...
  8. mensud

    OCX as DLL - is it possible ?

    Hi, Basicly what I am trying to do is to "convert" or rewritre an OCX control into ActiveX Dll. Since I am using UserControl (in OCX), I don't know if it is possible to convert this control to dll. If there is a way to make this conversion please suggest some tips how to do that...
  9. mensud

    OCX as DLL - is it possible ?

    Hi, Basicly what I am trying to do is to "convert" or rewritre an OCX control into ActiveX Dll. Since I am using UserControl (in OCX), I don't know if it is possible to convert this control to dll. If there is a way to make this conversion please suggest some tips how to do that...
  10. mensud

    ListBox and EditBox controls

    Hello, I have very, very stupid situation. I am working with ListBox and EditBox controls. What I am trying to do is very simple. When I type something in textbox and after pressing enter button, I want this to be showned upo in my tlistbox, and KEEP FOCUS on editbox, so I can enter another...
  11. mensud

    Input from barcode reader

    It doesn't work. When I make it read only and after scanning, I get the well known message "The control is read-only" !!! Some other solutions !? Mensud
  12. mensud

    Input from barcode reader

    I have ListBox which should contains data read by barcode reader. My idea was to put TextBox control onto form, and fill out the listbox from this control. But, I would like to make restriction on textbox field, so the user should not be able to type into this field, but use scanner only. My...
  13. mensud

    How to print detail table twice on the same sheet

    I have a table populated with some data grouped by "code" field. What I am trying to do is to print this table twice on the same sheet of paper. In report, I am using group band (field "code" from the table) and detail band. Is there any possibility to use detail band twice...
  14. mensud

    Passing parameters to DLL function

    Problem solved. Thanks to everybody. Mensud
  15. mensud

    Passing parameters to DLL function

    OK, I made stupid mistake. But how to convert character '^' (0x5E) to hexadecimal and pass it into function. If I use parm1 as Dave suggested, I obviously get an error because of mismatched types, but how to pass hex value, not integer. I am totally confused. Anyway thanks for your help. Mensud
  16. mensud

    Passing parameters to DLL function

    Thanks Dave for your response. What I am trying is to print to parallel port (windows 2000) I declared my function Out32 as: declare integer Out32 in "spports32.dll" as "Out32" short @PortAddress, short @PortString The first parameter is hex address of the parallel port...
  17. mensud

    Passing parameters to DLL function

    Hello, I want to use a function from DLL which was developed in VC++. This function receive two parameters (SHORT data type) as hexadecimal numbers. I don't know how to pass the next sequence of characters "^XA,P,P,P,^FS" to this function, as one of parameters. I mean, how to convert...
  18. mensud

    What type is equal to C++ SHORT type?

    I know that I could change the types in dll, but I don't have the source code here, and can't wait until tomorrow.
  19. mensud

    What type is equal to C++ SHORT type?

    I have developed an dll in C++(my favorite language) and I want to use this dll in foxpro. I am not sure what type in FoxPro is equal to VC++ short type. Thanks
  20. mensud

    How to flush the cursor

    It works fine, but I am wondering, if there is any way to suppres showing up the dialog screen after this command is executed?

Part and Inventory Search

Back
Top