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 strongm 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: bernardsylunar
  • Order by date
  1. bernardsylunar

    printer question

    hugh, thanks a lot for the information. i just have to test all the codes in the links that you gave. --- but there's another problem. i experienced when using an epson printer you have to check the amount of ink on your printer, the STATUS MONITOR used by epson doesnt return the accurate...
  2. bernardsylunar

    printer question

    hugh, thanks for the reply and i agree with you. i came out with the idea of checking the amount of ink of the printer before printing and after printing. do you, or anyone else, think that's possible? thanks again... ---- YNAD Systems Programmer
  3. bernardsylunar

    printer question

    hi there... i am working on a project that always check the status of a printer to get all the jobs sent to the printer. using some API functions the data that i can gather so far are : -Job ID -Printer Name -Machine Name that create job -Print Job Owner's name -Name of document -Name of user...
  4. bernardsylunar

    Typecasting: String to Int

    do you want to update the table with the values in your listview? if so, avoid using special characters like single quote (') or asterisk (*) because they are sql server constant chars. hope this helps. ynad ---- It is foolish to listen to someone who will not listen to you.
  5. bernardsylunar

    dll question

    oh i get it. i thought every dll should be first registered before using. i just copy it into the windows/system32 and it's working. thanks a lot.. and thanks for the help... another star ynad ---- It is foolish to listen to someone who will not listen to you.
  6. bernardsylunar

    registering dll problem

    hi! i got the following error when i try to register my dll: Missing entry:DllRegisterServer when i compile my dll. i can call it from my VB application and i have used the functions inside my dll file. pls help... thanks in advance... ynad ---- It is foolish to listen to someone who will...
  7. bernardsylunar

    invalid column in passing parameters into a stored procedure

    THANK YOU VERY VERY MUCH GEORGE i think you deserve a star. thanks for the help and your time. ynad ---- It is foolish to listen to someone who will not listen to you.
  8. bernardsylunar

    invalid column in passing parameters into a stored procedure

    sorry for my mistake in posting my reply :( ---- george, i tried your code but it gives me an error Server: Msg 105, Level 15, State 1, Line 1, Unclosed quotation mark before the character string 'bslunar'. Server: Msg 170, Level 15, State 1, Line 1 Line 1: Incorrect syntax near 'bslunar'...
  9. bernardsylunar

    invalid column in passing parameters into a stored procedure

    george, i tried your code but it gives me an error Server: Msg 105, Level 15, State 1, Line 1, Unclosed quotation mark before the character string 'bslunar'. Server: Msg 170, Level 15, State 1, Line 1 Line 1: Incorrect syntax near 'bslunar'. Stored Procedure: memo.dbo.GetAllRecordsByEmailFrom...
  10. bernardsylunar

    dll question

    i got it now. it's working. the problem is in my VB Code. thanks for your reply. btw, i got another problem. i try to register my dll but there's an error. C:\MyDll.dll was loaded, but the DllRegisterServer entry point was not found. DllRegisterServer may not be exported, or a corrupt version...
  11. bernardsylunar

    dll question

    hi Rick, you got it dude!!! the return value in my VB declaration is what i missed. a star for you!!! btw, i got another problem. i try to register my dll but there's an error. C:\MyDll.dll was loaded, but the DllRegisterServer entry point was not found. DllRegisterServer may not be...
  12. bernardsylunar

    invalid column in passing parameters into a stored procedure

    thanks for the reply frederico >as you are trying to insert a char value correct me if i'm wrong but what i understand on you reply is i'm inserting a value to a table. i'm not inserting any char, i just querying records from a certain table(@Tbl) "memo_info", where field(@Fld) "email_from"...
  13. bernardsylunar

    invalid column in passing parameters into a stored procedure

    hi everyone, i've created a stored procedure: CREATE PROCEDURE GetAllRecords @Tbl nvarchar(256), @Fld nvarchar(256), @FldValue nvarchar(256) AS declare @tsql varchar(100) set @tsql='SELECT * FROM ' + @Tbl + ' where ' + @Fld + ' = ' + @FldValue exec ( @tsql ) GO where @Tbl is for...
  14. bernardsylunar

    dll question

    yes, i included IsStringEqual in the EXPORTS list on the .def file thanks ynad ---- It is foolish to listen to someone who will not listen to you.
  15. bernardsylunar

    dll question

    >> extern "C" __declspec( dllexport ) long __stdcall i've included this line into my c++ program but it cause errors when i tried to build it. maybe i just put it in the wrong place. i've tried putting in the .cpp source file and .h header file but i got errors too. thnks for the reply...
  16. bernardsylunar

    dll question

    Hi Rick Thnks for the reply. i already tried replacing String with Any before and it did not work. as you have said, i try using two underscores but i got the same error... by the way, i'm still working on it anyway. i hope i can make it work a.s.a.p... many thanks for your reply.. ynad...
  17. bernardsylunar

    dll question

    xwb thanks for your reply. i've copy and paste your code the still i got same error. thanks again... ynad ---- It is foolish to listen to someone who will not listen to you.
  18. bernardsylunar

    dll question

    hi everyone! i just post this question coz maybe someone here knew Visual C++ but i also post it in Visual C++ forum... i'm new to Visual C++ and i try to create my own dll and call it from my Visual Basic 6.0 program. i've created a function IsStringEqual that will check if the two strings...
  19. bernardsylunar

    dll question

    hi everyone! i'm new to Visual C++ and i try to create my own dll and call it from my Visual Basic 6.0 program. i've created a function IsStringEqual that will check if the two strings are equal. here's my code... In Visual C++ int _stdcall IsStringEqual(char string1, char string2, int...
  20. bernardsylunar

    Listview problem

    Hypetia, thanks for your reply. i've done what you said but the focus is always on my listview control and there's always a highlighted item. and everytime i double click anywhere on the listview control (not on the selected item), the selected item still opens. thanks again ynad ---- It is...

Part and Inventory Search

Back
Top