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 Mike Lewis 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. robUK2

    webclient downloading many files from web server

    Hello, VS 2008 SP1 I am using the web client to download a file. Which works ok. However, now I have to download many and the number of files to download will change everyday. I am not sure how I can get the web client to know which files have been downloaded or not? I was thinking of using...
  2. robUK2

    Detect proxy settings

    Hello, VB 2008 I am using the code to detect if a proxy has been set under "Internet Options". If there is a proxy then I will set this in my webclient. So I am just checking if the address of the proxy exists. If there is not, then there is no proxy to set in the webclient. Is this the...
  3. robUK2

    using pthreads and callbacks

    Hello, GCC C99 I have just created a simple program, as this is my first time with threads and callbacks. However, I am wondering do I really need a callback. Can I just call the timeout_cb() function after the sleep() as completed? Maybe I don't understand, why a callback is needed at all...
  4. robUK2

    Problem making application use 2 languages

    My code was correct. However, I had a user control also on the main form. This user control fires before the main for started. So over writing the language change in my main form.
  5. robUK2

    Problem making application use 2 languages

    If My.Settings.Default.Language = "fr-FR" Then Thread.CurrentThread.CurrentUICulture = New CultureInfo("fr-FR") Else Thread.CurrentThread.CurrentUICulture = New CultureInfo("en-GB") End If edited a mistake a I made. I am using the code above.
  6. robUK2

    Problem making application use 2 languages

    Hello, I cannot get my application to display in English, it always displays in French I have an application that uses 2 languages. The default language is en-GB and the second language is French For setting the text of the buttons and labels. I have set the localized property to true and...
  7. robUK2

    Checking if port is blocked

    Hello, VS 2008 SP1 I have been testing with that code. However, I find that sometime it works and sometimes it doesn't. Very strange. I am wondering if there is a better way to do this. I have checked this with netstat -aon (cmd). So I can check to see if the port is open. I am not sure if...
  8. robUK2

    using structure with pointers

    Hello, Your technique worked for me. I have tried both. However, I am just experimenting with struct's and wondering when you would normally use a pointer liket his? Thanks, Steve
  9. robUK2

    using structure with pointers

    Hello, Compiling on windows using GNC GCC Codeblocks. I have a structure as follows. I am using wondering if this is the correct way to assign a value to the index which is a pointer. struct lineService { int lineNumber; char lineName[80]; int *index; } line1; int lineIndex =...
  10. robUK2

    The Web server does not appear to have FrontPage Extensions

    Hello, VS 2008 running on Windows XP. I am trying to publish my application using clickonce on to a remote server which is running Windows server 2003 Enterprize edition. Failed to connect to 'http://10.10.10.8/CATDialer/' with the following error: Unable to create the Web site...
  11. robUK2

    BindingList bound to a listbox, ResetItem problem.

    Hello, I have tried setting a flag called bRun. However, as the program never comes out of the ProcessCurrentState() it will never reach the bRun = not bRun. Many thanks for any suggestions. Private Sub lstPhoneLines_SelectedIndexChanged(ByVal sender As Object, ByVal e As EventArgs) '...
  12. robUK2

    BindingList bound to a listbox, ResetItem problem.

    Hello, VS 2008 I am using a bindingList that is bound to a listbox. Howerver, everytime I modify an item in the bindingList and call the resetItem to update the list box. It fires the selectedIndexChange property. This then goes into an ever ending loop. I have been looping through with the...
  13. robUK2

    COM problem with using ClickOnce

    Hello VS 2008 The 2 users that have tried to run the application get this error. "CATWinApp has encountered a problem and needs to close" "An unhandled exception ('System.Runtime.InteropServices.COMException') occurred in CATWinApp.exe [2220]. Just-in-debugging this exception failed with the...
  14. robUK2

    finding an item in a contextMenu

    Hello, I managed to do it in the following code. I have noticed that if I don't break out of the loop the code will crash. Why is that? If anyone can find a more elaborate way to do this, i would be happy to learn. Many thanks, private void button1_Click(object sender, EventArgs e)...
  15. robUK2

    finding an item in a contextMenu

    Hello, VS 2008 I am adding menuItems to a menuContext. However, I only want to allow a maximum of 10 menuItems to be added. This works ok. However, if a menuItem is about to be added. Which is already contained in the menuContext. Then I want to get the index of this, so that I can remove it...
  16. robUK2

    #include <windows.h> and #include <wininet.h>

    Hello, VS c++ 2008 I am creating a http client application. In doing some research I found that I have to include the wininet.h library into my application. I did this and when I compiled I got 283 errors. However, I included the header <windows.h> and all thoughs error disppeared. I guess...
  17. robUK2

    http client to get data from server

    Problem solved. I missed of the http://
  18. robUK2

    http client to get data from server

    Hello, Thanks for the response. However, I am getting an error message with the code I am using below: "Invalid URI: The URI scheme is not valid." From what I can make out by using wireshark is that the server expects a customerID and the balance will be returned. I am not sure that the data...
  19. robUK2

    http client to get data from server

    Hello, VS 2008 I want to retrieve some data using the HTTP protocol. The server has already been setup to recieve a customer ID. However, I am not sure about the http request in C#. I have been looking into the WebClient and the httpWebRequest clients. But I am not sure of the complete...
  20. robUK2

    data binding text boxes and datagridview

    Hello, VS 2008. I am using a typed dataset and reading and writing to a xml file. The table is very small, so don't need any database. I have sent an image of my window. This is not a master/child detail. The grid displays all the people, and the text boxes will display what is selected in...

Part and Inventory Search

Back
Top