I am trying to display a simple TaskDialog with marquee progress bar but i am getting this error:
Error 1 'whatwhen.frmMain.TaskDialogCallback(Microsoft.Samples.ActiveTaskDialog, Microsoft.Samples.TaskDialogNotificationArgs, object)': not all code paths return a value C:\Users\Jassim\Documents\Visual Studio 2008\Projects\whatwhen\whatwhen\main_form.cs 609 22 whatwhen
Hi, I can't get the original HTML source in
as the HTML code in viewsource. The code comes without quotes and all of the tag names comes as upper case. Is there any way to get original source in axWebBrowser as in System.Windows.Froms.WebBrowser.DocumentText ?
I have 2 user controls but I want to randomly add them to a form in a scrollable tile manner.
Each control is referenced by a name, so I can erase a specific control. How do I achieve this can someone give me heads up on how to achieve this..
I cant find anything to get me going.
I have 2 user control which consists of a panel and a textbox and a button is on the panel.
In the form I call the panel(usercontrol) with a button. But I can only make it appear once. I want it to tile across the page. I want to randomly place each user control by a name reference so as I can erase a specific panel.
private void button2_Click(object sender, EventArgs e)
UserControl1 bb = new UserControl1();
I have used a flowcontrol container in the past to deal with the positioning of the UCs. Placing them manually was a PITA, after designing the UC to match the size of the flowcontrol 1 column width it worked well. I basically wanted a scrollable list of the UCs, one for each application the user has access to.
Never underestimate the power of human stupidity
Is it a web or windows application?
You can´t manage new logins without a database.
Make SQL store procedures for to add,delete logins, to login and to logout.
For security, let only your users execute your written store procedures, (don´t let then type sql for exemple).
I currently dabble in programming with regular expressions. My problem is that I don't know, how I can extract a match if the programm finds one in a string. I already googled, but I couldn't found a site that could explain me how to manage it. I already tried Match and MatchCollection but it did not work. My previous source is following:
string test = "gjhsdjfjhfsdfjhsdf\ntztrzrtz\n\"http://screenshots.filesnetwork.com/68/potd/t_1215615627_85.jpg\"\nggdgfdg56ggdg";
string pattern = @"|.+\""http\://screenshots\.filesnetwork\.com/68/potd/t_[0-9]+_[0-9]+\.jpg\"".+|""";
Regex re = new Regex(pattern,RegexOptions.Multiline);
I am helpless with the rest, even though I know that it won't be that difficult.
I'm looking forward to your answers.