Answer Questions
Skrostrup Updating Access from Data Table - slightly confused
I'm using vb2005 to create a front end to an access database. Being new to this I'm slightly confused over what the wizards will create automatically as opposed to what I have to code. I've used the table adapter configuration wizard and specified that I want it to create methods to update a table called 'Categories' in the database. This is a simple table with a text field for the category name and an autonumber field (CategoryID) as the primar ...Show All
Bjoerni CAO and GAC Issue
I have a .NET Remoting server application (TCP, binary) and it works fine when it loads the defined types from the private assembly, but when I put that assembly in the GAC then I get FileNotFoundException. In the MSDN doc it says: " <activated type="type,assembly" /> Specifies the full type name of the object and the name of the assembly that contains the type implementation. This includes version, culture, and ...Show All
Giber FtpWebRequest question
Can anybody please help me I am trying to write a code to uplode or delete file on ftp server. A problem is that I don't know how to set up Method property for ftpwebrequest class, so sample code like this would work. Dim serverUri As String = "ftp://ftp.contoso.com/file.txt" Dim request As FtpWebRequest = CType(WebRequest.Create(serverUri), FtpWebRequest) request.Method = WebRequestMethods.Ftp.DeleteFile request.EnableSsl = Tr ...Show All
lbt Regarding that array of structs again :)
Hello. I'm trying to marshal the DS_SELECTION_LIST structure but I've run into a bit of a problem. When I'm trying to read of the array (aDsSelection) I get an error (FatalSomethingsomething). Turns out that the aDsSelection points to a bad address. Consider the following code: [ StructLayout ( LayoutKind .Sequential, CharSet = CharSet .Auto)] internal struct DS_SELECTION_LIST { [ MarshalAs ( UnmanagedType .U4)] pub ...Show All
ButlerDJ unmanaged c++ class in c#
Hey there guys, I have been using c# and c++ for sometime now and have found it to be alright However, recently I needed to instantiate a c++ class, stored in an unmanaged dll in c#. And since then, have got nowhere. Does anyone know how to instantiate an unmanaged c++ class, in c# And if possible without having to use c++ with managed extensions Yours - Ali Hi, Are you using VS2003 or VS2005 Ther ...Show All
Spangeman How do I allow users to pick SQL database at runtime ?
I've got an app using a SQL backend on my develop box that will reside on a LAN client-server (no web issues). The database name and table structures will be the same. To avoid having to recompile on ach client PC, Is there a feature that allows an authorized user to 'browse' for the data source Second part of question: If I have two databases on the server, one for production and one for testing, and each has a unique name, can I point th ...Show All
msdevpro openssl library
I have already develop a HTTP server using .NET v1.1. Know I have to give it TLS support. Can I use openssl library Thanks Durga, Now I got .NET 2.0 but I have already develped HTTP server using raw sockets, so now it is not possible to revert back the code to use HTTPListener class. Can you provide some link or example on how to use TLS1.0 using .NET 2.0 Regards, Omkar ...Show All
Keith Blackham System.Xml.XPath breaking change (.NET 1.1/2.0)
I have a sample Xml document and I am using the System.Xml.XPath namespace to evaluate some XPath queries. However, I get different results in .NET 1.1 and 2.0. It looks like there is a bug in the .NET 2.0 Framework. Here is the XML: <root> <Direct> <Customer> <Books> <Book ID="10" Publisher="Microsoft" /> <Book ID="20" Publisher="Microsoft" /> ...Show All
msindel Additional information: No connection could be made because the target machine actively refused it
Hello, I am currently getting this error when attempting to instantiate and remote object. Currently, everything is located locally. Here is a code snippet to further explain. The highlighted code is where the error occurs. Can anyone help Thanks =========================================== namespace ResumeClient { public class ResumeClient { public static void Main( string [] args) { ChannelServices.RegisterChannel( new TcpCl ...Show All
SergioItaly Web Form User Maintenance
Hi, Anyone know how to use the CreateUserWizard as a user maintenance facility. I know users can be maintained via the Web Configuartion manager however I wish to hook that into my application so I can also maintain profiles, etc. Ideally I would like a list of users where selecting one opens the user wizard, populated with the appropriate values. Thanks IanC You might consider posting this question over the AS ...Show All
beigewy Uninstall
Hello All, Please tell me how to write code in VB.NET to Uninstall an application. I need to include this in an existing setup . Urgent !! Please help Warm Regards, Lisha Hello. Just so that I have said it: You should have a really good reason for doing this. I can't say I can imagine why you shouldn't ask the user to remove the program with add/remove programs. Still, if it is urgent, here goes: Yo ...Show All
madhan Found edge to retarget after airlock
Though .NET Framework was a beta2 , when the source written with MSIL was compiled in 64bit mode and executed, the message "Found edge to retarget after airlock insertion" was output to the console. What is the meaning of this message OS is Windows Server 2003 Enterprise x64 Edition. Can you provide more information The CLR does would not produce an error message with that text. Jeff ...Show All
Elizabeth Maher XML Trace WSE 2.0 problem
Hi, I've recently had frustration experience using a certain web service provided by a known organization. In order to maybe get a response from the technical they want me to send them the XML trace for the input and output calls and answers to the web service. I've downloaded WSE 2.0 tool since i use .net vs 2003, c#. I've desperately been trying to get a trace with no success. Here are the details of what I've been tryin ...Show All
Brian Scott Append text to textbox without scrolling
How can I append text to a textbox without scrolling and maintaining the current caret position AppendText() always scrolls to the bottom, and setting the Text property scrolls to the top. The standard way would be to call BeginUpdate/EndUpdate but unfortunately the edit control is too old to support this. The RichTextBox might provide better behavior for you. Alternatively you could derive a new class from TextBox and override the OnPain ...Show All
SNNicky insert an element into a xml file using web application
why the new element and attribute can not insert into that xml file Any help will be appreciated. Code as following. using System; using System.Collections; using System.ComponentModel; using System.Data; using System.Drawing; using System.Web; using System.Web.SessionState; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.HtmlControls; using System.Xml; namespace ...Show All
