|
hey dude ..... that is not the case .... i didnt know that exe files will be converted to back ..... after I know it(i.e yesterday) I remembered there was one application that I did for my customer and I remembered I lost it with virus ...... but the exe file is still on my pc .... that is why i post this question... if you can help am here...
Thank you
|
|
|
|
|
Hey dude...then it's a good lesson for you in how to use source control and backups.
only two letters away from being an asset
|
|
|
|
|
you omitted too many periods to make that sink in I'm afraid.
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
|
|
|
|
|
why dont u say ..... I cant... i think it hard 4 u to say that
|
|
|
|
|
Hello,
How l can make a form to blink (after some event occured)?
10x alot
|
|
|
|
|
It's not a question of how, but why. IMO, it would be a horrendous UI.
only two letters away from being an asset
|
|
|
|
|
I think he means, "flash the title bar", ala Windows Messenger, not "a form that blinks on and off".
Religiously blogging on the intarwebs since the early 21st century: Kineti L'Tziyon
Judah Himango
|
|
|
|
|
|
|
I expect that's what form.Activate() does.
|
|
|
|
|
Hi,
How can i start a new window at the position of the right bottom of the screen,
no matter of what the size of a screen i have.
Thanks...
modified on Saturday, August 8, 2009 12:09 PM
|
|
|
|
|
1) Find out where your right bottom is
2) Set the correct properties on the form
Screen.PrimaryScreen.Bounds.Width;
Screen.PrimaryScreen.Bounds.Height;
Enjoy
I are Troll
|
|
|
|
|
My right bottom is directly beside my left bottom, on the seat of the chair.
|
|
|
|
|
In this context, your right bottom is the wrong bottom - but I'm not gonna be an ass over it
|
|
|
|
|
Hi,
you would need Form.StartPosition and Form.Location and SystemInformation.PrimaryMonitorSize and a simple math expression.
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
|
|
|
|
|
here's thr answer:
Screen currentScreen = Screen.FromRectangle(this.RectangleToScreen(ClientRectangle)); this.Location = new Point(currentScreen.Bounds.Right - this.Width, currentScreen.Bounds.Height - this.Height);
|
|
|
|
|
Hi,
Can any1 please tell me how to align and format the data appearing in the rtb. I am basically displaying rows in the rtb. Is there any way where in I can have column headers and boundaries like cells in the RTB.
Please suggest...
Thanks
|
|
|
|
|
Hi,
AFAIK you can have a real table in RTF files and RTB controls.
"All" it takes is this:
- create a table in Word
- save as RTF file
- look at its content, and put something similar into the RichTextBox.Rtf property.
I'm not pretending editing a table through an RTB would be easy!
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
|
|
|
|
|
Hi,
do u mean to say, I create a Table structure with column headers pertaining to the rows in rtf and save it on the desktop. And then use the rtb.rtf property ?
But how do I set the rtb.rtf property to the correct path of the rtf file stored in the desktop./?
|
|
|
|
|
No. I didn't say desktop, nor path.
All I said is test with Word->RTF file->RTF property.
Use some dumb editor (NotePad) to get the RTF file content and assign it to RTB.Rtf property.
Look at the RTF code, modify it as needed.
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
|
|
|
|
|
Thanks sir,
But i have never done this, can you please send me some web links or code snippets to achieve this task..
|
|
|
|
|
all it takes is a single statement, give this a try:
this.richTextBox1.Rtf=
@"{\rtf1\ansi\deff0{\fonttbl{\f0\froman Arial;}{\f1\froman\fcharset0 Arial;}{\f2\fswiss\fcharset0 Arial;}}"+
@"{\colortbl ;\red0\green0\blue0;\red255\green255\blue255;\red0\green0\blue255;}"+
@"{\*\generator Msftedit 5.41.21.2507;}\viewkind4\uc1\pard\sb60\sa40\cf1\highlight2\lang1033\b\f0\fs28 Ontvangsten in Jul-2009\b0\par"+
@"\fs20\par"+
@"\trowd\trgaph70\trbrdrl\brdrs\brdrw15\brdrcf3 \trbrdrt\brdrs\brdrw15\brdrcf3 \trbrdrr\brdrs\brdrw15\brdrcf3 \trbrdrb\brdrs\brdrw15"+
@"\brdrcf3 \trpaddl70\trpaddr70\trpaddfl3\trpaddfr3"+
@"\clcfpat3\clcbpat3\clshdng10000\clbrdrl\brdrw15\brdrs\brdrcf3\clbrdrt\brdrw15\brdrs\brdrcf3\clbrdrr\brdrw15\brdrs\brdrcf3"+
@"\clbrdrb\brdrw15\brdrs\brdrcf3 \cellx1900\clcfpat3\clcbpat3\clshdng10000\clbrdrl\brdrw15\brdrs\brdrcf3\clbrdrt\brdrw15\brdrs\brdrcf3"+
@"\clbrdrr\brdrw15\brdrs\brdrcf3\clbrdrb\brdrw15\brdrs\brdrcf3 \cellx3400\clcfpat3\clcbpat3\clshdng10000\clbrdrl\brdrw15\brdrs\brdrcf3"+
@"\clbrdrt\brdrw15\brdrs\brdrcf3\clbrdrr\brdrw15\brdrs\brdrcf3\clbrdrb\brdrw15\brdrs\brdrcf3 \cellx4900\clcfpat3\clcbpat3\clshdng10000"+
@"\clbrdrl\brdrw15\brdrs\brdrcf3\clbrdrt\brdrw15\brdrs\brdrcf3\clbrdrr\brdrw15\brdrs\brdrcf3\clbrdrb\brdrw15\brdrs\brdrcf3 \cellx6700"+
@"\clcfpat3\clcbpat3\clshdng10000\clbrdrl\brdrw15\brdrs\brdrcf3\clbrdrt\brdrw15\brdrs\brdrcf3\clbrdrr\brdrw15\brdrs\brdrcf3\clbrdrb\brdrw15"+
@"\brdrs\brdrcf3 \cellx8200\pard\intbl\sb60\sa40\qc\cf2\highlight3\b datum\b0\cell\b contant\b0\cell\b Bancontact\b0\cell\b overschrijvingen\b0"+
@"\cell\b totaal\b0\cell\row\trowd\trgaph70\trbrdrl\brdrs\brdrw15\brdrcf3 \trbrdrt\brdrs\brdrw15\brdrcf3 \trbrdrr\brdrs\brdrw15\brdrcf3 \trbrdrb"+
@"\brdrs\brdrw15\brdrcf3 \trpaddl70\trpaddr70\trpaddfl3\trpaddfr3"+
@"\clbrdrl\brdrw15\brdrs\brdrcf3\clbrdrt\brdrw15\brdrs\brdrcf3\clbrdrr\brdrw15\brdrs\brdrcf3\clbrdrb\brdrw15\brdrs\brdrcf3 "+
@"\cellx1900\clbrdrl\brdrw15\brdrs\brdrcf3\clbrdrt\brdrw15\brdrs\brdrcf3\clbrdrr\brdrw15\brdrs\brdrcf3\clbrdrb\brdrw15\brdrs"+
@"\brdrcf3 \cellx3400\clbrdrl\brdrw15\brdrs\brdrcf3\clbrdrt\brdrw15\brdrs\brdrcf3\clbrdrr\brdrw15\brdrs\brdrcf3\clbrdrb\brdrw15"+
@"\brdrs\brdrcf3 \cellx4900\clbrdrl\brdrw15\brdrs\brdrcf3\clbrdrt\brdrw15\brdrs\brdrcf3\clbrdrr\brdrw15\brdrs\brdrcf3\clbrdrb"+
@"\brdrw15\brdrs\brdrcf3 \cellx6700\clbrdrl\brdrw15\brdrs\brdrcf3\clbrdrt\brdrw15\brdrs\brdrcf3\clbrdrr\brdrw15\brdrs\brdrcf3"+
@"\clbrdrb\brdrw15\brdrs\brdrcf3 \cellx8200\pard\intbl\sb60\sa40\qr\cf1\highlight2 WO 01-Jul-2009 \cell\f1 \'80 521.00\f0\cell\f1 "+
@"\'80 769.00\f0\cell\f1 \'80 0.00\f0\cell\f1 \'80 1,290.00\f0\cell\row\trowd\trgaph70\trbrdrl\brdrs\brdrw15\brdrcf3 "+
@"\trbrdrt\brdrs\brdrw15\brdrcf3 \trbrdrr\brdrs\brdrw15\brdrcf3 \trbrdrb\brdrs\brdrw15\brdrcf3 \trpaddl70\trpaddr70\trpaddfl3\trpaddfr3"+
@"\clbrdrl\brdrw15\brdrs\brdrcf3\clbrdrt\brdrw15\brdrs\brdrcf3\clbrdrr\brdrw15\brdrs\brdrcf3\clbrdrb\brdrw15\brdrs\brdrcf3 "+
@"\cellx1900\clbrdrl\brdrw15\brdrs\brdrcf3\clbrdrt\brdrw15\brdrs\brdrcf3\clbrdrr\brdrw15\brdrs\brdrcf3\clbrdrb\brdrw15\brdrs\brdrcf3 "+
@"\cellx3400\clbrdrl\brdrw15\brdrs\brdrcf3\clbrdrt\brdrw15\brdrs\brdrcf3\clbrdrr\brdrw15\brdrs\brdrcf3\clbrdrb\brdrw15\brdrs\brdrcf3 "+
@"\cellx4900\clbrdrl\brdrw15\brdrs\brdrcf3\clbrdrt\brdrw15\brdrs\brdrcf3\clbrdrr\brdrw15\brdrs\brdrcf3\clbrdrb\brdrw15\brdrs\brdrcf3 "+
@"\cellx6700\clbrdrl\brdrw15\brdrs\brdrcf3\clbrdrt\brdrw15\brdrs\brdrcf3\clbrdrr\brdrw15\brdrs\brdrcf3\clbrdrb\brdrw15\brdrs\brdrcf3 "+
@"\cellx8200\pard\intbl\sb60\sa40\qr VR 24-Jul-2009 \cell\f1 \'80 2,878.00\f0\cell\f1 \'80 972.00\f0\cell\f1 "+
@"\'80 0.00\f0\cell\f1 \'80 3,850.00\f0\cell\row\trowd\trgaph70\trbrdrl\brdrs\brdrw15\brdrcf3 \trbrdrt\brdrs\brdrw15\brdrcf3 "+
@"\trbrdrr\brdrs\brdrw15\brdrcf3 \trbrdrb\brdrs\brdrw15\brdrcf3 \trpaddl70\trpaddr70\trpaddfl3\trpaddfr3"+
@"\clbrdrl\brdrw15\brdrs\brdrcf3\clbrdrt\brdrw15\brdrs\brdrcf3\clbrdrr\brdrw15\brdrs\brdrcf3\clbrdrb\brdrw15\brdrs\brdrcf3 "+
@"\cellx1900\clbrdrl\brdrw15\brdrs\brdrcf3\clbrdrt\brdrw15\brdrs\brdrcf3\clbrdrr\brdrw15\brdrs\brdrcf3\clbrdrb\brdrw15\brdrs\brdrcf3 "+
@"\cellx3400\clbrdrl\brdrw15\brdrs\brdrcf3\clbrdrt\brdrw15\brdrs\brdrcf3\clbrdrr\brdrw15\brdrs\brdrcf3\clbrdrb\brdrw15\brdrs\brdrcf3 "+
@"\cellx4900\clbrdrl\brdrw15\brdrs\brdrcf3\clbrdrt\brdrw15\brdrs\brdrcf3\clbrdrr\brdrw15\brdrs\brdrcf3\clbrdrb\brdrw15\brdrs\brdrcf3 "+
@"\cellx6700\clbrdrl\brdrw15\brdrs\brdrcf3\clbrdrt\brdrw15\brdrs\brdrcf3\clbrdrr\brdrw15\brdrs\brdrcf3\clbrdrb\brdrw15\brdrs\brdrcf3 "+
@"\cellx8200\pard\intbl\sb60\sa40\qr\b TOTAAL Jul-2009\b0\cell\b\f1 \'80 10,505.00\b0\f0\cell\b\f1 \'80 27,621.00\b0\f0\cell\b\f1 "+
@"\'80 3,328.00\b0\f0\cell\b\f1 \'80 41,454.00\b0\f0\cell\row\pard\cf0\highlight0\f2\par"+
@"}";
and you'll get a nice table, 4 rows, 5 columns, with headers and everything.
To make something useful, one probably has to come up with some classes that emit such RTF strings first.
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
|
|
|
|
|
Your example is using spaces to "indent" the cell contents to make them appear aligned. From what I've seen so far, it looks like RTB (at least the .Net wrapper) ignores horizontal alignment in table cells.
|
|
|
|
|
hi
using my program i need to read/write few files (like Ms access database,txt files ,Autocad drawing file,image files) from the server which is restricted to user.
user has no permission to read and write those files from server
i used Code Acess Security thru .Net Configuration Tool for accessing those files. it solved the problem
but when i made a setup of the Application and installed in client system
its giving error. "Access denied"
does the .net Configuration Tool which i set few permissions should present in client system also.
how can i do it
user has no permission but my application installed at user should have permissions to read and write those files.
|
|
|
|
|
It is Good to have security , but this type of Security will always cause problem for your users.Tell the Admnistrator give give them permissions to the Files.
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.somee.com
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|