all groups > c# > december 2007 > threads for thursday december 20
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
Text on MenuStrip
Posted by Alexander Vasilevsky at 12/20/2007 9:57:46 PM
How placing text in MenuStrip, glued it to the right side MenuStrip?
http://www.alvas.net - Audio tools for C# and VB.Net developers + Christmas
discount
... more >>
Save HTML without dialogue
Posted by Alexander Vasilevsky at 12/20/2007 9:51:20 PM
Need save HTML without dialogue.
In doing so:
private void MainForm_Load(object sender, EventArgs e)
{
webBrowser1.Navigate(@"Ó:\temp\source\1.mht");
}
private void _WebBrowser_Navigated(object sender,
WebBrowserNavigatedEventArgs e)
{... more >>
What paint faster than Graphics.Draw?
Posted by Alexander Vasilevsky at 12/20/2007 9:29:53 PM
What paint faster than Graphics.Draw?
http://www.alvas.net - Audio tools for C# and VB.Net developers + Christmas
discount
... more >>
Display related DbLinq object property in DataGridView
Posted by Andrus at 12/20/2007 8:00:25 PM
I have DbLinq-Sql class containing invoice headers.
Invoice header class definition contains customer id field _customer which
is related to customer table:
[Table(Name = "invoice")]
public partial class Invoice: IModified {
protected string _customer;
protected string _id;
[Colu... more >>
how to create a c#3.0 project?
Posted by fairyvoice at 12/20/2007 7:59:02 PM
Hi, i just downloaded and installed the "Orcas" c#3.0 ctp, the example
atteched could run successfully, while i can not see any c#3.0 project
template when creating new project. So i just created a normal C# console
project and write some code with new features of c#3.0, but the compiler told ... more >>
Vector icons in WPF menu items?
Posted by David Veeneman at 12/20/2007 5:39:51 PM
I'm just getting started with WPF and XAML, and I am trying to create a
traditional menu bar. Everything works until I get to the menu icons. I can
add a bitmap icon to a menu item using this XAML markup:
<MenuItem Header = "Log In">
<MenuItem.Icon>
<Image Source="Resources\L... more >>
"Edit|find and replace" dialog disappear
Posted by Zhuo Li at 12/20/2007 3:39:24 PM
I am using VS2005. The "Edit|Find and replace" dialog won't pop up when you
try to find something (tried short cuts like: CTRL-F too, no luck). Does
anybody know how to bring this dialog back.
Thanks, Zhuo
... more >>
WebBrowser header/footer
Posted by Peter Morris [Capable Objects] at 12/20/2007 3:31:26 PM
Hi all
How can I remove the header/footer on the printout I get when I do
WebBrowser.Print?
I've got a product demo first thing in the morning, and it would look much
better without it!
Thanks
Pete
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
what is wrong with this
Posted by GS at 12/20/2007 2:28:12 PM
somewhere towards end of the form calls I have
private void setRegexoptionsChkBoxOnPosnChgd(object sender, ConvertEventArgs
cevent)
{
if ((cevent.Value == DBNull.Value))
{
cevent.Value = "";
}
else
{
... more >>
COM object that returns a string
Posted by JustinInAtlanta@gmail.com at 12/20/2007 1:51:15 PM
Hello. I have written a Class Library in C# that has two methods:
GetNumber returns 17
GetName returns foo
I am able to add a reference to the COM object from an ASP.NET page,
call both methods, and display the correct results in labels on the
Web page.
I also want to be able to instanti... more >>
What's wrong with my xpath?
Posted by Datawich at 12/20/2007 1:36:22 PM
Hi. I've been trying without success to query the below XML using
xpath. I'm doing so in the context of a c# method which uses
nodeiterator in the usual way. No matter what select statement I
submit, though, (even a query for the root "/"), I return one of the
<line> elements. Any idea what ... more >>
Image viewer development
Posted by s.senthil kumar at 12/20/2007 1:29:01 PM
I have got to create an image viewer for my project module,i would like to
develop a activeX control or winapp for image viewer using C#. i dont want to
use microsoft office document imaging viewer ,any thired part ActiveX
controls either. i am not strong in C#. i need guidance and example pg... more >>
RichTextbox Key Shortcut List
Posted by Academia at 12/20/2007 1:16:33 PM
I've spent the last hour searching the internet for a simple list of the
shortcut keys recognized by the Windows Forms RichTextBox and
came up empty handed.
I did see where someone mentioned that he looked at the lists
for all the DLL's but he didn't say where he found them.
Is there such ... more >>
Call a third party console application and return the result
Posted by GD at 12/20/2007 1:05:36 PM
I am trying to execute a third party console application and return the
result dispalayed in the console screen.
Can this be achieved?
Thanks.
GD
... more >>
DataGridView issue
Posted by Marco Pais at 12/20/2007 12:46:04 PM
Hi there.
I have a DataGridView on a desktop application and it's being filled through
the use of a Web Service, wich returns a DataSet. The I use
datagrid.DataSource=mydataset.tables[0] to bind the data.
This dataset contains a table with 4 columns: id, description, status,
private. Colum... more >>
perfomance issues of dynamically removing node from document using c#
Posted by jambalapamba at 12/20/2007 12:29:25 PM
I am removing node from a document depending on the style property and this is taking 5 seconds for checking complete document is there any ideas how can i improve the perfomance. Here is my part of code
foreach (IHTMLElement tempElement in document.all)
{
if (tempElement.style.visibility == "h... more >>
C# TransparencyKey question
Posted by bigdunka@gmail.com at 12/20/2007 11:53:39 AM
I am working on layering a few picture boxes on top of each other in a
basic 3D grid, viewed from front and a little to the right, using
Visual Studio 05. I have color 128, 254, 128 set as the form's
transparency key and the corners of my one image that I am overlapping
that same color. The tr... more >>
ie webpage 2
Posted by RobcPettit@yahoo.co.uk at 12/20/2007 11:37:32 AM
Hi, Can someone advise as to what Im doing wrong with this code.
public Form1()
{
InitializeComponent();
webBrowser1.Navigate("http://www.oddschecker.com/bet-
basket");
}
private void webBrowser1_DocumentCompleted(object sender,
WebBrowserDoc... more >>
Use DOTNET assembly in Word 97
Posted by Pete Kane at 12/20/2007 11:11:26 AM
Hi All, is it possible to utilise a .NET class library in Word 97 ? I've
tried without success, my test class and VBA macro are shown below
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.Runtime.InteropServices;
namespace CallingCSharpF... more >>
Problem with loading app.config
Posted by DoB at 12/20/2007 11:02:07 AM
Hi,
I was trying to configure the Trace class using the app.config. I was
followig the example configurations in the MSDN.
However, as I debug the program, the Trace class seems to ignore the
configuration. For example - it has its default and only listener while I
removed it and added som... more >>
Method Signature For A Method That Can Return Objects and Primitive Data Types...
Posted by Sunburned Surveyor at 12/20/2007 9:57:20 AM
I'm a Java developer in the process of writing a class library in C#,
so please bear with me.
I'm trying to write a method that can return a generic Object OR a
Decimal value. In Java I would just have the method return an Object,
since all Java primitive data types have Object wrappers like I... more >>
Issue with DataSet / DataAdapter and Idendity Column
Posted by Daniel Jeffrey at 12/20/2007 9:10:44 AM
Hello,
I am new to ADO.NET (2.0) and I am trying my hardest to figure out the best
ways to do things, but I just keep getting stuck.
I have a DataSet that has a Header and Details configuration with the
relevant joins.
I have 2 DataAdapters, 1 for the Header and 1 For the Detail.
It ... more >>
HttpWebRequest
Posted by csharpula csharp at 12/20/2007 6:21:35 AM
Hello,
Is there a way somehow to read only part of the file via Http ? (Here is
the code that reads the whole file)
HttpWebRequest req =
(HttpWebRequest)HttpWebRequest.Create("http://x:8080/axis2/axis2-web/log
s/aaa.out");
req.Proxy.Credentials =
CredentialCache.DefaultNetwo... more >>
Searching for Happiness ?
Posted by aassime abdellatif at 12/20/2007 6:12:23 AM
Searching for Happiness ?
Dr. Saleh Abdul Azeez As Sindee
Happiness is a common goal that everyone strives to attain.
Philosophers, intellectuals, doctors and artists alike have all
strived in search of the causes of happiness and ways to escape
anxiety.
The reality is, however, t... more >>
Format DataGridView cell display format in a Window form
Posted by Ben at 12/20/2007 3:05:01 AM
I've a date field displayed at a DataGridView, and want to format it to
'yyyymmdd hh:mm:ss'. How would you do that?
Thanks,
Ben
... more >>
Get the calling type
Posted by Peter K at 12/20/2007 2:38:37 AM
Hi
is there a way to determine "the calling type" in c#?
I have found several places on the web with examples using StackTrace, and
just as many rebuttals of the presented method - stating that it can't be
relied on to be 100% accurate due to possible optimisations at runtime.
I have al... more >>
Reading textbox value from MS Word using .NET
Posted by asgars at 12/20/2007 2:27:09 AM
hi,
i am trying to read the values of controls (like textbox, checkbox,
combobox etc) which are embedded in a MS Word document into my
application interface using .net.
Is this possible? Please guide me how to implement this.
Thanks in advance.... more >>
IpcChannel will not create
Posted by quilkin at 12/20/2007 1:52:00 AM
Hi,
I have a Windows service which communicates to a user app via IpcChannel
remoting.
It all works fine until the service is stopped and restarted (or restarted
via Management Console Services), when the lines
_ipc = new IpcChannel(properties, clientProv, serverProv);
... more >>
Binding to settings?
Posted by Peter Duniho at 12/20/2007 12:33:03 AM
Okay, I'm hoping I'm missing something obvious here.
Assume I've got a TextBox in my Form. I also have a string type user
setting in the usual way (say, Settings.Default.MyText).
Is there some way to use data binding to connect the two?
I tried the direct route, adding the Properties ob... more >>
|