Search results for query: *

  • Users: Mykre
  • Order by date
  1. M

    Create Database

    I think it catches the errors caused but the Jet Objects, these are activeX Objects to creat the Database files (As there is no managed code to do so). Mykre
  2. M

    Please immediate help needed, msde fill problem in a form

    This is a permission problem on the database side, You will need to add the ASP user to the database and give it permissions. When you install MSDE from the setup files, it installs the database to use trusted connections, which means that the user accessing the database must be an account...
  3. M

    .Exe

    You will also have to look into bootstrapping to include the dotnet framework inside the package
  4. M

    question.

    Yes you will need to set up you connection to the Database then create your data set with the two tables and fill them from the Database. You could also use two datasets to store the data. If you set up the relations to the tables in the one dataset then you can bind it to a datagrid on the win...
  5. M

    Front End for UNIX Telnet Session

    Yes it is possible, there is an example on GotDotNet.com and I think CodeProject, I have seen it in the past. Do a search on the sites for Telnet and it comes up. You will have to investigate Socket programming in VB.net (system.net.sockets), I would look at the TCPClient ,Stream reader and...
  6. M

    I'm sorry.. i'm just a newbie..

    There was a good example on VBcity.com that was called My first Access program parts 1 and 2, it has some good ideas in it and will help you get started.
  7. M

    Computer Shutdown program

    ...= GetObject("winmgmts:" _ & "{impersonationLevel=impersonate,(Shutdown)}!\\" & _ strComputer & "\root\cimv2") Set colOperatingSystems = objWMIService.ExecQuery _ ("Select * from Win32_OperatingSystem") For Each objOperatingSystem in colOperatingSystems ObjOperatingSystem.Reboot() Next
  8. M

    Delete printers from windows 2000 programatically

    ..._ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set colInstalledPrinters = objWMIService.ExecQuery _ ("Select * from Win32_Printer") For Each objPrinter in colInstalledPrinters objPrinter.Delete_ Next And here is an example to delete just one. strComputer = "."...
  9. M

    System.Net.Sockets Namespace (How do u select an entire ftp folder dir)

    You are going to have to send normal FTP commands and wait for the responces from the server. ie dir to get directory listing, and mget *.* to get all files. Please note these are just general commands, and there are a lot more that can be used. Mykre
  10. M

    Restarting a Service in Code

    Take a look at the service controller classes. or system management classes
  11. M

    Problem installing windows service

    The problem is with the way that you are running the installer. Try running the installer as follows. 1. Run in the BIN directory of your application C:\WINNT\Microsoft.NET\Framework\v1.1.4322\InstallUtil.exe WindowsServiceExample.exe 2. Copy the Installutill.exe to the Bin directory of you...
  12. M

    cpu

    ...Dim mo As ManagementObject Dim strComputerName, strQuery As String Console.WriteLine("WMI List Services and there State") strQuery = "SELECT * FROM Win32_Service" ' Ask for a computer name Do Console.Write("Please enter server name (type 'localhost' for local machine): ")...
  13. M

    VS.Net Server Explorer Add-In Install Problem

    Here is a small snippit that reads all of the computers from the AD, It was taken from the common tasks on the quickstart guides on GotdotNET.com Public Module ReadAD Public Sub main() 'This will only work if you are connected to an active directory. 'Add a reference to...
  14. M

    Numeric expressions against nvarchar(50)

    have a look at the TSQL convert and cast functions in the books online
  15. M

    Generating Database Diagram Docs

    You could use Visio, erwin, or tools like dbartisen (I think thats what it's called)
  16. M

    cpu

    Have a look at the system.management libraries, and WMI, from here you can find all the information about local and remote systems.
  17. M

    VS.Net Server Explorer Add-In Install Problem

    What are you trying to do, This might help us to provide an answer. Are you trying to access the directory by code, or is it just to manage the directory like an admin would. Mykre
  18. M

    Data Access.

    The dataset functions can be used in the compact framework, so you would work with datarows and datatables as normal. Then use the dataset.writexml and dataset.readxml methods to store the data to a location. Also you can save and read the xml schema data by useing the dataset write and read xml...
  19. M

    INI files

    Remember that the application config files can not be edited at run time, which means that the app running can not modify it's own .config file. Have a look at the configuration application block, or do a search on xmlconfig files, there are several libraries out there that imitate the ini files...
  20. M

    VS.Net Server Explorer Add-In Install Problem

    The Add in could be for version 2002 of visual studio, I had this problem with the WMI Extensions.
Back
Top