lucindrea's Q&A profile
Visual Studio Express Editions Problem with Absolute Beginner's Video Series Lesson 7 - worm?
I have been using the Absolute Beginner's Video Series for Visual Basic Express and love it. For Lesson 7, however, it never gets past 83% downloaded. As a result the seek button doesn't work. Whether coincidently or not, I, also, get a worm blocked by Norton Virus. "Http WMF Metahdr file size Int Overflow. Intruder download.microsoft.com (67.72.4.94) http(80). Other IP addresses shown other times I got this were 70.183.191.72 and 4.78.212.62. I have system restored the computer to an earlier date, but still get only 83% downloaded, and the worm blocked message. I just tried it again, ...Show All
.NET Development DB Changes not committed in VS/SQL Server DB
I am brand new to vb.net and Visual Studio. I am following a series of lessons where I am supposed to be able to connect to a SQL Server Database bind the db to a form and then edit, add and delete records from within the form. When I run the project everything appears to work correctly, I can change the table data, add or delete rows but once I close the project and look at the underlying data, none of the changes are reflected. When I re-run the project, the data is just as it was before I made the changes. I can edit the data directly in the tables and it works as you would expect. I'm sure that this is something bone-headed that I'm m ...Show All
Smart Device Development C# calls Native DLL: Class not registered. Please help...
I am just trying to call COM Object from Windows Mobile 5.0 Device from Visual Studio 2005 using C#. I have a native com dll and I can call it from Windows application. But when I tries to call the same dll from smart device, it doesn't work. It breaks in the com object. However, when I add the dll, it get all intellisense. The error is like: An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in CEHarness.exeAdditional information: COM object with CLSID '{1B103B23-1243-11D5-94C4-00062999C513}' cannot be created due to the following error: Class not registered . After that I went trying the M ...Show All
Visual Basic CodeElement.EndPoint.Line throws an exception 'The parameter is incorrect'
I have an Addin written in VB.NET which prints the source code of a .NET projects. The addin formats the source code using SmartFormat before printing the source code. Here is a code in the addin that formats the source code: Dim MyUndoContextisOpen As Boolean = False Dim td As TextDocument Dim ce As CodeElement = Nothing Dim pi As ProjectItem Try 'Start Undo context If Not applicationObject.UndoContext.IsOpen Then MyUndoContextisOpen = True applicationObject.UndoContext.Open("SmartFormat", False) End If 'Get the CodeElelment under the cursor td = applicationObject.ActiveDocument. ...Show All
Visual Basic Interacting with Excel
I have often worked with Excel via internal macro's but now I need to use net to interact. I have created my worksheet but when I try to access a cell in the worksheet via I need to be able to read a cell in the worksheet but I cannot come up with the right fromat to access the .text and .value properties. So with ws as the active worksheet, how would I set a string variable equal to the text contents of cell 1 / column 1 Thanks, Fred Private Exl As New Excel.Application Private WS As New Excel.Worksheet Private Sub Form1_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handle ...Show All
Visual Studio Team System Where is the Check out ?
I've been playing for some time with the TFS part in the sdk. There is something I didn't see.I didn't see CheckOut command or anything similar to it. Saw checkout,get... but no CheckOut command or any event linked to it. Doe's it go by a different name Avi The Workspace class exposes methods for pending edits against items. For example: PendEdit PendAdd PendDelete PendBranch PendRename PendUndelete Merge Undo Each method has a varying number of overloads. Robert. ...Show All
Visual Studio 2008 (Pre-release) Orcas Development Tools for WinFX
Just downloaded and installed the May release. When right clicking project and selecting Add Service Reference... I previously got a dialog box up but now nothing happens. Can anyone tell me whether this has been disabled in this release or whether this I've just got a dodgy install on this machine Thanks BenW This feature is not disabled in May release (Beta 2), may be orcas development tools didn't install properly You can try to reinstall orcas tools again,That may solve the problem STEP4: Microsoft Visual Studio Code Name “Orcas” Community Technology Preview – Deve ...Show All
.NET Development Plural of word
Hello Friends, I just want to know how to find plural of a word in C# I have one textbox where user will enter his word i.e Text. Then how to find the plural of that word. Regardless, you will need a dictionary for this. The "remark" should let you add extra info. <singular>,<plural>,<remark> datum, data, plural available radius, radii, plural available politics, politics, no plural fish, fish;fishes, context dependent ...Show All
Visual Basic Getting Underlying Data From Databound Controls
I have a form with databound controls on it. So I am using a datasource, a tableAdapter and a BindingSource. My question is, what is the "proper" way to get underlying data from the current row through code. For example, say I want to get the ID field for the currently visible row that is being displayed in the controls on the form. Also let's say that the ID field is not represented by a control. It is in the data, but not bound to any control. The dataset is called DSEfaxCentral The table is called tblFaxes The binding source is called tblFaxesBinding Source. As of now I am using this method to get the ID field for the current ...Show All
Visual Studio Express Editions What books to get
I have looked at the local book store for books on programming. There seems to be a selection of books on VB6 and also on VB.Net. Which would be a better choice for me to get in order to learn the Express edition Any major differences I should know about when reading one of those that I need to keep in mind when I'm applying it to VB Express Thanks! Whatever book(s) you get, get those that cover VB2005. The other versions, won't help you with VB2005. There are a lot of new books for VB2005 and even some that include a copy of VB2005 Express Edition. I haven't used but one book on VB2005 and that was Introdu ...Show All
Windows Forms The v2 DatePicker doesn't support null databinding (bug?)
The following code (which is a simple test windows form - visual studio team 2005 system beta 3 refresh) demonstrates what I believe is a bug in the DatePicker control. When a datepicker is bound to a binding source set to an object, properties of type DateTime that are null are not updated when the user (at runtime) changes the date. This is a real pain; and, frankly, makes the date picker useless to bind to database-derived datatables which could contain dbnull. Thank you in advance for your help. (also: why is it called datetime picker when it does not pick the time ) Correct. The DateTime picker does not support null ...Show All
Visual C# Dispose a string?
i got a service which "controls" the eventlog. If a error is writen, the service send a mail to me. This works, but it's memory usage gets bigger and bigger static void Main() { EventLog myNewLog = new EventLog (); myNewLog.Log = "System" ; myNewLog.EntryWritten += new EntryWrittenEventHandler (MyOnEntryWritten); myNewLog.EnableRaisingEvents = true ; signal = new AutoResetEvent ( false ); signal.WaitOne(); } public static void eMail( EntryWrittenEventArgs e) { string name, pw; XmlDocument MyDoc = new XmlDocument (); MyDoc.Load( "setting.xml" ...Show All
SQL Server Cannot pass expression on command line
I am trying to pass an expression in on the command line but it is not getting to ssis correctly dtexec -f "C:\Documents and Settings\simonsa\My Documents\Visual Studio 2005\Projects\Integration Services Project3\Integration Services Project3\Package.dtsx" /set \Package.Variables[User::datevar].Properties[Expression];(DT_DATE)"01 feb 2006" the "s are getting stripped so that the SSIS is trying to use expression (DT_DATE)01 Feb 2006 which is of course valid. How can I achieve this, I think its a bug in the way dtexec is parsing the command line. ...Show All
Visual C# AccessViolationError, how to fix?
Using C# express beta 2, I'm getting an AccessViolationError on even very simple forms. It was working fine last night, now I can't get any new form to work. IE, I go to New Project, Windows Application. Add a single Label and click debug. It builds with no problem, but when it goes to debug I instantly get the exception. However, if I open a project I created last night, it works perfectly. I have restarted the IDE and restarted Windows, but it did not make any difference. Thanks for any assistance you can provide. If it will help, here is the exception detail (using copy to clipboard option): System.AccessViolationException was u ...Show All
.NET Development Marshaling an array as a return value?
How do you marshal an array as a return value What marshalling attributes must be specified Specifically, using COM Interop, I want to use an interface member that returns an array. The implementation of this interface is written using an unmanaged object and a COM style interface. In C#, the interface declaration would look like this: public interface IMyInterface { int[] MyArray { get; } ...Show All
