|
tech
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
General .NET discussionmicrosoft.public.dotnet.general
Contants and Parameter Name
dwg1011 -
8 Jul 2006 6:20 PM - 8 messages
I have a global class GClass with 2 contants. Both are declared public in the form: PUBLIC Const Const1 = "xxx". When I try to use the constant as a default value (see code excerpt below) the program bombs, but when I use a hardcoded ...
Extend row on datagrid
aaa -
8 Jul 2006 3:11 PM - 2 messages
Im using a datagrid object to view data, Is it possible to extend selected row and show other details at the extended part of the row? If the answer is Y: Is it part of the datagrid's capabilities? (asp.net 2003). ...
Can't Create New Data Connection
JamesJ -
8 Jul 2006 11:49 AM - 6 messages
Just installed Visual Basic 2005 Express Edition. When attempting to link to a data source which is a ms access database I get the following error (if I wrote it down properly). Format of the initialization string does not conform to ...
What event is triggered in ASP.Net when you close the browser ?
tomcarr1 -
8 Jul 2006 12:34 AM - 2 messages
What event is triggered in ASP.Net when you close the browser ? What event is normally used to trigger clean up stuff when going from one form to another or leaving the project? ...
Importing .NET assemblies to unmanaged C++ (VB6) projects
Kamen -
7 Jul 2006 10:17 PM - 4 messages
Hi, I am writing a software under .NET, what I need is a way to use my assemblies from within unamanaged c++ or VB6 projects. Is there a way that can help me import .NET assemblies within unmanaged code. Is there ...
How do I search for quotation marks within a string?
tomcarr1 -
7 Jul 2006 8:26 PM - 6 messages
If I want to search for a character within a sring, I normally use x = myString.IndexOf("T") However, what if I want to look for a quotation mark within the string? I have tried x = myString.IndexOf(""") x = myString.IndexOf(") ...
TCP Urgent Pointer Usage
N. Spiker -
7 Jul 2006 6:23 PM - 4 messages
I am attempting to receive a single TCP packet with some text ending with carriage return and line feed characters. When the text is send and the packet has the urgent flag set, the text read from the socket is missing the ...
.NET Framework 2.0 service pack 1 install
yoinks -
7 Jul 2006 6:05 PM - 6 messages
Have vs.net 2005 loaded and am trying to install service pack 1 for 2.0 and get the following error. What do I have to un-install to install the service pack. Another verison of this product is already installed. Installation of ...
Limit bandwith of my application
DCaballero -
7 Jul 2006 3:22 PM - 6 messages
Hi, I've seen on some applications like emule, options on limiting the amount of outgoing and incoming bandwith the application uses. How can I incorporate this into my application? Is this done with the .NET network classes, or do I have to go to C++ ...
Count code lines in a solution
Martin Hart -
7 Jul 2006 2:14 PM - 5 messages
Hi: Does anyone know of a utility to count the lines of code in a given solution? I'm using VS2005, just in case this makes any difference. TIA, MartinH. ...
2.0: writing assembly for SQL Server 2005
R.A.M. -
7 Jul 2006 1:21 PM - 2 messages
Hello, I am learning .NET 2.0. I need to write an assembly to be added to SQL Server 2005 database DemoSQLServer, with stored procedures. According to one of my books I wrote (Demo.cs): using System; using System.Collections.Generic; ...
app.config
Dick -
7 Jul 2006 11:36 AM - 10 messages
Visual Studio saves lots of values in the project's app.config file (connection strings for datasets, My.settings, etc.), but as far as I can see, if the project is in the middle teir, these values aren't made available ...
How to get Hard Disk number from drive letter
Zeeshan -
7 Jul 2006 4:56 AM - 5 messages
hi, i want to get the hard drive number for example if if have drive letter C it should tell me Disk number as 1 and suppose if i have another hard disk attach to my system having letter J, the by giving J it should give me disk ...
problems by sending email with c# and web.config in a webserver Win 2003
armando perez -
7 Jul 2006 1:45 AM - 4 messages
Hi, this is my first time here, but I was looking for something that may help me, and still, I haven't found something to use. I'm using a website made in .NET with C#, when I'm running my site from ...
Shell from Timer.Elapsed in Windows Service?
Rob R. Ainscough -
7 Jul 2006 12:16 AM - 4 messages
I have a Windows Service with a timer that use the .NET 2.0 Shell command. The Shell command returns a non-zero number but Task Manager shows the shelled exe running but there is NO visible interface (there should be ...
custom control with multiple data binds
codoherty -
6 Jul 2006 11:06 PM - 7 messages
Is it possible to for a custom control to have 2 properties bound to 2 different fields from the same ADO.NET datasource. I noticed when writing updates to my datasource only 1 field or property from the control is written. ...
How to check if a file is locked?
cmay -
6 Jul 2006 8:08 PM - 6 messages
The only examples I have seen on how to check if a file is locked is to try to open it a catch an exception. MS has stated that you should never use error trapping in this manner. Is there no other way to identify if a file is locked w/o trapping an ...
Windows authentication over remoting... possible?
ThunderMusic -
6 Jul 2006 7:48 PM - 14 messages
Hi, I have to develop an application that will consist of a service and a windows forms application... the service could be on a distant server but I need to authenticate the user as being part of the same domain. so when the ...
Securing Classes Code
Geek -
6 Jul 2006 7:18 PM - 3 messages
Guys, I am working on a project currently. I am created some classes for the project. It is a web application, But I don't want to pass my classes code and code that I have created after spending extensive time on ...
dotnet 2003 with sql express 2005
aaa -
6 Jul 2006 4:34 PM - 8 messages
I have a problem connecting .net 2003 (framework 1.1) with sql express 2005 (framework 2.0) What is the problem: definitions or compatibility? ...
Lost my intelisense
hooterbite -
6 Jul 2006 4:18 PM - 4 messages
I am using Studio 2005 Professional and have lost the intelisense. Anyone know how to turn it back on? ...
Fax EXCEL file from ASP.NET
greg g. -
6 Jul 2006 3:30 PM - 2 messages
Hi, I'm developping an ASP.NET application that must fax EXCEL files. I tried by using the FAXCOMLIb libraries, using the Windows Fax Server. It works fine, except because of EXCEL: it seems necessary that the application pool user is logged in before the first use (then, it can be ...
Unhandled Exception when exiting app using dispose method
kuhrty -
6 Jul 2006 3:16 PM - 2 messages
Hi, I am creating a multi-winform project. Everything has been working fine, except after I perform an update to the database and decide to Exit the winform after the update operation is complete. I have error handling in my code but not on the dispose method. I call ...
Anyone seen this before.
MPutt -
6 Jul 2006 2:27 PM - 2 messages
I apologize if I am posting this to the wrong area, but I am stuck. Here is my problem. I am running a .NET 2003 Windows service against Oracle 9i. This service is attempting to run a stored proc that inserts data into the ...
! icon in the visual studio 2005 toolbox
Hennie7863 -
6 Jul 2006 8:21 AM - 2 messages
Hi, Most of the icons in visual studio 2005 toolbox turns into ! with an O around, like the icon which is standard for the error provider. It seems that the icons for button, labels are missing. i don't know. Is ...
Updating dataset using thread ... CPU taking lot of time..Need Help
batista -
6 Jul 2006 6:24 AM - 2 messages
Hello all, I have a third praty grid control...named C1grid. Im using it in one of my apps.. Now, I have bind this grid to a custom dataset class named "DataViewEx". The code of the class is below... Now what happens is that im updating this dataviewex class from a ...
Returning excel spreadsheet
Reggie -
6 Jul 2006 5:39 AM - 3 messages
Hi and TIA! I have a site that maintains parts for the military. They have requested the ability to click a button on my site which will let them upload a text file containing 100 or more part numbers. I will then place ...
Controls collection
Charlie Brown -
6 Jul 2006 4:50 AM - 4 messages
I am adding controls to the Forms controls collection at run-time. Then when I loop through the controls and list them by name, I am missing half my controls. Is there a workaround? Debugger output while adding shiftmrk0 Added ...
Setting WebClient Credential
Tedmond -
6 Jul 2006 1:44 AM - 2 messages
Dear all, I wrote a function to use WebClient to retrieve information from the Web. It worked fine. However, the proxy setting of our firm has been changed. Proxy authentication is required now but I have no idea how to set the ...
filter bindingsource
mafandon -
6 Jul 2006 12:25 AM - 2 messages
Is it possible to filter a bindingsource twice? If I want to filter on gender, and filter on zip codes - can you do that with a bindingsouce.filter method? It always filters on the last filter request. ...
textbox help webforms
bindurajeesh -
5 Jul 2006 7:51 PM - 3 messages
I have a web form that has a textbox that receives a password. Upon leaving the txtbox the user name and password queries the table in objoledbcommand.connection to determine if correct password has been entered. If correct password then many buttons have visible = true. problem is i can ...
Multiple ObjectDataSources?
Morgan -
5 Jul 2006 6:29 PM - 5 messages
Hi - I have a wizard which has about 4 RadioList controls on it, all of which are populated from a data object. As far as best practices go, would it be better to configure a seperate ObjectDataSource for each control, or is there ...
How to specify a font for a window form
Kueishiong Tu -
5 Jul 2006 6:02 PM - 2 messages
I have a window form application. When I port the application to another computer which has a different default font, the form gets screw up. How do I specify the font a window form use in the code so that when I port to another computer, ...
dataset and dataview
amber -
5 Jul 2006 4:39 PM - 2 messages
If I set a dataview to equal a table in a dataset, then filter that dataview, how can I reflect this back into my dataset? TIA, Amber ...
Using List.Exists Method With Predicate
sianan -
5 Jul 2006 4:35 PM - 3 messages
I am having a problem doing the following in generics. I have two list of a custom item type. I need to iterate through the first list and match each item against another list to see if there is a match. If a match is found, I need to move the matched item into ...
Knowledge Base Software
Brian Richards -
5 Jul 2006 2:28 PM - 2 messages
Looking for a knowledge base application to use internally at work. Ideally we'd also like to be able to mark articles for internal/external consumption. Also, would like the ability to export content to flat files that could be used (via some other tool) to generate PDF or CHM files. ...
How to secure the Dotnet code
Usman -
5 Jul 2006 11:06 AM - 15 messages
Hi I'm working on an application that contains classes for licensing, authentication etc, including all the algorithms of encryption/decryption etc. I wanted to secure this code, but after compiling all the code, I just thought of trying a decompiler on the output file. The decompiler generated ...
Mainstream Apps using DotNet
Jim -
5 Jul 2006 9:31 AM - 10 messages
With .net having been around for a while now, does anyone know what the uptake of major software houses is in using .net for Windows Application development? e.g. have the likes of Adobe, MS, Corel, etc actually released any applications that use the framework? ...
Active Directory and VB.Net
lenapostantzi -
5 Jul 2006 8:51 AM - 2 messages
Hi all, I'm trying to write an app that will "popup" a nice form when the user's mail submenu is selected at the AD console so I can add, modify, delete and check the mail addresses and aliases of that user. ...
Removing the " Web Form Designer Generated Code " region after converting from ASP.NET 1.1 to ASP.NE
Nathan Sokalski -
5 Jul 2006 3:24 AM - 7 messages
I recently converted some ASP.NET 1.1 projects of mine, created with Visual Studio .NET 2003, to Web Application Projects in Visual Studio .NET 2005 so that I could use ASP.NET 2.0 (All my ASP.NET is done using VB.NET). After ...
System resource hog
Daniel N -
4 Jul 2006 11:36 PM - 5 messages
I am using a timer to capture the screen, and verify certain criteria through GetPixel(). The timer is set at 333 (about one third of a second). And after running the program, it takes MASSIVE resources and slows the computer down. Is there something I can do to prevent this? Here is the code ...
Excel Import versus XML Import
Gaz -
4 Jul 2006 8:01 PM - 3 messages
I am currently developing an ASP.NET 2.0 app part of the app will involve collecting a large amount of data offline and then importing this data into the system My question is what will be more effiecient from a system ...
Version of Framework
William Leme -
4 Jul 2006 7:20 PM - 5 messages
Hi All, I have the both of framework (1.1 and 2.0) in my pc. How can i identify the version of framework an application uses ? tk´s ...
OT
Cor Ligthert [MVP] -
4 Jul 2006 6:14 PM - 5 messages
Jon, Are you working in a kind of night shift this week? Cor ...
Accessing parent controls in an MDI form fom the child forms by their name
raj_genius -
4 Jul 2006 5:53 PM - 5 messages
I hav two queries, whc are as follows: FIRSTLY: is it possible to access the controls(by name) of a parent form(MDI) from its child forms??if yes then how??plzz provide a coded example in VB if possible.. ...
User Controls not showing in ASP.NET page (described fully in msg)
jonathan.beckett -
4 Jul 2006 4:40 PM - 4 messages
I have been experimenting with placing user controls (using Windows Forms controls) into an ASP.NET webpage - and am completely stuck. I can get a blank user control to work, but nothing beyond that. I have tried making a very basic test rig to isolate the problem, and have ...
Authentication between windows application and SQL server
Gav -
4 Jul 2006 3:13 PM - 5 messages
Hi, I am writing a windows form application (C#) which access's data from an SQL server. The SQL server is using windows authentication only. At the moment I have to grant the domain users access to the database for ...
want to get similar timing across the world using C#
Sourav Dutta Gupta -
4 Jul 2006 12:24 PM - 2 messages
Hi, I am having a problem while setting timings. The scenario is such that we are having two server one at Germany and another at UK. As we are trying to get system timings. They are showing different. For user perspective this is ...
Sending Window Messages from an MFC app to a Windows Firm tray application
Janiv Ratson -
4 Jul 2006 11:50 AM - 2 messages
Hello, I have an MFC MDI application and a Windows Forms (2.0) Tray Icon application. I want to run a command on the tray application via my MFC application. There is a "Register" context menu command on the tray icon application. ...
Sql Server Clr Assembly Deployment Time
Andy Jump -
4 Jul 2006 11:35 AM - 3 messages
Howdy all, I have a Sql Server Assembly that contains some Clr stored procs for some of the more complex operations I wish to perform. When the number of these stored procs is low then the assembly deploys nice and quickly but as the ...
Create File Download Handler
Calvin Willman -
4 Jul 2006 9:26 AM - 3 messages
I'm creating a Proofing Web Application, that users can upload photos, and then download and reupload if it doesn't look any good. Upload bit works fine, with the image being displayed great. However, I want a button that ...
DropDownList.SelectedIndexChanged ... nothing happens
puginews -
4 Jul 2006 8:54 AM - 2 messages
Hi, I have a webpage with a dropdownlist on it. I fill the dropdownlist with data from database. This works fine. Now I want to create an onchange event (selectedindexchanged), I doubleclick on the dropdownlist and write the code. Nothing happens on the webpage when I choose another item (option). The ...
Dotnet beginner's questions
xfile -
4 Jul 2006 8:38 AM - 7 messages
Hello, I am very new to donet and wondering how to solve the following scenario: (1) Our current hosted site has .Net 1.1 and can be upgraded to 2.0 if needed. Some downtime are expected and may have unexpected problems though. ...
DotNet Application Taking A Lot Of CPU Time
batista -
4 Jul 2006 7:51 AM - 2 messages
Hello all, I have made a dotnet windows application which is taking a lot of cpu time....and memory as well. Now, i want to know if there is any tool which can find out which part of code is taking a lot of cpu time ... and whats exactly causing the ...
Lotus NotesSQL - ASP.NET
Prasad Patil -
4 Jul 2006 7:46 AM - 3 messages
Hi, I am attempting to connect to a Lotus Notes database (.nsf) with VS 20003.NET and ODBC connectivity. It is working fine if I create a Windows application but the application fails if it is a web (ASP.NET) application: ...
Sorting Lists Using IComparer
Sorting With IComparer -
4 Jul 2006 6:05 AM - 2 messages
Hi, I have implemened a class which is derived form IComparer to sort using IComparer. The sorting is functioning well when the sorting objects are different. But. when the objects are equal the entire list get sorted. Can anyone has a solution for this? ...
Equals Method Fails for Identical Bitmaps?
Fir5tSight -
4 Jul 2006 3:50 AM - 4 messages
Hi All, I have two identical PDF files, say file1 and file2. I used an API package to extract the bitmap in each PDF file, say bitmap1 (in file1) and bitmap2 (in file2). Since the bitmaps are same in both files, I ...
Why does this code work?
Julie -
3 Jul 2006 10:12 PM - 53 messages
I'm supporting an application at work. Below are some code segments that I can't understand how they work. First let me say, I would never code this standard. I'm just really creeped out that it works. ...
Copying a project in VS .Net 2003 Pro
Salvador -
3 Jul 2006 10:06 PM - 3 messages
Hi. I have a Windows application developed with VB .Net 2003 and VS .NET 2003 Pro that is working fine. Now I need to write another app which uses about 80% of the functionality, forms and reports of the first application, so I want to copy the first one ...
Visual Studio .NET 2005 using Web Application Project
Nathan Sokalski -
3 Jul 2006 9:22 PM - 3 messages
Because I wanted the builds for my ASP.NET sites to be a single *.dll in a /bin/ directory (like VSNET 2003), I decided to try the Web Application Project download. However, I am still pulling my hair out because it doesn't ...
Problem reading from database
Toco -
3 Jul 2006 9:10 PM - 3 messages
Hello. I have app written in C# that we are testing. The executable is shared on our network. The method we are testing is a call to a foxpro table. The call is made to query the table, then fill a datable with the ...
A web 2.0 site developed in .Net
dgivoni -
3 Jul 2006 7:54 PM - 4 messages
Hi, I'd like to get your thoughts on a website inspired by "web 2.0" that we've just launched. It's called quomon.com and it's focused on knowledge sharing between IT professionals. There is a point system which motivates quick answers and getting ...
WebClient class is throwing exception
Deepson Thomas -
3 Jul 2006 11:29 AM - 2 messages
Hi, Iam trying to use WebClient class under system.net namespace to download files from internet via http. For that iam using DownloadFile method. But when ever iam trying to download any file iam getting the error “"The ...
calling another module
Sydney -
3 Jul 2006 7:04 AM - 3 messages
Hi there I know this should be simple but I cant work out how to call a procedure from another module in .NET. I keep getting an error (Argument not specified for the parameter) Im using Projectname.Module.Macroname Thanks in advance ...
ClientScript.RegisterClientScriptBlock in ASP.NET 2.0
Nathan Sokalski -
3 Jul 2006 1:00 AM - 5 messages
I am working on converting my code from ASP.NET 1.1 to ASP.NET 2.0. In ASP.NET 1.1 the RegisterClientScriptBlock method was just a key and script (2 Strings), but in ASP.NET the ClientScript.RegisterClientScriptBlock also ...
Files to use to display website
Rush -
2 Jul 2006 10:06 PM - 5 messages
I'm new to web development in Visual Studio 2005, and I'm creating a web site using ASP.NET, and right now its a very simple page with only labels on it. I have a third party that hosts the site, and i'm FTP'ing the files to the ...
Good resource to understna and implement OO techniques in my current application?
pradev -
2 Jul 2006 4:42 PM - 2 messages
Hello Friends, I have been working on ASP.NET for the last 2 and half years. The bad part of my experience is I have been working alone on all of the projects and there was no peer around who knows .NET or OOP. So where ...
does anyone know any newsgroup for development on unix platform
Jeffrey -
2 Jul 2006 4:39 PM - 3 messages
Does anyone know any free newsgroup for development on unix platform thanks ...
|
|||||||||||||||||||||||