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...
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
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...
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.
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.
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...
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.
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'...
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...
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...
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...
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"...
...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 table name
@Fld is a field of the table
@FldValue is...
>> 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...
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...
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.
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...
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...
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...
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.