| |
thread by: John |
last post Jul 19 '05 by: John
Try
myString = myDecimal.ToString("g3");
3 is significant number
>-----Original Message-----
>When formatting a decimal variable, is there a format
>string that will show decimals only when they are non-
zero?
>
>For example, I would like the following values to be
|
thread by: Brian Mitchell |
last post Jul 19 '05 by: Shawn Farkas [MS]
How do I prevent other people from using the dll's I create? I looked at
identity permissions but it looks like those are more for identifying an
assembly.
Any help would be great. Thanks!!
|
thread by: JJ |
last post Jul 19 '05 by: JJ
this.dataGrid1.DataSource=null;
this.al.Clear(); //clear arraylist
this.dataGrid1.DataSource=al;
>-----Original Message-----
>reposted here as no response in
>dotnet.framework.windowsforms -
>how do i clear all data from a datagrid whose datasource
>was an arraylist?
|
thread by: Rama krishna |
last post Jul 19 '05 by: Rama krishna
Hi All:
I got the same problem what u got. Could u pls explain me hoe can i proceed.
I saw some sites on this issue, which actually not worked with me. Iam using
System.Directoryservices dll in my .aspx page. And iam adding refrence
through the VS.NET and compling, working fine. But the same file i copied in
the server (say some other...
|
thread by: William Ryan |
last post Jul 19 '05 by: Bryan Ax
Well, that depends.
http://www.amazon.com/exec/obidos/tg/detail/-
/0672320681/qid=1056861878/sr=1-1/ref=sr_1_1/002-7953039-
7491213?v=glance&s=books Is a must read IMHO for any
ASP.NET developer. www.dotnetjunkies.com and their book
http://www.amazon.com/exec/obidos/tg/detail/-
/0672321068/ref=lib_dp_TFCV/002-7953039-7491213?...
|
thread by: Timothy M Hodgson |
last post Jul 19 '05 by: Timothy M Hodgson
In the Assembly Load Trace, the error: Publisher policy file is not
found comes up.
Is this a problem with locating the assembly?
Is a publisher policy file required or even necessary as long as the
assembly can be found and loaded?
Thanks!
Tim
|
thread by: David Burstin |
last post Jul 19 '05 by: David Burstin
Whenever I run VS.NET 2003, my CPU usage sits on 100%,
with total memory usage at 330MB. The CPU stays at 100%,
even before any projects are opened (on the start page)
and for the rest of the session. This somehow leads to me
getting system alarms from my motherboard.
Is there something running in the background which takes
up all this CPU...
|
| |
thread by: Kribu |
last post Jul 19 '05 by: Kribu
Hi All,
Can anyone tell me how to receive xml Document
object from the message queue. It's fine when I send the
xml object. I can also see that in MQ. But , when I try to
receive the message from MQ it throws the following
error :
Cannot deserialize the object, not in correct format.
|
thread by: BTHOMASinOHIO |
last post Jul 19 '05 by: BTHOMASinOHIO
I have .NET 2003 installed on my Windows XP PC and about 50% of the
time, the PC locks up when a Project is tried to be opened. I see that
the DEVENV.EXE reaches the mid to high 60,000 KB point and the
ASPNET_WP.EXE starts to build and then the PC completely locks up.
I do have .NET 2002 installed as well, but in a completely different...
|
thread by: RC/$ |
last post Jul 19 '05 by: RC/$
I am trying to create a program with a MDI form with a
menu where it is possiblr to show other (child) forms
declared as variables. That to show the same form as many
as i want. In these form i would like to change the
caption by using a textbox. When i try to assign the new
caption as
frm.caption= frm.text1
another form (declared as ex:...
|
thread by: JimM |
last post Jul 19 '05 by: JimM
Whenever I paste HTML code into the .Net IDE, it automatically adds an ID
attribute for HTML tags in my page that don't already have one.
Is there any way to stop this behaviour?
Before you ask why:
a) It increases the download time of the page (yes I know it's
not by much) without adding any functionality.
|
thread by: Manoj |
last post Jul 19 '05 by: Manoj
Hi All,
We have an VB.net application which has 31 projects in one solution.In this
we want to disable the Maximize and minimize buttons of the child forms as
they load in the main MDI.We have been unable to do this.The methods tried
include :
1. Passing the MinimixeBox = False bit of code in the child form load method
2. Removing the...
|
thread by: diana.bcn.ttd.net |
last post Jul 19 '05 by: diana.bcn.ttd.net
I use a objectlist control and the links apperas at "pocketPC emulator" as
simple text??
Anybody can help me??
thanks.
|
thread by: diana.bcn.ttd.net |
last post Jul 19 '05 by: diana.bcn.ttd.net
I use a objectlist control and the links apperas at "pocketPC emulator" as
simple text??
Anybody can help me??
thanks.
|
thread by: Timothy V |
last post Jul 19 '05 by: Thomas Tomicek [MVP]
Hi,
I just installed the Managed DX redist and it installed into the
C:\Windows\Assembly directory. How do I get a reference to these files
through VS.NET 2003?
Thank you,
Timothy.
|
| |
thread by: Uri Dor |
last post Jul 19 '05 by: Uri Dor
after debugging ends, the text editor (VS.NET 2003) doesn't scroll so
the line the cursor on is visible.
annoying!
|
thread by: Chen Yaohan |
last post Jul 19 '05 by: William Ryan
In Visual Studio .NET IDE font settings (Tools, Options, Environment \ Font
and Colors), some installed fonts are not listed. And funnily, when you
choose different selections in "Show settings for:" drop down, different
fonts are missing or listed. For example, for Text Editor, you can choose
the MS Sans Serif font, but for Dialogs and Tool...
|
thread by: Uri Shmueli |
last post Jul 19 '05 by: Uri Shmueli
Hello to all!
How are you?
Can somebody tell me why these lines:
----------------------------
a = New TcpClient()
a.Connect("mail.bezeqint.net", 110)
|
thread by: William Ryan |
last post Jul 19 '05 by: William Ryan
I was at the VS.NET product launch and they discussed
this in depth. NO, they aren't dropping .NET. THey are
just changing the branding. .NET Server for instance
sounded Lame and the focus groups hated it. Wait until
the Hears Windows 2003 Server which is what you have to
call it now.
Who knows what they'll finally call it (Lord knows...
|
thread by: William Ryan |
last post Jul 19 '05 by: William Ryan
At the risk of sounding like a Big 5 consultant, "It
depends".
1) Strongly typed datasets rock, they are faster than
untyped, use intellisense... but your reason for
wanting to use them is important. I use them every day
of my life, but I also don't use them every day of my
life and there are reasons for both.
2) How much of your...
|
thread by: William Ryan |
last post Jul 19 '05 by: William Ryan
Try something like this (I'm using C#, but VB.NET works
the same): from CH 23 of MS Press Microsoft .NET Compact
Framework (Wigley, Wheelwright).
OperatingSystem osInfo = Environment.OSVersion
switch(osInfo.Platform)
{
case PlatformID.Win32NT:
case PlatformID.Win32Windows:
|
thread by: William Ryan |
last post Jul 19 '05 by: William Ryan
Depending on how you deploy, an App.Config file might do
the trick. You can specify the connection string there,
and you can edit it programatically if need be.
In my experience, the GAC is a great tool, but it's for
totally decoupled objects, or at least ones that have
configurable properties. But a config file can hold this
stuff, be...
|
thread by: William Ryan |
last post Jul 19 '05 by: William Ryan
If you download the code for MS Press Microsoft .NET
Compact Framework by Wigley and Wheelwright in Chapter 11
there's code to handle this. If you haven't bought the
book----TRUST ME, BUY IT. In particular the irDAListener
class should do what you need. I can send you some of
the code we used to accomplish this, but it's essentially
what...
|
| |
thread by: William Ryan |
last post Jul 19 '05 by: William Ryan
WebConfig is made for storing such constants but there
are other methods as well. You can create a Module in
VB.NET or a class with Static Members in C# and query
your DB at the onset and populate these fields there. In
one case you change Web.Config when you want to make
changes, in the other you change you DB fields. Since
ADO.NET is...
|
thread by: KS |
last post Jul 19 '05 by: KS
I have 'loaded' English US in my IExplorer.
When I start my VB.NET more statusboxes commes very fast
upon each other - it is something around installing
English in VISIO !!
Can THIS be the course that I can NOT see what is on the
Start page's 'web-links' - it says that I should be online
BUT I AM !
|