|
Your sig is different for every post. Do you have something that just pic's a random sig when you click "Post Message"??
|
|
|
|
|
Hey Dave,
I use CPHog. I have different sets of sig on my desktop machine and laptop, so sometimes they are random. CPHog actually has a checkbox for randomizing, which I've not used yet.
Paul
"I've seen more information on a frickin' sticky note!" - Dave Kreskowiak
|
|
|
|
|
Man, I've got to be one of the only top 25 posters to NOT be using this little toy!
|
|
|
|
|
Are you using Firefox or IE? CPHog is only for FF. I don't want to start a browser battle. I do use both ( and sometimes Safari for Windows ).
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
|
|
|
|
|
Nah, mostly IE. FF only if I get really pissed at IE for some reason.
|
|
|
|
|
Someone made a version for IE, Ill see if I can dig up the post with the link
"Okay, I give up: which is NOT a real programming language????"
Michael Bergman
|
|
|
|
|
Here[^] is the link to the CPHog & GreaseMonkey for IE:
"Well yes, it is an Integer, but it's a metrosexual Integer. For all we know, under all that hair gel it could be a Boolean."
Tom Welch
|
|
|
|
|
Interesting, but I'll stick to Firefox. I'll look at it anyways to see how it works with the current flavor of CPHog...
"Any sort of work in VB6 is bound to provide several WTF moments." - Christian Graus
|
|
|
|
|
Dave Kreskowiak wrote: Your sig is different for every post. Do you have something that just pic's a random sig when you click "Post Message"??
CPHog (I believe thats the name of) offers this functionality, I too have random signatures with it.
"Let's face it, the average computer user has the brain of a Spider Monkey."
Bill Gates
|
|
|
|
|
Dave Kreskowiak wrote: It's only that urgent if you have to pee
Hope you dont mind me adding this to my signature list?
"Okay, I give up: which is NOT a real programming language????"
Michael Bergman
|
|
|
|
|
No, not at all! I enjoy flattery every now and then.
|
|
|
|
|
Thanks, the first time I read that statement I almost spewed Pepsi onto my monitors
"Well yes, it is an Integer, but it's a metrosexual Integer. For all we know, under all that hair gel it could be a Boolean."
Tom Welch
|
|
|
|
|
hello,
how can insert an image(.bmp|.jpeg...) into my access database using a c# application.
dghdfghdfghdfghdgh
|
|
|
|
|
You don't want that... You're database will become terribly slow. Store the filename of your image instead and store the image itself on the harddrive...
|
|
|
|
|
I disagree with the other guy...I mean, he has a point. But sometimes you really do need to store an image in a db. You may just have to figure out a way to work around the slow down...so it's important to keep that in mind.
I work with VB not C#, but it's pretty close so you should be able to figure it out from what I give you. Basically, you need to turn the image file into an array of bytes. So your table should contain a blob column, or a column that will hold an array of bytes. So, your code would look something like this
Dim dt as New DataTable<br />
'Either fill dt with schema from access db or add column like below...<br />
dt.Columns.Add("ImageColumn", System.Type.GetType("System.Byte[]"))<br />
<br />
Dim strImageLocation as String = "C:\My Image.gif"<br />
If System.IO.File.Exists(strImageLocation) Then 'Make sure the image file exists<br />
Dim rowNew As DataRow = dt.NewRow<br />
rowNew("ImageColumn") = System.IO.File.ReadAllBytes(strImageLocation)<br />
dt.Rows.Add(rowNew)<br />
End If
Hope this helps.
|
|
|
|
|
Hello there,
Can anyone guide how to implement the regular cut/copy/paste functionalities in the windows forms combobox control? I am surprised to note that these are not present by default!
I have been able to implement copy and cut for the selected text, but Paste still remains an issue as I am not able to know the position on the combobox where I should paste from the clipboard.
Any help is greatly appreciated.
Thanks and regards
Atul Agarwal
|
|
|
|
|
atulagarwal56 wrote: I am surprised to note that these are not present by default!
Even I am surprised, why didnt you find that?
FYI, it is there.
|
|
|
|
|
HI,
I agree that its present. But guess I forgot to mention that I am using MDI forms and the same functionality is missing the moment you add a combobox to a child form. How do we solve this?
Thanks and regards,
ATUL
|
|
|
|
|
I'm assuming that you're using a DropDownList -style combo box, because the edit box of the DropDown style already implements cut/copy/paste.
To select a particular string, use the FindString /FindStringExact methods to find the string, and set the SelectedIndex property to the returned value to select it.
|
|
|
|
|
How do I link data bound detail fields on a form to data bound master fields? I'm using the default setup produced by dragging fields onto the form from the Data Sources window, so I have two BindingSource objects, one for detail and one for master. The two tables are linked by a relation in the DataSet.
|
|
|
|
|
Hello eveybody!
I have a small question need your help.
My datagridview is bound with a dataset contains tblProduct table. A combox allows users choose a Product(B3700, NAPPLE 3'1, NAPPLE 3'2,...)
If I filter like this tblProductBingdingSource.Filter = "Product = 'B3700'" . It works well
If I repeat tblProductBingdingSource.Filter = "Product = 'NAPPLE 3'2'" , it fails to work because of existence of the quote mark.
If I replace string "Product = 'NAPPLE 3'2'" with string "Product like 'NAPPLE 3%'" , my grid will have this list of unexpected products such as NAPPLE 3'1, NAPPEL 3'2, NAPPLE 3'3,so on.
When the users choose a value from combobox such as NAPPLE 3'2, I only have an only product, NAPPLE 3'2. Please help me correct the filtering string.
I know the filtering string "Product like 'NAPPLE 3%2'" but the string is not general for all.
Thanks in advance
Sorry about my English.
It seem to be a solution or an answer.
|
|
|
|
|
You can replace the single quote with two of them which means that it will work, so the search term would be
"Product='NAPPLE 3''2'''"
Give it a try and post back if you need any help
|
|
|
|
|
Hi
I have a text box with the following properties: Enabled=true,readonly=true.
The text box is only for reading and not for modify text.
i acomplish the above tasks but i cannot get read off the cursor in the text box.
if i use Enabled=false the cursor inside the textbox gone and cannot show in it, but the text
lose its forecolor which i can not accept it.
Please advice how i can make that cursor will not show at all in the text box
Or if we use Enabled property false how i not lossing the original forecolor of the font?
Thank in advance.
|
|
|
|
|
U can use Moucefocus propery to False.so than no mousce focus on that
textfiled..
|
|
|
|
|
Where does MouseFocus property occur mate?
|
|
|
|