-
- Null and SQL Server 2005
by fweeee
- 7 Replies
- Last post
by Robert Rossney
- This might be the wrong forum for this question, but I wasnt 100% which one it should be in.
Basically, I'm writing a VB.NET database application which hooks up to an SQL 2005 server. I'm having a problem with nulls - when I try to assign a value of a field which is null to field on a VB.NET form, I get the error "Conversion from type 'DBNull' to type 'String' is not valid."
-
- converting of wsdl to cs file
by Anonymous576457
- 3 Replies
- Last post
by ranamauro
- Hi all,
I want to convert my wsdl file to cs file.
Can any one help me with an example.
Thank you.
kris
-
- Samples - Outlook
by PeterForstmeier
- 2 Replies
- Last post
by PeterForstmeier
- Hi,
i just played with the samples, and see to Outlook Styled Sample.
Did you provide the SourceCode for the CalenderControls and Views .
I just got them as a *.dll
Thanks Peter
-
- why does my webservice is unstable?
by vnn95
- 0 Replies
- Last post
by vnn95
- Hi all,
I have an ASP.NET webservice installed on a server and an application call that webservice from another computer. Sometimes, the application can not request the webservice, i try to restart IIS or restart the server it work again. In the Event Viewer i see that Event
The Browser service has failed to retrieve the backup list too many times on transport \Device\NetBT_Tcpip_{D995825F-F
-
- How to determine which form called a class
by Tall Dude
- 7 Replies
- Last post
by Tall Dude
- I have a class (let's call it MyClass,) that inherits from System.Windows.Forms.Form.
In the declaring form, (Form1 for example,) I say:
Dim X as New MyClass(Me, .....etc.), using 'Me' to pass the calling
form to the 'new' method of the class.
Is there any other way for the 'new' method of the class to determine who declared/called it
without passing 'Me' as a paramet
-
- XML Serialization Error
by ralph_y
- 5 Replies
- Last post
by ralph_y
- I'm new to this XML stuff (and C# / .NET for that matter), so I am really struggling with this error, generated by this code upon attempting to serialize. Instance has values. Can anyone help me what the error message is telling me and how i might go about fixing it
XmlSerializer ser = new XmlSerializer ( typeof ( Settings ));
XmlTextWriter w = new XmlTextWriter ( "Di
-
- "LINK : fatal error LNK1168" - C# app using C++ implemented COM object
by Martin Gentry
- 4 Replies
- Last post
by Martin Gentry
- Same problem was asked about here, but with no response, in Nov 2005: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=132351&SiteID=1 Anyway, I have a solution that contains two projects. One generates a DLL containing a few COM objects implemented with unmanaged C++. Another is a C# application which makes use of those objects. At this point I repeatedly have to restart Visual Studio 2
-
- XSLT compile error when using XslCompiledTransform.Load indirectly called from unmanaged code.
by Rich Steck
- 5 Replies
- Last post
by -Anton Lapounov
- I have a component I wrote in C#. Among other things it performs a XSLT transform on XML data it collects. When I test this feature using another C# project that uses the component it works just fine. However when I export the component as a COM component and try to use this feature from a unmanaged application it fails on the XslCompiledTransform.Load command with an XSLT compile error.
-
- Excel spreadsheet?
by peterlee2003
- 9 Replies
- Last post
by Cammyr
- VB.Net 2003
i want to know which command can open excel speadsheet in programme
e.g. press a button to open a EXCEL spreadsheet
what command should included in button.click event
thx
-
- CLR Thread Object
by .NETPhreak
- 3 Replies
- Last post
by .NETPhreak
- I got into a debate with a fellow worker about what will happen to a thread if we set it to null after all the work delegated to that thread is finished. So something on the lines of: Thread go = new Thread(); try { go.Start() // Do Work } catch { } finally { go = null; } As per my understanding, setting the thread to null doesn't specifically "kill" that thread; the GC may be able to
-
- Reading faster from big text files
by A_Kumar
- 7 Replies
- Last post
by nobugz
- I want to read a big text file written by some application and search for occurences of a particular string. So I open the file using stream reader and start reading it line by line, looking for the string when at a particular line.
The problem is that this application can write files more than 200 MB and above function takes long time to finish. I can have multiple search strings for same
-
- Need some advice on how to approach this problem (web service calling C# application methods)
by pappascd
- 2 Replies
- Last post
by pappascd
- Hi everyone, I've been working on a solution to this project I was assigned, and after working on it for a couple days I thought maybe I was approaching it the wrong way. Basically what I need to do is to get a web service to access an a method or two on a locally running C# Windows application (Like for example have the web service send a string to an int method on the C# application). The way I
-
- .Net Remoting Bridge to Soap
by Netmaster0000
- 2 Replies
- Last post
by Netmaster0000
- Good day people. I have this problem. There is a client that is written in C# and it used .Net Remoting to communicate with a server (also written in C#). Now this client, needs to communicate with another server as well. Is there a way to write a bridge in C# to take Remoting calls, and convert them to SOAP calls, and vice versa WITHOUT loosing the richness of the WSDL document such as methods th
-
- Remotely Administrating Windows Services using .net 3.0
by Vikram Shetty
- 5 Replies
- Last post
by Alexey Raga
- hi
I want to remotely access a windows services. The event of start / stop will be done by a web site.
Firstly let me know is it possible to access the Windows service via internet.
If yes, Can any one guide me how should I go about it. Do I need to use web Services.
Thanks and Regards
Vikram Shetty
-
- double[] from NET as COM type
by Mike Hudgell
- 2 Replies
- Last post
by Mike Hudgell
- I'm am looking to make a function (in C#) with a signature similar to:
Code Block double[] ReadingsForInput1( long * noEntries );
COMVisible. While I can mark the rest fine, and it returns easily, the 3 functions that return double[] are a problem.
If I don't add any specific marshalling to them, then when I import the TDL into a Visual C program, it gene
-
- Doubt about connection pooling
by Asharaf ali
- 1 Replies
- Last post
by VMazur
- Will it be enabled connection pooling by default even if we did't explicitly spcify in connection string
What does max pool size mean Is it representation of maximum number of users can connect (or Browse) to the database from anywhere in web at a time
What dows min pool size mean
Answer please
Thanks in advance
-
- NET.Framework 2.0 problem with program install
by SLeuck
- 2 Replies
- Last post
by Ivan A Loreto
- (this might be a second posting of the same thing.... my last post of this same thing hung up in the ethernet on "post" -- apologies if it's a 2nd time)
I am baffled at where to turn with this problem but have good luck getting assistance from other users in the MS forums. Here goes...
A program we are trying to re-install (Trade Service's "Premiere" pricing ser
-
- System Error &H80131c25& @ mshtml.HTMLDocument.createDocumentFromUrl
by tomtenberge
- 1 Replies
- Last post
by Mariya Atanasova - MSFT
- i have a problem...(why else would i start a thread )
i am making a simple site crawler for pictures, the only problem is...
at the createdocument from url it starts trowing ie windows with navcancl errors
now i have found out that in the argument of createdocumentfromurl it says :"System Error &H80131c25&"
it gets it argument from a treenode.text witch is properly fi
-
- Un/Hideing a logical drive ?
by NeO HackeR
- 8 Replies
- Last post
by NeO HackeR
- how do i hide and unhide a logical dirve usein c# 2.0 can u plz giv me more precise answer a snippet if posible
-
- How to do implement a wild card search on a Data Set
by Adithya
- 3 Replies
- Last post
by Bappi
- I need some help to implement a wild card search on data set that retrieves cached data
-
- Error when Validating against an XML Schema.
by JoshStodola
- 14 Replies
- Last post
by JoshStodola
- Hi everyone,
I get an exception when I try to validate an XML stream against a provided schema. I am following another organizations standards with this, so I did not create the schema myself.
Exception : XmlSchemaValidationException
Message : The 'http://www.w3.org/XML/1998/namespace:lang' attribute is not declared.
I am not sure what this means, and I have been searchi
-
- Problem in fetching performance counter data of "ASP.NET" and "ASP.NET Applications".
by gp_dotnet_guy
- 3 Replies
- Last post
by gp_dotnet_guy
- Hi All,
I am trying to fetch data from performance counter of "ASP.NET" and "ASP.NET Applications". This is a C++ based application. I have put sample code part of this application. This application is based on a sample provided on microsoft site.
IWbemLocator *pLoc;
IWbemServices *pSvc;
IEnumWbemClassObject *pEnumeratorASPNET;
//Step 1 - Initailize COM
-
- Classic ASP CreateObject Fails Intermittently On C# Assembly
by bflecht
- 7 Replies
- Last post
by asdfasdfafdsadf
- I have created a COM Visible C# assembly that is created from a Classic ASP page. This assembly is very basic and simply executes an SSIS package file. Everything appears to work fine and the object can be created and executed. I have reports and screenshots, though of createobject errors that are periodically happening. The Err.Number from Classic ASP is -2147024894 with Err.Description being emp
-
- How do I resolve the bytes returned by GetILAsByteArray() into IL instructions?
by Jeremy Jarrell
- 1 Replies
- Last post
by ericrtodd
- Hi guys,
I'm trying to examine the corresponding IL for a MethodInfo object but I can't figure out how to get to the actual instructions. This is what I have so far...
Code Block
// Get the IL stream so we can display the conditionals we want
MethodBody body = methodInfo . GetMethodBody ();
if ( body != null )
{
byte []
-
- Error in CLR Profiler
by omp
- 2 Replies
- Last post
by nobugz
- I'm trying to test performance of a smart client application using CLR profiler but getting following error while starting and closing my application through profiler and also it is unable to create the log.
Details of the Error I got:
See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text *******