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...
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...
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...
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.
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.
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...
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...
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
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 =...
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...
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)
'...
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...
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...
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)...
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...
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...
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...
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...
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...
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.