all groups > dotnet general > september 2007
Filter by week: 1 2 3 4 5
Finding Logged on user from a service
Posted by Bill at 9/30/2007 8:04:02 PM
Hello,
I have a windows service running under the local system account. I want to
be able to impersonate the current user logged onto windows. How can I
determine the current user. APIs all seem to return the name of the user
running the current process. ".\LocalSystem" which is not what I ... more >>
WEP PASSWORD NETWORK KEY
Posted by thedudeistoocool at 9/30/2007 2:53:00 PM
I lost the information with my network key on it. Is there any place in my
system where the key is readable. If I go into Wireless Connection Properties
it shows where the network key is entered BUT it only displays a series of
black dots
How can I recover this information ?
I am still c... more >>
Assistance with detecting and closing app
Posted by Chris at 9/30/2007 2:30:01 PM
Is there an alternative process to detect when an application is launched and
close it (in .net 2.0)?
Is there some kind of event I can use to watch when an app is about to be
launched?
Currently I am looking into
FindWindow then GetWindowThreadProcessId then OpenProcess and then
Tr... more >>
gzmrotate.dll
Posted by MikeO at 9/30/2007 9:31:02 AM
I'm getting this pop-up window at start-up( C:\windows\system32\gzmrotate.dll,
the spacific module could not be found.) I have run every kind of scan I can
think of,spyware and virus. I am not a computer pro ,so I'm looking for an
easy fix if there is one.... more >>
Temporary Internet Files & Cookies
Posted by Kerry at 9/30/2007 2:10:01 AM
Hi. If you delete your cookies does it make the computer run faster, & should
you always keep your cookies.... more >>
HELP - Why are Worker thread's child thread's entering WaitSleepJoin? Plus Context Deadlock....
Posted by hzgt9b at 9/29/2007 8:23:25 PM
Using VS2005, VB.NET,
I have a worker thread (started by main UI thread) that in turn
spawns
and monitors child threads to execute several long running process.
The problem is that the worker thread's children are entering
WaitSleepJoin and thus my worker thread just hangs doing nothing and
ju... more >>
Fail to load nvcpl.dll
Posted by Mangrove Jack at 9/29/2007 5:32:00 PM
After removing no longer reqd., arc impressions and nvidia software, message
comes up stating "Fail to load nvcpl.dll" at startup, also have lost system
restore and standby,also there is this slow flickering when going down pages
on the net. Used search and found a whole heap of nvidia files i... more >>
Anybody notice that Microsoft doesn't write in .Net?
Posted by jim at 9/29/2007 1:06:10 PM
Look at Microsoft and Windows apps in Vista.... They aren't .Net.
If .Net is so great, why doesn't MS use it more? In fact, what desktop
applications does Microsoft code in .Net?
I think Microsoft avoids major desktop apps in .Net because the performance
sucks. Look at Symantec's antivi... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
OT: Meaning of "RCO" (IIS 7)
Posted by Smithers at 9/29/2007 2:25:39 AM
What is the meaning of "RCO"... as used at this and other IIS 7 links?
http://weblogs.asp.net/scottgu/archive/2007/09/27/iis-7-0-hits-rc0-lots-of-cool-new-iis7-extensions-also-now-available.aspxThanks.
... more >>
? Runtime Discovery of Property Name using Reflection..
Posted by bigtexan at 9/28/2007 10:20:18 PM
Simple question I hope.
class A
{
void SomePropertyName
{
set
{
string NameOfThisProperty = ??? // what code here to
get "SomePropertyName" at runtime?
}
}
}
... more >>
DateTime not taking Daylight Savings into consideration
Posted by chaosblade NO[at]SPAM gmail.com at 9/28/2007 6:34:13 PM
Hi, I've come across a small issue related to the DateTime class. It
seems to not take daylight savings here (Israel, GMT+2\+3 with DST)
into consideration, No matter the form used.
I've tried the default formats used by ToString, ToShortTimeString and
ToLongTimeString. All of them currently c... more >>
delete dir in Nant - error
Posted by Sam at 9/28/2007 3:12:32 PM
This is probably the wrong group to post this in, but I'm not sure
where it should go. If you have suggestions as to another group to
post it let me know.
In our Nant build file for our application. I want to first delete 2
folders if they exist. These folders then later get created. If th... more >>
How widespread is .Net Framework 1.1.4322 ?
Posted by Georg Scholz at 9/28/2007 7:02:48 AM
We are about to design an application, which will used by 10,000
people world-wide, mainly hospitals, doctors and scientists. There
will be multiple language Versions.
The app will be about 1 MB, it will be distributed via download.
Now we are considering to write it in C#, with .Net 1.1.4... more >>
VS 2005 upgrade issue
Posted by AMercer at 9/28/2007 5:41:01 AM
I've upgraded from VS 2003 to VS 2005. I can run VS 2003 and VS 2005 side by
side with one problem. With VS 2003, the Office XP EULA now pops up and I
have to accept it or VS 2003 will shut down. Prior to installing VS 2005, I
never got the EULA when running VS 2003. I dont get the EULA wi... more >>
Memory Error
Posted by Jerry at 9/27/2007 12:29:00 PM
using VB express, I have a form with 18 pictureboxes in that form, I load BMP
files into the pictureboxes, when I first run/debug the program it runs, then
I start getting memory errors, if I try and save it or run it again, anybody
know why this is?
Thanks,
Jerry... more >>
w2003s & .NET 1.1
Posted by at 9/27/2007 12:13:48 PM
When my Network manager built a new 2003 server for me, I asked him to
put 1.1 and 2.0 on it.
When he tried to put 1.1 on it said that it was "already installed".
Is that the case? Does w2003s have .NET 1.1 preinstalled?
(We've been on w2k so long, I don't have much experience with w20... more >>
difference between a console app and a win forms app
Posted by Jeremy at 9/27/2007 11:27:04 AM
I have a small block of code that uses DllImport tags to call methods in a
dll written in C. I'm not sure how the dll works internally, but when I
call some of these methods from a windows console application I get an
error, but when I call them from a windows forms application I don't get th... more >>
RDP Virtual Channels
Posted by amdrit at 9/27/2007 10:39:41 AM
Do any of you have experience working with virtual channels through RDP
sessions? I am looking for bi-directional communications though the channel
using C# or VB.Net.
I have found a couple articles on the subject but they are all one sided
conversations. One alludes to the client wri... more >>
Drawing tabs in ListBox.DrawItem event
Posted by Quimbly at 9/27/2007 10:11:00 AM
I have a ListBox, and have changed the DrawMode to DrawMode.OwnerDrawFixed.
I'm using the ListBox.DrawItem event to do some custom coloring in my ListBox
object.
My item strings contain tabs, but after drawing the items myself, the tabs
are not intepreted. Currently I'm just using the sam... more >>
A severe error occurred on the current command - help
Posted by JP at 9/27/2007 7:17:03 AM
Im posting this in both the .NET general group and SQL group since several
other post mention that this may be a problem with ASP.NET and not SQL
Out of the blue, any SQL 2005 SPs we have that execute dynamic SQL generate
the following error:
A severe error occurred on the current command.... more >>
code to move files from directory to another directory
Posted by Pure Heart at 9/26/2007 11:37:00 PM
hi
i need the code to move files from directory to another directory on sam
local machine or to a network path, thank you.
--
Ammar S. Mitoori
IT Head QIMCO Co.
Tel : +9744831199
Mobile : +9745378400
Fax : +9744831643... more >>
Net 2 Serialport OnDataReceived
Posted by Lars Siden at 9/26/2007 10:06:58 PM
Hi,
I've really struggled with this. Using Hyperterminal everything works fine.
But if I write my own program I can't get "OnDataReceived" to be fired.
MS samples from the SDK gives me the same result. I can read data by waiting
and whiling - but that's just bad. I want to use the Event!... more >>
Script control
Posted by Lou at 9/26/2007 8:06:29 PM
In VB6 I used the MSCript control to expose VB scripting, Do I do the same
with DotNet.
Do I use the same ActiveX control or is there a class in DotNet?
-Lou
... more >>
New Solution
Posted by Lou at 9/26/2007 5:47:22 PM
I want to create a Solution that has 2 projects.
The solution is named MySolution.sln and the projects are named
MyProject1 and MyProject2.
How do I do this like a C++ has a workspace with multiple projects in them?
-Lou
... more >>
Web services and incorrect handling of time zones in DateTime
Posted by nightwatch77 at 9/26/2007 5:42:14 PM
Hi, does anyone know why .Net incorrectly handles time zone conversion
when passing DateTime through web services? The problem is that it
seems to ignore the time zone part. My time zone is CEST, that is GMT
+01:00 + daylight saving. And the web service handles datetimes
correctly provided that ... more >>
Another can't send email post, pls help
Posted by Bistro1 at 9/26/2007 2:23:07 PM
Subject 'test', Account: 'pop.east.cox.net', Server: 'smtp.east.cox.net',
Protocol: SMTP, Server Response: '250 OK', Port: 25, Secure(SSL): Yes, Server
Error: 250, Error Number: 0x800CCC7D
Above is the message I get.
Thanks,... more >>
DropDown List from DataConn
Posted by Jack NO[at]SPAM scu at 9/26/2007 1:14:03 PM
I know there are several steps envolved in establishing a connection to a DB
and then creating a DropDown List from Sql.
I am using Visual Studio 2003 7.1.3088 and I am trying to connect and create
a drop down list from a table.column in the db.
Could you point me in the right direction fo... more >>
Problem with programmatically adding combo boxes
Posted by cdmunoz at 9/26/2007 12:23:04 PM
I have created a sub routine to programmatically add an indefinite number of
combo boxes to a form. The combo boxes are bound in code to a view for
displaying the available options. This routine works good until you add the
second combo box. At that point it changes the first combo box's se... more >>
deleting messages on oulook express
Posted by laurie gindi at 9/26/2007 11:36:10 AM
I have no deleted messages in my deleted folder, and i am completely unable
to delete any message. please help
--
lgindi... more >>
Is Mutex Owned?
Posted by Lamont Sanford at 9/26/2007 11:03:40 AM
Given an object of type Mutex, what method or property should be called to
determine if it is currently owned?
I could call WaitOne(0,false) -- and if the return value is false, I could
deduce that the Mutex is already owned... but this has the unwanted side
effect of seizing ownership of t... more >>
Dual Boot with two SATA HDD
Posted by D. Payne at 9/26/2007 9:30:09 AM
I had a preloaded XP 32 on SATA HDD from DELL. I added a new SATA HDD to the
system to install XP 64. The PC has no floppy drive and when running the OEM
x64 CD, no disk drives were found (no SATA drivers - I'm guessing). I put the
SATA HDD in a different DELL machine and X64 installed just ... more >>
NtBackup error invalid drive or no access & specified media not fo
Posted by hmatthews at 9/26/2007 8:54:04 AM
Hello,
I have three servers that exist in a DMZ and I use the Kanguru data bank
(external hard drive) as the place to store the data. There are two drives
and I have 156GB free space on one drive and 212GB of free space on the
other; the file system is NTFS and it's attached via USB to ser... more >>
How do I convert an IPv4 addres to IPv6 in C#?
Posted by Valerie Hough at 9/26/2007 7:58:45 AM
My app has so far only encountered IPv4 addresses and I use:
Dns.GetHostByName( "someOtherComputer", portNumber ).AddressList[0].
Can someone please point me to an example of how to turn this into an IPv6
address?
Thanks in advance.
Chris Hough
... more >>
Put COM dll in GAC?
Posted by Curious at 9/26/2007 7:16:01 AM
We have a .NET program that interacts with a COM+ program.
The installer of the .NET program puts the .NET assemblies in GAC.
However, the installer of the COM+ program also puts the COM .dll file
in GAC.
I believe GAC is a storage for .NET assemblies, but not for COM .dlls.
Therefore, the ... more >>
How to Filling resource files at run time
Posted by Gururaja KS at 9/26/2007 5:04:04 AM
How to fill "Name , value" pairs in resource file (.resx) at runtime?... more >>
Missing Deprecated Warnings
Posted by David at 9/25/2007 7:35:42 PM
When I did some trial conversions of a .Net 1.1 c# web app earlier this year
I got the expected Deprecation warnings, e.g. for
Page.RegisterStartupScript. Now I am doing the real conversion and the first
thing I notice is that I am not getting any warnings, even though the
Page.RegisterStart... more >>
Connecting to Cisco VPN from Windows Mobile
Posted by MJSViking at 9/25/2007 7:32:05 PM
It looks like one should be able to connect to a Cisco VPN using the native
Mobile 5 IPsec connection option. Alas, I cannot get it to work and web
searches turn up multiple messages where others have had the same problem. I
even found one where the poster mentioned the Cisco 3000 concentra... more >>
.net 2005 convert from VB to c++
Posted by Galil at 9/25/2007 3:52:25 PM
I have a subroutine I need to convert from vb.net 2005 to visual C++
( .net 2005)
The function only allows specific characters to be typed into a
textbox. the backspace and 0 -9.
Private Sub textbox1_KeyPress(ByVal sender As Object, ByVal e As
System.Windows.Forms.KeyPressEventArgs) Handles T... more >>
Monitor display
Posted by Brian at 9/25/2007 2:28:14 PM
The active desktop won't display properly on my monitor. Both ends are
"cut-off". Part of the icons are obscured and the left and right sides of the
tool bar are also "cut off". It seems as if the display is in widescreen but
the monitor is in 4:3 aspect. I've tried changing the resolution and... more >>
memory usage
Posted by RedLars at 9/25/2007 1:49:10 PM
Read somewhere that using TaskManager to monitor a .NET (version 1.0)
application's memory usage might not give the most accurat result. Is
this true? Would perfmon be a better application for such task? What
properties within perfmon would yield the most reliable indication of
memory usage? May... more >>
Formatting Characters
Posted by Techno_Dex at 9/25/2007 1:21:14 PM
I some how hit some magicall key combination which turned on some annoying
formatting in the IDE and I'm not sure how to turn it off. Everywhere there
is a space character in the text editor, a dot shows up (a period only in
the middle instead of at the bottom). Everywhere there is a tab cha... more >>
if anybody can help?
Posted by 1Little-Star1 at 9/25/2007 11:02:00 AM
Im having a problem on msn live people are not seeing me online when they
add me and if i add a new contact to my list it deletes it after i log out of
it what would i do this thing is full of bugs.... more >>
Outlook Tasks
Posted by Rhonda at 9/25/2007 6:38:00 AM
Is there a way to create one report of all the tasks assigned by different
views? I'm trying to send a report that will depict all the tasks I've
assigned either by simple list, detailed list, assignment, by person
responsible, etc. I can't find a way to do this, HELP!
Rhonda... more >>
Select File Dialog
Posted by Pure Heart at 9/25/2007 12:04:01 AM
hi
i want the user when he opens the dialog for selecting file i like it to
open in specific network path and he cant change the path to another folder,
haw can that be done
--
Ammar S. Mitoori
IT Head QIMCO Co.
Tel : +9744831199
Mobile : +9745378400
Fax : +9744831643... more >>
moving files and retriving them
Posted by Pure Heart at 9/24/2007 11:42:03 PM
hi
i have an application that allow users to attch documents to records, what i
like to do is when user select a local copy of the file i like it
automatically be moved to a specific path on the network, and put it in a new
folder or an existing one,
--
Ammar S. Mitoori
IT Head QIMCO C... more >>
Application update
Posted by Marco Biagioni at 9/24/2007 11:00:18 PM
I'm trying to update my program to manage bitmap file written in vb 6.0
For bmp files accessing i used functions like those...
Open NameBmp For Binary As #1
Get #1, 11, pixelOffset
Get #1, 19, w 'Width
Get #1, 23, h 'Height
declaring
dim w as long
dim h as long
dim ... more >>
Problems Installing Visual Studio 2005 Trial Help Files
Posted by Keith Russell at 9/24/2007 10:12:40 PM
Hello, all.
I recently downloaded and installed the Visual Studio 2005 trial.
For whatever reason, the documentation didn't get installed along
with the application.
I loaded the DVD again and found an option to modify the MSDN
documentation. I chose to install the complete documentation,... more >>
do release builds have the same amount of info in exceptions? e.g. will exceptions cought in release builds contain stack trace etc.?
Posted by Daniel at 9/24/2007 4:00:16 PM
do release builds have the same amount of info in exceptions? e.g. will
exceptions cought in release builds contain stack trace etc.?
... more >>
.net 2.0 and my application DLL
Posted by John Scott at 9/24/2007 3:40:01 PM
Hey there,
Can anyone please refer to some good article about creating a WebSetup
project for a .NET 2.0 application.
Right now I add a new WebSetup project to an existing web application and
when I've added the "Project Output" from my main application to my WebSetup
application....bas... more >>
no incoming messages
Posted by Lee at 9/24/2007 2:02:12 PM
I have a new Outlook Express account. I can send email, but not receive
email. Asked repeatedly for the password, then error that password is
rejected. I have checked tools,accounts,mail,properties,servers. All seems
correct. I have deleted the identity and created a new one. Same story. Any
... more >>
|