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 SkipVought 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. SalemGrafix

    Referencing another web page from a "child" page?

    Dan, Thank you very much for the quick response, this works perfectly, and is exactly what I was looking for. Thank you so much.
  2. SalemGrafix

    Referencing another web page from a "child" page?

    I am creating a website for a friend, and I'm not sure if this is something that can be done with HTML, Javascript, or at all: Main Page displays info from a database. If the user viewing the page clicks on "Add" to add more information, a "child" page pops up, and asks for data. "Child" page...
  3. SalemGrafix

    Closing a form (such as a splash screen) from another form

    Okay, I found another thread on another forum, where someone was saying that if it was the form that contained the main program information, if you closed that, it would cause the whole program to close out. Not quite sure what they are talking about there either (and it seems to be an archived...
  4. SalemGrafix

    Closing a form (such as a splash screen) from another form

    I'm assuming that what you're asking, is in "Program.cs" how is the first form (Splash screen) opened: static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); ms_frmSplash = new...
  5. SalemGrafix

    Closing a form (such as a splash screen) from another form

    I have created a splash screen, and once the main form is loaded, I want to close (or dispose of) the splash screen. Everytime I have tried this, one of two things happens. Either the splash screen stays resident (memory leak issues) or the whole application closes. The names of the forms...
  6. SalemGrafix

    ADO ODBC Connection - Null Fields not allowed?

    Just tested it out, it works great. I was able to update the record by placing a 0 in the value, and then updating the record using the code you provided with the NULL value afterwards. Thanks again for all your help. I'll be switching out the rest of the bound controls as time permits, but...
  7. SalemGrafix

    ADO ODBC Connection - Null Fields not allowed?

    Good point about the bound controls. Up until your example, I was wondering how to execute direct SQL commands (such as running Stored Procedure or Direct Queries without bound controls). Thanks so much for the help, and for the time being (to get this project out) I'll stick with the bound...
  8. SalemGrafix

    ADO ODBC Connection - Null Fields not allowed?

    The following is a snipet of the code that I'm using to save the record to the database: frmODBCMain.txtSVTViolationCode.Text = Trim(txtCode.Text) frmODBCMain.txtSVTViolationDescription.Text = Trim(txtDescription.Text) If Trim(txtAmount.Text) <> "" Then...
  9. SalemGrafix

    ADO ODBC Connection - Null Fields not allowed?

    I'm actually using the built in ADO control (MSADO) and using text boxes with the datasource set to the ADO control. That brings up an interesting idea though, I might be able to populate the field with a number that would never be used (ie. a number out of range that a user would never use...
  10. SalemGrafix

    ADO ODBC Connection - Null Fields not allowed?

    MS-SQL 2000, sorry should have put that in there (since I already read on other sites that Access does not allow the usage of null values). Also, as an addition to the error that I described above: If I use "" or vbNullString, I get the error: Run-time error '-2147217842 (80040e4e)'...
  11. SalemGrafix

    Can MSI be used with VB6

    I currently am using VB6 where I work, and use the Visual Studio Installer for MSI packaging. It works great, and so far (other than some limited features) I have had no problems. Also, if you know the MSIEXEC switches (drop to command line and type MSIEXEC without any switches to get the...
  12. SalemGrafix

    ADO ODBC Connection - Null Fields not allowed?

    I have been trying to save a record that I want to set the value in the field to NULL, and have been unsuccessful. I have tried setting the field (ie. txtAmount.text = Null) and saving the record only to get an error message "Run-time error 94: Invalid Use of Null". I have also tried VBNULL...
  13. SalemGrafix

    VB - Crystal Reports - Preparsing Text Fields?

    Wow, I didn't expect such a fast response, and especially didn't expect someone to understand and/or have the answer that quickly. Just tested that out, and it worked! After setting the report (using appplication.openreport(ReportName$)) and then connecting to it, I was able to parse thru...
  14. SalemGrafix

    VB - Crystal Reports - Preparsing Text Fields?

    It's probably going to be easiest to ask the question by giving a little background information, and what it is that I want to accomplish before asking the question: We have a software package that connects to the SQL Server here at the school I work for. From that software, it also can...
  15. SalemGrafix

    Find Fully Qualified Domain Name (FQDN) From Just Domain?

    Unfortunately, neither would be the case in this instance. Because I'm connecting to the servers using LDAP, I do need the FQDN, I have tried to connect leaving off the "extension" for each, and no go. As for WinS, we are running that, but I have no idea how to resolve the FQDN from that...
  16. SalemGrafix

    Find Fully Qualified Domain Name (FQDN) From Just Domain?

    We have multiple domains on our network, and most are actually ".net" although, not all of them are. Also, this would pose a problem later down the road if I made a static list of the domains available. I actually need the fully qualified domain name entry so that I can then connect to LDAP...
  17. SalemGrafix

    Find Fully Qualified Domain Name (FQDN) From Just Domain?

    I have the domain name populating in a list box. What I need to do is not only the domain name, but also populate the full name. (ie. Not just tek-tips, but tek-tips and the .com part as well). This is for LAN access only, this is not something I'm looking to use on the internet (not sure if...
  18. SalemGrafix

    Error with Logon Script (Object Required: &quot;WshShell&quot;)

    Okay, changing the WshShell.Popup's to MsgBox's instead, seem to be working. Thank you to everyone who responded to this post. Also, thank you very much mrmovie for pointing me in the right direction with the creation of the objects. Last thing I'll need to do with this script is test it on...
  19. SalemGrafix

    Error with Logon Script (Object Required: &quot;WshShell&quot;)

    Yes, I'm able to run the script as well, but not as a logon script. I thought about it some more last night, and I have removed the WshShell.Popup commands, and made them MsgBox instead, hoping this will work. Will followup once I find out how that works.
  20. SalemGrafix

    Error with Logon Script (Object Required: &quot;WshShell&quot;)

    Windows XP is the OS. As for the 4 references, will clean that up. Also, thanks for the suggestion on using the array, rather than calling the subroutine multiple times. As for issues with the above, I'm running Windows XP as well, and after creating the script, had no issues running the...

Part and Inventory Search

Back
Top