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...
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...
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...
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)...
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?
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...
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 =...
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)...
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?
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...
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)?
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
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...
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?
I seem to be having trouble updating multiple tables. The code is :
------------------------------------------------------------
Dim cn As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\Program Files\prefix.mdb;")
Dim da As New OleDbDataAdapter("SELECT * FROM...
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,"c:\test.txt",OpenMode.Output)...
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("M1").select
ActiveCell.FormulaR1C1="=Today()"
a = range("M1").value
b = "<" & a
selection.autofilter...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.