Home All Groups Group Topic Archive Search About

General .NET discussion

microsoft.public.dotnet.general
Score error message
Larry Macomber - 5 Mar 2005 5:09 PM - 2 messages
error reads like this. c\program files \installshield\professional\runtime\0701\intel32\DoNetinstaller.exe cannot access a necessary file, mscoree.dll      Is there anyway to fix this. From [link] Posted via DevelopmentNow Groups [link][link] ...
Score Can I create an excel file with the data from my datagrid?
anon - 5 Mar 2005 5:05 PM - 3 messages
I am new to vbnet and wonder if it is possible to get the data from my datagrid and save it to an excel file so that different reports can be saved at different times for further analysis at a later date. ...
Score How do I create an MDB with ADO.NET
anon - 5 Mar 2005 5:02 PM - 4 messages
I have been used to using DAO in the past, and then converted to ADO. Now I am having to use VB.Net(2000) and ADO.NET and am experiencing difficulties with the creation and population of an mdb. I can create the MDB and am doing so by creating a module as shown below. ...
Score force net application and his objects to be in memory (and not in page file/hd)
tony - 5 Mar 2005 3:35 PM - 7 messages
hi. how can i force a process /objects / to be always in memory and not in page files in the hd. is there a way to do that in programming ? ...
Score help me
dotnet - 5 Mar 2005 7:29 AM - 3 messages
i have some question about .net please say me, how i can find answers of them, thanks. 1- why we use dotnet? 2- what are dotnet component(architecture of dotnet) 3- life cycle development in dotnet 4- specification of dotnet for user interface ...
Score problem with scrollbar
chrisclementdotcom - 5 Mar 2005 1:05 AM - 4 messages
vb.net 2002 When moving the thumb with the mouse, the control generates a stream of values as expected. When I let go of the left mouse button to stop at the desired value, it jumps a little higher or lower (depending on the direction ...
Score Windows Installer: Cmd Line Parameters
Steve - 4 Mar 2005 11:41 PM - 3 messages
Is it possible to use custom command line parameters with Windows Installer? Thanks, Steve ...
Score Subject: Help and Support Article ID 319976
Tim Marsden - 4 Mar 2005 11:35 PM - 2 messages
Hi, I am having problems as described in Help and Support Article ID 319976 (command line error BC2017) There is a fix available, but how do I obtain this. Do I have to pay for microsoft support, or is the fix free. ...
Score Context Items on Page_Load
in - 4 Mar 2005 10:57 PM - 2 messages
I pass a variable from one aspx page to another using Context.Item.Add This works fine when the page first loads. I set the value of a static global var to the value of Context.Item in the page_load event, and use that. ...
Score Windows 2003 Server + ASP Pages
Bhanu - 4 Mar 2005 10:53 PM - 3 messages
The asp pages on the server are not accessible, while I can access the html pages. Neeless to say it should be related to some security setting.. As such, Asp is allowed in the settings. Just wondering what are the other settings that have to be allowed in 2003. ...
Score Embedding a VB 6 standard EXE application in a .NET forns applicat
Raghavendran Muraleetharan - 4 Mar 2005 9:53 PM - 4 messages
I am having an existing VB 6 standard .EXE application. Now I am developing a wrapper application in .Net and I want to launch and execute the VB 6 exe app in the .Net App window. That is VB 6 App window inside (embedded) in .Net app ...
Score executing a program in VC++.net -rank beginner
boksi - 4 Mar 2005 9:46 PM - 2 messages
Hello, I am brand new to VC++.net. I am a programmer.I have successfully compiled the sample managed code 'hello world...' program. How do I execute it within Visual Studio.net or Visual C++.net. It is a console app and I am groping. I want to understand this framework. I ...
Score Any plans for a browser plugin to run .NET applets
D H - 4 Mar 2005 7:44 PM - 9 messages
Are there any plans by Microsoft or anyone else to ever create a browser plugin that can run .NET apps?  One that can work in any browser like the Flash or Acrobat plugins? I know about smart clients and clickonce (below), I was just curious. ...
Score Using a structure as a property in a class gives error when accessing properties of structure
D Witherspoon - 4 Mar 2005 7:15 PM - 7 messages
I have a Structure I have created and am using it as a Public Property of a class.  Here is the property. ------------------------------------------------------ Dim _MyID As  SInteger     Public Property MyID() As SInteger         Get ...
Score Translating JavaScript function with Regex to CSharp
Jon Maz - 4 Mar 2005 6:34 PM - 5 messages
Hi All, Am getting frustrated trying to port the following (pretty simple) function to CSharp.  The problem is that I'm lousy at Regular Expressions....     //from [link] ...
Score GetType fails for StringCollection
Jonathan - 4 Mar 2005 5:09 PM - 4 messages
I tried using Type::GetType on S"System.Collections.Specialized.StringCollection", but it returned NULL.  The only way it worked was when I used the fully qualified name, including the assembly name, version, and token information. This seems like a bug to me, since StringCollection is part of system.dll, ...
Score Convert Ascii Character to decimal
Director - Minvent - 4 Mar 2005 5:05 PM - 4 messages
Hi, I am reading from a serial port from a device which sends over an ascii character. It uses the full  extended 256 character set and therefore has non-printing characters too. So what i want to do is convert the input to the ...
Score Home directory in IIS?
Krunom Ancini - 4 Mar 2005 5:03 PM - 5 messages
Hi, all stuff works fine if i define absolute paths but with relative i have some problems: i defined my at Internet Information Services (IIS) home directory of my "default web site" and I define in my application all file destinations ...
Score Disable scrollwheel in ComboBox?
Chris DiPierro - 4 Mar 2005 4:50 PM - 3 messages
Is there a way to disable scroll wheel support in a combobox? Basically, I have a situation where a user chooses an option in a combobox. I'm handling the selected index change event, and due to the option they chose, the combobox itself is being destroyed (dynamic UI). ...
Score System.DirectoryServices
djc - 4 Mar 2005 4:37 PM - 2 messages
I do not have this namespace avalable. I have version 1.1 sp1 framework installed. does any one know why??? thanks ...
Score Data Grid NOT SORTING
pmud - 4 Mar 2005 4:15 PM - 17 messages
Hi, I am using teh following code for sorting the data grid but it doesnt work. I have set the auto generate columns to false. & set the sort expression for each field as the anme of that field... This grid displayes results based on ...
Score object lifetime
erdem - 4 Mar 2005 4:07 PM - 4 messages
hi, i have problem about object references,, lets say: i have a typed dataset (name: "dsall") it has datatables table1 , table2 there are dataadapters which fills these and there are also datagrids,comboboxes etc which are binded to this dataset ...
Score Exception handling best practices
cody - 4 Mar 2005 12:54 PM - 3 messages
Is this good style? I always have to catch the generic System.Exception because our system supports nested transactions that is BeginTransaction increases the level, Commit decreases it, rollback sets it to zero, and only if the level reaches zero the commit/rollback statement is sended to the ...
Score Excel : how to find corresponding constants name in vb . net ?
François - 4 Mar 2005 12:51 PM - 4 messages
Hello, I'm currentry porting a vba project into vb .net Things are going smoothly for the moment, but I'm loosing a lot of time to find the counterparts constants name for ex : ActiveCell.SpecialCells(xlLastCell).Select  -> xlLastCell constant ??? where ...
Score [cross]Q:missing references in project (registry error)
Zarko Jovanovic - 4 Mar 2005 9:11 AM - 4 messages
hi all, this is what happend: first I uninstalled office xp and the reinstall it after that my VB project (visual studio .net) cannot open references (project -> references) it says something like error reading registry please help, it's urgent ...
Score 50 Buttons!
Krunom Ancini - 4 Mar 2005 7:44 AM - 10 messages
Hi, I have on my page something about 50 buttons that "user" should use only for loading some session-variables: click on the button -> session variables loaded and i wish that after click, clicked button changes his color and thats no ...
Score ASP on the Mac
Coffee guy - 3 Mar 2005 11:37 PM - 3 messages
Hi, just rolled out my first asp.net web and it doesn't display on Macs. My customer is running IE 5 on OS9, says she can see the stream, eg. gifs being downloaded however her screen remains blank.  I know nothing Mac. ...
Score Help on important DAta security choice ?
serge calderara - 3 Mar 2005 11:05 PM - 2 messages
Dear all, I need to make a strategic decision on an application where data security is important. Collected data must be stored in a database and I need to creat an application uins vb.NET to collect those data and store them in that database. ...
Score Design issue: Preload data or get on request
Frustrated Newbe - 3 Mar 2005 10:23 PM - 5 messages
Hi, I would appreciate your opinion on the following issue.  Suppose there is a windows (not web!) application that uses the data stored on an SQL server.  There can be more than one concurrent user of the app, so the concurrent ...
Score Programming CRM in an windows xp computer
Novapol - 3 Mar 2005 10:09 PM - 2 messages
I know this is very basic, but I have no idea of how to do this, i want to make a customization of CRM (customer relationship manager), and i don't know if i can program from my windows xp computer while using the program running ...
Score C++ .NET How to surpress warning
J Swift - 3 Mar 2005 9:37 PM - 3 messages
I need to surpress the following warning that taking place during build/re-build *warning C4018: '<' : signed/unsigned mismatch I don't want to fix the cause because it's part of the way the program works, but How do surpress the warning? ...
Score Common practice, allowing null values in data classes.
D Witherspoon - 3 Mar 2005 9:32 PM - 15 messages
What is the accepted method of creating a data class or business rules object class with properties that will allow the returning of null values? For example... I have a class named CResults with the following properties. TestID int QuestionID int ...
Score Visual Studio .NET 2003 Enterprise Developer
sorin - 3 Mar 2005 7:57 PM - 4 messages
Is it possible to install Visual Studio .NET 2003 Enterprise Developer on the server and have users access it from the workstation ? ...
Score System.Int32[] hides IList implemetation? How?
tsteinke - 3 Mar 2005 6:22 PM - 3 messages
I noticed somthing. The native Array Types implement the IList interface. However they do not contain all the methods in the interfaces they implement. for example... int[] test=new int[100]; test.Add(5); <<<< This is a Compile Error ...
Score sample *.aspx Web file to call a proxy class to an XML SOAP Web Service
Nate - 3 Mar 2005 6:18 PM - 4 messages
Hello, Maybe no response on my last post because it was too lengthy or the moderators were too busy? Could someone please post a sample *.aspx Web file (VB or C#) that calls a proxy class to the PayPal SOAP WSDL XML ...
Score ConnectionString with Microsoft.Jet.OLEDB.4.0
Ole Nielsen - 3 Mar 2005 4:49 PM - 2 messages
I wish to include a Localhost address or an IP-address (and Password) in the ConnectionString, but I can't find any description. Can anyone help? ...
Score MSFT heading down, down...
Cletis Tout - 3 Mar 2005 4:24 PM - 2 messages
[link] ...
Score Windows Service
David Pope - 3 Mar 2005 3:59 PM - 3 messages
Hello! I am creating my first Windows Service and I am having a probleming installing it. I created a new Windows Service project. I did not add any code. I just want to see in the Services control panel. I run the installutil.exe with my assembly and it looks like everything is ...
Score .NET project structure best practices
Vagif Abilov - 3 Mar 2005 3:43 PM - 7 messages
We decided to adopt .NET coding guidelines posted by Brad Abrams from Microsoft: [link] Here is what Brad (and AFAIK Microsoft) suggests regarding project folder structure: "Directory names should follow the namespace for the class ...
Score Regex help?
Bill Cohagan - 3 Mar 2005 3:35 PM - 6 messages
I'm looking for help with a regular expression question, so my first question is which newsgroup is the best one to post to? Just in case *this* is the best choice, here's the problem: I'm trying to "parse" something that looks like a command line; e.g., ...
Score Looking for components to do merging
Marina - 3 Mar 2005 3:26 PM - 3 messages
Anyone know of any 3rd party components that can allow for programmatic merging of Word documents? Also one that does the same for Excel spreadsheets? Really looking for something that can just append one document to the other. Don't want to have MS Office installed on the server, need a component that ...
Score CPU spike won't go away
Shabam - 3 Mar 2005 3:10 PM - 5 messages
I have a win2003 server running IIS with dotnet. Whenver I post a large amount of data to a dotnet application's form box, the cpu starts to spike up and down indefinitely.  I stop IIS but the spike ...
Score Threads freezes other application
Jesse - 3 Mar 2005 2:53 PM - 2 messages
I have a C# application that runs fine on any computer (XP, 2000, 98). I have just installed on a PC that also has a POS which runs in kiosk mode. The problem is that when my application start running the POS stop responding (or at ...
Score Storing Values for application
gv - 3 Mar 2005 2:49 PM - 7 messages
Hi all, I need to store values in a client application then later when done send them to SQL 2000. I know there is several ways to do this but, looking for the fastest , and most effient way to do this? Would a global array be the best way to this and could I use this ...
Score can I replace a pressed key by another in a control
jean-dot-paul-at-opelwilly-dot-com - 3 Mar 2005 1:25 PM - 2 messages
Hello, Is there a known way to replace a pressed key by an other. KeyPressEventArgs.KeyChar  is read-only so is there a work arround. I want to change the decimal point of the numeric keypad into CultureInfo.CurrentCulture.NumberFormat.CurrencyDecimalSeparator ...
Score Introduction to Mono - Your first Mono app
Cletis Tout - 3 Mar 2005 1:13 PM - 15 messages
[link] Introduction to Mono - Your first Mono app By Brian Delahunty The first in a series of articles about Mono. This article explains how to install Mono and shows how to compile your first Cross Platform ...
Score Static v's instance v's COM
trinitypete - 3 Mar 2005 11:03 AM - 3 messages
Hi all, Here is a question that I have been trying to work out - hopefully someone will be able to give me a few pointers. I often end up in a quandary deciding if a class should be static/instance ...
Score send form redirect
sam - 3 Mar 2005 10:51 AM - 2 messages
hi I want to redirect a form to another page once the submit is clicked, also to send the user an autoresponse, any help would be great to sam.mor***@atlantic-link.co.uk ...
Score CDO and message priority (C#)
rzabor - 3 Mar 2005 9:24 AM - 2 messages
Hi, I'm trying to set message priority (I'm using CDO for sending) this way: private CDO.Configuration m_cdoConfig= new CDO.Configuration(); private void Config() {     [..]     m_ConfigFields["urn:schemas:mailheader:priority"].Value= CDO.cdoPriorityValues.cdoPriorityUrgent; ...
Score installation problem
Andrea - 3 Mar 2005 9:22 AM - 2 messages
I have been using VS.net. But now i am unable to install VS.net to another machine. When i try to install visual studio.net, i am getting an error message "unable to load sitsetup.dll" . I cannot proceed installing because ...
Score Device drivers in C#.NET
vinoth.n - 3 Mar 2005 6:45 AM - 6 messages
Hi, We are to do a project in C#.NET. Is it possible to develop device drivers in C#.NET. Or else any possible of doing Windows Programming? If any of these projects are not possible. Need any suggestions for the ...
Score Calling overriden base method
Prithvis - 3 Mar 2005 6:43 AM - 2 messages
My class hierarchy is something like C1 -> C2 -> C3 and in C3 I override a method from C2 which in turn has overriden this method from C1, is there a way to call C1's version of the method? This would be something like ...
Score VB.Net - Weird Happenings - Its Freakin Me Out
KeithO - 3 Mar 2005 6:05 AM - 4 messages
Using VS.Net 2003 (VB.Net) WinForm App.... Problem: I have a form (lets call it Form1) On Form1 (amongst other things) is a button (btnOne) and an text box (txtBox). .....Click on button... Shows another form (lets call it  Form2)... ...
Score Problem adding custom event to richtextbox
Henry - 3 Mar 2005 1:37 AM - 2 messages
I inherited a richtextbox class and tried to add the double click even handler.  Unfortunatly, when I check the properties of rtbText, it doesn't contain a double click event handler.  Any ideas on what I did wrong or how i ...
Score when reload the web page, scoll dow the page to a certain position
Symphony - 3 Mar 2005 1:33 AM - 3 messages
Hi, all: I am using ie6 and vb.net developing the web site. on one .aspx page , we have several radio buttons( we did not use radio button list), only one of these button can be seleted. so I uesed on button ...
Score creating an owner drawn listbox that includes a filetype icon and a filespec
Bernie Yaeger - 3 Mar 2005 1:11 AM - 5 messages
I now know how to gather the file type icons and I'm able to use them in a listview.  But a listbox does not have a .smallimagelist or .largeimagelist member, so I don't know how to translate that so that I have the icon + the ...
Score Interacting With Web Sites in Code
ls - 3 Mar 2005 12:19 AM - 2 messages
Hi, The following URL a has a video entitled "Interacting With Web Sites in Code."  The video explains exactly what I am trying to do which is to directly communicate with a website and programmatically post data to a web ...
Score delete command
Mike & Dyan - 2 Mar 2005 11:59 PM - 6 messages
I was able to figure out how to insert new data into my database.  But for some reason and a lot of reading I can't seem to figure out how to delete any data. My app is going to be used for tracking info on vehicles.  My app is MDI ...
Score Reading thread 'processor time' quickly
Mike Goatly - 2 Mar 2005 10:51 PM - 7 messages
Hi, I need to be able to read the amount of processor time a thread has taken up.  So far I've found the following methods open to me: 1) Find the relevant ProcessThread in the current process' ProcessThreadCollection and read the TotalProcessorTime. ...
Score Authenticating against Windows Network: System.DirectoryServices.DirectorySearcher or LogonUser(..)
Zeno Lee - 2 Mar 2005 10:44 PM - 4 messages
I'm trying to authenticate a user against a windows network.  I want it to work across any kind of windows network from NT 4.0 up to Windows 2003 ADS. So far I've been using DirectoryEntry and DirectorySearcher and doing a ...
Score Calling C++ DLL
Peter Schmitz - 2 Mar 2005 8:07 PM - 2 messages
Hi, I need to call the followin function (that is placed in an additional DLL) out of VB.NET code: BOOL TestFunc(CString str1, CString str2) { [...] } How can I call this function out of VB.NET code? How do I declare the ...
Score Call .Net component from VB6 pgm
Bryan Dickerson - 2 Mar 2005 7:47 PM - 2 messages
I'm fairly a newbie to .Net, but hopefully not for much longer. I'm sure that this can be done as I've seen it demo-ed at VS Live and such places. And also, please accept my apologies if this topic is too belabored. ...
Score How to force an ASP.NET web app to exit?
Robb Gilmore - 2 Mar 2005 7:41 PM - 2 messages
Hi, We have an ASP.NET web application that attempts to check some database conditions in Application_start  to ensure that all is well before the app comes up.  However, I figure out how to force the app to exit if this ...
Score Newbie to VS.NET 2003
thunder2232 - 2 Mar 2005 6:37 PM - 5 messages
I have just finished installing VS.NET 2003 and have begun running through "Getting Started" book. I have a project in mind that will incorporate a VB script I have written which loads an Excel spreadsheet with AD info. I then have to import that ...
Score Sending mail
Peter Schmitz - 2 Mar 2005 5:43 PM - 2 messages
Hi, just some newbie problem: I tried to send some emails out of vb.net code, but the MailMessage class does not support any authentication. Is there any way to send mail with auth login under vb.net? Will this feature be included ...
Score Merge to Word
David - 2 Mar 2005 9:37 AM - 4 messages
Hi I have an asp.net app thrat merges to Word. It prepares an xml file by using the old ADODB library to save a recordset (myRecordset.Save(XMLPath, ADODB.PersistFormatEnum.adPersistXML), then downloads the file to the user and uses client script to do the merge. Very similar to the way I did it with ...
Score Network Card Speed and Duplex
Matt Brandes - 1 Mar 2005 10:54 PM - 3 messages
Can anybody tell me how to tell what speed and duplex a machine is currently running at. It is very easy to find on a switch, however it is incredibly difficult if not impossible on the PC. For instance 100Half vs. 100Full vs. 10Half vs. 10Full ...
Score compilling a c++ program
boksi - 1 Mar 2005 9:36 PM - 4 messages
Hello, I wish to do the simplest thing in Visual Studio.net. I wish to compile a "hello world" C++ program. I just installed .net and have experience as a programmer but the framework is so large and abstract I am having trouble getting started. Can anyone help? Thank you. Joe ...
Score Re: AxWebBrowser problem!
martin.lanny - 1 Mar 2005 8:34 PM - 3 messages
D0tN3t C0d3r wrote: ...
Score Re: whats the average age of programmers on here
D0tN3t C0d3r - 1 Mar 2005 8:27 PM - 2 messages
33 here, but in my own little reality I'm 21 and still thinking that I know everything and I will never die! ;-) (ok ok, fine, so I'm a little scared of my own mortality, what of it?! lol) ...
Score No Printer Collection Dumb Idea
Marion - 1 Mar 2005 6:15 PM - 3 messages
I would like to go on record to say that I think not having the Printer collection in .Net is dumb. The only help tells me that I should use the Print Dialog. Well, I don't want to. Programming is about flexability but ...
Score Messenger VB.NET
James - 1 Mar 2005 9:39 AM - 6 messages
Hello, I have just upgraded from VB6 to VB.net and on the back of the box it shows a (what i think is) custom MSN messenger. Is this possible to do this, ifso how can i do it? Many thanks. ...
Score Obtaining the Application Data Folder correctly
Tim Failes - 1 Mar 2005 7:47 AM - 3 messages
Our application needs to write some application  specific data, but I have not been able to find the recommended method to obtain the correct pathname. I have found many references to the SHGetFolderPath function, but have not been able to find any way to access this in VB.Net. Apologies in advance if I ...
Score Any idea for Creating controls according to configuration?
Rhett - 1 Mar 2005 6:39 AM - 6 messages
Hello,guys! I need some idea for Creating controls accoring to configuration. The context. Some controls are configured by xml, and there's also some xml string to configure the layout of all the layout.It could be simple,just a ...
Score The object is currently in use elsewhere
KevinBradly - 28 Feb 2005 1:47 PM - 5 messages
Building and running a VB or C# graphics application within VisStudio is fine. Running the .exe outside VisStudio on the same machine is fine. But trying to run the .exe on another machine produces this error. Anyone have any clues? ...
Next » 2 3 4 5 6 7 8 9 10