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 wOOdy-Soft 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: *

  • Users: gny
  • Content: Threads
  • Order by date
  1. gny

    cdosys.dll and Basic authentication?

    I am trying to use Microsoft CDO For Windows 2000 Library (cdosys.dll, version 6.6.6001.18000) for sending email from an Access 2007 application. Here is my code, somewhat altered for readability etc: Dim oCDOMessage As New CDO.Message Dim oCDOConfig As New CDO.Configuration...
  2. gny

    Starting process by URL

    In a .NET 2.0 Forms application, I want to open a Reporting Services report using the default viewer application for the report content type, e.g. MSExcel. I start a process using the System.Diagnostics namespace, specifying the report http address as file name. Internet Explorer starts up and...
  3. gny

    MenuItem shortcut not working correctly

    Hi, I have a form which I use as an MDI child. When the menu in the child has merged with that of the MDI parent the merged menu something like this: --File [from MDI parent] | --CurrentObject [from MDI child] | -- Undo (Ctrl+U) When i try to use the shortcut key (e.g. Ctrl+U) assigned...
  4. gny

    Check if form is modal?

    Hi! After my form has been opened I need to check whether or not it was opened using Show() or ShowDialog(). Does anyone know if this can be checked using a built-in property or if I have to shadow ShowDialog() and remember myself that the form is modal, as in: public shadows sub ShowDialog()...
  5. gny

    Report event handling in .NET

    I'm using Crystal Reports .NET in Visual Studio 2003. In order to load a picture into each detail section of one of my reports, I read that I need to handle the Section Format event. I have found code that shows how this is done. The question is simply: How/where do I write an event handler...
  6. gny

    Handling Crystal Reports events

    I'm using Crystal Reports .NET in Visual Studio 2003. In order to load a picture into each detail section of a report, I need to handle the Detail Format event of one of my reports. Question is simple: How/where do I write an event handler for the report events?
  7. gny

    Fixed font width problem

    On an invoice, I need to use an OCR-b font (which is fixed width). So I went and purchased a font and it looks great in design and also in other apps like MS Word. The problem is that when I run the report, it seems to "forget" that the font is fixed width. It of course needs to be...
  8. gny

    Resource .dll:s and database data in server controls

    I'm new at .NET and building my first site, so I'm wondering if there's a nice way of using resource dll:s for data display in, for example, a server side DropDownList control. Here's what I would like to do: I store some product category data in a database and want to let the user choose items...
  9. gny

    Problem specifying file when creating db through osql

    I'm trying to create a new db, specifying the FILENAME. This works great, except i need to do it through osql. When I do, SQL Server seems to ignore the FILENAME and creates the db in the default data folder. Does anyone have any ideas? SET @sSql = 'CREATE DATABASE ' + + @sDB_Namn + '...
  10. gny

    Determine name of current DB

    Hi! I need to pass the name of the DB as a parameter from a stored proc to another, but for some reason I can't get it to work. When I run the code below, the string 'db_name' is passed, not the database name. It seems SQL server converts db_name to 'db_name'. Any ideas? EXEC dbo.usp_Logout...
  11. gny

    Internet Transfer Control - event not fired...

    I use the Internet Transfer Control in an Excel form and can't get the Execute method to work properly. With OpenURL everything works fine, but I have to use Execute in order to be able to send an HTTP header (user-agent). Anyway, my problem is this: The StateChanged event of the control never...
  12. gny

    Can't access server from win98

    Hi! I have an NT4 domain server and win9x clients. Until today I've used an ISDN router for DHCP and web access. All these devices have been connected to a hub and everything has worked fine. Today I replaced the ISDN router with an ADSL router. Now the win98 clients can't access the NT4...
  13. gny

    Can't log in from win98

    Hi! I have an NT4 domain server and win9x clients. Until today I've used an ISDN router for web access. All these devices have been connected to a hub and everything has worked fine. Today I replaced the ISDN router with an ADSL router. Now the win98 clients can't access the NT4 server, but the...
  14. gny

    Can't log in from win98

    Hi! I have an NT4 domain server and win9x clients. Until today I've used an ISDN router for web access. All these devices have been connected to a hub and everything has worked fine. Today I replaced the ISDN router with an ADSL router. Now the win98 clients can't access the NT4 server, but the...
  15. gny

    I have four tables; ES, ED, RC and

    I have four tables; ES, ED, RC and CA. I need to make the following joins in a query: ED -- ES ES -- RC CA -> ES I.e. I always want all records from CA returned. I know i can make the inner joins first as a separate query, but does anyone know if there is a way to construct this as a single...
  16. gny

    Executing .sql file

    I´m new to sql server so maybe this is a really easy one... I´m developing a VB app and have a server on which I need to dynamically create multiple databases. This is not a problem, I can do that in Transact-SQL. The problem is that I need to create a set of sp:s, tables and views in the new...
  17. gny

    burning cd:s?

    I writing an app in which i will create large ascii files. These files are then to be put on cd:s. Since I dont want to make the (not so comp experienced) users do the file-copying manually using for example DirectCD, I would like to record to the CD from code. Does anyone know a good way of...
  18. gny

    Drop database problem

    I have a class module in Access, whose objects hold a connection to an SQL7 database. I have one database per object plus a database for administering the other ones. When I want to delete an object permanently, I close that object´s connection to its db, set the object to nothing and then use...
  19. gny

    Drop database problem

    I have a class module in Access, whose objects hold a connection to an SQL7 database. I have one database per object plus a database for administering the other ones. When I want to delete an object permanently, I close that object´s connection to its db, set the object to nothing and then use...
  20. gny

    Return Value Problem with sp

    Why won´t this work? I´m trying to add a new record in an sp and return the new ID to an asp page. On the row with the Execute-command in the asp code I get the following error message: Microsoft OLE DB Provider for SQL Server (0x80040E07) Error converting data type varchar to int Heres the...

Part and Inventory Search

Back
Top