|
tech
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
General .NET discussionmicrosoft.public.dotnet.general
Best Unit test products?
David Levine -
3 Jun 2006 8:45 PM - 8 messages
Hello, I want to get information on unit test and related (e.g. mock object) products available for managed code. What products are available and what do you think about them? Which are the best, which do you recommend, strengths ...
connection pooling problem
Dan D. -
3 Jun 2006 2:52 PM - 3 messages
Let me say first that I don't know much about .NET. We inherited an app from a group of developers and we have a second group of contractors working on the app. The first group set min=100 in the config file. Since there will ...
Too much code in Form
Nathan Smith -
3 Jun 2006 2:37 PM - 2 messages
I am writing a large and complex sub procedure in a form, and when there is a certain amount of code or more I receive the error 'Common Language Runtime detected an invalid program' when it reaches this sub procedure ...
Getting and changing file Summary information
Hiten -
3 Jun 2006 12:13 PM - 5 messages
Hi, I am trying to find a way to get and change file summary information. I tried using FileInfo class, but it doesn't give me information such as "Author,Title,Rating" etc. Is there a way to get and change these information ...
.net remoting. broadcasting server event
Anthony -
3 Jun 2006 12:04 PM - 2 messages
i'm a newbie to .net remoting. I want to broadcast server event to client using .net remoting. I tried a few samples but they works only on Same machine or Lan environment. - Is there any working sample that works in internet environment? ...
FormView Insert
Howard -
3 Jun 2006 9:40 AM - 2 messages
I use FormView and ObjectDataSource to take user inputs in adduser.aspx page i have <asp:ObjectDataSource ID="ds1" runat="server" TypeName="datapage" InsertMethod="addstudent"> and in my app_code foler i have a method that looks like public static void addstudent(...) ...
fibbonaci series a simple quetion
nasirmajor -
3 Jun 2006 6:50 AM - 4 messages
dear alls, i have a simple (not for me) quetion for c# or vb.net programmers. i want a user to give any number and a programme prints a fibonacci series for that number.thanks ...
UPDATE statement changes all the records in the DB
Antonio -
3 Jun 2006 5:31 AM - 4 messages
Can somebody tell my why the following procedure changes the data in the fields being updated to all the records in the database? private void updateRow(object source, System.Web.UI.WebControls.DataGridCommandEventArgs e) { ...
Using XSLT for sending emails
Nick -
3 Jun 2006 4:27 AM - 2 messages
I am working on a website for a client and one of their requirements was to have a mailing list. I decided to XSLT to transform "templates" to HTML so that editing was very easy and less time consuming. I keep getting the ...
Need to fire event AFTER a control is resized.
Matt Fielder -
3 Jun 2006 2:37 AM - 6 messages
I have a control that the user is able to manually resize --- and it works great. The problem is I need to handle something when the control is done being resized, but not during the resize, so just putting what I need in the ...
exit sub in SyncLock
Perecli Manole -
3 Jun 2006 12:38 AM - 2 messages
Can an Exit Sub statement in a SyncLock block cause any problems with the proper release of the locked resource or affect the Monitor's waiting queue in any way? Thanks Perry ...
image manipulation
Joseph O'Brien -
2 Jun 2006 9:37 PM - 3 messages
I'm a novice programmer learning mostly on an "as-needed" basis. I have basic skills in C# .NET, but have access to the entire Visual Studio .NET suite. Basically, I need to put the following text at the bottom of about a ...
Methoology for data changes being tracked
Ronj -
2 Jun 2006 8:34 PM - 2 messages
I need to be compliant with law that keeps a history of changes to tables as records are edited. What is the best way to do this ? I was thinking a SQL trigger on each table that writes to another change table on update (seems a ...
Too Much Code
Nathan -
2 Jun 2006 7:31 PM - 4 messages
I am writing a large and complex sub procedure in a form, and when there is too much code I receive the error 'Common Language Runtime detected an invalid program ' when It reaches this function. deeznuts***@excite.com ...
Documenter for .NET 2.0 XML Comments
Mr.Underhill -
2 Jun 2006 4:53 PM - 3 messages
As far as I know NDoc doesn't work with .NET 2.0 (generics, and others). What tool should I use to generate documentation? I don't care if is a vendor tool, as long as it produces similar output like NDoc. ...
Framework 2.0 MSI Package
AviD -
2 Jun 2006 3:39 PM - 3 messages
We are looking to install .NET Fraework 2.0 on our users' machines. I know there's an MS EXE self extracting file. Is there also an MSI files we can use through Active Directory? ...
Difference between .net2.0 redist and IDE?
Soundman32 -
2 Jun 2006 3:38 PM - 4 messages
I have written a program that runs fine when launched from a PC with VS2005 installed, but crashes when launched on a PC with just the redistributable installed. The message is the standard dialog box '..has encountered a problem and ...
File Protect
ntuyen01 -
2 Jun 2006 3:03 PM - 2 messages
Hi All, I my project i have 10 files, people can go iview files # 1 to 8 as free. But on file # 9 I just want some certain group of people to get in and same as file # 10 i just want some other group of people to get it. How ...
Edit records and UPDATE statements
Antonio -
2 Jun 2006 3:00 PM - 4 messages
When I try to update a record, I get: Specified argument was out of the range of valid values. Parameter name: index Exception Details: System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. Parameter name: index Source Error: ...
Unable to capture absolute paths with Drag and Drop
JeffDotNet -
2 Jun 2006 2:47 PM - 4 messages
I wrote a small data processing application that writes a summary of several hundred files. I use drag and drop on a panel (Panel1) to grab the absolute path to each of these files. Then I begin analyzing all of ...
&& question
Antonio -
2 Jun 2006 1:55 PM - 3 messages
Good morning, everyone, I have a textbox and a radio button and I am trying to run an IF statement to check on the content of the textbox AND if one of the radio buttons is checked and everytime I use the && it tells me "Invalid expression term ...
threading - Monitor.Wait/Pulse
Perecli Manole -
2 Jun 2006 1:28 PM - 13 messages
I am having some strange thread synchronization problems that require me to better understand the intricacies of Monitor.Wait/Pulse. I have 3 threads. Thread 1 does a Monitor.Wait in a SyncLock block protecting a resource. Thread 2 and 3 also have a SyncLock block protecting ...
C++ to C#
Josh -
2 Jun 2006 11:21 AM - 3 messages
Is there any way convert an entire C++ solution to C#? ...
migration single processor to dual processor problem with threadin
Michel Meex -
2 Jun 2006 9:11 AM - 4 messages
Hello, I have an application, that has been running on a single processor server for more then a year without any problems. Now I'm migrating to a dual processor server, and I'm experiencing problems with threading. The application is actually a kind of job schedular. For all jobs, I can set ...
Detect application start
Marius Groenendijk -
2 Jun 2006 8:53 AM - 2 messages
Hi NG, I would like to implement an app that would intercept application start and possibly interrupt its startup (or kill the process immediately). For ex. see if Sol[itaire].exe is being started and stop it. So the question is: ...
Custom Action failed to launch under AD push Install
Eric -
1 Jun 2006 9:46 PM - 2 messages
Our .Net installation project includes a custom action that is launched post install. When the msi is run from a desktop, all is fine. We tested an install doing an Active Directory push to client machines and it failed. ...
Signing the manifest with pfx file
Sajan -
1 Jun 2006 8:38 PM - 2 messages
Hello, I have the Microsoft Authenticode certificates (PKCS #7 Certificates, .spc and .pvk files) acquired from Verisign. How do I use this certificates to Sign the manifest for ClickOnce deployment. IDE accepts only .pfx files. Importing in Internet Explorer and exporting back doesn't seem like an ...
config .net framework 2.0???
Brad Pears -
1 Jun 2006 6:40 PM - 3 messages
We have installed the .NET framework ver 2.0 on an XP Pro machine. It did not install any icons anywhere - (and believe me we have looked everywhere) for configuration as it does when you install the ver 1.0 or ver 1.1 ...
Does .Net still work with, and allow you to create, USERCONTROLS???
Alan Mailer -
1 Jun 2006 5:11 PM - 2 messages
Having just completed creating my first UserControl in VB6, it has (foolishly) just occurred to me to ask whether UserControls are still used in the .Net world. In other words, have I just created a control, and learned a new facet ...
How do I delete a solution?
Tom C -
1 Jun 2006 4:02 PM - 2 messages
In the visual studio IDE, how do I delete a whole solution using Solution Explorer? I can delete the projects in the solution, but not the solution itself. ...
IDE annoyance
dmm -
1 Jun 2006 2:13 PM - 3 messages
Hi all, I make extensive use of the Command Window while debugging, however, recently I have a Greater Than sign before the caret. It seems to give me access to the same shortcuts that are mapped to keyboard shortcuts, e.g. ...
Exceptions and Code Obfuscation
paulo -
1 Jun 2006 11:15 AM - 2 messages
Hello, We're developing a Windows Forms application and we log any exception that may occur during execution to a file. This file can be sent to us by our customers so we can identify common bugs faster. Problem is, if I ...
QUERY: VS2003 + .NET 2.0
Dhruba Bandopadhyay -
1 Jun 2006 10:34 AM - 3 messages
Am wondering if it's possible to make VS2003.NET work with .NET2.0 SDK? Just as we were able to use VS7.1 compiler kit in VS6.0. My company bought lots of VS2003.NET but now we want to use .NET 2.0 but without using VS2005 ...
Backgroundworker & Pausing
elziko -
1 Jun 2006 10:02 AM - 3 messages
Is there any way I can suspend a System.ComponentModel.BackgroundWorker to enable me to provide pause functionality? TIA ...
Image File Not getting Deleted (IO Exception)
Aryan -
1 Jun 2006 8:30 AM - 6 messages
Hi All, I am creating an image(.gif) file on server Using ASP and ShotGraph Third Party Tool, now with the help of this .gif image I am creating another Thumbnail image in ASP.NET. Now this newly created Thumbnail is been shown in ASP.NET page in ...
How to Fax on Demand
Jordan Richard -
1 Jun 2006 3:32 AM - 2 messages
I'm desigining and building a new system from scratch that will provide its users with the ability to send faxes on demand (amongst many other features). This new system will include a .NET 2.0 Windows Forms client with a SQL ...
Regular expression
Cylix -
1 Jun 2006 1:18 AM - 6 messages
I am going to write a function that the search engine done. in search engine, we may using double quotation to specify a pharse like "I love you", How can I using regular expression to sperate each pharse? test case: ...
Marshalling Data Question
PickwickBob3 -
1 Jun 2006 1:13 AM - 6 messages
I am trying to obtain a list of HID devices and am trying to use UINT GetRawInputDeviceList( PRAWINPUTDEVICELIST pRawInputDeviceList, PUINT puiNumDevices, UINT cbSize); ...
Edit and Insert With Single Template
Metal2You -
31 May 2006 9:07 PM - 2 messages
I have a FormView control that I'm using to edit and insert records in a table called Members in a Sybase database. The short story is that there are a LOT of controls, and the controls are exactly the same in both the EditItemTemplate and the ...
Serial Communications in ASP.NET
Franklin M. Gauer III -
31 May 2006 6:52 PM - 6 messages
Hi All, I've written an ASP.NET application (webservice) that does simple serial communications via the .NET 2.0 SerialComm object. The application runs fine on my development machine. The problem is when we try to deploy it to another machine we receive: ACCESS IS DENIED TO COM1 PORT. ...
Reflection issue
SalamElias -
31 May 2006 6:19 PM - 8 messages
I am trying to create a generic routine to create dynamically either Radio buttons or CheckBoxes. The RadioButton has the event "CheckedChanged" which doesn't exist in the CheckBox control. I tried to create the controls through reflection, then check if it has this ...
Newbie-best way to pass around data
Ronj -
31 May 2006 5:24 PM - 3 messages
I would like to pass around data between aspx pages. I understand Session vars should be minimized and may not scale without extra work. I thnk my options are: - Server.transfer -Response.redirect -Session variable -POST or Get with a form ...
Why I can't install .NET Framework v1.1 on WindowsXP with SP2
mmijic -
31 May 2006 5:18 PM - 2 messages
First of all my English is not too good so please try to understand me. Thanks I have a major problems with the installation of MS .NET Framework v1.1 on WindowsXP with SP2. Everytime I try to install it I get a popup with the ...
Extract Project from SourceSafe
Rick B -
31 May 2006 3:05 PM - 2 messages
After checking a project into sourcesafe how can i remove it from sourcesafe and use it outside as it's own independent project? ...
Plataform Agnostic
Max André Bündchen -
31 May 2006 2:02 PM - 3 messages
Hi, I'm starting a project that will work in many clients and a requiriment is a plataform agnostic system. The idea behind the project is a winform client based interface with a webservice communication middle tier. In .Net 2.0, it's very easy to develop and deploy for Windows. My question is about the initiatives to run complex .Net systems in ...
DirectoryServices Property Update
Davie -
31 May 2006 1:46 PM - 2 messages
I have the following code for updating the secretary field in AD using VB.NET 2005. However, I get a rather unhelpful 'Unspecified error' when i try to set the property. Any help would be greatly appreciated. Dim usr As New DirectoryEntry(personDistinguisedName, adminUserName, ...
Creating Classes
Herman Jones -
31 May 2006 1:31 PM - 2 messages
Using Visual Studio 2005, I'm trying to create a simple unmanaged C++ class that will be called from a VB application. I've got the class working using basic functions, but I'd like to overload the "=" operator so the VB app can ...
populating treeview
Mike -
31 May 2006 12:55 PM - 3 messages
Hi all, I have a dataset that contains following records: id ref_id level -------------------------------------- A - 0 ...
<<< State of the art web solution Online>>>
mae2x -
31 May 2006 10:37 AM - 2 messages
<<< State of the art web solution Online>>> WickedInnovations has an extensive working experience in E-commerce solutions, web site design , website development , graphic design , search engine optimization , database integration, multimedia presentations, corporate Identity and a lot more. ...
Silent install for SQL Express?
ljh -
31 May 2006 9:54 AM - 3 messages
If I develop a SQL Express DB for my app, how do I distribute SQL Express also? Is there a silent install for SQL Express (like for MSDE)? Also, how do I put my DB in the new SQL Express instance and attach to it ...
distributing Windows app
Scott -
31 May 2006 3:16 AM - 4 messages
Hi Everyone, I created a basic winforms app whose only purpose in life is to launch an HTML page on an installation CD. The winform app is launch.exe and is specified in the autorun.inf so it autoplays when the CD is inserted. ...
Seeking report component....
ljh -
31 May 2006 3:00 AM - 10 messages
Wasn't there a report component that you could use in a VB/VB.Net app that would allow end users to create thier own reports to save and run? I swear I remember seeing such a thing....but I can't remember the name..... ...
New class defaults
Eric -
30 May 2006 11:24 PM - 2 messages
When I create a new class in a project, I would like to have some additional using directives added by default. Also, I would like to have 'class' preceded with 'public' by default. I modified, what I thought were, the ...
reporting services - query from stored procedure returns one recor
andres -
30 May 2006 11:19 PM - 3 messages
hi all, thanks for everyone for your support! i have a report being built in studio 2005. It calls a stored procedure. The SP runs a query and gets a data set which then loops through to get other data. At the end the stored procedure cursor returns several data sets. ...
Open word doc from asp.net app?
CK -
30 May 2006 9:19 PM - 10 messages
Sorry for x-posting. I am really not sure where to post this question. Is it possible to open a Word document from a asp.net page? I need to pass parameters from a web form to a word document. Then inside Word I would need ...
Why choose SQL Express over Access?
ljh -
30 May 2006 8:22 PM - 75 messages
Why would you choose SQL Express (which requires an installed application to work) over the simplicity of an Access database which has no dependencies? ...
selectednode in Treeview lost when accessed by spawned Thread
Dean Hinson -
30 May 2006 8:03 PM - 2 messages
Hello, I am trying to spawn a sunroutine in a worker thread for populating a trreeview. I set the selectednode and then start the thread. However, the thread errors because the selectednode was found to equal "Nothing". Is there some kind of trick to get the threaded subroutine to see the ...
Regular expression in Infinite Loop
Bob -
30 May 2006 7:34 PM - 2 messages
The below regular express can sometimes cause an infinite loop. Anyone know what could cause this? string RegexSig = @"To:*\s*(?<address>\S+@\S+)*(\s|\S)*did not reach the following recipient"; Also shouldn't the framework have some type of loop protection? This will ...
venkatratnam(interiors) asking money
shun -
30 May 2006 5:49 PM - 2 messages
Hello sir, Interior decors(venkatratnam ) is asking money. His balance amount is 12,291.00 Waiting for your reply. ...
Creating ACCESS database
dave -
30 May 2006 5:21 PM - 2 messages
Hello: In Visual Studio 6.0 there is "VisData" to create Access database files. (file.MDB". Q: Does Visual Studio 2005 have tool(s) that create Access database files (file.MDB) ? thank you, dave ...
Is an inherited base object called an object's parent?
Stick -
30 May 2006 5:03 PM - 2 messages
In the .NET docs about implementing a Dispose() method to avoid costly finalization, the following confuses me: <Quote> Implementing a Dispose Method A type's Dispose method should release all the resources that it owns. It should also release all resources owned by its base types by calling its ...
How do I configure an ASP dot net app to restart every time it's run in debug mode?
newjazzharmony@hotmail.com -
30 May 2006 3:41 PM - 2 messages
I have noticed that when I run my ASP dot net application in debug mode and set a breakpoint in the Application_Start event, this event is not raised every time I run the project. Is there a way to configure the project so that the application ...
How can I write C# code that can pick up the custom events that occur in it's Access server?
keithgell@yahoo.com -
30 May 2006 2:18 PM - 2 messages
I needed to import large CSV files into Access, when requested by a command in a .Net interface. Because Access does not have a bulk insert command, and I already have vba macros in Access that do the import, I simply called the vba macro ...
problem with dropdown box
shun -
30 May 2006 11:26 AM - 2 messages
Hello, I am using a combo box/drop down box, in which i have 50 values, when i am clicking that combo box the values occupies horizontally whole screen and it looks odd, so, i want, when i click the combo box only 5 has to be displayed ...
How to catch this error
Howard -
30 May 2006 8:56 AM - 4 messages
A non-integer value is entered as student id /grades.aspx?studentid=1283128sdf Input string was not in a correct format. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information ...
How to add user control as treenode to a treeview
Carol -
30 May 2006 6:52 AM - 2 messages
Hi, I am working in C#, windows application.I want to know, How can i add a user control as a treenode to a TreeView control using C#. What are all the steps that i need to take in order to accomplish the above ...
inherite toolstrip problem
jincheng -
30 May 2006 6:06 AM - 2 messages
I add a toolstrip control on a windows form, set it's modifiers as protected. Then I add another form which inherited from the first one. But the property of the toolstrip on the second form is readonly. Why? ...
The most basic SQL Server questions....
ljh -
30 May 2006 4:39 AM - 4 messages
(sorry if this posts twice....I waited several hours and didn;t see it - so here it is again.....) Perhaps I am somewhat dense.....but, I still need to know..... What do you need to do in order to ship a SQL server Express or Developer ...
Questions on cryptography
Nerd -
30 May 2006 4:13 AM - 2 messages
I am trying cryptography in dotnet using the System.Security.Cryptography namespaces. I have a couple of questions 1. If I use SymmetricalAlgorithm RijndaelManaged as the algorithm and if I share the Key that I use with other applications that wants to decrypt ...
It seems to be the most basic questions that I don't see answered.....
ljh -
29 May 2006 11:30 PM - 4 messages
Perhaps I am somewhat dense.....but, I still need to know..... What do you need to do in order to ship a SQL server Express or Developer edition database with your Visual Studio .Net 2005 application? Does SQL Server Express need to be installed on the target machines? Or, ...
Get name of current property by reflection
Guido Kraus -
29 May 2006 11:24 PM - 2 messages
Hi, I wonder how to get the name of the currently executing property by using reflection in .Net 2.0 If I use System.Reflection.MethodInfo.GetCurrentMethod().Name from within a property I get something like "set_MyProperty" instead of "MyProperty". Is ...
Deleting non readable attribute from eDirectory - LDAP through ADSI/System.DirectoryServices
chat_devil -
29 May 2006 10:41 PM - 4 messages
hi, does anyone know if it is possible to remove an attribute that can not be read into the ADSI property cache/collection. i'm trying to do an eDirectory password change from .net directory services. eDirectory uses the "userPassword" property to change the ...
Sitemap and Response.Redirect
Gerhard -
29 May 2006 7:43 PM - 4 messages
I have an application that uses a navigation control based upon a sitemap. One of the nodes in the sitemap is <siteMapNode url="~/MyPages/Tasks.aspx" title="My Work" description="My Work" /> The application path is http://localhost/ScherzerPhase1 ...
appl: sample source code
shun -
29 May 2006 11:15 AM - 2 messages
Hello, I am going to design employee attendance regiter using ASP.NET, to track the employees login time, logout time with date, i.e user when access the site it asks for login details (user name and password). if it is correct user ...
OpenFileDialog throws "Illegal characters in path"
Shilpa -
29 May 2006 10:27 AM - 2 messages
Hi, I have a OpenFileDialog on my windows form whose filter is *.*. I want the users to be able to further filter the files by giving *.doc or *.zip etc in the "file name" field of the dialog (Just like it ...
Shape and Line
John -
29 May 2006 8:25 AM - 3 messages
Hi, I am beginner in .NET I can't find Shape and Line control in controls toolbar (that was in VB6). What am I missing? Thanks, John ...
Need C# coding for MD5 Algorithm.........
Charles -
29 May 2006 6:31 AM - 2 messages
Hi all, I need C# code for Implementing MD5 Algorithm.. Hope all would have heard of MD5 Algorith... Does any one have the C# coding for that Algorithm.. please Send... ITs URgent..... Thanks In Advance to all....................... With Regards, Sanjay.C ...
Need C# coding for MD5 Algorithm
Charles -
29 May 2006 6:30 AM - 2 messages
Hi all, I need C# code for Implementing MD5 Algorithm.. Hope all would have heard of MD5 Algorith... Does any one have the C# coding for that Algorithm.. please Send... ITs URgent..... Thanks In Advance to all....................... With Regards, Sanjay.C ...
Can you embed a SQL database?
ljh -
29 May 2006 3:17 AM - 4 messages
If I am using VB.Net 2005 with SQL Express or Developer edition and want to embed the db into my project, how do I do that? I can't find anything on embedding the db into a VB.Net 2005 app ...
CheckedChanged event - how do I make it work?
jonefer -
29 May 2006 1:46 AM - 7 messages
It seems that the following code should work - (if not why is the event there?) (Do I need some sort of client side script to awaken it?) Private Sub chkRefresh_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles chkRefresh.CheckedChanged ...
Creating a Session Expiring Warning?
Fabuloussites -
28 May 2006 8:48 PM - 2 messages
Greetings All, i would like to create a popup that warns users that their session is about to expire. I've seen this used a lot on financial websites. Can someone point me towards some good codes samples or ideas? ...
Beginner's Question. Re: which .NET software to purchase
chrisalvin2005 -
28 May 2006 8:26 AM - 2 messages
Hi All, i am very new to programming and totally confused with different types of .NET software out on the market. I am currently studying VB6 and afterwards i will study .NET (hopefully by August 06) I have two question two ...
|
|||||||||||||||||||||||