|
Sorry, here's the configuration section in question:
<TipOfTheDay>
<Contents>
<add name="whatever"><![CDATA[This is an <b>html</b>.]]></add>
</Contents>
</TipOfTheDay>
Mehdi Mousavi - Software Architect [ <a href='http://mehdi.biz'>http://mehdi.biz</a> ]
|
|
|
|
|
Use XML entities. (< for <, > for >, etc.)
--------
"I say no to drugs, but they don't listen."
- Marilyn Manson
-- modified at 10:19 Wednesday 1st March, 2006
|
|
|
|
|
I have a button with this code:
System.Diagnostics.Process.Start("IExplore.exe");
The form with the button on it starts full screen (So you cannot see the windows start button or bar. The problem is, when you click the button, it loads up the internet explorer and you CAN see the start button. How would you stop this? ALso I would like the uset to be able to use the main form without the Internet Explorer window hiding behind it. How would you do that?
Sort of like a MDI form so the Internet Explorer only appears in applications window...
Second I want to disable the command Alt+Tab and the StartButton (on keyboard) that shows start menu. SO when your on the main form, you cannot in any way access any other program. How would you do this?
In the end we're all just the same
|
|
|
|
|
Dave McCool wrote: Sort of like a MDI form so the Internet Explorer only appears in applications window...
It seems you may be better off using a WebBrowser [^] control.
/ravi
My new year's resolution: 2048 x 1536
Home | Music | Articles | Freeware | Trips
ravib(at)ravib(dot)com
|
|
|
|
|
I have a button with this code:
System.Diagnostics.Process.Start("IExplore.exe");
The form with the button on it starts full screen (So you cannot see the windows start button or bar. The problem is, when you click the button, it loads up the internet explorer and you CAN see the start button. How would you stop this? ALso I would like the uset to be able to use the main form without the Internet Explorer window hiding behind it. How would you do that?
I want the Internet Explorer to load like a MDI for so when you minimise it, you can still see it on form. it minimises on form and not On taskbar.
Second I want to disable the command Alt+Tab and the StartButton (on keyboard) that shows start menu. SO when your on the main form, you cannot in any way access any other program. How would you do this?
In the end we're all just the same
|
|
|
|
|
hi ,
Is it possible to read the string
which having some non-printable character, its like a square symbol , i want to find if any string having this kind of character
but i try with converting into ascii ,but it throws error
"Input string was not in a correct format"
this is the sample string
106/02/200611:57:321101 2003/12/11 09:12:38.000 +09:00 207TI5003
reply early very urgent
send reply
|
|
|
|
|
Where are you reading the string from? Do you know what encoding is used for the string?
Strings in .NET is Uncocde, which supports virtually every character on the planet. (Characters that are not supported (yet?) are stuff like the Klingon alphabet and Tolkien runes...)
Strings are usually not stored as 16 bit Uncode, so some kind of encoding is used when they are stored. You have to know this encoding to be able to correctly decode the string into Unicode.
Some common encodings are 8 bit Unicode (UTF8) and Latin 1. ASCII encoding only support characters 0-127, so that is not suitable for what you are doing.
---
b { font-weight: normal; }
|
|
|
|
|
When any kind of new project in Visual Studio is opened, whether its a console based app. or a windows based one.....'.cs' file opens up with a standard set of included namespaces.
The following is a snippet of a newly opened WindowsApplication
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace WindowsApplication2
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
}
}
}
Here the following namespaces are included
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
Is it possible to edit this default inclusion of namespaces.
|
|
|
|
|
I dont have VS 2005, but in 2003 digging around in the folder C:\Program Files\Microsoft Visual Studio .NET 2003\VC# shows many templates used by the wizards in VS. I know that changing these files will affect the template used when, for example, you shoose to add a new class.
Take a backup before changing anything in these dir's
|
|
|
|
|
Here you go
http://jasonkemp.ca/articles/206.aspx
http://codebetter.com/blogs/david.hayden/archive/2005/11/06/134343.aspx
-- modified at 6:41 Wednesday 1st March, 2006
|
|
|
|
|
how 2005 generate html Document like 2003?
|
|
|
|
|
What?
Speak English please...
Q:What does the derived class in C# tell to it's parent?
A:All your base are belong to us!
|
|
|
|
|
i have a combo box. i want it to display all items in a particular folder and subfolders with the extension *.jpg and when you clik on one it will change the image in a picturewall picturebox to that image. Also if format is invalid, a messagebox will display saying ''invalid file format'' and not load the image. How would you do this
In the end we're all just the same
|
|
|
|
|
|
Hello everyone,
After I publish my C# VS2005 application (to be installed from CD-ROM), the crystal reports in it will not load, but if I run the application from debug, everything works fine. Does anybody know what's going on? Thanks a lot.
Best regards,
JC
|
|
|
|
|
Problem solved!
It was pathetically simple... All I had to do was to set the reports file property "Build Action" to "Content". Now everything is ok. Thanks a lot!
JC
|
|
|
|
|
Hi
Can anyone tell me how to upload an image file to FTP from windows form.
thanks in advance.
Mann Khine.
|
|
|
|
|
|
I want the source code with C#.
that link contain only executable file.
So can u advice me something else ?
thanks in advance
Mann Khine.
|
|
|
|
|
|
|
Hello,
As I'm programming in good old C, Win32 API, I'm looking for the equivalent of the OpenFileDialog().
What I'm looking for is the replacement of
OpenFileDialog openFileDialog1 = new OpenFileDialog();
By something like
DialogBox(hinst, "MyBoxDB", hwnd, (DLGPROC) DialogFunc);
or
hHelp = CreateDialog(hinst, "HelpDB", hwnd, (DLGPROC) HelpFunc);
ShowWindow(hHelp, SW_SHOW);
I'm not using any visual devellopment environments. Just a texteditor, a resource compiler and g++.
A static library, containing something like the OpenFileDialog(), would also be nice. As long as it's possible to implement it in a plain C program. As I'm using g++ in stead of gcc, It's no problem to make use of C++.
The guys from MS didn't cooperate; maybe someone in here knows the answer?
Thank you,
Frits aka TWW
|
|
|
|
|
Do you think the C# forum is the correct place for this question?
Anyway, the OpenFileDialog is basically a wrapper around the open file dialog in the commdlg.dll , so it could be a good idea to investigate into the GetOpenFileName() export of this dll.
Regards,
mav
--
Black holes are the places where god divided by 0...
|
|
|
|
|
The problem is that my question has to do both with C# and C. It's always in between two languages.
Should a question about the translation form an English word to a Dutch word be posted on English or a Dutch forum?
At least I’ve now got a direction where I can look.
Thank you very much.
Regards,
TWW
|
|
|
|
|
Problem is solved!
Link against comdlg32.lib
The stuff like
openFileDialog1.InitialDirectory = "c:\\";<br />
openFileDialog1.Filter = "txt files (*.txt)|*.txt|All files (*.*)|*.*";<br />
openFileDialog1.FilterIndex = 2;<br />
openFileDialog1.RestoreDirectory = true;
Is "translated" into something like
OPENFILENAME browse;<br />
char szFile[260];<br />
ZeroMemory(&browse, sizeof(browse));<br />
browse.lStructSize = sizeof(browse);<br />
browse.hwndOwner = hwnd;<br />
browse.lpstrFile = szFile;<br />
browse.lpstrFile[0] = '\0';<br />
browse.nMaxFile = sizeof(szFile);<br />
browse.lpstrFilter = "All\0*.*\0Text\0*.TXT\0";<br />
browse.nFilterIndex = 1;<br />
browse.lpstrFileTitle = NULL;<br />
browse.nMaxFileTitle = 0;<br />
browse.lpstrInitialDir = NULL;<br />
browse.Flags = OFN_PATHMUSTEXIST | OFN_FILEMUSTEXIST;
And the function call
if (openFileDialog1.ShowDialog() == DialogResult.OK)
is "translated" into
if (GetOpenFileName(&browse)==TRUE)
Regards,
TWW
It's just finding the right words and the result is the same.
|
|
|
|