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 bkrike 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: sicohne
  • Content: Threads
  • Order by date
  1. sicohne

    Network randomly disconnects

    I have a pc running XP Pro and, completely randomly, it will lose connection to the network (though it claims it is still connected). The only way to reconnect is to reboot the PC. I have tried installing a new network card, tried using a different slot just in case and even tried repairing XP...
  2. sicohne

    Crystal Reports

    I have a winform with a Crystal Reports viewer. The application has to be installed on a networked drive. The trouble is that only the PC which installed the application can access the Crystal Reports viewer without error. Is there a depedancy which I can add to the installation or Crystal...
  3. sicohne

    MDIParent calling a MDIChild event

    I have a toolbar in my parent form with 2 buttons. One button opens a new child form, the other saves the data in the child form to a database. The trouble is, the "save" event is stored in the child form. If I declare the child form in the "new" function, the save button cannot access the save...
  4. sicohne

    retrieve data from access database

    I have a table in an access database containing all long integers. Trying to retrieve the data brings up the error "data type mismatch in expression". The retrieval code is as follows Dim da5 As New OleDbDataAdapter("SELECT * FROM Charges WHERE lowamount <'" & CLng(AmountBox1.Text) & "'", cn)...
  5. sicohne

    printing a word document

    My program opens a word document, prints it out then closes it. The trouble is that if the document hasn't finished printing by the time the program quits word, it finishes printing the page it's on and stops. Is there a way to check whether word has finished printing before closing it?
  6. sicohne

    Regular Expression Validator/IIS problem

    Recently I have transfered my IIS server to a new pc and since then all buttons on my asp.net webform have stopped working. If I remove the Regex validators the form start to work fine, but with them in place it will bring up the error messages if invalid and do absolutely nothing if valid! Can...
  7. sicohne

    what's wrong with my code?

    I need to grab a text file stored on a website. This is my code: InvValue = "http://jumpgate.mightygames.com/database/inventory/inventory.txt" Username = "Username" Password = "Pswd" myWebRequest = WebRequest.Create(InvValue) myProxy = CType(myWebRequest.Proxy, WebProxy) myProxy.Credentials =...
  8. sicohne

    populating a datagrid from a text file saved on a different web site

    I am trying to get a datagrid on my webform to be populated from a website which is basically a text file (i.e. www.aaa.com/bbb.txt). I tried: Username = "name" Password = "pswd" myWebRequest = WebRequest.Create("www.aaa.com/bbb.txt") myProxy = CType(myWebRequest.Proxy, WebProxy)...
  9. sicohne

    Determine Windows font size

    Is there any way I can get my web app. to determine whether a user has their windows fonts set to larger and change the size of the text on the web form accordingly?
  10. sicohne

    Variable textboxes

    I have 5 textboxes (textbox1 - textbox5). I have a text file with 5 lines of data I want to write a loop which will put each line into the coresponding textbox. I.e. for i = 1 to 5 lineOfText = LineInput(1) textbox(i).text = lineOfText next The above example doesn't work, but is there...
  11. sicohne

    Determining the driectory exe was installed to

    My program needs to read a text file from the directory which the program is installed to. Since the user can choose there own installation path, the location of the text file is variable. Is there a way of saving the path chosen (to the registry or some other suggestion)?
  12. sicohne

    Upload txt file from website

    I am trying to write a program that will automatically grab a txt file from a website but can't figure out how to code it. Any help? Short & sweet and (hopefully) nice & simple. Thanks
  13. sicohne

    How to grab the current users UserName

    Does anybody know how to find out the current users full text Username? To give an example of what I'm looking for, a user logs onto a win2k PC with user ID 1234. Pressing Ctrl+Alt+Del brings up a box saying Logon Information: Joe Bloggs is logged on as 1234. I am after the Joe Bloggs bit. I...
  14. sicohne

    boot from USB Hard drive on Sony Viao

    I have a copy of my windows cd on my usb Hard drive which I need to boot from as windows has become corrupt and needs reinstalling. If I set the bios to boot from USB it works with the floppy drive but not the HDD. Am I missing something obvious?
  15. sicohne

    Updating multiple tables

    I seem to be having trouble updating multiple tables. The code is : ------------------------------------------------------------ Dim cn As New OleDbConnection(&quot;Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\Program Files\prefix.mdb;&quot;) Dim da As New OleDbDataAdapter(&quot;SELECT * FROM...
  16. sicohne

    getting rid of CR character

    I am trying to export the value of some fields to a text file. I need each value to start on a new line. I am using the following code: ----------------------- textbox1.text = textbox2.text & chr(13) & textbox3.text & chr(13)..... FileOpen(1,&quot;c:\test.txt&quot;,OpenMode.Output)...
  17. sicohne

    Getting a macro to use a cell value as a custom autofilter

    I am trying to get my macro to take the date from a cell and autofilter a column so that it only shows cells before the given date. I have tried: range(&quot;M1&quot;).select ActiveCell.FormulaR1C1=&quot;=Today()&quot; a = range(&quot;M1&quot;).value b = &quot;<&quot; & a selection.autofilter...
  18. sicohne

    Tab key stops working when User form is reset.

    I have a userform that opens with a word template. Once the user has filled in the information and clicks the accept button, the macro transfers the information to the relevent places in the document, prints the document and clears the userform so that the user can continue with the next...
  19. sicohne

    Automation Error in VBA using word

    Background: - Users open a template which displays a userform. - After users have entered the information, the value of 1 of the fields is used as a vlookup in an excel file. - The result of the vlookup is inserted into the word document and printed out. - The document is closed and the...

Part and Inventory Search

Back
Top