Answer Questions
steveinoly Writing Data To a XLS File
Hi everyone, is it posible to write data to XLS file, and then specify to which column, and row it must write to I want to write data to a XLS file, but I first want to know if it's posible to format the layout of a XLS file through VB.NET, well, thats what I am Using. And how, if there's someone who can help me, or derict me to links of how to do that. Thank you Very much SJB You might want ...Show All
bplucas Altering the routing table
Does anyone know how to add/delete routes by using SetIpForwardEntry, CreateIpForwardEntry etc. provided by the ip helper api. What are you having trouble with Could you make your question a bit more specific What have you tried and how is it failing For good information on how to P/Invoke to call native APIs see pinvoke.net ...Show All
JacobRonnie Collection Add Method won't add a new object
Hello Everyone, I can't figure out why the following code won't work // I get about 3 unit objects back, so really the count is 3, so I should create // three new unit and add them to my newUnits collection object. However, that doesn't happen // I only get one object added. So what's the deal UnitCollection currentUnits = customer.Units.GetChildren(1); UnitCollection newUnits = new UnitCollection(); foreach (Unit myunit in currentUnits) { ...Show All
Mary Waller eMail Question
Hello Im searching an overview of "eMail Compose" or "How To create an eMail". I have written some code (it works only with simple Text). But I look at Outlooks creation of email with HTML and an attachment, I retrieve a MIME Content multipart/related with the attachment and a mulipart/alternative with HTML and text. So my question: why related and not mixed Are there any rules to fallow, while creating mails Is there any overview with "if want ...Show All
Matt Braafhart WebBrowser control Memory Leak
I created an .NET C#application to continuously creating and closing WebBrowser control for testing. I noticed that my application memory usage has been going up per WebBrowser control. I looked though some user group, and saw that there is apperantly a memory leak in WebBrowser control. Here are my question: 1. I would like this confirm if this is a known issue. 2. Is there a fix or workaround available. Many thanks, Alice ...Show All
Carlosmcg Updating record in database (Access)
While attempting to update a datarow in a database i recieve "Data type mismatch in criteria expression." Code: dim ValueID as string = "7" Me.TableAdapter.Fill(MeDataSet.table) Dim _AssetRow() = DataSet.table.Select("ID = '" & ValueID & "'") _AssetRow(0).Col1 = "2" TableAdapter.Update(_AssetRow(0) ...Show All
Bob Bannon return scalar value from table adapter
I have the following code that gets a scalar value from a data table: DataSetTableAdapters. myudfTableAdapter myScalarTableAdapter; myScalarTableAdapter= new DataSetTableAdapters. myudfTableAdapter (); decimal amount_needed = ( decimal )myScalarTableAdapter.amountNeededScalarQuery(requestID); return amount_needed; When I run this I get an invalid cast exception. When I hold my cursor over the amountNeededScalarQuery ...Show All
mendez_edd Document types
Hi there, I have this little application that needs to know if a document is a MIME. Is there any method that can tell whether or not it is one I tried FindMimeFromData(...); but it's not exactly what I want to do, since this method does not check for document's validity as a MIME document. Anyone has an idea Thank you, -Jeremiorama The System.Net namespace currenlty does not have a MIME parser API ...Show All
Denis Silva merge dataset with three tables
I have two datasets and each have three tables in them. Datasets have the same structures and I need to merger these two datasets, (so each table should be merged with its corresponding) how can I do this Thanks for the reply, can you give me a sample code for this You can read the table row by row and append new rows to the corresponding table. The Dataset.Merge method may do what you want: http://msdn.microsoft.co ...Show All
Alain Lissoir Common Language RunTime Debugging Service
Hi, We have built application in C#. This exe works fine with small Reports. But failed and give following error message whenever we try to run a big reports/processes: ReportGenerator.exe Common Language Runtime Debugging Services & ...Show All
Josh23423 Server.Execute: How to transmit variables between VB and C#
Hi. I've got two scripts test1.aspx [code] <%@ Page Language="VB" %> <% Dim myVar As String myVar = "Hello!" Server.Execute("test2.aspx") %> [/code] test2.aspx [code] <script language="C#" runat="server"> void Page_Load(Object Src, EventArgs E) { myPage.Text = myVar; } </script> <asp:literal id="myPage" runat="server"/> [/ ...Show All
Debbie112 Protecting Code Algorithms
Anyone have comments, ideas of some practical ways to protect implementation details so decompiling the .NET implementation won't yield easily visible details The only way to prevent people from decompiling your code is to not distribute it, only keep it on a server you control and call it remotely. You may also want to read http://www.yoda.arachsys.com/csharp/obfuscation.html ...Show All
travey12 .NET Framework 2.0 question
I appologize in advance if some of my questions to the forum is a little out of place. I am not a programmer or developer, just a gamer, system builder, and network administrator of a home network. After installing .NET Framework 2.0, Direct X9.0c's Diagnostic shows that one of the two system.dll files is missing. The one that is listed belongs to 1.1, so logic dictates that it is the one for 2.0 that is missing. However it is in ...Show All
Druso ---sergio Error on MsCorwks on Virtual Server 2005 R2
Hi, I have a problem running a service, my service suddenly stops working without any warning (I catch all the exceptions). There is an entry on the event log that says that the service suddenly stops x amount of times. Wired cause only happens on the virtual server. I found also this entry (not all the times) : Faulting application exony.bid.ois.cache.service.exe, version 3.0.0.0, faulting module mscorwks.dll, version 1.1.4322.573, faul ...Show All
even VB6 and CCW's
Hi, I need to start writing a set of classes that will be used by our VB6 application. Because I have'nt done much in the past with COM interop, I was getting a bit confused as to what attributes I need to use on my managed classes. for example, do I need GuidAttribute and ClassInterface and ProgId, or just a few of these Remebering that these .NET classes will only be used by our VB6 code, nothing else. Thanks for your help Graham ...Show All
