CheckedListBox- default highlighted item- need to un-highlight
I data bind a CheckedListBox and when it displays the first item is
hightlighted. I need to get that un-highlighted in some way, shape,
or form.
This is for ethical data and I simply cannot have one "standing out"
from the rest.
Thanks.
Jeff Tag: Theming UserControls hosted in Internet Explorer Tag: 114822
ListView display problems after migrating app to .NET 3.0
We've been using the WinForm ListView control on various forms in a large
.NET 1.1 app for two+ years without major problems.
We migrated the app to .NET 3.0 recently, and it appears that since then the
ListView control doesn't get redrawn/repainted correctly ON SOME SYSTEMS (on
other supposedly identical XP Pro SP2 dev systems, it never fails).
On those systems where it fails, the font that we specify for the
ListViewSubItem is initially ignored (ie, the default font/color is used),
but then displays properly (with the specified font/color) once the ListView
is hidden and then made visible again.
In fact, ONLY the portion of the control that was hidden by another form
gets redrawn correctly, leaving the part that wasn't hidden still displayed
as the wrong font... if the dividing line between hidden/not-hidden is
mid-way through an item in the ListView control, then part of the item
changes font and the other doesn't !!!
Here's a code fragment showing how we set the SubItem font in one of the
forms:
Dim displaySubItem As ListViewItem.ListViewSubItem =
lineItem.SubItems(Me.uiDisplayCol.Index)
If Not displaySubItem Is Nothing Then
With displaySubItem
.Text = Space(3) & Trim(.Text)
.ForeColor = LineStations_AllRequest_Color
.Font = New Font(.Font, FontStyle.Bold)
... etc
Regardless of where we use the ListView (and regardless of who implemented
the control and the code that populates it), it now seems to have the same
problems, at least on those systems where it fails.
Any help would be appreciated.
DT Tag: Theming UserControls hosted in Internet Explorer Tag: 114820
Screen resolution independent app
Hi
How can I develop a screen resolution independent winform app in vb.net? Do
I need a third party tool to achieve this?
Thanks
Regards Tag: Theming UserControls hosted in Internet Explorer Tag: 114818
How can I create a modal popup menu?
Hi;
Due to design decisions taken long ago and a boatload of existing code, we
need to display a popup menu and get the user selection from that menu (which
can include clicking elsewhere to end the menu with no selection) and only
then, return the user's choice.
How can I do this? I've searched for an example but can't find any.
--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com
Cubicle Wars - http://www.windwardreports.com/film.htm Tag: Theming UserControls hosted in Internet Explorer Tag: 114817
Help.ShowHelp not working
Hi All,
I'm having 2 buttons on my screen which calls Help.showHelp with 2 chm
files in different directories.
the code in C# is as follows..
private void button1_Click(object sender, EventArgs e)
{
Help.ShowHelp(this, @"F:\Help\1000\Test.chm");
}
private void button2_Click(object sender, EventArgs e)
{
Help.ShowHelp(this, @"F:\Help\2000\Test.chm");
}
Now test the following scenarios.
Scenario 1:
1. Run the application
2. Click on button1 - Help is displayed
3. Rename 1000 folder to 1000a
4. click button1 - help is not displayed (which is absolutely fine).
5. click button2 - help is not displayed (why?)
Scenario 2:
1. Run the application
2. Click on button1 - Help is displayed
3. Rename Test.chm in 1000 folder to xyzTest.chm
4. click button1 - help is not displayed (which is absolutely fine).
5. click button2 - help is not displayed (why?)
now the strangest scenario:
Scenario 3:
1. Run the application
2. Click on button1 - Help is displayed
3. Rename Test.chm in 1000 folder to Testxyz.chm
4. click button1 - help is not displayed (which is absolutely fine).
5. click button2 - help is displayed (now, that is strange!!)
Could you please provide some help on this as to why this happens.
I'm developing an application with multilingual support and needs to
open the help file based on the selected language. But if the folder
containing the help file is renamed (i.e for the help which is opened
the first time), it is not opening any of the other helpfiles,
eventhough I change the language and the file and directory exists for
that particular language.
.
Thanks in advance,
Mathew Tag: Theming UserControls hosted in Internet Explorer Tag: 114812
Help.ShowHelp not loading file the second time
Hi all,
I'm having 2 buttons on my screen which call Help.ShowHelp for 2
different chm files.
It works fine if files exists in the respective paths.
The code is as follows. Tag: Theming UserControls hosted in Internet Explorer Tag: 114810
Screen size for winform apps
Hi
I have been developing apps with screen size 800x600 for maximum
compatibility. I am just wondering if I should start my newest app with
screen size 1024x768. What is the commonly used standard?
Thanks
Regards Tag: Theming UserControls hosted in Internet Explorer Tag: 114805
scrollbar bound to arrow keys
Hi,
The arrow keys (up, down, left, right keys) are bound to the scrollbars
of my UserControl. For instance, if another control is in focus and I
press an arrow key the last scrollbar that had focus gets focus and it's
value changes with each press. Strangely enough, this even happens when
the scrollbars have .Visibility = false.
Is there a property that controls this behaviour? I can't find it.
Thanks Tag: Theming UserControls hosted in Internet Explorer Tag: 114799
Access Violation in GDI+
The following code access violates in GDI+ in the call to DrawEllipse - Can
someone give me a workaround (or look into it and tell me what tickles the
bug)
Thanks
Andrew
BufferedGraphics bg =
BufferedGraphicsManager.Current.Allocate(CreateGraphics(), new
Rectangle(0,0,485,310));
using (Pen pen = new Pen(Color.Black))
{
pen.DashStyle = DashStyle.Dash;
bg.Graphics.DrawEllipse(pen, (float)174.89508486174867,
(float)-0.71447265459268827, (float)30.9574471, (float)30.9574471);
} Tag: Theming UserControls hosted in Internet Explorer Tag: 114798
BindingSource.EndEdit doesn't work with FormClosing
I have an appication, where a NumericUpDown control has a databinding
to a BindingSource, which has it's data source set to something else.
I also have my form's Formclosing event wired up to detect if any
changes have been made, and if so to prompt the user asking them if
they want to save. What I am finding that when I call the
BindingSource.EndEdit() method within my FormClosing event handler,
the changes aren't being propigated to my data source (and hence the
changes aren't being detected). Here is a sample application that
shows this behavior:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace EndEditExample {
static class Program {
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main () {
Application.EnableVisualStyles ();
Application.SetCompatibleTextRenderingDefault (false);
Application.Run (new Form1 ());
}
}
class ExampleClass {
private int exampleVal = 0;
public int ExampleVal {
get { return exampleVal; }
set { exampleVal = value; }
}
}
public partial class Form1 : Form {
private ExampleClass exValue;
#region Form1.Designer.cs code
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be
disposed; otherwise, false.</param>
protected override void Dispose (bool disposing) {
if (disposing && (components != null)) {
components.Dispose ();
}
base.Dispose (disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent () {
this.components = new System.ComponentModel.Container ();
this.numericUpDown1 = new System.Windows.Forms.NumericUpDown ();
this.bindingSource1 = new System.Windows.Forms.BindingSource
(this.components);
((System.ComponentModel.ISupportInitialize)
(this.numericUpDown1)).BeginInit ();
((System.ComponentModel.ISupportInitialize)
(this.bindingSource1)).BeginInit ();
this.SuspendLayout ();
//
// numericUpDown1
//
this.numericUpDown1.DataBindings.Add (new
System.Windows.Forms.Binding ("Value", this.bindingSource1,
"ExampleVal", true));
this.numericUpDown1.Location = new System.Drawing.Point (13, 13);
this.numericUpDown1.Name = "numericUpDown1";
this.numericUpDown1.Size = new System.Drawing.Size (120, 20);
this.numericUpDown1.TabIndex = 0;
//
// bindingSource1
//
this.bindingSource1.DataSource = typeof
(EndEditExample.ExampleClass);
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF (6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size (292, 266);
this.Controls.Add (this.numericUpDown1);
this.Name = "Form1";
this.Text = "Form1";
this.FormClosing += new
System.Windows.Forms.FormClosingEventHandler (this.Form1_FormClosing);
this.Load += new System.EventHandler (this.Form1_Load);
((System.ComponentModel.ISupportInitialize)
(this.numericUpDown1)).EndInit ();
((System.ComponentModel.ISupportInitialize)
(this.bindingSource1)).EndInit ();
this.ResumeLayout (false);
}
#endregion
private System.Windows.Forms.NumericUpDown numericUpDown1;
private System.Windows.Forms.BindingSource bindingSource1;
#endregion
public Form1 () {
InitializeComponent ();
}
private void Form1_FormClosing (object sender, FormClosingEventArgs
e) {
bindingSource1.EndEdit ();
MessageBox.Show (String.Format ("Numeric Value: {0}\nObject Value:
{1}",
numericUpDown1.Value, exValue.ExampleVal));
}
private void Form1_Load (object sender, EventArgs e) {
exValue = new ExampleClass ();
bindingSource1.DataSource = exValue;
}
}
}
Run the program, change the value in the numeric by typing in a value,
then close the form. You will see that the two values are different
when they should be the same.
Any thoughts on how I can correct this? Tag: Theming UserControls hosted in Internet Explorer Tag: 114797
Intercepting DeleteItem event
Hi.
I have a form with a binding source and a binding navigator and some data
bound text boxes. When the user clicks on the delete item, I want to warn
him before I actually delete the row. What is the simplest way to do that?
Regards,
Gudni Tag: Theming UserControls hosted in Internet Explorer Tag: 114795
Screen frezing
I have dell precision M60 laptop. The OS is windows XP. The screen always
frezes . I tries try to update the display adapter driver. But the problem is
still not solved. Can some one help me? Tag: Theming UserControls hosted in Internet Explorer Tag: 114793
PropertyGrid
Made his UserControl, want to customize it using PropertyGrid, properties,
which must show it is my own, without the basic properties of the class. How
can I make a parent does not show properties?
http://www.alvas.net - Audio tools for C# and VB.Net developers Tag: Theming UserControls hosted in Internet Explorer Tag: 114783
System Restore Doesn't Work
Get error message when run System Restore "Restoration incomplete, your
computer cannot be restored to December 2, 2007..."
I'm running XP Home and have tried to reslect Restore under "System" on the
Control Panel to flush the files. I then tried again after rebooting and got
the same message. Any suggestions? Tag: Theming UserControls hosted in Internet Explorer Tag: 114779
How to remove the shadow when moving a control?
Hi,
this should not be a hard question, but I just couldn't find a good
solution.
what I am doing is:
1. a form has a background image
2. there is a panel placed on it, and this panel is transparent, so we can
see the background image
3. mouse down the panel, and mouse move the panel will drag the panel, mouse
up will stop the dragging
the issue is, when moving the panel, there is a black border around, or
looks like a shadow. if I drag fast, there will have many such a black boxes
in the screen.
how can I avoid this? Thanks a lot!
--
Best Regards!
Hong.
---------------------------
Image Processing and Watermark components for .NET
http://www.ImageComponent.NET
Personal Entertainment Shareware and Freeware
http://www.angGoGo.com Tag: Theming UserControls hosted in Internet Explorer Tag: 114776
What are the components of which are posting html code.
What are the components of which are posting html code.
http://www.alvas.net - Audio tools for C# and VB.Net developers Tag: Theming UserControls hosted in Internet Explorer Tag: 114774
UserControl doesn't get garbage collected, causing memory leak
Hello,
I am running into memory leaks using UserControl. It is happening in VS2005
(fw2.0). I have tried this in VB and also in VC#. The timer is set to 100ms.
Yes, this sample code will raise some eyebrows, but it is written this way in
order to quickly reproduce the problem.
Public Class Form1
Private mctrl As UserControl
Private str As String
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Timer1.Enabled = True
End Sub
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Timer1.Tick
mctrl = New UserControl()
str = mctrl.ToString()
Trace.WriteLine(str)
str = Nothing()
mctrl.Dispose()
mctrl = Nothing
End Sub
End Class
If you now run perfmon and monitor Private Bytes, then it will go up pretty
quickly.
A coworker has traced it to a WeakThisPtr not being released properly,
similar to the problem described in this post:
http://groups.google.com/group/microsoft.public.windbg/browse_thread/thread/b96545767ce316eb
which shows that it appears to also happen with the Forms class.
Can somebody please shed some light on this? Tag: Theming UserControls hosted in Internet Explorer Tag: 114769
How the real program can work with the user interface?
Hi Everybody,
I would appreciate it if you can give me a hand here.
I want to use the code in the coming paragraph to do the following when the
"IN" button is clicked (InBtn_Click):
1- Create (or open) output.txt, and
2- Type the current time (hour only) in it.
FileStream* fs = new FileStream(S"output.txt", FileMode::Create);
StreamWriter* sw = new StreamWriter(fs);
String* TimeString = System::DateTime::Now.ToString("HH");
sw->WriteLine(TimeString);
sw->Flush();
sw->Close();
I tried to include the above code inside the handle function in the coming
paragraph, but it does not work. Can anybody tell me who I am going to use
the above code and where I am going to place it? The user interface works
well, how are we going to make the real program work .
private: System::Void InBtn_Click(System::Object * sender,
System::EventArgs * e)
{
if ( mark == '-') //if mark == '+' that means everything is ok
{
MessageBox::Show(" You can't sign in twice! ",S" Error ");
}
}
--
Thanks
Allen Tag: Theming UserControls hosted in Internet Explorer Tag: 114766
After installing VS 2003 sp1, Crystal Reports stops working
Dear colleagues,
Does any body knows why after installing VS .Net 2003 sp1, Crystal Reports
stops working?
I'm using the version which comes with VS 2003.
After the installation, when trying to open a late - version - good -
working report, I receive the
following error:
1) Información de Excepción
**************************
Tipo excepción: System.Runtime.InteropServices.MarshalDirectiveException
Message: Restricción del contador de referencias: cadena demasiado larga.
TargetSite: Void ReadFromFile(System.String)
HelpLink: NULL
Source: CrystalKeyCodeLib
I would greatly appreciate any help on this subject
thanks
Mike Tag: Theming UserControls hosted in Internet Explorer Tag: 114758
Export to PDF
Hi All,
I urgently need to export an xls into PDF using a .NET control (freeware if
possible) . can anybody have a suggestion / help me finding one??
--
Best regards
Luc
--
Best regards
Luc Tag: Theming UserControls hosted in Internet Explorer Tag: 114757
export file to PDF
Hi All,
I urgently need to export an xls into PDF using a .NET control (freeware if
possible) . can anybody have a suggestion / help me finding one??
--
Best regards
Luc Tag: Theming UserControls hosted in Internet Explorer Tag: 114756
*EUROPE PHOTO GALLERY* <http://europephotogallery.blogcu.com/>
*EUROPE PHOTO GALLERY* <http://europephotogallery.blogcu.com/>
* A typical microraion <http://europephotogallery.blogcu.com/4706688/
>
* Church of Sts. Peter and Paul
(1613<http://europephotogallery.blogcu.com/4706684/>
* The Railway station square, an example of Stalinist
Minsk<http://europephotogallery.blogcu.com/4706682/>
* Island of Tears, with a recently constructed memorial
church<http://europephotogallery.blogcu.com/4706678/>
* Shoreline in Mediterranean
Greece.<http://europephotogallery.blogcu.com/4706472/>
* Tara River Canyon, the deepest canyon in Europe is located in
Montenegro.<http://europephotogallery.blogcu.com/4706470/>
* Mount Elbrus, the highest mountain in
Europe.<http://europephotogallery.blogcu.com/4706468/>
* University of Informatics and
Radioelectronics<http://europephotogallery.blogcu.com/4706697/>
* National Technical University<http://europephotogallery.blogcu.com/
4706696/>
* Building of the Department of Biology, Belarusian State
University<http://europephotogallery.blogcu.com/4706695/>
* Pedagogical University <http://europephotogallery.blogcu.com/4706692/
>
* Russian Orthodox church of St. Mary Magdalene (built in
1847)<http://europephotogallery.blogcu.com/4706674/>
* The High Square as painted in the
1840s<http://europephotogallery.blogcu.com/4706669/>
* A satellite composite image of
Europe<http://europephotogallery.blogcu.com/4706660/>
* The Council of Europe created in 1955 a flag
for<http://europephotogallery.blogcu.com/4706508/>
* Cape Roca, a cape that forms the westernmost point of mainland
Europe, is
located in Portugal <http://europephotogallery.blogcu.com/4706495/>
* Aletsch Glacier, the largest glacier in Continental Europe, is
located in
Switzerland <http://europephotogallery.blogcu.com/4706492/>
* Dettifoss, the most powerful waterfall in Europe, is located in
northeastern Iceland. <http://europephotogallery.blogcu.com/4706490/>
* P=E4ij=E4nne lake and white nights in
Finland.<http://europephotogallery.blogcu.com/4706487/>
* Europe's longest river, the Volga River, at
Yaroslavl.<http://europephotogallery.blogcu.com/4706483/>
* Roland pledges fealty to Charlemagne, Holy Roman
Emperor<http://europephotogallery.blogcu.com/4705315/>
* The Greek Temple of Hera, Selinunte,
Sicily<http://europephotogallery.blogcu.com/4705249/>
Ba=F0lant=FDlar=FDm* EUROPE PHOTO GALLERY <http://
europephotogallery.blogcu.com/>
* Profilim <http://europephotogallery.blogcu.com/profile/>
* Ar=FEiv <http://europephotogallery.blogcu.com/archive/>
Kategoriler
*FERRAR=DD PHOTO GALLERY* <http://ferrariphotogallery.blogcu.com/>
*Kategori yok* Arkada=FElar=FDm
TURKEY PHOTO GALLERY<http://turkeyphotogallery.blogcu.com/1-25+TURKEY
+PHOTO+GALLERY/>
* bbcworldnews <http://bbcworldnews.blogcu.com/>
* youtube2008 <http://youtube2008.blogcu.com/>
* photoarchive <http://photoarchive.blogcu.com/>
* ferrariphotogallery <http://ferrariphotogallery.blogcu.com/>
*FERRAR=DD PHOTO GALLERY* <http://ferrariphotogallery.blogcu.com/>
* Ferrari F430 F1 Coupe <http://ferrariphotogallery.blogcu.com/4655958/
>
* 25 ferrari photo gallery <http://ferrariphotogallery.blogcu.com/
4656130/>
* Ferrari 612 F1/ Grigio Alloy/ Black/ RHD (2006)
<http://ferrariphotogallery.blogcu.com/4656105/>
* Ferrari 612 Scaglietti F1 <http://ferrariphotogallery.blogcu.com/
4656092/>
* Ferrari 599 GTB F1 <http://ferrariphotogallery.blogcu.com/4656090/>
* Ferrari F430 Spider <http://ferrariphotogallery.blogcu.com/4656086/
>
* Ferrari 360 <http://ferrariphotogallery.blogcu.com/4656084/>
* Ferrari 456M GT <http://ferrariphotogallery.blogcu.com/4656080/>
* FERRARI 360 F1 MODENA ROSSO CORSA RED ,BLACK
LEATHER<http://ferrariphotogallery.blogcu.com/4656076/>
* 1995-N Ferrari F355 Berlinetta Red Black Nero
Leather<http://ferrariphotogallery.blogcu.com/4656075/>
* 1995-N Ferrari F355 Berlinetta Red Black Nero
Leather<http://ferrariphotogallery.blogcu.com/4656074/>
* 1998 Ferrari 550 5.5 Maranello
Coupe<http://ferrariphotogallery.blogcu.com/4656068/>
* 1997 Ferrari F355 3.5 Spider
Convertible<http://ferrariphotogallery.blogcu.com/4656061/>
* 1989 FERRARI 328 gts targa
manual<http://ferrariphotogallery.blogcu.com/4656059/>
* 1998 FERRARI F355 355 Spider
F1<http://ferrariphotogallery.blogcu.com/4656055/>
* 1998 FERRARI 550 MARANELLO Red / Magnolia stitched
red<http://ferrariphotogallery.blogcu.com/4656052/>
* 2000 W Ferrari 360 Modena F1
Argento/Nero<http://ferrariphotogallery.blogcu.com/4655995/>
* FERRARI F355 SPARK PLUGS DENSO IRIDIUM
X8<http://ferrariphotogallery.blogcu.com/4655990/>
* One off Ferrari Table <http://ferrariphotogallery.blogcu.com/4655985/
>
* FERRARI 360 Spider Self drive Hire /
Rental<http://ferrariphotogallery.blogcu.com/4655981/>
* New FerrariF430 Coupe F1 Nero & Crema leather IN
STOCK<http://ferrariphotogallery.blogcu.com/4655971/>
* 1998 Black Ferrari 355 Inc. Mot
<http://ferrariphotogallery.blogcu.com/4655966/>
* Ferrari F430 F1 Coupe <http://ferrariphotogallery.blogcu.com/4655754/
>
* FERRARI DINO 246GT 1973 R.H.D.
<http://ferrariphotogallery.blogcu.com/4655750/>
* 2000 W Ferrari 360 Modena F1
Argento/Nero<http://ferrariphotogallery.blogcu.com/4655730/>
Ba=F0lant=FDlar=FDm* FERRAR=DD PHOTO GALLERY<http://
ferrariphotogallery.blogcu.com/>
* Profilim <http://ferrariphotogallery.blogcu.com/profile/>
* Ar=FEiv <http://ferrariphotogallery.blogcu.com/archive/>
Kategoriler
TURKEY PHOTO GALLERY<http://turkeyphotogallery.blogcu.com/1-25+TURKEY
+PHOTO+GALLERY/>
25 Ferrari Photo
Gallery<http://ferrariphotogallery.blogcu.com/25+Ferrari+Photo+Gallery/
>
Arkada=FElar=FDm
*EUROPE PHOTO GALLERY* <http://europephotogallery.blogcu.com/>
* bbcworldnews <http://bbcworldnews.blogcu.com/>
* bbcnews <http://bbcnews.blogcu.com/>
* EarthGuide <http://earthguide.blogcu.com/>
* youtube2008 <http://youtube2008.blogcu.com/>
* photoarchive <http://photoarchive.blogcu.com/>
TURKEY PHOTO GALLERY<http://turkeyphotogallery.blogcu.com/1-25+TURKEY
+PHOTO+GALLERY/>
1-25 TURKEY PHOTO
GALLERY<http://turkeyphotogallery.blogcu.com/1-25+TURKEY+PHOTO+GALLERY/
>
* Galata Tower <http://turkeyphotogallery.blogcu.com/4697421/>
* The famous Maiden's (Leander's) Tower was originally built by
Alcibiades
in 408 BC <http://turkeyphotogallery.blogcu.com/4697401/>
* The Obelisk of Thutmosis III at the Hippodrome of Constantinople
was
brought from the Temple of Karnak in Egypt by Theodosius the
Great<http://turkeyphotogallery.blogcu.com/4697394/>
* Satellite photo over Istanbul and the
Bosphorus<http://turkeyphotogallery.blogcu.com/4697380/>
* Portion of the legendary walls of Troy (VII), identified as the site
of
the Trojan War (ca. 1200 BCE)<http://turkeyphotogallery.blogcu.com/
4697368/>
* The Celsus Library in Ephesus, dating from 135
CE<http://turkeyphotogallery.blogcu.com/4697360/>
* Mustafa Kemal Atat=FCrk, founder and first President of the Republic
of
Turkey <http://turkeyphotogallery.blogcu.com/4697353/>
* F-247 TCG KemalReis is a SalihReis (MEKO 200TN II-B) class frigate
of the
Turkish Navy <http://turkeyphotogallery.blogcu.com/4697340/>
* A KC-135R-CRAG Stratotanker of the Turkish Air Force refueling TAI-
built
F-16 fighter jets <http://turkeyphotogallery.blogcu.com/4697333/>
* Roosevelt, =DDn=F6n=FC and Churchill at the Second Cairo Conference in
December
1943 <http://turkeyphotogallery.blogcu.com/4697322/>
* Orhan Pamuk, winner of the 2006 Nobel Prize in
Literature<http://turkeyphotogallery.blogcu.com/4697177/>
* Sufi whirling dervishes <http://turkeyphotogallery.blogcu.com/
4697162/>
* Caf=E9s at the port of =DDzmir <http://turkeyphotogallery.blogcu.com/
4697150/>
* =DDstiklal Avenue in Istanbul's cosmopolitan Beyo=F0lu
district<http://turkeyphotogallery.blogcu.com/4697139/>
* TCDD high speed train <http://turkeyphotogallery.blogcu.com/4697118/
>
* Esenbo=F0a International Airport in
Ankara<http://turkeyphotogallery.blogcu.com/4697101/>
* Selimiye Mosque, built in 1575 in
Edirne<http://turkeyphotogallery.blogcu.com/4696999/>
* The Sultan Ahmed Mosque (Blue
Mosque)<http://turkeyphotogallery.blogcu.com/4696966/>
* The Grand Chamber of the Grand National Assembly of Turkey in
Ankara<http://turkeyphotogallery.blogcu.com/4696942/>
* Motto:Peace at Home, Peace in the
World<http://turkeyphotogallery.blogcu.com/4692513/>
* LocationTurkey <http://turkeyphotogallery.blogcu.com/4692506/>
* Republic of Turkey Flag <http://turkeyphotogallery.blogcu.com/
4692503/>
* Republic of Turkey Emblem <http://turkeyphotogallery.blogcu.com/
4692501/>
* 0 Yorum <http://turkeyphotogallery.blogcu.com/4697459/> * Yorum
yaz!<http://www.blogcu.com/post_comment.php?
u=3Dturkeyphotogallery&e_id=3D4697459>*
Ba=F0lant=FD <http://turkeyphotogallery.blogcu.com/4697459/>
<- Son Sayfa * Sonraki
Sayfa<http://turkeyphotogallery.blogcu.com/1-25+TURKEY+PHOTO+GALLERY/
page2>->
Son
Yaz=FDlar* 55 TURKEY PHOTO GALLERY<http://turkeyphotogallery.blogcu.com/
4699623/>
* Maslak financial district <http://turkeyphotogallery.blogcu.com/
4698448/>
* Fatih Sultan Mehmet Bridge as seen from
Rumelihisar=FD<http://turkeyphotogallery.blogcu.com/4698422/>
* Bosphorus Bridge <http://turkeyphotogallery.blogcu.com/4698382/>
* The Grand Bazaar <http://turkeyphotogallery.blogcu.com/4698692/>
* 26- 50 TURKEY PHOTO GALLERY<http://turkeyphotogallery.blogcu.com/
4698612/>
* Pera Museum during the Rembrandt exhibition in
2006<http://turkeyphotogallery.blogcu.com/4698598/>
* Istanbul's T=FCnel (1875) is the world's second-oldest subway line
after
London's Underground <http://turkeyphotogallery.blogcu.com/4698570/>
* Haydarpa=FEa Terminal <http://turkeyphotogallery.blogcu.com/4698557/>
* Subway connection between Kabata=FE and Taksim
Square<http://turkeyphotogallery.blogcu.com/4698551/>
* Historic tram on =DDstiklal
Avenue<http://turkeyphotogallery.blogcu.com/4698538/>
* Basilica Cistern <http://turkeyphotogallery.blogcu.com/4698532/>
* Valens Aqueduct <http://turkeyphotogallery.blogcu.com/4698528/>
* Fatih Sultan Mehmet Bridge and the skyline of Levent financial
district<http://turkeyphotogallery.blogcu.com/4698519/>
* View of Taksim and Levent from The Marmara Hotel, with the
"Conference
Valley" in the center of the
frame<http://turkeyphotogallery.blogcu.com/4698513/>
* Street level view of Levent as seen from the entrance of
Metrocity<http://turkeyphotogallery.blogcu.com/4698505/>
* Streets of Ni=FEanta=FE=FD, the fashion district of Istanbul and seat of
the
Turkish textiles industry <http://turkeyphotogallery.blogcu.com/
4698460/>
* View of the city from G=FClhane Park near Topkap=FD
Palace<http://turkeyphotogallery.blogcu.com/4698398/>
* S. Antonio di Padova <http://turkeyphotogallery.blogcu.com/4698374/
>
* Arap Mosque <http://turkeyphotogallery.blogcu.com/4698366/>
* Sultan Ahmet Mosque <http://turkeyphotogallery.blogcu.com/4698319/>
* The 6 km (4 mi) long Ba=F0dat Avenue
<http://turkeyphotogallery.blogcu.com/4698311/>
* =DDstiklal Avenue in Beyo=F0lu <http://turkeyphotogallery.blogcu.com/
4698300/>
* Akmerkez in the quarter of
Etiler<http://turkeyphotogallery.blogcu.com/4698287/>
* Yal=FDs in Arnavutk=F6y <http://turkeyphotogallery.blogcu.com/4698274/>
Ba=F0lant=FDlar=FDm* Ana Sayfa <http://turkeyphotogallery.blogcu.com/>
* Profilim <http://turkeyphotogallery.blogcu.com/profile/>
* Ar=FEiv <http://turkeyphotogallery.blogcu.com/archive/>
Kategoriler
*FERRAR=DD PHOTO GALLERY* <http://ferrariphotogallery.blogcu.com/>
1-25 TURKEY PHOTO
GALLERY<http://turkeyphotogallery.blogcu.com/1-25+TURKEY+PHOTO+GALLERY/
>
26- 50 TURKEY PHOTO
GALLERY<http://turkeyphotogallery.blogcu.com/26-+50+TURKEY+PHOTO
+GALLERY/>
Emblem <http://turkeyphotogallery.blogcu.com/Emblem/>
Flag <http://turkeyphotogallery.blogcu.com/Flag/>
Motto <http://turkeyphotogallery.blogcu.com/Motto/> Arkada=FElar=FDm
*EUROPE PHOTO GALLERY* <http://europephotogallery.blogcu.com/>
* ferrariphotogallery <http://ferrariphotogallery.blogcu.com/>
* EarthGuide <http://earthguide.blogcu.com/>
* bbcworldnews <http://bbcworldnews.blogcu.com/>
* photoarchive <http://photoarchive.blogcu.com/> Tag: Theming UserControls hosted in Internet Explorer Tag: 114754
Property Sheets
I want to create a property sheet in a Windows Forms application which will
show property pages from various C++/MFC DLLs. What is the best way to do
this?
TIA,
KK Tag: Theming UserControls hosted in Internet Explorer Tag: 114749
Renaming a class
Hi I have a designer generated class when I made a user control
project. There is a comment warning:
/// WARNING: If you change the name of this class, you will need to
change the
/// 'Resource File Name' property for the managed resource
compiler tool
/// associated with all .resx files this class depends on.
Otherwise,
/// the designers will not be able to interact properly with
localized
/// resources associated with this form.
Can someone explain the steps in more detail? I opened the .resx file,
but could not find the "Resource File Name" property. Tag: Theming UserControls hosted in Internet Explorer Tag: 114747
What's the difference between Enter and GotFocus?
I'm writing a vb.net 2.0 app and am wondering what's the difference between
the Enter and GotFocus events. I know that one fires before the other, but
other than that, what's the difference that would make me choose one over
the other?
Thanks.
--
moondaddy@newsgroup.nospam Tag: Theming UserControls hosted in Internet Explorer Tag: 114746
Visual Studio 2005 ClickOnce Issue
Greetings:
I have an extremely frustrating issue. I have an application created within
VS 2005 using VB.Net and deployed to a network share using ClickOnce
deployment. I was asked to also create a traditional setup for deploying
the application. I added a traditional Windows Forms Setup project and all
worked well for both deployment methods.
My supervisor then decided to only use ClickOnce deployment. I decided to
remove the setup project from my solution. From this point on, ClickOnce
has failed to work for deploying my application.
The problem is that the ClickOnce deployment fails to update the manifests
with the correct deployment manifest version number. Regardless what is
displayed on the Publish tab within VB 2005, the IDE (or a tool launched by
the IDE in the background) sets the version of the manifest to 1.0.0.50.
This happens even though my Publish version is set to 1.5.0.0 (or any other
valid value for that matter).
I have tried:
I have tried uninstalling my local copy of the app.
Deleted any relevant registry entries I could locate.
Removing all compiled binaries and manifests and regenerating them.
Scanned all project files for "1.0.0.50" - none found
Deleted all Visual Studio related files in my profile(made a backup first).
Search the web for ideas - nada relevant.
All to no avail. I still cannot deploy this one application. My supervisor
can grab the latest source from our repository and compile and deploy
without issues.
Any ideas? Tag: Theming UserControls hosted in Internet Explorer Tag: 114745
Detect when mouse enters/leaves form
I need way to detect when the mouse enters/leaves a form.
MouseEnter/MouseLeave events will not work because I receive a MouseEnter
event when the mouse moves into the form but once the mouse moves over a
control contained in the form a MouseLeave event is fired. Is there an easy
way to do this?
Thanks for your help,
Terry Tag: Theming UserControls hosted in Internet Explorer Tag: 114742
Missing designers on some forms
Anyone know why some forms in VS2005 would have a designer class and others
might not? It's possible some of these forms were imported from VS2003 but
I'm not positive of that nor am I sure that would be cause-effect. Tag: Theming UserControls hosted in Internet Explorer Tag: 114741
Why should controls inherited from a base form be invisible at des
I have created a C# form with several controls on it each of which have the
protected modifier set.
When I inherit a form from this base clas then none of the inherited
controls are visible at design time though they are visible and operational
in the inherited form at run time.
i can not see what is preventing them from being visible? Tag: Theming UserControls hosted in Internet Explorer Tag: 114740
Application exiting on printing
Hi all,
I have a strange problem:
When my application print something with
System.Drawing.Printing.PrintDocument(), my application thread
(MessageLoop) is going down.
I know that because I putted an event on Application.ThreadExit and
this event is launched when printing.
What is also strange is if I remove the small printing dialog, it
doesn't happend...
Here is a small test code:
<code>
Public Class Form1
Public Sub New()
' This call is required by the Windows Form Designer.
InitializeComponent()
' Add any initialization after the InitializeComponent() call.
AddHandler Application.ThreadExit, AddressOf Me.OnThreadExit
End Sub
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles Button1.Click
ShowOtherWin(Nothing)
End Sub
Private Sub OnPrintPage(ByVal sender As System.Object, ByVal e As
System.Drawing.Printing.PrintPageEventArgs)
e.Graphics.DrawLine(Pens.Black, 10, 10, 100, 100)
End Sub
Private Sub ShowOtherWin(ByVal state As Object)
Dim printDocument As New
System.Drawing.Printing.PrintDocument()
AddHandler printDocument.PrintPage, AddressOf Me.OnPrintPage
'printDocument.PrintController = New
System.Drawing.Printing.StandardPrintController() ' Hide small dialog
"Printing..."
printDocument.Print()
End Sub
Private Sub OnThreadExit(ByVal sender As Object, ByVal e As
EventArgs)
Console.WriteLine("Application Exited")
End Sub
End Class
</code>
Any idee???
Thanks a lot.
Pascal Tag: Theming UserControls hosted in Internet Explorer Tag: 114739
WebBrowser Control: Show Popups in customized WinForm with correct size
Hi!
i'm processing the NewWindow2-Event to create my own customized
Browser-Forms when the Website wants to show Popups and display them within
my own Form.
It actually works fine but i have the following problem:
How can i detect the size of the newly created HTML-Popup-Window and ajust
my Container-Form accordingly? I tried using the Document.Window.Position
and Document.Window.Size Properties in the DocumentCompleted-Event of the
newly created Browser and adjusted my Form window with them but
unfortunately this is not the same size as the windows would show up using
InternetExplorer.
Converting them to screen-coordinates didn't help either so i got a little
stuck at this point.
I'm using Visual C# 2005 on Windows XP with Internet Explorer 6 and 7.
Any help would be greatly appreciated!
Thanks a lot in advance!
Markus Tag: Theming UserControls hosted in Internet Explorer Tag: 114737
Icons vs Bmp in Resource Files
Does anyone have a way to import icons as bmps as "Linked" in Resource files
in the IDE? I need the ability to add icons to a resource file but have
them show up under the Images section with a file type of Windows Bitmap so
that they can be selected at Design Time through the IDE. I have read that
.NET 2.0 has issues with bmps and icons and the way they are stored
internally, but haven't found much supporting documentation on this.
Basically if I drop a new button on a form, then go to the properties window
and find the Image property, I can launch the "Select Resource" window which
will allow me to import a Project level resource into a resx file by using
the Import button. If I select an *.ico file, the file will show up in the
Images section of the Resource file with a file type of Bitmap. Now if I go
to the project and select the properties option from the context menu and
open up the Resources section the file I just imported is in the Images
section, but if I try the Add Resources -> Add Existing File and switch the
file type to *.* (All) and select another icon file the new icon is added
under the Icons section in the Resource file with a type of Icon. Is there
anyway to get around this? I know that an icon file is just a collection of
bitmaps with some header information to indicate the file size and a few
other things. In looking at the Resources.resx file in notepad, the only
difference in the XML is that the <Value> element has Bitmap after the name
of the icon. This again is completely different for Forms, as they expect
Icons which if added through the IDE will create a form level resource file
which is absolutely worthless. Another thought that might work would be if
I could read the Icons from the Resource file at Design Time but make them
selectible via the IDE by creating my own wrapper class somehow which would
allow the icons to be selected that way.
TIA Tag: Theming UserControls hosted in Internet Explorer Tag: 114731
Round button from round image
Hi,
I have an image round in shape, now i want to create a button with the image
in the background, but the image is coming in rectangular shape. How to make
it round. I can do it by picturebox but the push pull style for the button
misses in picturebox, any way to do the same . Thanks Tag: Theming UserControls hosted in Internet Explorer Tag: 114730
Toolbar button images
I added a button to my tool bar. I noticed the "Image" property.
When I click that it brings me to an open file dialog to choose the
image file. My question is, is the chosen image file loaded as a
resource embedded in the EXE or does it just reference the file?
If it is not loaded as a resource, how can I assign a bitmap resource
as the image of a toolbar button? Tag: Theming UserControls hosted in Internet Explorer Tag: 114728
toolstrip
I dragged a tool strip control onto a custom control I am working on.
The custom control in turn lives on a form and is set to fill dock.
The problem is when the form is resized, my control is resized
accordingly, but the tool strip is not resized to be longer (to cover
the entire top width of the control). How can I fix this? Tag: Theming UserControls hosted in Internet Explorer Tag: 114727
Problem with Adding a new winForm to a Project
Hi everyone,
I work in a team on one VS 2002 project, and I know that whenever you
are adding a new form to a project under source control, you have to
check it in once with the project file (csproj) and then check it out
and do your development. One of the team members did not do that, he
checked out the csproj file and then added a new form, and kept it
checked out, I noticed this when I got latest version that the main
MDI in the project started getting a number of weird exceptions on
load in design view. To resolve this, I asked the new developer to
either checkin the entire project or undo checkout, and basically
bring it back to the state it was in before. So what he did is that he
did UNDO check out on the csproj file, but kept the new form checked
out. So that didn't resolve it.
Does anyone have a solution for this? The project can build properly
but the main MDI cannot be opened in design view, the IDE doesn't show
the grid or other controls properly and I can't do any work on it. I
tried deleting the OBJ folders and then doing a rebuild but nothing.
Keep in mind this is in VS 2002. Please help!! Tag: Theming UserControls hosted in Internet Explorer Tag: 114725
Master-Details data bind with multiple foreign keys
Assume I have a typed DataSet that captures the following database
schema:
CREATE TABLE [dbo].[Category1](
[Cat1ID] [int] NOT NULL,
[Cat1Desc] [varchar](20) NOT NULL,
CONSTRAINT [PK_Category1] PRIMARY KEY CLUSTERED ([Cat1ID] ASC)
)
CREATE TABLE [dbo].[Category2](
[Cat2ID] [int] NOT NULL,
[Cat2Desc] [varchar](20) NOT NULL,
CONSTRAINT [PK_Category2] PRIMARY KEY CLUSTERED ([Cat2ID] ASC)
)
CREATE TABLE [dbo].[ChildObjects](
[ObjectID] [int] NOT NULL,
[Cat1ID] [int] NOT NULL,
[Cat2ID] [int] NOT NULL,
[ObjectDesc] [varchar](20) NOT NULL,
CONSTRAINT [PK_ChildObjects] PRIMARY KEY CLUSTERED ([ObjectID] ASC),
CONSTRAINT [FK_Category1_Cat1ID] FOREIGN KEY (Cat1ID)
REFERENCES Category1(Cat1ID),
CONSTRAINT [FK_Category2_Cat2ID] FOREIGN KEY (Cat2ID)
REFERENCES Category2(Cat2ID)
)
Now, on my Windows Form, I've got 3 controls: 2 combo boxes (one for
each of the two categories), and a DataGridView for my child objects.
How would I go about configuring things so that DataGridView only show
the child objects that belong to the two selected categories? Can I do
it "automatically" using the binding sources and the foreign keys
(like I can if I only had a single category), or will I need to wire
up to the currentChanged events on my binding sources and perform the
filtering manually? What if this was expanded beyond 2 category
classes to 3 or 4?
Thanks,
Evan Tag: Theming UserControls hosted in Internet Explorer Tag: 114723
"Posting" a method call to the UI thread
Hi,
Sometimes while handling an event in the UI thread I need to call some
action but I don't want it to be invoked in the context of the event (some
reentrant function calls may fail for example) but right after (in the same
UI thread) , something like PostMessage to the UI thread.
Is there an easy way in .Net / Windows Forms to "Post" a method call to the
UI thread?
Naturally, "Control.Invoke" will not help since it will identify that it is
the same thread and will execute immidiately. "BeginInvoke" is bad since it
will try to invoke on another thread.
--
Thanks
Eric Tag: Theming UserControls hosted in Internet Explorer Tag: 114721
Binding problems with DataGridView in User Control
I have a Windows Forms-based solution in Visual Studio 2005, containing two
projects one a Windows Control Library and a Windows Application. the Control
Library has a Custom Control which aggregates a DataGridVew control. This
custom control is consumed in the Form (part of Windows application project).
When I try binding the DataGridView with a collection of Custom Objects at
runtime, the code executes properly without any exceptions but its not
showing up the data. where as when I write similar code using the
DataGridView dropped directly on a Form its works perfectly fine.
Note: the Custom class I am using to bind is a WCF Data contract class
(since it work fine with the grid on Win form, ideally it shouldnt be a
problem with the Grid on the User control).
please help.
--
qwe123 Tag: Theming UserControls hosted in Internet Explorer Tag: 114720
WPF Active element
Hi all,
I'm working on a WPF applicaation. How to get the current active (focused)
element in the window? Tag: Theming UserControls hosted in Internet Explorer Tag: 114716
how to stop my app from closing
i have written a c# .net app that runs in the notification area of the
taskbar. it should stay alive as long as the windows session is alive (like
the volume control or clock in the taskbar). the problem is that my app
closes on Log Off even if the Log Off is aborted. for example, suppose the
user is running Notepad, has a document open with unsaved changes, and then
initiates a Log Off. Notepad pops up a "Save Changes?" dialog; if the user
cancels it Notepad stays running and the Log Off is aborted. But my app is
closed. how can i ensure my app is running as long as the session is alive,
but gracefully shut it down when all other apps have committed to closing? Tag: Theming UserControls hosted in Internet Explorer Tag: 114710
vs2008 or not
Hi
I need to start a new win form project and I am wondering if I should choose
2008 at this stage. My questions are following;
1. Is 2008 much different from vs 2005 in terms of skill set to prohibit
smooth development of application ie is there a steep learning curve for
common app development tasks?
2. Is 2008 stable enough, at least as good as vs2005?
3. For infragistics users, is Infragistics NA for Winform 7.3 compatible
with 2008?
Many Thanks
Regards Tag: Theming UserControls hosted in Internet Explorer Tag: 114693
Devloping Help like Office 2007
Does anyone know what tool was used to develop the help documents in Office
2007?
Bill Tag: Theming UserControls hosted in Internet Explorer Tag: 114691
Passing paramter to Assembly.
Hello,
I have DLL library, this DLL im invoking from Client application, I need to
pass some paramter to the DLL library (user id).
something like static Main method declared in the assembly (DLL library).
how can i achieve this?
thanks. Tag: Theming UserControls hosted in Internet Explorer Tag: 114687
Help on Microsoft DLL based SQL Engine
I know that Microsoft was working on DLL based SQL min-Engine, eg.
you install the DLL with the app. Was this product released and, if
so, what is the name?
Thanks Tag: Theming UserControls hosted in Internet Explorer Tag: 114682
vs2005 Saving to File
I can print a Report, with Grapics etc, directly from vs2005.
I would like to know haw I may Print to File OR save a File, to be printed
later.
Hope there's help.
Thank you
--
Don Tag: Theming UserControls hosted in Internet Explorer Tag: 114681
View PDF Inside a Form
Does anyone have a recommendation for a PDF viewer component or control?
Preferrably low or no cost.
Thanks.
GS Tag: Theming UserControls hosted in Internet Explorer Tag: 114677
scrollbar maximum
Hi, My scrollbars never hit their maximum value. Has anyone else
experienced this? Is there a work around other than setting the maximum
to a higher number? The scrollbar increments a value that is used as an
angle of rotation from 0 to 180, it cannot have a value greater than 180.
Thanks for any help. Tag: Theming UserControls hosted in Internet Explorer Tag: 114673
Trouble with tablelayoutpanel
Hi everybody.
I am having a problem adding controls dynamically to this control
( using tablelayoutpanel.add(col,row)).
I am doing this to a cell where there is an existing control. I
thought this would just move the existing control to the next
available cell and so on. (Growstyle is rows). The controls are added
in a strange way and the order of the added controls seems to be
dependent on what kind of control I am adding!?
I will be happy for any comment on this matter.
Lars
:-)) Tag: Theming UserControls hosted in Internet Explorer Tag: 114671
Is there any way I can force buttons etc to be displayed using the current
(or XP) theme while hosted inside internet explorer?