Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. traceytr

    VB.NET to C# question - End statement equivalent?

    I'm brand new to C#, and I've learned only enough VB.NET to write a handful of small interfaces, and that's the extent of my .NET experience so far. Now we're changing course to C#. I'm very glad to get the opportunity to learn it, but my roots in .NET are maybe an inch deep if that. (I've...
  2. traceytr

    VB.NET to C# question - End statement equivalent?

    (I'm using VS 2003 with Framework 1.1.) I'll bet this is about as simple a question as it gets, but for the life of me I cannot find the equivalent C# statement to the simple VB.NET statment: End All I want to do is end the application. If, say for instance, validation fails, I want the...
  3. traceytr

    C# Newbie from VB.NET, Startup Object Question

    I've seen Console applications used in VB.NET, but I've never created one because Modules served my purpose. I'll try it. Thanks. Tracey
  4. traceytr

    C# Newbie from VB.NET, Startup Object Question

    I’m completely new to C# but have a couple years experience with VB.NET, and I’m trying to get my first C# project off the ground. My C# books are good; however they don’t answer the questions I have at this point in my project. My project will be a Windows application that does not need a...
  5. traceytr

    Configurations from XML Document Question

    Resolution: The XML document I was modifying in the Solution Explorer was not the one being read by the application. On the menu, go to File > Open > File... Browse to the XML document contained in the bin folder. (The project .exe is also in this folder.) Double click on the .xml...
  6. traceytr

    Configurations from XML Document Question

    Hello. I'm tasked with changing an existing VB.NET 2003 Windows application. (I've coded only a little .NET, lots of VB6.) I need to change the configurations, not only the properties of the existing configurable items, but also to add more configurable items. This app gets its...
  7. traceytr

    Error trying to open Excel file in VB.NET

    This is resolved. I needed to change the following line: 'From: Dim xlApp As Excel.Application 'To: Dim xlApp As New Excel.Application
  8. traceytr

    Error trying to open Excel file in VB.NET

    We have a VB.NET 2003 application which reads an Excel .xls file, manipulates the data, and then writes to a new Excel .csv file. The original programmer is no longer with the company. I'm a .NET beginner and have never done any .NET/Excel programming. I have no experience with...
  9. traceytr

    Integrated Security vs. Trusted Connection

    Thank you for the information. I'm analyzing/modifying an existing application VB.NET 2003 application, and one of its features is that the data connection type is passed into the application using a command line argument. I just wanted to understand one vs. the other a little better. Again...
  10. traceytr

    Integrated Security vs. Trusted Connection

    VB.NET 2003, SQL Server 2000 Can someone explain to me in a nutshell what is integrated security and what is a trusted connection? When would I choose one over the other? Thanks.
  11. traceytr

    DataReader Not returning rows

    Thank you, Vonehle, for responding -- I appreciate it. I didn't get a chance to try your suggestion, but at the very moment I was reading it the light came on, and I realized why no rows were returned. The stored procedure was executing when I ran the code, but not returning any rows...
  12. traceytr

    DataReader Not returning rows

    Hello. I'm pretty new to VB.NET, and I'm trying to get my .NET code to execute a SQL Server stored procedure and return the recordset. The stored procedure is executing, but no rows are returned into the DataReader as indicated by my message box. Can anyone tell me what I'm missing? Thanks...
  13. traceytr

    Windows Service - FileSystemWatcher question

    I made the change so the FSW watches only for the Created event. There seems to be no change. When I test while logged on to the server, the files are processed instantly. The FSW grabs the files almost faster than I can see it. But when I'm not logged into the server, and I'm pasting files...
  14. traceytr

    Windows Service - FileSystemWatcher question

    Interesting... I'm watching for the Created and the Changed events. I'll try watching only for the Created event, and I'll let you know what happens. Thanks.
  15. traceytr

    Windows Service - FileSystemWatcher question

    Hi. I created a Windows service which uses the FileSystemWatcher and also the server-based Timer control to monitor changes to a specific directory, and I've installed the service on the test server. The FileSystemWatcher component watches for changes to the directory and reacts when they...
  16. traceytr

    Windows Service configuration needed?

    I've created a Windows service (VB.NET 2003). I've been installing/uninstalling/testing the service on my local PC. I've used the FileSystemWatcher to watch a directory on the C: drive. When a file lands in the watched directory, I create a new file in another location on the C: drive, and...
  17. traceytr

    Windows Service StartMode

    I think I asked the wrong question. I kept looking, and I found the StartType (not StartMode) property of the ServiceInstaller object. The default is Manual, but I wanted to make sure. Thanks! Tracey
  18. traceytr

    Windows Service StartMode

    Greetings! I'm writing a Windows service in VB.NET 2003, and I cannot find where to change or verify the StartMode. I think the default is Manual, but I'd like to verify that before installing and testing my service. Also, once the testing is completed, I'll need to change the StartMode to...
  19. traceytr

    Project References preceded by exclamation icon

    Thank you. I should have googled it.
  20. traceytr

    Project References preceded by exclamation icon

    I'm VERY new to .NET, and I've inherited a .NET project that was written but never completed last year. Needless to say, the person who wrote it is no longer with the company. We don't have anyone here who was cross trained on this code, and I'd say it's a pretty large project (relative to my...

Part and Inventory Search

Back
Top