Home All Groups Group Topic Archive Search About

General .NET discussion

microsoft.public.dotnet.general
Score system.net.mailmessage not sending until application exits - why?
InnoCreate - 24 Feb 2007 11:54 PM - 5 messages
Hi Everyone, I've added an error handler to some code and as part for the routine it logs to the application log and then sends the administrator an email. For some reason this email isn't actually being sent until the ...
Score Problem because of MSXML update
vibhav_agarwal - 24 Feb 2007 7:36 PM - 2 messages
Some folders are getting created automatically in my laptop. Names of the folders are some random numbers. I searched and found that it is because of MSXML updates. I accidently moved one of my work folder inside this randomly generated ...
Score CancelEdit in BindingSource
BD - 24 Feb 2007 6:18 PM - 7 messages
Hi, I have a "Cancel" button on a form to cancel any changes in the current item with the code BindingSource1.CancelEdit but this don't restore the older's values that had been changed. The BindingSource.DataSource is a type of BindingList<MyClass>. What's I'm ...
Score Compatibility issues installing a program under Vista 64
samlongden - 24 Feb 2007 4:04 PM - 2 messages
Hi, I am running Vista Home Premium 64, and am trying to instal a game Supreme Commander, however upon trying to run the setup.exe I get the following error: The version of this file is not compatible with the version of Windows you'r ...
Score Logon screen for XP Pro
KB-1 - 24 Feb 2007 3:14 AM - 3 messages
I'm the only user of this computer.  It is my home computer.  I updated Windows today and it turned on my Login screen that I had a friend disable for me.  I have tried a system restore and I have tried removing the updates ...
Score I believe I have found a bug in CLR 2.0 (System.Runtime.InteropServices)
johnxhc - 24 Feb 2007 2:48 AM - 2 messages
I have the big application, it has C#, VB.NET, VB6 & VC++ components, those components calling each other, passing the objects between the managed & unmanaged layer. The application crashes in one operation scenario, the crash is caused by the following: ...
Score Local variables in C not sticking around in loops? VS.net 2003 problem
kristersaurus - 24 Feb 2007 12:54 AM - 2 messages
Hi. I've got this really weird problem going on in visual studio.net 2003 where , within a function, i declare a variable, but when i try to access it within a loop the compiler says it is undeclared. The ...
Score get ip
Jeffry - 23 Feb 2007 11:07 PM - 3 messages
I want to get IP address from pc where applications or web page is running. How can I get it? Is there anyone who knows about it? thanks ...
Score ProgramData folder
Mikhail Golovnykh - 23 Feb 2007 6:31 PM - 2 messages
Hi, I need my program to save settings somewhere (.NET 2.0, Vista, XP). These settings should be common for all users. I am going to save settings to Environment.SpecialFolder.CommonApplicationData folder (which is c:\ProgramData under Vista). I am going to create a folder <ProgramName> ...
Score SerialPort: How do I time the arrival between characters on a serial stream?
Jamie Risk - 23 Feb 2007 4:39 PM - 5 messages
I'm trying to implement a protocol that has a concept of a GAP timer in the serial stream; if two properly framed characters are spaced in time by so many milliseconds or longer, there is an error. So far I'm looking at using the SerialPort.DataReceived event. ...
Score simple question about forms
Anon.Programmer - 23 Feb 2007 4:02 PM - 2 messages
Hello, I'm new to programming C# in visual studio. I have a form A and when button B is pushed it calls form C. Is there a simple way to disable form A until form C is exited. I know it can't be hard because ...
Score Windows Exp Hangs-Event View ERRORS
Sandy S - 23 Feb 2007 2:37 PM - 6 messages
Please help!!!  My Windows Explorer hangs up and I cant seem to fix this.  When I try to turn on my external hard drive or begin to copy to this, my pc definitely does NOT like it.  It also (at times) can just hang up when I am ...
Score Default energy options in Windows XP
Laura Pradère - 23 Feb 2007 1:39 PM - 2 messages
I have a desktop ant its energy options say to switch off frequently. I would like this PC to be always on. I can change the energy options if I am an administrator user for a certain user but, Which are the energy options the ...
Score Is a process a .net process?
Mario Beutler - 23 Feb 2007 12:55 PM - 3 messages
How can I check if a process a .net process or a "normal" win32 process? Mario ...
Score How to change code during debugging
JM - 23 Feb 2007 8:34 AM - 2 messages
Hi, I used to chage my code during debugging with Visual Studio 2003, but now with Visual Studio 2005 I am not able to do it. I have been looking how to configure Visual Studio 2005 to allow me change ...
Score Saving Files
Richard Thomas - 23 Feb 2007 8:08 AM - 6 messages
When I send a file to the recycle bin there is a message "Are you sure...."  So I get a second chance.  If I accidentally close a file in Word or Excel, I lose the lot without a second chance. Having just lost 5 hours work......  Is ...
Score Problem with Internet Explorer 7 running on windows vista
tonyzion2 - 23 Feb 2007 1:27 AM - 2 messages
hi all..i hope anyone can help me..  i bought my laptop this month with windows Vista preloaded, and i have a problem with internet explorer 7, sometimes when i try to scroll down on a page the window minimizes. this ...
Score XmlDocument.Load() crashes designer but works anyway?
DanThMan - 22 Feb 2007 11:28 PM - 5 messages
The following code works when I debug and when I install the software and run the .exe, but if I try to open the form in the designer (which causes this code to run), I get an error: Private Sub LoadTestSettings() ...
Score enumerate an OU with asp using adsi need help
ssghill - 22 Feb 2007 10:02 PM - 4 messages
Okay all i'm new to the asp portion but fairly good with vbscript.  My problem is that I am trying to us an asp page to enumerate an ou.  The problem is when I us localhoston the intranet web server it works, but ...
Score How can I create a custom appender in Log4Net?
forest demon - 22 Feb 2007 8:31 PM - 3 messages
I need to be able to create an appender to direct output to a MessageBox. The API does not have a MessageBox appender like nLog does.  What would be the easiest way to do this.  The examples supplied with the ...
Score attachment need to show after subject field not on body of e-mail
mighty.mom - 22 Feb 2007 8:18 PM - 2 messages
i used to see any attached file in an e-mail i send out on a field labeled attachment after the subject field.  just recently though, when i attach a file, it shows in the body of my e-mail.  i don't like that.  how can i have ...
Score Internet Explorer 7 - not loading video's
AG1562 - 22 Feb 2007 5:55 PM - 5 messages
I am using Internet Explorer 7 and if I try to view a video (YouTube or similar) I get a messgage saying that I have either an outdated version of Macromedia Flask or Java is turned off. Java is turned on and even after I ...
Score create new windows user
RJVJ - 22 Feb 2007 4:32 PM - 2 messages
In windows XP on a stand alone computer, following the instructions provided by the Help program does not provide the correct instructions to create a new user.  After opening User Accounts in control panel I'm instructed to chose ...
Score Internet Explorer 7 - Tool Bar w/favorites
RLE in Minneapolis - 22 Feb 2007 2:07 PM - 3 messages
Is there some way to lock open the tool bar - file - edit favorites.  It closes every time I use it.  I tried clicking on lock toolbar but that didn't work. ...
Score ITunes will not open
Dee - 22 Feb 2007 1:41 PM - 2 messages
Hope you can help. I have installed and uninstalled itunes. Microsoft keep telling me "it is sorry for the incovienance but has to close". The apple people tell me to uninstall and re-install, but this doesn't work either. I ...
Score Simple Grid
Kristan - 22 Feb 2007 1:15 PM - 2 messages
Hi there, I need to render a simple 50x50 grid / table, each cell in the table should highlight when the mouse is hovering over it. The hard part is:  I really need to be able to tilt the grid, within the 3D ...
Score Works 8
manda - 22 Feb 2007 11:39 AM - 2 messages
I have a new computer running Vista. Works 8 installed ok but when I try to print the spreadsheet I get a message that tells me Works 8 has crashed and then it just closes.  Has anyone else had this trouble? and how do I fix it? ...
Score Form Not Respond To Mouse Click
moonie - 22 Feb 2007 9:11 AM - 6 messages
I have an msn style c# windows application with a form and panel on it. A news list is drawn from the database and dynamically added via labels, link lables during form loading. In this application at run time this list should be generated again as the filtering criteria ...
Score System Restore
Cobra57 - 22 Feb 2007 3:01 AM - 2 messages
My problem is system restore will run and restore points are created, but when I try to restore back to a earlier date, system restore starts, reboots my computer, and then I get the message that my computer could not be ...
Score excell
Manny G - 22 Feb 2007 12:32 AM - 2 messages
I have this enormous spredsheet of rates: on to I have the weigh on the column I have the states, on the center I have the rates according to the state and weight. because is so big, I created a drop-down from the STATE for me to pick the ...
Score media player 11
darren - 21 Feb 2007 11:11 PM - 2 messages
can anyone tell me why on wmp11 songs jump like old LP's please thanks ...
Score EXIF Properties, .Net and Digital Image Library
gdgass - 21 Feb 2007 9:57 PM - 2 messages
Hi, I'm in the process of developing an app to scan and archive photos based upon the EXIF/Photo Keyword property. One of the requirements is that the Photo's keywords be editable via Digital Image Suite 2006 Library . Then the app will look for a specific keyword, change the ...
Score SQL question
John Bailo - 21 Feb 2007 8:34 PM - 2 messages
Is there a way to select a whole row of fields as a single string? Such as: SELECT * AS [WHOLESTRING] From mydb.dbo.mytable ? ...
Score Regex.Matches Problem
JAul - 21 Feb 2007 6:31 PM - 6 messages
I am currently working on a project and need to get a return… even if that return is a failure. I must also add that I have no control over either the Regular Expression that will be used or the text file that will be parsed, ...
Score border line pt.
tyectk - 21 Feb 2007 6:29 PM - 7 messages
Is there a way to customize the border line size?  I'm looking to customize the line to larger than 1 pt., but smaller than 1 1/2 pt.  Please advise.  Thank you! ...
Score OT: Mashups - you've got to be kidding!
Bob Johnson - 21 Feb 2007 4:20 PM - 16 messages
I know this isn't .NET-specific (thus the "OT:" in the subject line) - but it's relevant to what we do as modern distributed system developers: So I'm hearing a lot of buzz about "mashups," "cloud based systems," ...
Score ? HOWTO: Dail a phone number using a modem in VB2005
@win - 21 Feb 2007 3:01 PM - 3 messages
Hello there, I need to write a little app that dails a number through a modem to alert a pager. I Dont really know where to start so i hope someone can help. I presume one would have to use the serialPort class, BUT THEN??? ...
Score Audi Distortion
Satya - 21 Feb 2007 2:44 PM - 5 messages
My PC crashed and I have installed windows XP SP2 again. Now audio is distored (it runs too fast) with all applications like Windows Media Player, Real Player, WIN DVD player, CD player. etc. What would solve this? ...
Score Error adding existing scripts to database project
Leon Mayne - 21 Feb 2007 2:17 PM - 2 messages
In a database project in VS2005 (not a datadude project), I need to add about 3,000 stored procedure scripts to my 'Stored Procedures' folder. I've dropped the scripts into the folder in my workspace, and I right-click the folder in ...
Score Generic classes, inheritance and polimorphism
Joaquin - 21 Feb 2007 2:08 PM - 4 messages
OK, this was hard to explain on a short title. Sorry. I have an abstract class (MustInherit) named Base, and a generic collection class named ColBase which can only take Base and derived classes as it's type. I also have an indefinite number of classes that inherit Base. I want to ...
Score Custom event handling for click of menu item.
trialproduct2004 - 21 Feb 2007 2:07 PM - 3 messages
Hi all, I am having application in whihc i am inserting menuitem dynamically. When i add menuitem to mainmenu, i want to pass extra parameter to eventargs. So what i did is derived class from eventargs and created my own variable into this class. ...
Score collection property and refresh the parent control
--== Alain ==-- - 21 Feb 2007 7:22 AM - 2 messages
Hi, I have a control which has a collection property. when an item of the collection property will be added, removed, and so on, i would like to refresh the control itself. Usually for that i use eventhandler in the set method of the property. ...
Score registry get 'error opening keys'on some software keys
maxdog301 - 21 Feb 2007 1:05 AM - 2 messages
XP home SP2. when I tried to reload software i am getting a error. went to the registry and tried to remove the key. get the 'error opening key'. most keys open some don't. right clicked went to properties that said i did not ...
Score auto scan
Mr. Will - 20 Feb 2007 11:13 PM - 2 messages
I just upgraded to Office Pro 2003....with Norton 2006. Every time I open a file, I get a message that the file is being scanned.  How can I stop this auto scanning....takes up too much time. ...
Score MainMenu, MergeOrder, and MdiList missing in Visual Studio 2005
Fir5tSight - 20 Feb 2007 4:42 PM - 3 messages
Hi, I'm experimenting sample code created in Visual Studio 2002 (or 2003) in my Visual Studio 2005. However, I can't find the following in VS 2005: - MainMenu control in Toolbox; - MergeOrder property for a menu; - MdiList property for a menu. ...
Score pdf text to dot net page
JoanneB - 20 Feb 2007 4:35 PM - 3 messages
I have a big document that is currently a pdf. I am turning it into a web page so users can fill it out online, print and enter a record in our tracking database, all at once. Here’s the problem: I thought I could re-create the form in dot net by using ...
Score Windows Live Sign -in
pushing67 - 20 Feb 2007 4:29 PM - 4 messages
Finally figured out how to use Windows Live but every time I sign-in I get a box with the message "There was an error during sign-in" and the admonishment to "Try Again" yet everything seems to work. Anyone know what's up? ...
Score Game
Anthony - 20 Feb 2007 3:47 PM - 8 messages
Hi i've got war and peace 1796-1815 and it installs correctley but when I double click the icon and press play it dont nothing after that and it works on my dad pc fine,how can I fix this problem and my directx is working fine. ...
Score asp.net 2003 to 2005 conversion problem
BigAl - 20 Feb 2007 3:30 PM - 3 messages
This html code snippet did not convert.  The error msg is: "</asp:Image> has no matching start tag in the same template".  As you can see, there is a starting tag. The function GetProperBmpFile is being called in a c#.  It is ...
Score Excluding CTRL-C key stroke
Dave - 20 Feb 2007 3:05 PM - 6 messages
In ASP classic is there a way to prevent copying of the web page by preventing the use of the copy command through CTRL-C. What is the code that would need to be inserted. Thanks! Dave ...
Score ThreadID versus ManagedThreadID
herbert - 20 Feb 2007 10:52 AM - 2 messages
the .NET 2.0 documentation recommends to use Thread.CurrentThread.ManagedThreadId  instead of deprecated AppDomain.GetCurrentThreadId. The VS.2005 debugger's Thread window however displays only the AppDomain.GetCurrentThreadId. How do I get a  Thread.CurrentThread.ManagedThreadId column in the debugger ...
Score browser display frames error message ie7
SCS - 20 Feb 2007 9:39 AM - 2 messages
your user browser dose not support frames or is curruntly configered not to display fames upgrade.   How do i configer to display frames as it only hapens on some sites . os winxp sp2 ...
Score xp can access vista but vista cannot access xp
Paul Hayes - 20 Feb 2007 2:07 AM - 2 messages
I currently have a XP network and I just purchased a laptop running vista premium and after trying to network my new laptop to my existing network all I get is access denied and to contact my admin. I did install the LLTD patch ...
Score Is this possible with office and .net
Chris - 20 Feb 2007 1:44 AM - 2 messages
Hi, My users tend to reuse the same charts for their presentation. Is it possible to make these charts dynamic (connect to datastore) and then make them as reusable component so that when they have another presentation they just insert the component(s) and print? ...
Score Update Message
Katya344 - 20 Feb 2007 1:36 AM - 2 messages
I keep getting an Update Message pop up on my screen all the time. Every few minutes at times. There isnt a day it hasnt come up. It doesnt tell me what I am updating or anything and nothing happens when I hit the yes button. What ...
Score Cannot install printer
Book2047 - 19 Feb 2007 10:48 PM - 3 messages
I am stumped.  I lost my printer about a week ago and cannot reinstall it.  When I try it tells me that the specified print monitor cannot be found.  I have a Dell computer with Windows XP and a Dell Photo Printer 720.  Any help ...
Score .NET Runtime 2.0 Error Event ID: 5000
msdnPMR - 19 Feb 2007 9:13 PM - 4 messages
My .NET Windows Application is installed on over 350 computers. I am using ClickOnce to deploy/update the application. I have (1) one computer that the following error occurs when the application starts. I have tried repairing/reinstalling the .NET Framework, Removing/Reinstalling my ...
Score Write protected CD`s
Ray Spence - 19 Feb 2007 7:50 PM - 3 messages
I am trying to write to a cd, but when either I try to save, I get the message `Word Cannot save or create this file. Make sure that the disc you wat to save the file is not full, write protected or damaged`  Well my SCd is ...
Score CD-RW
Ray Spence - 19 Feb 2007 7:41 PM - 2 messages
Iam a beginner at computers and I am having trouble writing to a CD-RW disc.  When ever I try and write the reply comes up `The file is read only`, can you please tell me how I can write to a CD-RW please, ie top format the disc. ...
Score Return pointer-array to vb.net class or any better idea?
Nip - 19 Feb 2007 7:13 PM - 2 messages
Hello eyerybody I have got an array of objects of the same class. These objects might be for example visible or not. Because of the performance I donot want to check these properties with select...case. I would solve this using an array of ...
Score Windows XP reboots before fully loading
Jim S. - 19 Feb 2007 6:25 PM - 2 messages
My computer is not loading completely.  The blue screen appears right before the profiles show up and then it reboots.  I have tried loading in safe mode, but that does not work either. 2 pieces of background info.  ...
Score Problem in IE6 ( Windows 2000 Pro. )
jerrymack - 19 Feb 2007 2:53 PM - 3 messages
Page content overlaps, text is too big or too small and page too wide. ...
Score real time status
Michael de Vera - 19 Feb 2007 1:45 PM - 6 messages
To all, Not sure on how to approach this but what would be the best practice in showing status of a query that does an aggregation or count of some sort.  if I were to have a sql statement that does select count(c1) from t1 how would I ...
Score Unknown attribute
calper46 - 19 Feb 2007 9:47 AM - 2 messages
I keep getting pop up warnings as follows: 'Unknown Attribute. Changed from 64 to 62' or 69 to 68.  Always seems to be a change to a lower number.  This can appear in any program but more often when on the internet.  MS Knowledge ...
Score marking method or property as depricated
lucky - 19 Feb 2007 9:37 AM - 3 messages
Hi guys, i want to mark some of my methods and properties as DEPRICATED. is it possible to do that? and if possible, then how would i do that? i would appricate any help. Lucky ...
Score [COM+] and ADO.NET
Oriane - 19 Feb 2007 9:30 AM - 7 messages
Hi there, any hint to help me making the choice between COM+ and ADO.NET to connect to at least two Oracle databases ? Thanks ...
Score Cross references and GAC
Oriane - 19 Feb 2007 9:20 AM - 3 messages
Hi there, I'm involved in a quite big project in C#/NET 2.0, with at least 50 VStudio 2005 projects.We don't use the GAC, and we tackling with all the DLL references is messy. We often don't have the right version of the ...
Score How to make Global Change to MS Document?
Muhammad Nasir Waqar - 19 Feb 2007 7:28 AM - 2 messages
Dear All, I have 3000+ MS Word doucments in a folder and want to insert a header (image file) and a footer (some text) to all of these documents. Is it possible to write some script (VBA?) and have it insert the headers/footers to all the documents automatically? ...
Score Opening pdf Links in IE7
Trisha - 19 Feb 2007 7:07 AM - 2 messages
All my pdf links worked fine until I installed IE7 Does anyone know how to open pdf links in IE7?  I just get blank pages tia ...
Score Sample web-Based Employee Login and Logout Application
G - 19 Feb 2007 6:47 AM - 2 messages
Hello Friends, Can i find any sample free webbased-application for employee login and logout timing. Thanks in Advance Appreciate for your Help. Thanks G ...
Score does anyone see what is wrong with my .gif download logic? no matter what image url i try it downloa
dr - 19 Feb 2007 6:23 AM - 2 messages
does anyone see what is wrong with my .gif download logic? no matter what image url i try it downloads a junk file that can't be opened in any paint program. System.Net.WebRequest myRequest = System.Net.WebRequest.Create(url); ...
Score Windows and Forms
Allen Maki - 19 Feb 2007 5:34 AM - 2 messages
Hi Everybody, I need your help. I have MS Visual Studio .NET 2003.  I noticed that if I added a context menu to a form.  It will not work, unless you add the line: This ->ContextMenu = this->contextMenu; ...
Score To Gui.dll or not to Gui.dll
n_lloyd - 19 Feb 2007 2:58 AM - 2 messages
Hi all, I'm designing a Winforms application. I'd like to know if people would recommend placing all the Windows forms for the application in a DLL i.e. GUI.dll or break down the 'modules' of the application and place the win ...
Score Word + pictures
Jude - 19 Feb 2007 2:50 AM - 2 messages
I am running Microsoft Office XP Professional on a PC.  I am writing a business report in Word and have created a picture for the front cover in Photoshop which I have saved as a jpeg file.  I have successfully imported the picture ...
Score Liberal Hypocracy
Victor - 19 Feb 2007 1:48 AM - 4 messages
"Antibush"wrote... Bill Clinton invaded Bosnia, Somalia, Kosova, Haiti (for "regime change" - get it?), Sudan (remember when he bombed that aspirin factory?) and started the war in Serbia. Bill Clinton bombed Iraq (remember Operation Rolling Thunder?), Afganistan, and a few ...
Score MSXML 4.0 SP2
Sue - 19 Feb 2007 1:06 AM - 2 messages
I am a computer dummy needing to ask a question.  Could someone please tell me what "MSXML 4.0 SP2" is?  I get the message to update this, but as with everyone else it seems, it continues to send the message again and again ...
Score No active mixer devices and CD drive playing up
dave.hardy - 18 Feb 2007 4:38 PM - 3 messages
Hi, there have been loads of posts about this problem on loads of forums and I have tried everything suggested (except the stuff I’m not comfortable with like deleting drivers and reg. edits). I have an HP Pavilion dv2130ea laptop computer with XP media edition and sp2. ...
Score stop error codes
tired of re-formating - 18 Feb 2007 4:06 PM - 2 messages
i've had my computer for 1 week and i've already had to re formate 4 times. I keep getting a KERNEL_DATA_INPAGE_ERROR The bugcheck is (0x0000007a (0xe15a48e8, 0xc000000e, 0xbf914cd9, 0x148a3860) in Win32k.sys where 0xC000000E  i looked up this error and i don't understand ...
Score Export to Excel issue...
karthick - 18 Feb 2007 10:20 AM - 2 messages
Hi, I am exporting a Gridview to Excel and it works fine without any issues. But as one of the field holds values such as "71646E100" it gets converted to: "7.16E+104" (like a formula) in Excel. How can I prevent ...
Score Finding Font File Name by FontName in Windows Vista
BL - 18 Feb 2007 10:09 AM - 6 messages
Hello friends In c# 2005 I have written a function to access "font file name" by "Font name" and it is working fine in all the windows version other than vista, in vista it is throughing an error so please help me how can i access font ...
Score how to get the System.Drawing.Point of FormStartPosition, e.g. if i want to recenter the form on the
dr - 18 Feb 2007 5:24 AM - 2 messages
how to get the System.Drawing.Point of FormStartPosition, e.g. if i want to recenter the form on the screen at some point other then startup. ...
Next »