all groups > dotnet general > october 2005
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
How to execute a batch file without showing the execution?
Posted by den 2005 at 10/31/2005 5:11:01 PM
Hi Everybody,
Is anybody knows how to Hide Execution of batch file at background? I mean
without displaying the DOS Prompt window while batch file is being executed.
I used code below to execute batch file. Is there other ways to do this? I
need help. Thanks.
Code:
System.Diagnostics.... more >>
ListBox OwnerDrawVariable
Posted by Max at 10/31/2005 4:58:21 PM
Hello,
I have a multi line listbox which I paint using DrawItem and MeasureItem, the latter I use to compute the height of each entry.
The problem I have is that the horizontal scroll bar is not displayed when an entry has some long line of text in it. Can anyone
help?
Cheers,
Max.
... more >>
ListView - autosizing columns to fit data
Posted by ASGMikeG at 10/31/2005 4:13:04 PM
Hi,
Does anyone have a bit of code that will auto-size the columns on a ListView
to fit the column headers AND data in those columns ?
Regards
Michael... more >>
tabcontrol - cannot disable or hide tab pages
Posted by ASGMikeG at 10/31/2005 4:12:03 PM
Hi,
I'm upgrading an application from VB6 to .NET. It used tab controls in VB6
to achieve a tab dialogue / wizard type effect - navigating from one tab to
the next as the user filled in information.
When this has upgraded to .NET the user can suddenly click on the other tabs
without havin... more >>
Microsoft .NET Framework 2.0 Configuration applet
Posted by Greg Burns at 10/31/2005 4:05:43 PM
When I install .NET Framework Version 2.0 Redistributable I cannot find the
2.0 Confiuragation applet in control panel?!?
http://www.microsoft.com/downloads/details.aspx?FamilyID=0856eacb-4362-4b0d-8edd-aab15c5e04f5&DisplayLang=en
My machine has the applet after installing VS.NET 2005 RTM.
... more >>
Deploy .net 2.0
Posted by balmerch at 10/31/2005 4:04:02 PM
I have an application on our network for installing printers at any location
in our organization. So someone from town A can install printers from town B
across our VPN with a single click and no knowledge of printers, drivers,
etc. The issue I have is that .net 2.0 isn't on everyones computer... more >>
Reflection....
Posted by UJ at 10/31/2005 3:53:44 PM
Can somebody point me to an explanation of what Reflection is? I've tried
looking in the help and it's not very helpful.
TIA - Jeff.
... more >>
Bitmap.HorizontalResolution is read-only.
Posted by Olaf Baeyens at 10/31/2005 12:03:14 PM
To my big suprise HorizontalResolution and VerticalResolution iof the Bitmap
class are read-only!
Is there any reason to this? And How do I change them?
Bitmap bitmap = new Bitmap(imgPhoto.Width,imgPhoto.Height,FileFormat);
bitmap.HorizontalResolution=(float)Resolution.XPixelsInInch;
bitmap.V... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
ict file
Posted by netoec84 at 10/31/2005 11:56:12 AM
Hi, I create a custom control in c# for InfoPath, it works great but I copy a
ict file create for other control and it have a icon, I want to create the
string that represents my own icon... how can do it??? thanks
... more >>
Starting ASP.Net application problems
Posted by John at 10/31/2005 11:29:13 AM
I get the error below which appears randomly when I run my asp.net
application from inside VS. I have to click 'continue' a number of times
each time I run a debug cycle. Does anyone have the solution to remove this
problem? I have tried re-installing .Net framework and clearing the Temp
ASP... more >>
Press Release: InstallAware First (and Only) Installation Toolkit to Support .NET 2.0 Installations
Posted by InstallAware at 10/31/2005 10:00:18 AM
For Press Inquiries:
Sinan Karaca
InstallAware Software Corporation
336 Guerrero Street, San Francisco CA 94103
415 358 4094 (voice/fax)
sinank@installaware.com
http://www.installaware.com/
InstallAware First (and Only) Installation Toolkit to Support .NET 2.0
Installations
One click de... more >>
message filters
Posted by Neil Stevens at 10/31/2005 8:43:33 AM
Hi All,
I am in the process of creating a message filter for an application that i
am writing, this is really just a question for information on the LParam
value of the PreFilterMessage method.
Now, i know that this parameters value depends on the message, but is there
any information an... more >>
Do I need .Net Framework 1.1 Redistributable after 2.0?
Posted by PHiLiP at 10/31/2005 12:00:00 AM
Do I need to keep version 1.1 if I have the new 2.0 installed?
Setup doesn't look like it has uninstalled the old one, which suggests
2.0 is not a direct replacement. Am I correct?
... more >>
Attributes: I want my setter to be protected or private
Posted by Flipje at 10/31/2005 12:00:00 AM
In my view, there is a major drawback to using attributes: the getter and
the setter have identical protection levels. But I usually want the getter
to be public and the setter to be protected or even private.
Example: I would have liked this to be possible:
int Thingy
{
public get { r... more >>
memory requirement & .NET performance wonderment...
Posted by Lloyd Dupont at 10/31/2005 12:00:00 AM
I just stumbled on a forum were people were saying they were porting old
native C++ app to winform/C#/.NET
and they experienced:
- drop in performance
- huge memory consumption.
Someone was saying this:
========
Recently I ported to C# a small transmatch cirquit design C++ application I
wr... more >>
Upgrade Reasons
Posted by Glen W via DotNetMonster.com at 10/31/2005 12:00:00 AM
I need 10 reasons to give to my boss to convince him to upgrade to VS 2005.
So far I've got the 2 obvious ones: Generics and Refactoring, one makes code
safer the other makes writing code easier. I also like snippets and partial
classes.
Any other suggestions would be greatly appreciated.
... more >>
.NET Framework redistributable failing on Virtual Windows NT 4
Posted by heng7 at 10/30/2005 10:31:03 PM
Hi. I installed Windows NT 4 MSDN ISO image on a virtual machine (Virtual
Server 2005). I patch it with Windows NT 4 SP6a and upgraded it to Internet
Explorer 6.
But the .NET Framework fails to install on the virtual machine.
1. Am I missing a step?
2. Is anyone else facing this issue wit... more >>
Using Vector Class Help!....
Posted by Eric at 10/30/2005 9:33:03 PM
I am converting my VC++ MFC to Manage C++ and I am having trouble using the
vector class.
Here is my __gc class
....other headers for System classes ....
#include <algorithm>
#include <vector>
using namespace std;
public __gc class DocumentData{
.....other variables
vector<int> m_Nex... more >>
xslt security
Posted by tascien at 10/30/2005 9:08:36 PM
Can anyone tell me what security problems that can be encountered when
running xslt transformation on the server side? appart from potential
infinite loops?
Also, I have the below code... why am i being forced to pass the
EVIDENCE... ( all other constructors are marked absolete ) and what is
... more >>
layout question
Posted by Howard at 10/30/2005 5:40:14 PM
some times there are very long urls in my page content that is pulled from a
database, it will mess up the page layout since there's no break or space in
the long word. Is there a way in html or css to fix this problem? or do i
have to write a script that finds all words in my string that are ... more >>
sql server 2005
Posted by Howard at 10/30/2005 1:46:00 PM
http://www.microsoft.com/sql/2005/productinfo/sql2005features.mspx
what are the features in the developer edition? it's not mentioned here
is it the same as ent?
thanks
... more >>
.net framework 2.0
Posted by Howard at 10/30/2005 11:39:05 AM
Is .net framework 2.0 available for download?
http://msdn.microsoft.com/netframework/downloads/updates/default.aspx
I found the redistributables. but just want the runtime.
... more >>
What Language to Learn ?
Posted by Hermawih at 10/30/2005 11:20:01 AM
Hello ,
I want your opinion about this .
In order to say it clearly , I think I have to describe it in long sentences .
I could consider myself as Intermediate/Advance Access Developer ;
Intermediate/Advanced Database designer .
Because of the requirements , I must create Web Applicatio... more >>
Deploying applications over the web
Posted by Dundealing at 10/30/2005 7:39:06 AM
I have created a few applications which I want to allow users to download
from my website.
I have copied everything from the Release folder of the applications
deployment project and placed them in a folder in the website's root folder.
I then set a hyperlink to the Setup.exe file in the f... more >>
include static text in <script>
Posted by Howard at 10/30/2005 3:01:30 AM
Hello
I need some help with this. I want to assign the content of a static
txt/html file to my string a.
<script runat="server" language="C#">
private void Page_Load(object sender, System.EventArgs e)
{
string a =
//include static html page welcome.htm
}
</scrip... more >>
VS 2005: cannot start debugging
Posted by Giedrius at 10/30/2005 12:05:47 AM
Hi,
Just installed latest VS 2005 without C++ ( VS.Net 2003 also exists)
trying to run local windows application project, shows an error message:
"Error while trying to run project: Unable to start debugging.
This operation returned because the timeout period expired."
Attach to Process Ctr... more >>
System.Configuration.ConfigurationManager
Posted by Xtreeme-G at 10/29/2005 11:06:03 PM
I am seeing something weird in my c# winforms application.
I cannot instantiate a ConfigurationManager object from the class. I have
added System.Configuration in the uses section. I then try to make a private
class member field and the ConfigurationManager is not recognized in this
contex... more >>
Acessing COM+ Components
Posted by Marcelo C. at 10/29/2005 5:21:01 PM
I'm developing one application with scenery Webfarm.
I need have a access a one or more methods that they are inside of one Class.
Which is the best way to have access this component that is in another
server who my apllication is running? I need of the tutorials, whitepapers...
please!
... more >>
VS2005 - Changes to configuration sections between beta 2 and rele
Posted by Robert at 10/29/2005 5:06:05 PM
I have an application with custom configuration sections in it's app.config
file.
Here's a shortened excerpt:
<monitors>
<monitor
type="SystemMonitor.Monitors.NetworkAvailabilityMonitor,SystemMonitor">
<notifiers>
<notifier type="SystemMonitor.Notifiers.MessageBoxNotifier,SystemMonitor... more >>
VS 2005 and SQL 2005 Installation Failing
Posted by JP at 10/29/2005 4:34:03 PM
I haven't had any sleep for the last two days since Microsoft had made the
Visual Studio 2005 and SQL Server 2005 available for download. Every time I
try to install them I get an error :1335 and it says about some specific
files are missing Or, the CD/DVD is damaged and the missing files are... more >>
Bitwise Operator ~ Help
Posted by HLong at 10/29/2005 12:46:02 PM
I am trying to understand an example where the Least Significant Bit is
replaced. The code is in C# and I am having problems with a line that reads:
B= (byte) (Value == 1 ? B | (1 << poss) : B & ~ (1 << poss));
here B is the byte where we change the bit (Value) and poss = 0
I think in VB it wo... more >>
How2 Migrate Beta 2 IDE Settings To 2005 RTM?
Posted by clintonG at 10/29/2005 12:38:11 PM
Posted elsewhere with no answer. Getting antsy. After three days I may get
lucky and someday make a connection to the shipping bits and when I do I
need to know how to transfer my VS2005 Beta 2 configuration settings to the
new release. Instructions please...
<%= Clinton Gallagher
... more >>
Visual Studio 2003 on .Net 2.0
Posted by Sean at 10/29/2005 12:35:05 PM
Make a long story short, can I run .Net 2.0 and SQL 2005 and still use VS
2003. I understand I will not get all the functions I just need SQL server
and I dont see a point in buying an old version.... more >>
Wich version of VS2005 ?
Posted by Christian Ista at 10/29/2005 12:00:00 AM
Hello,
Which version (pro, architect, ....) of VS 2005 is available for download
for MSDN Universal subscriber ?
Thanks,
... more >>
Web.config Help
Posted by Peter Avalos at 10/28/2005 2:58:09 PM
I am trying to configure a set of access rules for a subfolder in my
project. The folder is a subfolder in the application folder and cannot
read the dll file in the application's bin folder. How do I propertly tell
the compiler in the Web.config file used in the sub folder where to find the... more >>
.NET Framework Version
Posted by Yosh at 10/28/2005 12:23:44 PM
Is there a tool that will tell my the current .Net Framework version? I
don't need to do it programmically using the Environment.Version. I need a
command line application that will tell me?
Thanks,
Yosh
... more >>
P#
Posted by alberto at 10/28/2005 11:48:33 AM
Does somebody know where I can find the P# compiler?
Thank you
... more >>
Reflect field inside method
Posted by John Bailo at 10/28/2005 11:46:18 AM
Is it possible to Reflect a variable inside a method?
I can Reflect a class field using GetField, but can I reflect a
variable/field from inside member?
For example, I want to Reflect samp inside of the method:
public int myMethod()
{
string samp = "five";
// Get type infor... more >>
"onkeypress" event
Posted by Mike Moore at 10/28/2005 11:35:02 AM
We are using the "onkeypress" event in Javascript to determine when
the user hits a particular key. This works well unless an ASP.NET
control (such as a textbox) has focus. In this case the onkeypress
event does not fire. Unfortunately, our need is to handle key presses
when a control does hav... more >>
Printing
Posted by Lou at 10/28/2005 11:21:12 AM
How do I use the printdialog. If I call
PrintDialog1.ShowDialog
it gives me an error mesage to set th edocumt
I have a text box control with text that I want to print from a command
button?
-Lou
... more >>
VS 2005 Q..
Posted by TheMadHatter at 10/28/2005 10:59:06 AM
When is the exact release date vs 05?
(It would be just great if I could fit it in before year end.)
thanks in advance.... more >>
Using include file
Posted by bk0612 at 10/28/2005 10:18:01 AM
How do I call the include file in a .aspx page?
Thanks... more >>
Question about the VS 2005 editions
Posted by the friendly display name at 10/28/2005 8:59:04 AM
The 2003 product line, had the standard editions, you could only work with
one single language, but, ASP.NET AND windows forms development was possible,
and it wasn't that dumbed down.
The price for a std edition: around 100$
Sadly, there isn't a true successor to those editions in the 200... more >>
How can I dig deeper to find the actual promblem?
Posted by PaulNaude at 10/28/2005 4:35:01 AM
VB.NET 2003
I am battling with a specific procedure that does not allow me to update my
data adapter due to an apparent syntax error. I created the data adapter
usign the drag and drop method (from the Server Explorer to the form) by
dragging the table in question to the form and then gener... more >>
Input string was not in a correct format.
Posted by Niyazi at 10/28/2005 12:59:04 AM
Hi
I am trying to insert some value into SQL Server 2000 tables and I am keep
getting the "Input string was not in a correct format" error.
When user fills the Form it updates the table call tbl_04_Hellenic.
Then In that form some of data also goes and fills another table call
tbl_LEHTAR... more >>
How to send events to a Window Service
Posted by Usman at 10/28/2005 12:00:00 AM
Hi
I have a window service written in C#. I have another application that
requires a lengthy process to be performed like taking backup. How can I
make this lengthy process be performed by window service in such a manner
that my application may invoke the process. Is there any way that I can c... more >>
BHO and WebDav events
Posted by Steve Drake at 10/28/2005 12:00:00 AM
Hello,
Sorry if this is the wrong groups, I couldn't see an obvious group for this
question.
I have written a BHO in C#, catch IE events but I cannot find away to make
it catch WEBDAV events.
I open my website, I can see the events being processed, I navigate to the
WEBDAV (via httpF... more >>
Logging Framework
Posted by Stanley Cheung at 10/28/2005 12:00:00 AM
hi all,
I want to install a (FREE) log framework to my application.
which logging package is easy to use?
or
which logging packaga is most popular?
Please advise. Thanks.
steambun
... more >>
VB.Net connecting Access 2003 Database
Posted by Guillermo at 10/27/2005 9:18:03 PM
Gentlemen, I have a VB6 Project. Works fine in my PC, but once uploaded to my
website it can't connect to my Access database.
Questions:
1. Can VB.net connect with Access 2003 databases hosted in the same website?.
2. If so, how easy it is to convert the VB6 Project (has several forms, but
ve... more >>
post back event for a button
Posted by Galahad at 10/27/2005 3:23:05 PM
Here's the question:
I have a form w/ TextBox controls and a Search Button control. Once the user
clicks the Search Button, they get a Modal dialog w/ a datagrid that contains
their search results. They select a row and click OK. The return value of the
Module triggers an method that popu... more >>
|