|
Ayesha Manzoor wrote: can u give me any idea how you did???
Sure, here is how I solved the requirement of having an invisible watermark.
1) Print the document
2) Open your eyes, you cannot see the watermark because it is invisible. REQUIREMENT SATISFIED
|
|
|
|
|
Could you not generate an image with meta text.
If you look at the file format of a *.jpg or *.tiff. You might find a space to embedded it there. There is usually some header tags. Owner, author etc...
or
Depending on the image type you could create your own colour pallet. the first spot representing the color white or what ever background color. The others represent your message in char. Different color depths can increase the size of your message.
8 bit would be useful for an ascii message. 'A' 41 0101 0001
rgb could be three charactors. 'ABC' 414243
so
#000000 - white
#414243 - ABC
Might be a start
Could use 7 bit ascii and gain a few characters
or
create a style sheet with colors representing a message
For another idea:
compress your message to make it smaller and hide the message a little more
Pierce
modified on Tuesday, March 24, 2009 8:58 PM
|
|
|
|
|
should i convert .doc file into .jpg or .tiff? but then the text will not be visible.
|
|
|
|
|
The word document would stay as a word doc. You would insert a watermarked image file as an image or background.
Another idea to think about:
Why wouldn't you digitally sign your documents?
Thanks,
Pierce
|
|
|
|
|
will that watermarked image be invisible and ineditable??
and can u tel how to digitally sign a document?
Actually i have to develop a tool which will be able to water mark the word documents for copyright. to protect the document from being plagiarized. i studied different tecnhiques which are used to write some bits in between the text. but a person can edit those bits. i want something invisible and ineditable...can u give any suggestion??
|
|
|
|
|
Presently looking for code examples for LED Message Displays. There is only one presently posted and is only a numerical disply. Working with Visual Studio Pro 2005
|
|
|
|
|
You'd have to adapt the specifics of the display in the one CP article; so start reading the documentation about your display.
BTW a lot of them use the same interface spec, and actually also the same integrated circuit to instantiate it.
Luc Pattyn [Forum Guidelines] [My Articles]
- before you ask a question here, search CodeProject, then Google
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get
- use the code block button (PRE tags) to preserve formatting when showing multi-line code snippets
|
|
|
|
|
Greetings:
Much thanks for your timely reply. I've gone through your five articles and then to the articles where I've found the BetaBrite LED Sign API piece. Not sure if this is the article to which you refer.[a link would be most helpful] I am actually a systems administrator new to coding and this is a project I've thought up for myself. While I have your attention I would ask what would be involved in using a bluetooth headset [hardware & software] to communicate commands to an LED display. Your credentials suggest that an informed opinion is likely.
Cordially,
Phil Pense, Microsoft Certified Professional
|
|
|
|
|
Hi Phil,
I do remember reading a recent article about an LCD display[^] connected through the USB port, and an older one[^] using the parallel port. I was assuming the former was the article you were referring to.
My message basically is: any other small display is likely to be handled very similarly.
If you want my advice on what PC interface (serial, parallel, USB) would be most appropriate for your specific display device, you should give the details of make and model so I can have a quick look at the documentation. Chances are the parallel port interface is the easiest one to implement, but then parallel ports are getting rare these days, unless you use a USB-to-parallel cable.
As to your other question: I have no experience with either bluetooth or headset interfacing. What is the functionality you are looking for? If it is voice commands, I expect there are several solutions for voice recognition, and these would take voice input from a mike, whatever the connection method is; I expect a bluetooth headset to just work for input and output under Windows.
Regards,
Luc Pattyn [Forum Guidelines] [My Articles]
- before you ask a question here, search CodeProject, then Google
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get
- use the code block button (PRE tags) to preserve formatting when showing multi-line code snippets
|
|
|
|
|
OK, I now found this article[^] and it is becoming clear to me BetaBrite is a manufacturer of end-user display systems, not small electronic components one needs to integrate into some system. Also some Googling brings up several things, so I expect the interfacing to be a non-issue, and software support to be amply available.
Luc Pattyn [Forum Guidelines] [My Articles]
- before you ask a question here, search CodeProject, then Google
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get
- use the code block button (PRE tags) to preserve formatting when showing multi-line code snippets
|
|
|
|
|
I'm working on making a report editing feature of a program I've built.
The feature will contain three main sections, Design, Layout and Print Preview similar to Microsoft Access.
I understand there are other options for creating reports, but this is best options for the features use in my program.
If you could help with two questions regarding this:
1. Currently with the Layout view I'm using classes that inherit System.Windows.Forms.Control class. I would like to give the user the ability to zoom in and out of the Layout view. How could I implement this? Is there a different class to use than the Control base class? Would I simply need to scale the properties of the Control (font size, location, size)?
2. Currently I have two classes for each object type. For example, for Text objects I have two classes, one that contains the properties that pertain to the Text object (which provide validation for proper values). Another class inherits the Control base class and serves as the view for the Text object. This design is getting complicated. Would it be better to combine the classes and their uses into one class?
I want the ability to view print preview of the report without viewing the Layout, thus would a class that inherits the Control base class be too much overhead when it will not actually be displayed on the screen?
Sorry for the lengthy post. The two questions seemed tied together.
Thanks for your patience...
David Hovey
|
|
|
|
|
I writing some application that have reference of Microsoft office outlook.
My application can work with office 2007 or office 2003.
When i work with office 2007 all work fine - and i don't have any problem to control the outlook.
But with office 2003 i cant control the outlook even if i install the interop assembly of office 2003.
I think that the problem is in the loading Interop assembly - because i compiled the setup file with office 2007.
Someone can help ?
I don't know how to solve this problem.
|
|
|
|
|
The compiler "binds" your assembly to the InterOp-DLL that you have used. You could opt to create two class-libraries, one for Office 2k3 and one for Office 2k7
I are troll
|
|
|
|
|
How to associate event handler with the Idle event in c#?
thanks
|
|
|
|
|
don't cross-post. Choose a single forum to ask your question.
Luc Pattyn [Forum Guidelines] [My Articles]
- before you ask a question here, search CodeProject, then Google
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get
- use the code block button (PRE tags) to preserve formatting when showing multi-line code snippets
|
|
|
|
|
============================coding=========================================
objcon.getconnection()
Dim query As String
query = "insert into kalavithik(name,address,phone_no,mobile_no,date,lenth,shoulders,cheast,waist,sleeves,nack,slit,flair,shalwar,churidar,back_dard,a_h,remark,lenth1,shoulders1,cheast1,waist1,sleeves1,nack1,remark1) values ('" & txtname.Text & "','" & txtAddress.Text & "','" & txtPhoneNo.Text & "','" & txtMobileNo.Text & "','" & DateTimePicker1.Text & "','" & txtLenght.Text & "','" & txtShoulders.Text & "','" & txtCheast.Text & "','" & txtWaist.Text & "','" & txtSleeves.Text & "','" & txtNack.Text & "','" & txtSlit.Text & "','" & txtFlair.Text & "','" & txtShalwar.Text & "','" & txtChuridar.Text & "','" & txtBackDard.Text & "','" & txtAH.Text & "','" & txtRemark.Text & "','" & txtLength1.Text & "','" & txtShoulders1.Text & "','" & txtCheast1.Text & "','" & txtWaist1.Text & "','" & txtSleeves1.Text & "','" & txtNack1.Text & "','" & txtRemark1.Text & "')"
objcon.mycmd = New OleDbCommand(query, objcon.mycon)
objcon.mycmd.ExecuteNonQuery()
===========================================================================
ERROR: Syntax error in INSERT INTO statement.()
Data base: acces,infield error 'date'& data type 'date/time'
email id is : raaz_hasim@yahoo.co.in
|
|
|
|
|
The date-conversion from DatePicker.Value fails, probably the string isn't recognized as a real date.
Untested code incoming;
objcon.getconnection()
Dim query As String
query = @"
insert into kalavithik (
name,
address,
phone_no,
mobile_no,
date,
lenth,
shoulders,
cheast,
waist,
sleeves,
nack,
[...])
values (
@name,
@address,
@phone_no,
@mobile_no,
@date,
@lenth,
@shoulders,
@cheast,
@waist,
@sleeves,
@nack,
[...])
Dim mycmd AS OleDbCommand
mycmd = New OleDbCommand(query, objcon.mycon)
mycmd.Parameters.AddWithValue("@name", txtname.Text)
mycmd.Parameters.AddWithValue("@address", txtAddress.Text)
mycmd.Parameters.AddWithValue("@phone_no", txtPhoneNo.Text)
mycmd.Parameters.AddWithValue("@mobile_no", txtMobileNo.Text)
mycmd.Parameters.AddWithValue("@date", DateTimePicker1.Value)
[...]
mycmd.ExecuteNonQuery()
Enjoy
I are troll
|
|
|
|
|
============================coding=========================================
objcon.getconnection()
Dim query As String
query = "insert into kalavithik(name,address,phone_no,mobile_no,date,lenth,shoulders,cheast,waist,sleeves,nack,slit,flair,shalwar,churidar,back_dard,a_h,remark,lenth1,shoulders1,cheast1,waist1,sleeves1,nack1,remark1) values ('" & txtname.Text & "','" & txtAddress.Text & "','" & txtPhoneNo.Text & "','" & txtMobileNo.Text & "','" & DateTimePicker1.Text & "','" & txtLenght.Text & "','" & txtShoulders.Text & "','" & txtCheast.Text & "','" & txtWaist.Text & "','" & txtSleeves.Text & "','" & txtNack.Text & "','" & txtSlit.Text & "','" & txtFlair.Text & "','" & txtShalwar.Text & "','" & txtChuridar.Text & "','" & txtBackDard.Text & "','" & txtAH.Text & "','" & txtRemark.Text & "','" & txtLength1.Text & "','" & txtShoulders1.Text & "','" & txtCheast1.Text & "','" & txtWaist1.Text & "','" & txtSleeves1.Text & "','" & txtNack1.Text & "','" & txtRemark1.Text & "')"
objcon.mycmd = New OleDbCommand(query, objcon.mycon)
objcon.mycmd.ExecuteNonQuery()
===========================================================================
ERROR: Syntax error in INSERT INTO statement.()
Data base: acces,infield error 'date'& data type 'date/time'
|
|
|
|
|
Is there anyway to have FIPS compliant FTP server and Client without having to use a 3rd Party Application such as Globalscape FTP? Will the settings in Group Policy on Windows XP but sufficient enough? and if so how does make the FTP service FIPS compliant.
Thanks
GSC
|
|
|
|
|
why i have the following msg ??
Namespace or type specified in the Imports 'System.Managment' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases. C:\Documents and Settings\XeleX\Local Settings\Application Data\Temporary Projects\WindowsApplication1\Class1.vb
|
|
|
|
|
This normally means that you need to add a reference to the DLL to your project. Choose Add Reference... in Solution Explorer to add the relevant DLL to your app.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys
|
|
|
|
|
does anyone know if xmlnode.Attributes is case sensitive
eg is xmlNode.Attributes["Type"].Value the same as xmlNode.Attributes["TYPE"].Value
Thank you
|
|
|
|
|
Dude, three hours ago you replied to someone in another CP forum by telling them to get an XML primer, and now you ask this question? It seems you should follow your own advice, yes?
|
|
|
|
|
Is it possible to build an assembly that uses PInvoke to use functions from a Win32 DLL and then expose this assembly via COM to a VB 6 application?
I built a .NET assembly and successfully exposed methods via COM to VB 6. However, when I tried to expose a Platform Invoked method, it fails stating that the method doesn't exist.
I'm thinking this whole "public extern static methodName()" business is the root of all evil.
Thanks!
---Dan---
|
|
|
|
|
It should be possible, although from your post it is not possible to understand the value or benefit of doing it.
danvdw03 wrote: I'm thinking this whole "public extern static methodName()" business is the root of all evil.
That's the way I view it. What I mean is that there are other solutions that I would exhaust before settling on PInvoke.
|
|
|
|
|