|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
.NET Frameworkmicrosoft.public.dotnet.framework
cominterop.dll
gs -
20 May 2006 4:16 PM - 3 messages
Do I really need cominterop.dll for making use of .net 2 assembly through com interface? I am using dotnet sdk that comes with visual studio express 2005. did not install sdk 1x I am still having problem using the assembly from native application through ...
Navigating through a website using webclient
Arun -
19 May 2006 6:48 PM - 2 messages
Hi - Im trying to login to a website by giving a username and password and navigate to a different page and download a spreadsheet, Can anybody help. I tried using the webclient and its members, im not able to go beyond the login page even though Im setting the network ...
Detect if compiling as a console application
Michael D. Ober -
19 May 2006 5:50 PM - 5 messages
Is there anyway the VB Compiler can detect if a program is a console application? I have some libraries that need to write to the console if the program is a console app. Thanks, Mike Ober. ...
Creating a nullable type using Activator
DerekG -
19 May 2006 4:44 PM - 4 messages
Hi I am trying to create an instance of a nullable type using System.Activator for example t is passed in from the caller and is the Type info for a nullable type or can be a standard type i.e string, int etc. ...
.NET 2.0 install in "silent" mode?
Rob R. Ainscough -
19 May 2006 2:29 PM - 3 messages
Can .NET 2.0 framework redistrib be installed without a user interface (aka silent mode)? Thanks, Rob. ...
Thread.Start and threadstate unstarted
Cedric -
19 May 2006 2:00 PM - 6 messages
Hello, I have a code which start 1 thread do some work start an another thread do again some work and then wait for previous started thread to join. I see sometime that even I use thread.start my threadstate is still ...
RTF to JPEG converter
Pierre -
19 May 2006 10:38 AM - 2 messages
I'm looking for a library to convert RTF files to JPEG. This may be open source or not, freeware or not. The library has not to be necessary written in .NET. It can be also in C/C++. Of course, a .NET library is my prefered one. ...
How to register a DLL and OCX using .NET 2.0
Emanuele Ornella -
19 May 2006 8:06 AM - 2 messages
I have a non-.NET application that uses several DLL and OCX and other files... I'm trying to have a client-side application that copies files from a server repository to the client machine in order to syncronize the ...
FoxPro Date Processing
brendan.mckenzie -
19 May 2006 6:24 AM - 4 messages
Hello, I am writing a class to process FoxPro .dbf files, all has been going well, but I have recently hit a snag. I'm trying to convert FoxPro's DateTime field (T) to a System.DateTime. FoxPro's field is 2 32bit ...
Quick way to see if a Computer is on the LAN without a Ping
Philip K -
18 May 2006 11:48 PM - 2 messages
I need a quick responsive (say 100ms) way to check if a computer is on the LAN from a .NET program that is run by a low level user. Is there a way? Apparently Ping (ICmp over raw socket) can only be done by an admin user - ...
regex high cpu utilization
rh -
18 May 2006 8:32 PM - 2 messages
hi all, take the following 2 c# lines: 1) str = Regex.Replace(str, ".*AAA", ""); 2) str = Regex.Replace(str, "^.*AAA", ""); notice that the only difference is that the pattern in line 2 has a starter marker (^). if str is large and does not contain the pattern, line 1 ...
Framework 2.0 not showing up in IIS
Blasting Cap -
18 May 2006 6:52 PM - 2 messages
Windows Server 2003, all sp's. Installed Framework 2.0 on this box, and it says that it installed, but the tab for ASP.NET on the properties doesn't show up. We've removed & reinstalled, but that hasn't helped. ...
StateMachine Implementation
Romain TAILLANDIER -
18 May 2006 5:30 PM - 2 messages
Hi group I need to implement a State Machine on WCE. I have found an Excellent ressource from Leslie Sanford [link] So to move this Full Framework code to a compact one, i make a lot of ...
CCW not found from VBA
Kevin Hector -
18 May 2006 3:48 PM - 3 messages
Hi. I have created an assembly and I believe i have done all the right things to expose this assembly as a COM object. However, when trying to call a method from Excel VBA I am getting "File or assembly name MyAssembly, or one ...
EventLog Doesn't write to Custom Event Log
prateekbaxi@gmail.com -
18 May 2006 3:27 PM - 2 messages
Hi, Following are the steps which I have done in order to write the log in the Custome Log created by my application based on configuration setting. 1) Created a config file containg the name of Log configured by user. ...
Another DateTime.ParseExact issue?
Jacek Kolonko -
18 May 2006 3:17 PM - 2 messages
Hi. Does anyone know if there is a know bug in DateTime.ParseExact that makes it unable to read DateTime-formatted strings using the same format and culture parameters? The following code will ilustrate my problem: using System; using System.Globalization; ...
Win2003 ships with .NET v2.0 framework?
deejjaayy -
18 May 2006 3:08 PM - 4 messages
Hi, Apologies in advance if this is the wrong forum to ask this question... Does anyone know if Win2003 ships with .NET framework v2.0? Or is .NET v2.0 part of a subsequent service pack? Kind regards DJ ...
How can i see my characters
basulasz -
18 May 2006 3:05 PM - 4 messages
I get a byte array (byte[]) as a e-mail from pop3 server. I want to see the Turkish characters like (ş,Ş,ü,Ü, etc.). When i use System.Text.ASCIIEncoding enc = new System.Text.ASCIIEncoding(); ...
Bad Design to Throw Exceptions in Constructor?
Mike Hofer -
18 May 2006 2:26 PM - 5 messages
Hi guys, Long ago, I learned that it was a bad idea to throw exceptions inside a constructor. For instance: Public Class OutCountMovementArgs Private innerDirection As OutCountDirection Private innerStartDate As Date Private innerEndDate As Date ...
Exception in a Thread other than Main thread
Mahesh Devjibhai Dhola -
18 May 2006 1:47 PM - 3 messages
Hi, I have one program, where i am using IO and Socket Asynchronous methods "BeginXXX" and "EndXXX". Many time, it happens that in Async delegate method, some exception occurs and if i dont handle it, it shows standard Unhandled exception box even I ...
Byte Array Comparison Not Accurate - MD5CryptoServiceProvider
Kaz -
18 May 2006 1:21 PM - 5 messages
I picked up the following code posted by a MVP at some newsgroup. I am using the code to compare excel files. It works great for considerable changes but when the difference in the excel files is quite minor (for instance if I ...
print an existing pdf file in vb.net 2005
Federico Caselli -
18 May 2006 9:33 AM - 2 messages
Hi, I would just need to programmatically print a existing and known pdf file. there must be some shellexecute stuff. Do you know how to write it? I'm using vb.net, but in C# will be fine too... Thank you very much. ...
UDP socket with multiple ports
Robin Theilade -
18 May 2006 8:41 AM - 15 messages
Hello, I'm having some trouble creating an UDP socket that can listen on multiple ports. This is my code so far, it might give you a better idea of what I am trying to accomplish. The problem using this code is when the Bind is called I get ...
readonly access to generic collections.
Strider -
18 May 2006 8:30 AM - 3 messages
Is there a way to have a read - only generic List, Dictionar etc in .NET Framework 2.0 (something like the ArrayList.Readonly() method), or do I have to make a wrapper myself? ...
2.0: unexpected exception "Thread was being aborted"
R.A.M. -
18 May 2006 6:53 AM - 3 messages
Hello, Could you help me plase? I have an ASP.NET page with "Search" button; when button is clicked Search_Click is called; here's the code: protected void Search_Click(object sender, EventArgs e) { Debug.WriteLine("WWWPage.Search_Click()"); ...
hardware requirement for .net 2.0 client windows app
Reny -
18 May 2006 5:34 AM - 2 messages
can any one tell me what is the minimum hardware requirement for installing a .net 2.0 client and also for dot net 1.1 client windows application ...
Custom Event Log problem.
djouungk -
17 May 2006 9:19 PM - 5 messages
I created a custom event log. I can write to it without any problems. When I look at it in the event viewer, I see that the custom event log copied the system log and If I clear out the custom one it clears out ...
DataGridViewComboBoxes for numeric fields
Philip Sheard -
17 May 2006 8:54 PM - 9 messages
I have several integer fields which have small fixed ramges of values. I have tried to display them as DataGridViewComboBoxes, but it fails, because the fields are numeric. Is there an easy way round this? At the moment I am displaying them as text ...
how can I make my dll strong name by using Visual Studio 2005 Express
Ben -
17 May 2006 8:53 PM - 2 messages
Hi, I write a simple dll in C# using Visual Studio 2005 Express, how can I make my dll strong name? (so I can put it into Global Assembly Cache) Ben ...
Problem running .Net executable from classic ASP page
jack -
17 May 2006 5:58 PM - 2 messages
Hi there, I work for a large company and we have been converting executables from Cobol to C#. After compilation, we move the executable to our server which has IIS and the NET framework installed. If I invoke the executable from a command shell on the server, or from ...
DataTable Select
Arne Garvander -
17 May 2006 4:20 PM - 4 messages
Does the select method on DataTable support wildcards? ...
specify clr version
Josh Bernard -
17 May 2006 3:48 PM - 12 messages
I have a managed library I am using with interop but must use the v1.1 framework. On machines with v2 installed it defaults to that and the component fails. I created an app.config file in the managed project and ...
Extending source files by parsing them
Rickard -
17 May 2006 3:45 PM - 2 messages
I am trying to write a tool that takes a VB.NET source file containing a class and produces another source file that contains code that depends on some properties of the first file. For example, the original file might contain: ...
SMS WQL using ASP.Net
Ryan -
17 May 2006 3:43 PM - 2 messages
If this is not the best place for this query, please feel free to suggest another newsgroup. Using SMS 2003 can you run a query to "Select * FROM SMS_Query" but limit the result to queries located in a specific folder on the SMS server. The ...
Clickonce app will not run
new.microsoft.com -
17 May 2006 2:55 PM - 6 messages
I have 1 computer out of about 10 I've tested that won't run clickonce apps. The apps run on every other system I have tried. I even tried a windowsapp1 that doesn't do anything but show a form. It goes through all the download ...
Release Dates for .NET 2.0
Jim -
17 May 2006 2:14 PM - 2 messages
What were the initial release dates (RTM, not Beta) for: ..NET Framework 2.0 ..NET Framework 2.0 SDK ASP.NET 2.0 ? Thanks! ...
Workflow fundation
Romain TAILLANDIER -
17 May 2006 9:40 AM - 5 messages
Hi group I am beginner with Windows Workflow Foundation (i jus install it this morning) I would like to have a Workflow on windows CE ? Is it possible (i haven't try yet) ? thank you for your help ROM ...
Need help on ppt files
AVL -
17 May 2006 9:25 AM - 2 messages
Hi, I've a requirement in which I need to show a powerpointf file in a web page... How can I acheive this? How can we show word documents or powerpoint files in web pages in asp.net? ...
SOS with control characters!
Mario Vázquez -
17 May 2006 8:03 AM - 3 messages
I don't know what combination of keys I've pressed, but now my VS editor shows me characters in soft green for al the spaces, tabs, CR and so on... The problem is that I don't know how to undo this! I've searched in the ...
System.Windows.Forms.ColumnHeader and IDisposable
Zachary Turner -
17 May 2006 5:14 AM - 14 messages
Hello, I'm a bit new to .NET and WindowsForms, and I don't like it when I run across something that I don't understand. So I'm hoping I can clear up some info for myself here and maybe learn a little bit more in the ...
Restricting User Interaction
wrytat -
17 May 2006 3:09 AM - 2 messages
Is it possible to write a program to restrict the user from accessing some programs and disabling some keyboard keys? If so, can you give a rough guide? ...
Remoting: security and app.config
Pinnguy -
16 May 2006 11:36 PM - 6 messages
Hello, I have written a service (service A) in C# which is both a TCP server for many clients and is also a client of another service (service B). For service A the TcpServerChannel is configured in the app.config file with ...
Serialize a Strategy Pattern List of objects with out xsi:type.
Tom Krueger -
16 May 2006 9:54 PM - 8 messages
As an examle I have a list of Vehicles that I want to serialize. A Vehicle could have Car or a MotorCycle as derived classes (strategy pattern). I want to serialize a list of Vechicles xsi:type attribute having the ...
Protecting Assemblies
Anthony Bouch -
16 May 2006 8:52 PM - 5 messages
I'm building an n-tier application with data access, application and UI layers in separate projects and hence separate assemblies. MyProjectUI.dll MyProjectApp.dll MyProjectDataAccess.dll etc... The application will eventually be publicly available for download and installed on end-users machines. ...
EnableVisualStyles not working
Evans3 -
16 May 2006 7:28 PM - 3 messages
I'm creating a program on a windows XP SP2 machine using visual studio 2005 standard edition with .net framework 2.0. Even when I enable visual styles the simple form looks like windows 2k not windows XP. The program looks the same whether or not EnableVisualStyles has been ...
What is a .nlp file?
Water Cooler v2 -
16 May 2006 6:28 PM - 2 messages
What is a .nlp file used for? ...
Nullable boolean true on webservice response comes across as null
ak -
16 May 2006 5:15 PM - 2 messages
Hello all, I'm working on a web app that we converted over to asp 2.0 recently and here's the issue I ran into: We use a java webservice to retrieve data and display this data to the user. ...
Serial Port Class & Component
JerryWEC -
16 May 2006 4:18 PM - 7 messages
I'm being tasked with the job of creating a serial ports class component or dll for use in other applications. This ports component/dll will replace an existing COM dll (VB6 using old comm32.dll). I want to know if it is better to start with the new VS2005 ports class or ...
Unexpected behavoir from Thread.Join
Jrax -
16 May 2006 2:42 PM - 5 messages
Hi, Wondering if anyone would know if behavoir we are seeing w/Join method is expected. We are seeing the Join method time out on a background thread after 5 seconds. When we call Join ( from UI thread ) we know that the background thread has ...
XSL - The variable or parameter '...' is either not defined or it is out of scope.
Jody Gelowitz -
16 May 2006 1:08 PM - 7 messages
I have run into an issue with variable scope within an XSLT document that is translated in VS.NET 2.0. Under VS.NET 1.1 (XslTransform), this code works fine. However, when using VS.NET 2.0 (XslCompiledTransform), the exact same XSLT transformation fails with the error: ...
Howto create file shares and configure permissions in .NET?
bva -
16 May 2006 12:55 PM - 4 messages
Hi, how can I create a file share and set permissions for it in .NET 2.0? Thanks for help! ...
Create a Folder Browser in C#
fir5tsight -
16 May 2006 11:37 AM - 2 messages
Hi, How can I create a *folder* browser (not file browser)? This means if the user selects a folder and then selects "OK", the dialog closes and returns the folder name. Now I have the code in C# that allows the user to select a file name. ...
How should I schedule a piece of code to run?
Terry Holland -
16 May 2006 10:14 AM - 5 messages
Im looking for some advice on the best direction to go in. I have the need for a function to be run at a set time each night. This function will be run on a machine that will have no-one logged on at the ...
Schedule a piece of code
Terry Holland -
16 May 2006 9:48 AM - 4 messages
Im looking for some advice on the best direction to go in. I have the need for a function to be run at a set time each night. This function will be run on a machine that will have no-one logged on at the time ...
3GB linker option for C# app?
Zhenxin Li -
16 May 2006 8:48 AM - 4 messages
Hello, Is there a 3GB linker option for C# app like C++? Thanks! Best regards, Zhenxin Li ...
Two different copies of MSCOREE.DLL have been loaded
Kim Buch -
16 May 2006 8:41 AM - 2 messages
I have written several class libraries in VB.NET. The class libraries have a COM-interface. When I load them from a 3rd-party application I'm seeing the error dialog: Two different copies of MSCOREE.DLL have been loaded. ...
1.1 front end and 2.0 backend
moondaddy -
16 May 2006 7:35 AM - 7 messages
Is it possible to run a winforms 1.1 app using web services hosted by a .net framework 2.0 backend? ...
Not inheriting members from the base
Water Cooler v2 -
16 May 2006 6:50 AM - 3 messages
If I recall correctly, in C++ there was an access specifier that could label a data member of a class as "can be accessed by everyone else EXCEPT the derived class" -- an accurate opposite of "protected". I think I allude to the "friend" modifier in C++, which is different from ...
How o take backup of MSAccess DB using VB.NET
Reny -
16 May 2006 5:23 AM - 2 messages
Can any one help me out in how to do a backup of an MS Access programatically using VB.NET ...
how would one remove a com class?
gs -
16 May 2006 5:17 AM - 4 messages
given the com class name eg. someunwantedClass, how would one proceed to remove completely from the registry? is there a tool for this task? removing from filesystem is easy enough with searches. ...
.NET Framework Very Slow To Load
A_StClaire_ -
16 May 2006 1:39 AM - 5 messages
hi all, I am playing with a plug-in developed using .NET 1.1. I noticed the startup time of my host application is far slower than it was prior to installation of the plug-in. in terms of code volume the plug-in is tiny. so I can only assume the ...
Error on old code converted to VS 2005
Blasting Cap -
15 May 2006 8:35 PM - 2 messages
I had some old code set to throw an email to me when a user hit an exception. VS 2003 worked fine with the code, VS 2005 when I run it in debug mode pauses over the code each time, and gives me the message: ...
Reading and writing a large binary file fails
TrinityPete -
15 May 2006 5:21 PM - 5 messages
Hi all, I am reading a 240MB+ binary file performing some changes and writing it back out. For now I have removed the code that performs changes so in its simplistic form reading a large binary and then writing it back out. ...
What causes this degugger error?
Randolph Neall -
15 May 2006 4:30 PM - 7 messages
When trying to view Locals in the debugger, there is a delay and then this message: "Function evaluation disabled because a previous function evaluation timed out. You must continue execution to reenable function evaluation." Continuing does not help. Once this error occurs, the execution for that ...
System clock events
Andreas Håkansson -
15 May 2006 2:46 PM - 3 messages
Hi, Is there anyway to be notified with the system clock changes? I don't mean when the user changes the settings, but each time (in my case) it swicthes minute? I have some code I would like to run each time the minute changes of ...
Problems installing a windows service
Andreas Håkansson -
15 May 2006 2:45 PM - 3 messages
Hi, So I'm trying to convert an existing Console test project (just used the console part for output) into a Windows Service application. How ever, even though I've changed the project to Windows Application under Output Type, added a class and derived it from ServiceBase, added an installer using the ...
Interface Design Question
vikrantca -
15 May 2006 2:40 PM - 3 messages
Hello, I have an application that allows the user to customize one function (literally only one function) by specifying a path to an assembly that contains one class implementing an interface. public interface ICorrelation { public double CalculateHTC(HTCInputs inputs); } At runtime, the program loads the assembly and gets a delegate to this ...
Convert String To Guid
Martin Moser -
15 May 2006 1:38 PM - 5 messages
Does somebody know if there's a faster way to convert a string to a guid, than: Try gID = New Guid(myString) Catch ex As Exception gID = Guid.Empty ...
C# Software Developer Opportunity - Brisbane, Australia
Lloyd Dupont -
15 May 2006 4:52 AM - 9 messages
C# Software Developer - Brisbane, Australia NovaMind is a Brisbane based software development company, developing and selling Mind Mapping software for Windows and Macintosh computers. We are looking for someone who is has high standards of accuracy, finding good solutions and implementing them with a high degree of attention to detail. You must be a self starter who loves solving problems in a logical self-disciplined manner. The successful applicant will analyze both issues and opportunities and develop innovative solutions with the persistence and goal orientation to be able to see things through to delivery, while maintaining enthusiasm and optimism. We are looking for someone who will fit well with our development team and remain courteous and friendly with both staff and customers at all times. ...
ConfigurationSection question
ilya -
15 May 2006 4:51 AM - 5 messages
I am trying to create a custom Configuration Section that will have this kind of an xml representation <CustomSection> <Objects> <Object type="sometype"> <Property name="someproperty" anotherAttribute="somevalue"/> ...
Security.Permissions.SecurityPermission
hames.bond -
15 May 2006 4:48 AM - 2 messages
G'day, I have 2 Win2003 servers, 1 is my database server, 1 runs IIS On the IIS machine I have an ASP.NET 2 application that makes a call to a proprietry 3rd party COM Object/DLL that makes a call to a database ...
VB.Net Code for signing an email
Jason -
15 May 2006 2:51 AM - 26 messages
Hi, Can you help me with some sample code for signing an email? I have the code to manage/Select the Digital Cert but cannot figure out how to sign an email with it. I have been using the CAPICOM interop to sign email but now that I ...
retrieving the XmlEnumAttribute values for an Enum
Edward Clements -
14 May 2006 4:45 PM - 2 messages
I have an enum defined as public enum velocityUom { /// <remarks/> [System.Xml.Serialization.XmlEnumAttribute("m/s")] ms, ...
<authentication mode="Windows" />
Frank Dulk -
14 May 2006 2:51 PM - 5 messages
Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. Parser Error Message: It is an error to use a section registered as ...
Analysing WikiPedia dump file.....
Lloyd Dupont -
14 May 2006 2:43 PM - 4 messages
I just download wikipedia's wikibooks dump file. [link] I have a hard time figuring out what to do with 130MB XML file. I tried hard to convert it to to a MySQL database with xml2sql but grr... ...
[OT?] download Wikipedia....
Lloyd Dupont -
14 May 2006 2:40 AM - 8 messages
I would like to use some of the data in the Wikipedia in one of my (.NET!) program. I'm still at the stage of trying to figure out how to download the data. Any tip on: - how to download WikiPedia data? ...
|
|||||||||||||||||||||||