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 Andrzejek 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. btt423

    Printers and Fonts

    I have a VB6 app that needs to print to different printer makes/models using Courier font. The documents are printing, but the font is not Courier. I set the font using Printer.FontName = "Courier", but that made no difference. Any suggestions? Thanks!
  2. btt423

    Errors viewing reports via Java SDK

    I have my app connected to our CE10 server via the Java SDK and viewing reports, but I am receiving errors when using certain buttons in the viewer. 1. When clicking the arrow to go to the next or previous page, the viewer asks for any optional parameters that were not filled in when the...
  3. btt423

    Java Application Problems accessing CE10 server

    Turkbear, thanks for the reply. Yeah, I've already read those but they don't give me the info I'm looking for. I understand the sdk well enough. I'm looking more for information about how to get the application server talking correctly with the Enterprise server. I just got it at least...
  4. btt423

    Java Application Problems accessing CE10 server

    My windows admin has installed CE10 Professional on a W2k3 machine and given me rights to it. I have published a few reports and can preview them fine. I want to now hook it up to my Java/JSP application and I'm running into some difficulties. The application server for the java app is...
  5. btt423

    DB2 Type4 Driver and DB2 7 on OS390

    I'm not getting any stack traces, because I haven't run into any problems within my application as of yet. The error I receive from the visual database tools is an error complaining about a missing stored proc. Our DBA's are aware of this and think they have a patch for it. Due to the fact...
  6. btt423

    DB2 Type4 Driver and DB2 7 on OS390

    Does anyone have any feedback on using the DB2 jdbc type4 driver for connecting to an OS390 DB2 v7 database? I have been using the type 2, but would much rather use the type 4 if I can. In my testing, I have not run across any problems within my application. However, I have run into a couple of...
  7. btt423

    Error returning control from ActiveX dll

    Thanks for the reply. I tried your suggestion and still received the same error. Any other ideas?
  8. btt423

    Error returning control from ActiveX dll

    I have an activex dll with a function that needs to return a TXTextControl object. I can get it returned if I set the return type on the function to Object. However if I set the return type to TXTextControl (which is what I would think the type should be), I receive the compile error listed...
  9. btt423

    PictureBox saving blank .bmp

    vb5prgrmr, thanks for the reply. I tried that at one point and it did not work. I was able to figure the problem out though. The server had been upgraded to Win2000 sp4. SP4 and SP2 have a problem that SP3 fixes. I just rolled back the sp and it worked fine.
  10. btt423

    PictureBox saving blank .bmp

    I'm developing an ActiveX dll that generates a barcode (using an activex control) and saves a .wmf of the barcode. The .wmf file saves without a problem. I then load the .wmf file into a PictureBox control. I am then using that picturebox to paint a portion of the loaded .wmf file into a...
  11. btt423

    complex self join

    swampBoogie, Will this work on DB2 for the mainframe? I was able to get it to successfully work on a test database I have on a Win 2000 box, but I keep getting an error with a begin parenthesis "(" when run on the mainframe (which will is where it will be used). Thanks for your...
  12. btt423

    complex self join

    Here is the situation: I have a property table with various information. This table has a prop_id that identifies each individual property. The table also has a field named prop_orig_id that is a foreign key to the prop_id field of the same table. Therefore, it is a unary relationship. A...
  13. btt423

    Accessing Printers from .dll

    I have developed a vb .dll that accesses the printers attached to the web server. The .dll is instantiated via an .asp page and that page calls a function to perform the print. I have this working fine on one server, but I can not get it working on this second machine I'm setting up. The...
  14. btt423

    Printing on Server from .dll

    spazman... I had just forgotten to give the SYSTEM account "act as part of operating system" priveleges. Once I did that, it all worked fine. Thanks for your help!!
  15. btt423

    LogonUser API call returns false

    I'm trying to impersonate a user so that I can get a listing of printers that are available on a web server. My code is: Const LOGON32_LOGON_INTERACTIVE = 2 Const LOGON32_PROVIDER_DEFAULT = 0 Public Sub Logon(ByVal strAdminUser As String, ByVal strAdminPassword As String, ByVal...
  16. btt423

    Printing on Server from .dll

    spazman, thanks for the reply. I found the information on microsoft's website, but it isn't doing the logon. The code is below, but the LogonUser call returns false everytime. Const LOGON32_LOGON_INTERACTIVE = 2 Const LOGON32_PROVIDER_DEFAULT = 0 Public Sub Logon(ByVal strAdminUser As...
  17. btt423

    Printing on Server from .dll

    I am developing a print engine in an ActiveX dll that will be instantiated in an asp page. This print engine needs to loop through the Printers collection of the web server, and print to a printer specified by the user. There will be a predefined list of printers for the user to choose from...
  18. btt423

    Can't get a page break while printing with Win API

    I'm researching talking directly with a printer using the API. I can not seem to get a print job to print multiple pages. I thought that the EndPagePrinter function call would end one page, and the the StartPagePrinter would start another one, but everything is printing on one page. Here is a...
  19. btt423

    How to change font in PCL

    Thanks for the information jlasman. It worked like a charm!!
  20. btt423

    How to change font in PCL

    I'm developing a print engine for a project I'm working on and I'm trying to figure out PCL. I'm currently using an HP4050 and can't get the font change from the default monospaced font. Here is the example that I was trying: Dim lhPrinter As Long Dim lReturn As Long Dim lpcWritten As Long...

Part and Inventory Search

Back
Top