|
You are probably referring to alpha blending which makes bitmaps semi-transparent. In older systems each pixel in a bitmap consisted of 3 fields Red, Green and Blue. With alpha-blending a fourth field, Alpha, is added which gives the opacity of the pixel, from 0 meaning opaque to 255 meaning transparent.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
I need to read and process a textfile with fixed filesize from an unc network path. The content of the file gets updated in different time intervals (from 0.5 - 10 secs). Anybody is having any idea to accomplish this task?
|
|
|
|
|
annodomini wrote: any idea to accomplish this task
Plenty of ideas. What have you tried and where are you stuck?
Why is common sense not common?
Never argue with an idiot. They will drag you down to their level where they are an expert.
Sometimes it takes a lot of work to be lazy
Please stand in front of my pistol, smile and wait for the flash - JSOP 2012
|
|
|
|
|
I thought of using FileSystemWatcher to respond to file system changes but file system monitoring of remote shares is always going to be somewhat unreliable. Maybe a polling mechanism could do the job (don't know how to adapt to the different time intervals)?
|
|
|
|
|
annodomini wrote: I thought of using FileSystemWatcher to respond to file system changes but file system monitoring of remote shares is always going to be somewhat unreliable.
True.
annodomini wrote: <layer>Maybe a polling mechanism could do the job (don't know how to adapt to the different time intervals)?
..check the remote file, every .5 second? What does realtime mean here? I'm guessing that it needs be refreshed within 10 seconds, given the remote folder.
Do you "need" the share? Or could you run an app on that remote computer that reads it locally (!) and then updates all connected clients?
Bastard Programmer from Hell
if you can't read my code, try converting it here[^]
|
|
|
|
|
hi
can any one help plz
i have application in vb.net and sql server 2005 db,
many users can login by using there Username and password,
I need to add a form for chatting any user login to the program his name show in that for so any one can chat with hem. I hop i clear my need
SO PLEASE HELP ME
THANKS SO MACH 
|
|
|
|
|
A simple google search should give you all the help you could ever want as this is asked at least twice a week here.
Member 4048188 wrote: SO PLEASE HELP ME
THANKS SO MACH
Not screaming helps a great deal.
Why is common sense not common?
Never argue with an idiot. They will drag you down to their level where they are an expert.
Sometimes it takes a lot of work to be lazy
Please stand in front of my pistol, smile and wait for the flash - JSOP 2012
|
|
|
|
|
i search in google for many days i get nothing except tcp\ip chating
|
|
|
|
|
Member 4048188 wrote: tcp\ip chating
So what? You have some other requirement other than using the Internet Protocol for Internet chatting?
Why is common sense not common?
Never argue with an idiot. They will drag you down to their level where they are an expert.
Sometimes it takes a lot of work to be lazy
Please stand in front of my pistol, smile and wait for the flash - JSOP 2012
|
|
|
|
|
Member 4048188 wrote: i get nothing except tcp\ip chating
So how do you epect the messages to get across the Internet?? Carrier Pigeon?
|
|
|
|
|
Dave Kreskowiak wrote: Carrier Pigeon
lol... someday I would like to try that smoke signal protocol....
Why is common sense not common?
Never argue with an idiot. They will drag you down to their level where they are an expert.
Sometimes it takes a lot of work to be lazy
Please stand in front of my pistol, smile and wait for the flash - JSOP 2012
|
|
|
|
|
It predates the Internet and is still used today, so they've got to be doing something right with it!
|
|
|
|
|
not necessary across the internet , its between users , that users use my application in local lan Example an accounting program in a company any user can send message to other user use the application
i hop the issue is clear now
thanks
|
|
|
|
|
Well, you did say in your original post "I hope I was clear". Nope.
If you mention chat, everyone immediately thinks two remote machines over an IP network.
|
|
|
|
|
yes its not between 2 machines its between users
thanks to you Dave
|
|
|
|
|
That makes no sense. If it's not between machines and is instead between two users, couldn't they just turn their heads and talk to each other??
Of course it's between two machines!
|
|
|
|
|
Of course it's between two machines
when i mean two user that means two users use same accounting application, and that users one in department of company and other from another department
"again same application on two machines and single DB 'SQL Server"
thanks anyway Dave
|
|
|
|
|
In a world where email is ubiquitous and, almost so, a corporate instant messaging system, is there really a need for this??
I think your application is trying to solve to entirely seperate and unrelated problems that do not need to be in a single application.
|
|
|
|
|
not necessary across the internet , its between users , that users use my application in local lan Example an accounting program in a company any user can send message to other user use the application
i hop the issue is clear now
thanks
|
|
|
|
|
Dave Kreskowiak wrote: Carrier Pigeon?
You think that is safe?
-obi-
|
|
|
|
|
This sounds like a homework assignment.
Try something like this ...
Create a message table with timestamp, usernameTo, UserNameFrom, Status (Read/Unread), MessageText.
When someone sends a message, you insert a record into this table.
You would have to create a client application which checks to see if a message is pending for your current user and retrieve it from the db and display it in a chat window.
The other guys who replied are correct, you need to investigate TCP/IP chatting otherwise your client application will be constantly polling the db for new messages. However, i think this basic design will get you through your homework assignment.
|
|
|
|
|
i well try
i think this idea is fine
thanks
|
|
|
|
|
Dim Ssql
Dim dbstatus
Dim rs
'*************
Ssql = " Select * from User_Access A Where A.User_pwd ='1234' "
set rs = Server.CreateObject("ADODB.RecordSet")
rs = DB.execute(Ssql,dbstatus)
Response.Write(dbstatus)
If dbstatus <> 0 Then
'Error code here
Else
'code here
END IF
'*************
The code is working ok . On successful execution of sql statement the dbstatus value is giving -1 . But according to the code it should return 0 for further execution . For other than 0 it will give Error .
I'm executing this on sql server 2005 and in windows 7.
***But the same code On successful execution of sql statement the dbstatus value is giving 0 on some other enviornment where ODBC version and sql server version is different .
Can anyone help me out .
Thanks in advance
|
|
|
|
|
Member 3487632 wrote: ***But the same code On successful execution of sql statement the dbstatus value is giving 0 on some other enviornment where ODBC version and sql server version is different .
You can either change the specs (requirements to run your software), or the software (have it check the version of the available drivers/software and act accordingly). We mostly choose the first option.
Write down the versions of the ODBC-driver, and update the out-of-date systems to match your test-server.
Bastard Programmer from Hell
if you can't read my code, try converting it here[^]
|
|
|
|
|
Production Environment version :-
OS windows server 2003
sql server 2000
ODBC 3.526.3959.0
My Testing Environment version :-
OS Windows 7
sql server 2005
ODBC 6.1.7600.16385
What shall i change from above to execute the code . Software i can't change i have no authority to do that.Please help me out
|
|
|
|