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 TouchToneTommy 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. shmiller

    starting vb app starts windows installer. Why?

    Thanks BobWman, that was exactly right.
  2. shmiller

    starting vb app starts windows installer. Why?

    OK, I tried putting my app on a different machine and it worked fine there no matter what user I logged on as. I also tried running it from the VB IDE on my machine logged on with a multi-user account and as soon as I opened up the VB IDE, I got the installer trying to install Office 2000. So...
  3. shmiller

    starting vb app starts windows installer. Why?

    That makes some sense, and I could just let it install what it wants. The problem is that most of our plant is standardized on Office 97 and for the PC's that will be running this app, we don't want to have to install, nor do we have licenses for, Office 2000. I still don't understand why...
  4. shmiller

    starting vb app starts windows installer. Why?

    I can't delete it. When I said icon, i didn't mean shortcut. It's just the executable or project file. I don't think that has anything to do with it. It doesn't matter how I run it. Thanks anyway though. Anyone else have ideas?
  5. shmiller

    starting vb app starts windows installer. Why?

    I was launching it from the icon. Either the .exe or the .vbp file. Same problem. But I didn't install anything. It's just a vb project. I built this app on my machine and all I did was make the .exe file. And when I open it on my machine logged in as myself it's fine. When I open it on...
  6. shmiller

    starting vb app starts windows installer. Why?

    No, it's on my own dev machine. I'm not using the installer. It just popped up. Here's why I needed to test this: Sometimes users will be using this app from their own machine, and sometimes it will be on a shared machine that is logged in with a multi-user domain account. I need to check...
  7. shmiller

    starting vb app starts windows installer. Why?

    Hi, I am working on a standard VB6 project. I am running windows 2000 and have no problems when I am logged on as myself. When I log on to my machine with a different domain account and try to open the VB project or run the VB executable, the windows installer pops up and tries to install...
  8. shmiller

    SQL Server authentication using IIS / ASP.Net

    I'm not sure if this is the right forum. We have a SQL Server 2000 database that we need to access from an ASP.Net page running on a separate server. I would like to be able to use windows authentication so users will not have to enter a username and password on the web page. Is it possible...
  9. shmiller

    General DB design question

    Either I'm a little confused or WildHare is. You're not using that code as a unique identifier for members are you? If not, I would definitely split them into separate fields. They each have separate meanings and should never have been put in the same field. That's like putting someone's...
  10. shmiller

    Design question: Storing Keywords.

    Please don't do that. Create another table. This will make it simpler, faster, and more flexible for everything you do in the future. Trust me.
  11. shmiller

    Help on RDB & LAN options for small retail bussiness

    I would not recommend windows 98. By SQL, they probably mean SQL Server. It's good, but expensive and may be overkill. Microsoft Access works fine in a network environment if you don't have many concurrent users. I would say with anything less than 10 it would work fine. What about Visual...
  12. shmiller

    I need help with printing please!!!

    One option is to create a form for printing. Put images, labels and textboxes on it. Then you can set all the textbox values and do a frm.PrintForm to print it out.
  13. shmiller

    VB printing via Api's

    It looks like you may be able to use the CommonDialog control and set it's PrinterDefault property to false. Look up the PrinterDefault property in the MSDN.
  14. shmiller

    VB printing via Api's

    Here's what I use: Sub PrintStuff(strPrinter as String) Dim prn As Printer For Each prn In Printers If UCase(prn.DeviceName) = UCase(strPrinter) Then Set Printer = prn Exit For End If Next frmWhatever.PrintForm End Sub It doesn't change the default windows printer...
  15. shmiller

    Which is better ' rs("fieldName") ' or ' rs!fieldName ' ?

    Craig, First, you should NEVER have a field named "Date". Of course, sometimes it's already done and your stuck with it. Same goes for field names with spaces. But you can just use brackets: rs![Date] rs![Batch Number] I always use rs!FieldName. I find it easier to read and I like...
  16. shmiller

    Get User Name

    Yes, the standard GetUserName works fine for me in win 2K Here is the code I use: Public Declare Function GetUserName Lib "advapi32.dll" Alias "GetUserNameA" (ByVal lpBuffer As String, nSize As Long) As Long Public Function GetUserLogon() As String ' Display the name of...
  17. shmiller

    Problem concatenating varchars over 4000 characters

    Tlbroadbent, that's exactly what the problem was. My 8000 character strings were correctly defined as varchar not nvarchar. But I was using an nvarchar as one of the variables that went into building the 8000 character string. Declaring everything as varchar solved the problem. It seems to...
  18. shmiller

    Problem concatenating varchars over 4000 characters

    I found the problem. In the strings that I was building, even though the string variable was a varchar, I was using nvarchar variables to build the string and I think this was taking up extra space and getting truncated. I changed everything to varchar and it works now.
  19. shmiller

    Problem concatenating varchars over 4000 characters

    I am using several varchar variables in a proc to dynamically build a long string then execute the string with exec. EXEC (@string1 + @string2 + @string3) When I limit the size of each string to 4000 it works fine. If I let it go to 8000 it fails. The errors indicate the strings are being...
  20. shmiller

    Need Career Advice

    Thanks for the input. I actually just turned 30. I spent about 6 or 7 years going to school part time and got a BS in General Science. That was pretty useless, so I went back and spent 2 full-time years getting my CS degree. I was just offered a permanent position today with the company I...

Part and Inventory Search

Back
Top